MCPcopy Create free account

hub / github.com/davmac314/dinit / functions

Functions1,514 in github.com/davmac314/dinit

↓ 3 callersMethodset_nice
src/includes/proc-service.h:501
↓ 3 callersMethodset_oom_adj
src/includes/proc-service.h:515
↓ 3 callersMethodset_rlimits
src/includes/proc-service.h:522
↓ 3 callersMethodset_run_as_uid_gid
Set the uid/gid that the service process will be run as
src/includes/proc-service.h:555
↓ 3 callersMethodset_to
src/includes/service.h:198
↓ 3 callersMethodset_working_dir
Set the working directory Note: constructing parameter may throw!
src/includes/proc-service.h:563
↓ 3 callersFunctionsetup_external_log
src/dinit.cc:1074
↓ 3 callersFunctionsetup_log_console_handoff
src/dinit-log.cc:297
↓ 3 callersFunctiontcsetpgrp
src/tests/test-includes/baseproc-sys.h:88
↓ 3 callersMethodthrow_exception_on
src/dinit-iostream.cc:71
↓ 3 callersFunctionupdate_command_and_dependencies
Update the command, and dependencies, of the specified service atomically. May fail with bad_alloc, service_cyclic_dependency.
src/load-service.cc:190
↓ 3 callersFunctionwait_service_state
Wait for a service to reached stopped (do_stop == true) or started (do_stop == false) state. Returns 0 if the service started/stopped, 1 if start/stop
src/dinitctl.cc:940
↓ 2 callersMethodadd_back
Add to the back of the linked set, if not already in the set. Return true if added, false if was already in the set.
src/includes/dinit-util.h:1157
↓ 2 callersMethodadd_from_reserve
dasynq/include/dasynq/childproc.h:71
↓ 2 callersMethodadd_timer
src/tests/test-includes/dinit.h:220
↓ 2 callersMethodadd_watch
Register a file descriptor watcher with an event loop. Flags can be any combination of dasynq::IN_EVENTS / dasynq::OUT_EVENTS. Exactly one of IN_EVENT
dasynq/include/dasynq.h:1710
↓ 2 callersMethodbuffer_failure
Check whether the allocation failure bit ('buffer_fail_bit') is set in the stream state. Returns: The value of 'buffer_fail_bit' in the the current st
src/includes/dinit-iostream.h:337
↓ 2 callersMethodcheck_is_loading
Is this a dummy service (used only when loading a new service)?
src/includes/service.h:663
↓ 2 callersMethodclear
src/igr-tests/igr.h:154
↓ 2 callersMethodclose
src/dinit-iostream.cc:182
↓ 2 callersFunctionclose_control_socket
src/dinit.cc:1060
↓ 2 callersFunctionclose_log
Close logging subsystem
src/dinit-log.cc:303
↓ 2 callersMethodcommit_msg
Commit a log message
src/dinit-log.cc:77
↓ 2 callersFunctionconstexpr_max
src/includes/dinit-util.h:567
↓ 2 callersFunctioncontrol_socket_ready
src/dinit.cc:929
↓ 2 callersMethodcurrent_line
Note: current line is only correct after reading a line, and refers to the line just read
src/includes/file-input-stack.h:84
↓ 2 callersFunctiondescribe_state
src/dinitctl.cc:697
↓ 2 callersFunctiondescribe_verb
src/dinitctl.cc:702
↓ 2 callersFunctiondivide_timespec
dasynq/include/dasynq/timerbase.h:222
↓ 2 callersFunctiondo_log
src/dinit-log.cc:425
↓ 2 callersFunctiondup
src/tests/test-bpsys.cc:528
↓ 2 callersFunctionenable_disable_service
src/dinitctl.cc:2102
↓ 2 callersMethodfailed_to_start
src/tests/test_service.h:64
↓ 2 callersFunctionfill_environment_userinfo
src/includes/load-service.h:620
↓ 2 callersMethodfinalise
src/includes/load-service.h:1584
↓ 2 callersFunctionfind_service_desc
Find (and open) a service description file in a set of paths, together with the directory in which it was located. Parameters: svc_name - the name of
src/dinitctl.cc:2012
↓ 2 callersFunctionfind_ws
src/includes/load-service.h:339
↓ 2 callersMethodget_consumed
src/includes/proc-service.h:775
↓ 2 callersFunctionget_enable_via
src/dinitctl.cc:2056
↓ 2 callersMethodget_exec_err_info
Get reason for failure to exec process (if stop reason indicates exec failure)
src/includes/proc-service.h:601
↓ 2 callersMethodget_fd
Get the current file descriptor.
src/includes/dinit-iostream.h:183
↓ 2 callersMethodget_file_content
src/tests/test-bpsys.cc:130
↓ 2 callersMethodget_free
src/shutdown.cc:139
↓ 2 callersMethodget_free
src/dinit-log.cc:91
↓ 2 callersFunctionget_passed_cfd
Get the file descriptor for the control socket connection as passed to use from parent process (returns -1 if unsuccessful)
src/includes/dinit-client.h:445
↓ 2 callersFunctionget_remote_env
Get the environment from remote dinit instance
src/dinit-client.cc:5
↓ 2 callersFunctionget_service_description_dirs
Get the service description directories configured for the daemon as a vector of strings (containing absolute paths; relative directories are resolved
src/includes/dinit-client.h:509
↓ 2 callersMethodget_service_dsc_dir
src/includes/service.h:572
↓ 2 callersFunctionget_siginfo
dasynq/include/dasynq/signal.h:115
↓ 2 callersMethodget_signo
mandatory:
dasynq/include/dasynq/epoll.h:37
↓ 2 callersFunctionget_timespec
src/includes/dinit-util.h:283
↓ 2 callersFunctiongetpgid
src/tests/test-includes/baseproc-sys.h:83
↓ 2 callersMethodhandle_stop_exit
src/includes/proc-service.h:659
↓ 2 callersMethodhas_console
src/includes/service.h:739
↓ 2 callersMethodhas_lone_ref
Assuming there is one reference (from a control link), return true if this is the only reference, or false if there are others (including dependents,
src/includes/service.h:693
↓ 2 callersMethodinput_failure
Check whether the string store failure bit ('input_fail_bit') is set in the stream state. Returns: The value of 'input_fail_bit' in the the current st
src/includes/dinit-iostream.h:643
↓ 2 callersMethodinsert
src/includes/dinit-util.h:975
↓ 2 callersFunctionis_log_flushed
src/dinit-log.cc:317
↓ 2 callersMethodis_marked_active
Is the service explicitly marked active?
src/includes/service.h:561
↓ 2 callersMethodis_open
Is the current stream's file descriptor open?
src/includes/dinit-iostream.h:164
↓ 2 callersMethodis_start_pinned
src/includes/service.h:652
↓ 2 callersMethodis_stop_pinned
src/includes/service.h:657
↓ 2 callersMethodis_waiting_for_console
src/includes/service.h:734
↓ 2 callersFunctionlist_services
src/dinitctl.cc:1443
↓ 2 callersMethodmark_discarded
Mark that a message was discarded due to full buffer
src/dinit-log.cc:109
↓ 2 callersFunctionnext_path_seg
beginning at offset, look for the next segment in a path (skip any leading slashes)
src/tests/test-bpsys.cc:340
↓ 2 callersMethodopen_nx
src/dinit-iostream.cc:81
↓ 2 callersFunctionparse_gid_param
src/includes/load-service.h:733
↓ 2 callersFunctionparse_perms
Parse a permissions mask parameter value, specified as an octal (such as 0600)
src/includes/load-service.h:783
↓ 2 callersFunctionparse_snum_param
Parse a signed numeric parameter value
src/includes/load-service.h:867
↓ 2 callersFunctionpipe2
dasynq/include/dasynq/util.h:15
↓ 2 callersMethodpoll
Poll the event loop and process any pending events (up to a limit).
dasynq/include/dasynq.h:1538
↓ 2 callersFunctionprint_failure_details
Print reason for start failure.
src/dinitctl.cc:819
↓ 2 callersFunctionprocess_service_event
Process a SERVICEEVENT[5] packet if it is related to the specified service handle, and optionally report the service status to the user (verbose == tr
src/dinitctl.cc:860
↓ 2 callersMethodpull_console_queue
Pull and dispatch a waiter from the console queue
src/includes/service.h:1211
↓ 2 callersMethodpull_queued_event
Pull a single event from the queue; returns nullptr if the queue is empty. Call with lock held.
dasynq/include/dasynq.h:577
↓ 2 callersMethodpull_root
dasynq/include/dasynq/daryheap.h:279
↓ 2 callersFunctionread_env_file
src/dinit-env.cc:20
↓ 2 callersFunctionread_var_and_issue
src/dinit-monitor.cc:629
↓ 2 callersMethodregister_child
dasynq/include/dasynq.h:996
↓ 2 callersMethodrelease
src/includes/dinit-util.h:208
↓ 2 callersMethodremove_fd_watch
flags specifies which watch to remove; ignored if the loop doesn't support separate read/write watches.
dasynq/include/dasynq/epoll.h:253
↓ 2 callersFunctionreport_dir_error
src/dinit-check.cc:596
↓ 2 callersMethodreset
reset the index and length.
src/includes/cpbuffer.h:173
↓ 2 callersMethodresolve
src/tests/test-bpsys.cc:91
↓ 2 callersFunctionresolve_from
src/tests/test-bpsys.cc:395
↓ 2 callersMethodrfind
src/includes/dinit-util.h:114
↓ 2 callersFunctionrm_r
Recursively remove files and directories (does not remove the top-level directory identified by fd)
src/igr-tests/igr.h:545
↓ 2 callersFunctionrm_tree
Recursively remove a directory (a la "rm -r")
src/igr-tests/igr-runner.cc:193
↓ 2 callersMethodset_consumer_for
Set this service to consume output of specified service (only call while service stopped).
src/includes/proc-service.h:770
↓ 2 callersMethodset_from
src/includes/service.h:203
↓ 2 callersMethodset_timer
dasynq/include/dasynq.h:1052
↓ 2 callersMethodset_timer_rel
dasynq/include/dasynq.h:1064
↓ 2 callersMethodsignal
dasynq/include/dasynq.h:233
↓ 2 callersFunctionsignal_name_to_number
Convert a signal name (without "SIG" prefix) to the corresponding signal number. May only support a subset of signals. Returns 0 if signal name is "no
src/includes/load-service.h:380
↓ 2 callersMethodstart
src/service.cc:231
↓ 2 callersMethodstart_dep
Start a specific dependency of this service. Should only be called if this service is in an appropriate state (started, starting). The dependency is m
src/includes/service.h:870
↓ 2 callersFunctionstrip_service_arg
Strip any service argument ('@xxx') from the end of a service name, and return a pointer just- past-the-end of the service name.
src/dinitctl.cc:1993
↓ 2 callersFunctionsum_length
Variadic method to calculate the sum of string lengths:
src/dinit-log.cc:353
↓ 2 callersMethodtransfer_output_pipe
Transfer the file descriptors representing the output (logging) pipe for this service. The file descriptors are returned as a pair (read,write) (possi
src/includes/service.h:883
← previousnext →301–400 of 1,514, ranked by callers