MCPcopy Create free account

hub / github.com/davmac314/dinit / functions

Functions1,514 in github.com/davmac314/dinit

↓ 2 callersMethodtrim_to
Trim the buffer to the specified length (must be less than current length)
src/includes/cpbuffer.h:101
↓ 2 callersMethodunqueue
remove current head of queue, return new head:
dasynq/include/dasynq.h:299
↓ 2 callersMethodunqueue_console
src/includes/service.h:1226
↓ 2 callersMethodunreserve
dasynq/include/dasynq/childproc.h:59
↓ 2 callersMethodunreserve
src/tests/test-includes/dinit.h:105
↓ 2 callersFunctionupdate_depenencies
Update the dependencies of the specified service atomically. May fail with bad_alloc, service_cyclic_dependency.
src/load-service.cc:119
↓ 2 callersFunctionwaitid
src/tests/test-includes/baseproc-sys.h:150
↓ 2 callersFunctionwritev
src/tests/test-bpsys.cc:595
↓ 1 callersMethodacquired_console
src/service.cc:461
↓ 1 callersMethodadd
dasynq/include/dasynq/childproc.h:64
↓ 1 callersMethodadd_bidi_fd_watch
dasynq/include/dasynq/epoll.h:245
↓ 1 callersMethodadd_child_watch_nolock
dasynq/include/dasynq/childproc.h:185
↓ 1 callersFunctionadd_remove_dependency
src/dinitctl.cc:1843
↓ 1 callersMethodadd_reserved
src/tests/test-includes/dinit.h:90
↓ 1 callersMethodadd_reserved_child_watch
dasynq/include/dasynq/childproc.h:190
↓ 1 callersMethodadd_reserved_child_watch_nolock
dasynq/include/dasynq/childproc.h:196
↓ 1 callersMethodadd_signal_watch_nolock
Note signal should be masked before call.
dasynq/include/dasynq/epoll.h:328
↓ 1 callersMethodadd_timer_nolock
dasynq/include/dasynq/timerbase.h:473
↓ 1 callersFunctionallocate_handle
Allocate queue handle:
dasynq/include/dasynq/basewatchers.h:195
↓ 1 callersMethodappend
src/dinit-log.cc:96
↓ 1 callersMethodappend
src/includes/dinit-client.h:145
↓ 1 callersMethodappend_console_queue
Set the console queue tail (returns previous tail)
src/includes/service.h:1201
↓ 1 callersMethodarm
src/igr-tests/igr.h:90
↓ 1 callersMethodarm_timer
dasynq/include/dasynq.h:2286
↓ 1 callersMethodarm_timer_rel
Arm timer, relative to now:
dasynq/include/dasynq.h:2297
↓ 1 callersMethodbring_down
src/proc-service.cc:772
↓ 1 callersMethodbring_down
All dependents have stopped.
src/tests/test_service.h:32
↓ 1 callersFunctioncat_service_log
src/dinitctl.cc:2729
↓ 1 callersMethodcheck_buf
Check the buffer allocation was successful, and throw std::bad_alloc if not. This can be used after a failed open(...) operation to handle the specifi
src/includes/dinit-iostream.h:156
↓ 1 callersFunctioncheck_load_reply
Check that a "load service" reply was received, and that the requested service was found. state_p may be null.
src/dinit-monitor.cc:516
↓ 1 callersFunctioncheck_settings_for_reload
Check that the provided settings are compatible / ok to be applied to the specified (already loaded) service. Returns: true if a new service record mu
src/load-service.cc:207
↓ 1 callersMethodclear_log_buffer
src/includes/proc-service.h:469
↓ 1 callersFunctionclear_utmp_entry
Clear the utmp entry for the given id/line/process.
src/includes/dinit-utmp.h:124
↓ 1 callersFunctioncomplete_read
Complete read - read the specified size until end-of-file or error; continue read if interrupted by signal.
src/includes/dinit-util.h:218
↓ 1 callersFunctionconfirm_restart_boot
Get user confirmation before proceeding with restarting boot sequence. Returns after confirmation, possibly with shutdown type altered.
src/dinit.cc:812
↓ 1 callersFunctioncontrol_conn_cb
src/includes/control.h:252
↓ 1 callersFunctioncontrol_socket_cb
Callback for control socket
src/dinit.cc:908
↓ 1 callersMethodcreate_dir
src/tests/test-bpsys.cc:98
↓ 1 callersMethodcreate_file
src/tests/test-bpsys.cc:111
↓ 1 callersFunctioncreate_utmp_entry
Create a utmp entry for the specified process, with the given id and tty line.
src/includes/dinit-utmp.h:105
↓ 1 callersMethoddata
src/includes/dinit-client.h:119
↓ 1 callersMethoddata_ready
src/control.cc:1749
↓ 1 callersMethoddependent_stopped
src/service.cc:594
↓ 1 callersMethoddid_expire
src/igr-tests/igr.h:96
↓ 1 callersFunctiondid_finish
src/includes/service-constants.h:65
↓ 1 callersFunctiondinit_accept4
src/includes/dinit-socket.h:12
↓ 1 callersFunctiondinit_main
Main entry point
src/dinit.cc:469
↓ 1 callersFunctiondinit_monitor_main
src/dinit-monitor.cc:44
↓ 1 callersFunctiondinit_socketpair
src/includes/dinit-socket.h:36
↓ 1 callersFunctiondinitctl_main
Entry point.
src/dinitctl.cc:113
↓ 1 callersMethoddisable_fd_watch
dasynq/include/dasynq/epoll.h:299
↓ 1 callersMethoddiscard
Discard buffer; call only when the stream isn't active.
src/dinit-log.cc:102
↓ 1 callersFunctiondiscard_console_log_buffer
src/dinit-log.cc:342
↓ 1 callersMethoddispatch
dasynq/include/dasynq.h:2373
↓ 1 callersMethoddispatch_second
dasynq/include/dasynq.h:2034
↓ 1 callersFunctiondo_log_commit
Commit a message that was issued as a series of parts (via do_log_part).
src/dinit-log.cc:511
↓ 1 callersMethoddo_propagation
src/service.cc:259
↓ 1 callersFunctiondo_setenv
src/dinitctl.cc:2568
↓ 1 callersFunctiondo_soft_reboot
src/dinit.cc:878
↓ 1 callersFunctiondo_system_shutdown
Actually shut down the system.
src/shutdown.cc:487
↓ 1 callersFunctionedit
(services []Service, name string)
contrib/dinit-edit/dinit-edit.go:72
↓ 1 callersMethodenable_fd_watch
Note this will *replace* the old flags with the new, that is, it can enable *or disable* read/write events.
dasynq/include/dasynq/epoll.h:271
↓ 1 callersMethodenable_fd_watch_nolock
dasynq/include/dasynq/epoll.h:294
↓ 1 callersMethodenable_timer
Enables or disabling report of timeouts (does not stop timer)
dasynq/include/dasynq/timerbase.h:494
↓ 1 callersMethodend
dasynq/include/dasynq/svec.h:280
↓ 1 callersMethodensure_log_buffer_backing
src/baseproc-service.cc:569
↓ 1 callersMethodenviron_event
src/control.cc:1627
↓ 1 callersMethodexec_failed
src/proc-service.cc:394
↓ 1 callersMethodexec_succeeded
src/proc-service.cc:45
↓ 1 callersMethodexecute_transition
src/service.cc:322
↓ 1 callersMethodexpired
src/tests/test-includes/dinit.h:214
↓ 1 callersMethodfailed_to_start
src/service.cc:513
↓ 1 callersMethodfd_event
dasynq/include/dasynq.h:1780
↓ 1 callersFunctionfill_status_buffer6
src/control.cc:710
↓ 1 callersFunctionfind_cgroup_path
src/dinit.cc:1152
↓ 1 callersFunctionfind_or_create_dir_file
src/tests/test-bpsys.cc:349
↓ 1 callersMethodfind_service_for_key
Find the service corresponding to a service handle; returns nullptr if not found.
src/includes/control.h:213
↓ 1 callersMethodflush_for_release
src/dinit-log.cc:140
↓ 1 callersFunctionflush_log
src/tests/tests.cc:1404
↓ 1 callersMethodget
return environment variable in form NAME=VALUE. Assumes that the real environment is the parent.
src/includes/dinit-env.h:150
↓ 1 callersFunctiongetServiceDirs
()
contrib/dinit-edit/dinit-edit.go:11
↓ 1 callersFunctionget_allenv
get the whole environment block of the dinit instance in a way that leaves individual variables available for read, without the packet header; that al
src/dinit-monitor.cc:584
↓ 1 callersFunctionget_cwd_dinit
Get current directory and store it at the specified position in a vector. The specified position may be beyond the current length of the vector. A nul
src/control.cc:1433
↓ 1 callersFunctionget_daemon_cwd
Get the current working directory of the dinit daemon. Parameters: socknum - the file descriptor with the socket connection to the daemon rbuffer - th
src/includes/dinit-client.h:571
↓ 1 callersMethodget_exit_status
src/includes/proc-service.h:595
↓ 1 callersMethodget_fd
dasynq/include/dasynq/epoll.h:78
↓ 1 callersMethodget_file_mod_time
src/includes/service.h:759
↓ 1 callersMethodget_flags
src/includes/service.h:599
↓ 1 callersMethodget_fs_node
for resolving against (openat etc)
src/tests/test-bpsys.cc:148
↓ 1 callersFunctionget_full_cwd
get the current working directory, as a string. This is a wrapper around getcwd().
src/igr-tests/igr.h:521
↓ 1 callersMethodget_head
dasynq/include/dasynq.h:308
↓ 1 callersMethodget_log_buffer
Get the log buffer (address, length)
src/includes/proc-service.h:464
↓ 1 callersMethodget_output_pipe_fd
src/includes/proc-service.h:447
↓ 1 callersMethodget_resolve_fd
src/includes/load-service.h:192
↓ 1 callersMethodget_second
dasynq/include/dasynq.h:313
↓ 1 callersMethodget_service_dir
src/includes/service.h:1337
↓ 1 callersMethodget_service_dir_count
src/includes/service.h:1332
↓ 1 callersFunctionget_service_name
Get the service name for a given handle, by querying the daemon.
src/dinitctl.cc:734
↓ 1 callersMethodget_set_type_id
Get an identifier for the run-time type of the service set (similar to typeid, but without requiring RTTI to be enabled during compilation).
src/includes/service.h:1284
↓ 1 callersMethodget_si_code
src/tests/test-includes/dinit.h:78
← previousnext →401–500 of 1,514, ranked by callers