Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davmac314/dinit
/ functions
Functions
1,514 in github.com/davmac314/dinit
⨍
Functions
1,514
◇
Types & classes
364
↓ 1 callers
Method
set_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 callers
Method
set_service_dsc_dir
Set directory containing service description file
src/includes/service.h:567
↓ 1 callers
Method
set_signo
dasynq/include/dasynq/kqueue.h:69
↓ 1 callers
Method
set_socket_details
src/includes/service.h:604
↓ 1 callers
Method
set_state
Set the service state
src/includes/service.h:435
↓ 1 callers
Method
set_timer_enabled_nolock
dasynq/include/dasynq.h:1081
↓ 1 callers
Method
set_trigger
src/includes/service.h:965
↓ 1 callers
Method
set_utmp_id
Set the id of the process in utmp (the "inittab" id)
src/includes/proc-service.h:741
↓ 1 callers
Method
set_utmp_line
Set the device line of the process in utmp database
src/includes/proc-service.h:747
↓ 1 callers
Method
set_watches
src/includes/control.h:79
↓ 1 callers
Method
shift_elems_left
dasynq/include/dasynq/btree_set.h:63
↓ 1 callers
Method
shift_elems_right
dasynq/include/dasynq/btree_set.h:76
↓ 1 callers
Method
shrink_to
dasynq/include/dasynq/svec.h:258
↓ 1 callers
Function
shutdown_dinit
src/dinitctl.cc:1897
↓ 1 callers
Function
sigmaskf
dasynq/include/dasynq/basewatchers.h:20
↓ 1 callers
Method
signal
src/igr-tests/igr.h:270
↓ 1 callers
Function
signal_list
src/dinitctl.cc:2707
↓ 1 callers
Function
signal_send
src/dinitctl.cc:2664
↓ 1 callers
Method
size
src/includes/dinit-client.h:98
↓ 1 callers
Function
skip_comment
skip whitespace and embedded comments.
src/includes/load-service.h:269
↓ 1 callers
Function
split_command
src/dinit-monitor.cc:464
↓ 1 callers
Function
start_stop_service
Start/stop/restart a service
src/dinitctl.cc:982
↓ 1 callers
Method
started
src/service.cc:479
↓ 1 callers
Method
status_change
src/proc-service.cc:214
↓ 1 callers
Method
stop_child_watch
Stop watching a child, but retain watch reservation
dasynq/include/dasynq/childproc.h:202
↓ 1 callers
Method
stop_timer
dasynq/include/dasynq.h:2308
↓ 1 callers
Method
stop_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 callers
Method
stopped
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 callers
Method
supply_data
src/tests/test-bpsys.cc:238
↓ 1 callers
Function
swap_off
src/shutdown.cc:801
↓ 1 callers
Method
timer_expired
src/baseproc-service.cc:455
↓ 1 callers
Method
timer_expiry
dasynq/include/dasynq.h:2342
↓ 1 callers
Method
timer_expiry
src/igr-tests/igr.h:83
↓ 1 callers
Function
trigger_service
src/dinitctl.cc:2629
↓ 1 callers
Method
unlink
src/includes/dinit-ll.h:99
↓ 1 callers
Function
unload_service
src/dinitctl.cc:1327
↓ 1 callers
Method
unload_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 callers
Function
unmount_disks
src/shutdown.cc:782
↓ 1 callers
Function
unpin_service
src/dinitctl.cc:1291
↓ 1 callers
Function
unprep_signal
dasynq/include/dasynq/signal.h:110
↓ 1 callers
Function
unprep_signal
dasynq/include/dasynq/kqueue.h:126
↓ 1 callers
Method
unrecoverable_stop
src/service.cc:569
↓ 1 callers
Method
unreserve
dasynq/include/dasynq.h:988
↓ 1 callers
Method
unreserve_child_watch
dasynq/include/dasynq/childproc.h:174
↓ 1 callers
Method
unreserve_child_watch_nolock
dasynq/include/dasynq/childproc.h:180
↓ 1 callers
Function
wait_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 callers
Function
write_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 callers
Method
write_buf
src/dinit-iostream.cc:311
↓ 1 callers
Method
write_ready
dasynq/include/dasynq.h:1986
Function
LLVMFuzzerTestOneInput
src/tests/cptests/fuzz.cc:15
Method
add_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
Method
add_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
Method
add_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
Method
add_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
Method
add_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
Method
add_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
Method
add_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
Method
add_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
Method
add_listener
Add a listener. A listener must only be added once. May throw std::bad_alloc.
src/includes/service.h:679
Method
add_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
Function
add_rm_dep_test
src/igr-tests/igr-runner.cc:609
Method
add_service_dep
src/control.cc:895
Method
add_signal_watch
Note signal should be masked before call.
dasynq/include/dasynq/signal.h:228
Method
add_signal_watch
Note signal should be masked before call.
dasynq/include/dasynq/kqueue.h:518
Method
add_signal_watch_nolock
Note signal should be masked before call.
dasynq/include/dasynq/signal.h:235
Method
add_signal_watch_nolock
Note signal should be masked before call.
dasynq/include/dasynq/kqueue.h:525
Method
add_timer
dasynq/include/dasynq.h:2277
Method
add_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
Method
add_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
Method
add_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
Method
add_watch
src/tests/test-includes/dinit.h:174
Method
add_watch_noemu
dasynq/include/dasynq.h:1719
Method
add_watch_noemu
dasynq/include/dasynq.h:1936
Method
after_fork
Called after forking (before executing remote process).
src/includes/proc-service.h:302
Method
after_fork
src/includes/proc-service.h:644
Method
all_deps_started
src/service.cc:446
Method
alloc_sept
dasynq/include/dasynq/btree_set.h:155
Method
alloc_slot
dasynq/include/dasynq/btree_set.h:125
Method
allocate
dasynq/include/dasynq/btree_set.h:311
Method
allocate
dasynq/include/dasynq/stableheap.h:78
Method
allocate_service_handle
src/control.cc:1541
Method
append
src/includes/dinit-client.h:121
Method
append
Append characters to the buffer. Caller must make certain there is enough space to contain the characters first.
src/includes/cpbuffer.h:155
Method
array_string
src/includes/static-string.h:132
Method
as_int
src/tests/test-includes/baseproc-sys.h:144
Method
base_bidi_fd_watcher
dasynq/include/dasynq/basewatchers.h:246
Method
base_child_watcher
dasynq/include/dasynq/basewatchers.h:271
Method
base_fd_watcher
dasynq/include/dasynq/basewatchers.h:238
Method
base_process_service
src/baseproc-service.cc:329
Method
base_signal_watcher
dasynq/include/dasynq/basewatchers.h:214
Method
base_timer_watcher
dasynq/include/dasynq/basewatchers.h:285
Method
base_watcher
dasynq/include/dasynq/basewatchers.h:153
Function
basic_test
src/igr-tests/igr-runner.cc:211
Function
basic_test1
Starting a service starts dependencies; stopping the service releases and stops dependencies.
src/tests/tests.cc:51
Function
basic_test10
Test services stop in reverse dependency order
src/tests/tests.cc:467
Function
basic_test2
Multiple dependents will hold a dependency active if one of the dependents is stopped/released.
src/tests/tests.cc:84
Function
basic_test3
Stopping a dependency causes its dependents to stop.
src/tests/tests.cc:126
Function
basic_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
Function
basic_test5
Test that services which do not start immediately correctly chain start of dependent services.
src/tests/tests.cc:204
Function
basic_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
← previous
next →
601–700 of 1,514, ranked by callers