MCPcopy Create free account

hub / github.com/davmac314/dinit / functions

Functions1,514 in github.com/davmac314/dinit

↓ 1 callersMethodset_output_pipe_fds
Set the output pipe descriptors (both read and write end). This is only valid to call for log mode PIPE and only when the service has just been loaded
src/includes/proc-service.h:431
↓ 1 callersMethodset_service_dsc_dir
Set directory containing service description file
src/includes/service.h:567
↓ 1 callersMethodset_signo
dasynq/include/dasynq/kqueue.h:69
↓ 1 callersMethodset_socket_details
src/includes/service.h:604
↓ 1 callersMethodset_state
Set the service state
src/includes/service.h:435
↓ 1 callersMethodset_timer_enabled_nolock
dasynq/include/dasynq.h:1081
↓ 1 callersMethodset_trigger
src/includes/service.h:965
↓ 1 callersMethodset_utmp_id
Set the id of the process in utmp (the "inittab" id)
src/includes/proc-service.h:741
↓ 1 callersMethodset_utmp_line
Set the device line of the process in utmp database
src/includes/proc-service.h:747
↓ 1 callersMethodset_watches
src/includes/control.h:79
↓ 1 callersMethodshift_elems_left
dasynq/include/dasynq/btree_set.h:63
↓ 1 callersMethodshift_elems_right
dasynq/include/dasynq/btree_set.h:76
↓ 1 callersMethodshrink_to
dasynq/include/dasynq/svec.h:258
↓ 1 callersFunctionshutdown_dinit
src/dinitctl.cc:1897
↓ 1 callersFunctionsigmaskf
dasynq/include/dasynq/basewatchers.h:20
↓ 1 callersMethodsignal
src/igr-tests/igr.h:270
↓ 1 callersFunctionsignal_list
src/dinitctl.cc:2707
↓ 1 callersFunctionsignal_send
src/dinitctl.cc:2664
↓ 1 callersMethodsize
src/includes/dinit-client.h:98
↓ 1 callersFunctionskip_comment
skip whitespace and embedded comments.
src/includes/load-service.h:269
↓ 1 callersFunctionsplit_command
src/dinit-monitor.cc:464
↓ 1 callersFunctionstart_stop_service
Start/stop/restart a service
src/dinitctl.cc:982
↓ 1 callersMethodstarted
src/service.cc:479
↓ 1 callersMethodstatus_change
src/proc-service.cc:214
↓ 1 callersMethodstop_child_watch
Stop watching a child, but retain watch reservation
dasynq/include/dasynq/childproc.h:202
↓ 1 callersMethodstop_timer
dasynq/include/dasynq.h:2308
↓ 1 callersMethodstop_watch
Stop watching a child process, but retain watch reservation so that another child can be watched without running into resource allocation issues.
dasynq/include/dasynq.h:1034
↓ 1 callersMethodstopped
Called when a service has actually stopped; dependents have stopped already, unless this stop is due to an unexpected process termination.
src/service.cc:77
↓ 1 callersMethodsupply_data
src/tests/test-bpsys.cc:238
↓ 1 callersFunctionswap_off
src/shutdown.cc:801
↓ 1 callersMethodtimer_expired
src/baseproc-service.cc:455
↓ 1 callersMethodtimer_expiry
dasynq/include/dasynq.h:2342
↓ 1 callersMethodtimer_expiry
src/igr-tests/igr.h:83
↓ 1 callersFunctiontrigger_service
src/dinitctl.cc:2629
↓ 1 callersMethodunlink
src/includes/dinit-ll.h:99
↓ 1 callersFunctionunload_service
src/dinitctl.cc:1327
↓ 1 callersMethodunload_service
Unload a service, possibly replacing it with a placeholder service. This can fail with bad_alloc. svc is no longer valid on return.
src/includes/service.h:1109
↓ 1 callersFunctionunmount_disks
src/shutdown.cc:782
↓ 1 callersFunctionunpin_service
src/dinitctl.cc:1291
↓ 1 callersFunctionunprep_signal
dasynq/include/dasynq/signal.h:110
↓ 1 callersFunctionunprep_signal
dasynq/include/dasynq/kqueue.h:126
↓ 1 callersMethodunrecoverable_stop
src/service.cc:569
↓ 1 callersMethodunreserve
dasynq/include/dasynq.h:988
↓ 1 callersMethodunreserve_child_watch
dasynq/include/dasynq/childproc.h:174
↓ 1 callersMethodunreserve_child_watch_nolock
dasynq/include/dasynq/childproc.h:180
↓ 1 callersFunctionwait_for_info
Wait for an info packet. If any other reply packet comes, throw a cp_read_exception.
src/includes/dinit-client.h:285
↓ 1 callersFunctionwrite_all
Write *all* the requested buffer and re-try if necessary until the buffer is written or an unrecoverable error occurs. Note: count is int
src/includes/dinit-client.h:300
↓ 1 callersMethodwrite_buf
src/dinit-iostream.cc:311
↓ 1 callersMethodwrite_ready
dasynq/include/dasynq.h:1986
FunctionLLVMFuzzerTestOneInput
src/tests/cptests/fuzz.cc:15
Methodadd_bidi_fd_watch
returns: 0 on success IN_EVENTS if in watch requires emulation OUT_EVENTS if out watch requires emulation
dasynq/include/dasynq/kqueue.h:395
Methodadd_bidi_fd_watch
returns: 0 on success IN_EVENTS if in watch requires emulation OUT_EVENTS if out watch requires emulation
dasynq/include/dasynq/pselect.h:147
Methodadd_bidi_fd_watch
returns: 0 on success IN_EVENTS if in watch requires emulation OUT_EVENTS if out watch requires emulation
dasynq/include/dasynq/select.h:193
Methodadd_bidi_fd_watch
returns: 0 on success IN_EVENTS if in watch requires emulation OUT_EVENTS if out watch requires emulation
dasynq/include/dasynq/kqueue-macos.h:234
Methodadd_fd_watch
fd: file descriptor to watch userdata: data to associate with descriptor flags: IN_EVENTS | OUT_EVENTS | ONE_SHOT (only one of IN_EVENTS/OUT_EVENTS
dasynq/include/dasynq/kqueue.h:360
Methodadd_fd_watch
fd: file descriptor to watch userdata: data to associate with descriptor flags: IN_EVENTS | OUT_EVENTS | ONE_SHOT (only one of IN_EVENTS/OUT_EVENTS
dasynq/include/dasynq/pselect.h:118
Methodadd_fd_watch
fd: file descriptor to watch userdata: data to associate with descriptor flags: IN_EVENTS | OUT_EVENTS | ONE_SHOT (only one of IN_EVENTS/OUT_EVENTS
dasynq/include/dasynq/select.h:164
Methodadd_fd_watch
fd: file descriptor to watch userdata: data to associate with descriptor flags: IN_EVENTS | OUT_EVENTS | ONE_SHOT (only one of IN_EVENTS/OUT_EVENTS
dasynq/include/dasynq/kqueue-macos.h:201
Methodadd_listener
Add a listener. A listener must only be added once. May throw std::bad_alloc.
src/includes/service.h:679
Methodadd_reserved
Register a watcher for the given child process with an event loop, after having reserved resources previously (using reserveWith). Registration cannot
dasynq/include/dasynq.h:2126
Functionadd_rm_dep_test
src/igr-tests/igr-runner.cc:609
Methodadd_service_dep
src/control.cc:895
Methodadd_signal_watch
Note signal should be masked before call.
dasynq/include/dasynq/signal.h:228
Methodadd_signal_watch
Note signal should be masked before call.
dasynq/include/dasynq/kqueue.h:518
Methodadd_signal_watch_nolock
Note signal should be masked before call.
dasynq/include/dasynq/signal.h:235
Methodadd_signal_watch_nolock
Note signal should be masked before call.
dasynq/include/dasynq/kqueue.h:525
Methodadd_timer
dasynq/include/dasynq.h:2277
Methodadd_watch
Register this watcher to watch the specified signal. If an attempt is made to register with more than one event loop at a time, behaviour is undefined
dasynq/include/dasynq.h:1600
Methodadd_watch
Register a bi-direction file descriptor watcher with an event loop. Flags can be any combination of dasynq::IN_EVENTS / dasynq::OUT_EVENTS. Can fail
dasynq/include/dasynq.h:1923
Methodadd_watch
Register a watcher for the given child process with an event loop. Registration can fail with std::bad_alloc. Note that in multi-threaded programs, us
dasynq/include/dasynq.h:2112
Methodadd_watch
src/tests/test-includes/dinit.h:174
Methodadd_watch_noemu
dasynq/include/dasynq.h:1719
Methodadd_watch_noemu
dasynq/include/dasynq.h:1936
Methodafter_fork
Called after forking (before executing remote process).
src/includes/proc-service.h:302
Methodafter_fork
src/includes/proc-service.h:644
Methodall_deps_started
src/service.cc:446
Methodalloc_sept
dasynq/include/dasynq/btree_set.h:155
Methodalloc_slot
dasynq/include/dasynq/btree_set.h:125
Methodallocate
dasynq/include/dasynq/btree_set.h:311
Methodallocate
dasynq/include/dasynq/stableheap.h:78
Methodallocate_service_handle
src/control.cc:1541
Methodappend
src/includes/dinit-client.h:121
Methodappend
Append characters to the buffer. Caller must make certain there is enough space to contain the characters first.
src/includes/cpbuffer.h:155
Methodarray_string
src/includes/static-string.h:132
Methodas_int
src/tests/test-includes/baseproc-sys.h:144
Methodbase_bidi_fd_watcher
dasynq/include/dasynq/basewatchers.h:246
Methodbase_child_watcher
dasynq/include/dasynq/basewatchers.h:271
Methodbase_fd_watcher
dasynq/include/dasynq/basewatchers.h:238
Methodbase_process_service
src/baseproc-service.cc:329
Methodbase_signal_watcher
dasynq/include/dasynq/basewatchers.h:214
Methodbase_timer_watcher
dasynq/include/dasynq/basewatchers.h:285
Methodbase_watcher
dasynq/include/dasynq/basewatchers.h:153
Functionbasic_test
src/igr-tests/igr-runner.cc:211
Functionbasic_test1
Starting a service starts dependencies; stopping the service releases and stops dependencies.
src/tests/tests.cc:51
Functionbasic_test10
Test services stop in reverse dependency order
src/tests/tests.cc:467
Functionbasic_test2
Multiple dependents will hold a dependency active if one of the dependents is stopped/released.
src/tests/tests.cc:84
Functionbasic_test3
Stopping a dependency causes its dependents to stop.
src/tests/tests.cc:126
Functionbasic_test4
An explicitly activated service with automatic restart will restart if it stops due to a dependency stopping, therefore also causing the dependency to
src/tests/tests.cc:155
Functionbasic_test5
Test that services which do not start immediately correctly chain start of dependent services.
src/tests/tests.cc:204
Functionbasic_test6
Test that issuing a stop-without-bring-down to a service that is held up by a dependent does not cause the service to stop.
src/tests/tests.cc:245
← previousnext →601–700 of 1,514, ranked by callers