id
stringlengths
4
63
text
stringlengths
153
8.81M
scx_bpf_dump_bstr(9)
NAME scx_bpf_dump_bstr - Generate extra debug dump specific to the BPF scheduler SYNOPSIS __bpf_kfunc void scx_bpf_dump_bstr (char *fmt , unsigned long long *data , u32 data__sz ); ARGUMENTS fmt format string data format string parameters packaged using ___bpf_fill macro data__sz dat...
scx_bpf_error_bstr(9)
NAME scx_bpf_error_bstr - Indicate fatal error SYNOPSIS __bpf_kfunc void scx_bpf_error_bstr (char *fmt , unsigned long long *data , u32 data__sz ); ARGUMENTS fmt error message format string data format string parameters packaged using ___bpf_fill macro data__sz data len, must end in ...
scx_bpf_exit_bstr(9)
NAME scx_bpf_exit_bstr - Gracefully exit the BPF scheduler. SYNOPSIS __bpf_kfunc void scx_bpf_exit_bstr (s64 exit_code , char *fmt , unsigned long long *data , u32 data__sz ); ARGUMENTS exit_code Exit value to pass to user space via struct scx_exit_info. fmt error message format string data ...
scx_bpf_get_idle_cpumask(9)
NAME scx_bpf_get_idle_cpumask - Get a referenced kptr to the idle-tracking per-CPU cpumask. SYNOPSIS __bpf_kfunc const struct cpumask * scx_bpf_get_idle_cpumask (void ); ARGUMENTS void no arguments DESCRIPTION Returns an empty mask if idle tracking is not enabled, or running on a UP kernel. SEE ALSO Kernel ...
scx_bpf_get_idle_cpumask_node(9)
NAME scx_bpf_get_idle_cpumask_node - Get a referenced kptr to the idle-tracking per-CPU cpumask of a target NUMA node. SYNOPSIS __bpf_kfunc const struct cpumask * scx_bpf_get_idle_cpumask_node (int node ); ARGUMENTS node target NUMA node DESCRIPTION Returns an empty cpumask if idle tracking is not enabled, if...
scx_bpf_get_idle_smtmask(9)
NAME scx_bpf_get_idle_smtmask - Get a referenced kptr to the idle-tracking, per-physical-core cpumask. Can be used to determine if an entire physical core is free. SYNOPSIS __bpf_kfunc const struct cpumask * scx_bpf_get_idle_smtmask (void ); ARGUMENTS void no arguments DESCRIPTION Returns an empty mask if idl...
scx_bpf_get_idle_smtmask_node(9)
NAME scx_bpf_get_idle_smtmask_node - Get a referenced kptr to the idle-tracking, per-physical-core cpumask of a target NUMA node. Can be used to determine if an entire physical core is free. SYNOPSIS __bpf_kfunc const struct cpumask * scx_bpf_get_idle_smtmask_node (int node ); ARGUMENTS node target NUMA node ...
scx_bpf_get_online_cpumask(9)
NAME scx_bpf_get_online_cpumask - Get a referenced kptr to cpu_online_mask SYNOPSIS __bpf_kfunc const struct cpumask * scx_bpf_get_online_cpumask (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_task_iter_unlock(9), scx_task_i...
scx_bpf_get_possible_cpumask(9)
NAME scx_bpf_get_possible_cpumask - Get a referenced kptr to cpu_possible_mask SYNOPSIS __bpf_kfunc const struct cpumask * scx_bpf_get_possible_cpumask (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_task_iter_unlock(9), scx_...
scx_bpf_kick_cpu(9)
NAME scx_bpf_kick_cpu - Trigger reschedule on a CPU SYNOPSIS __bpf_kfunc void scx_bpf_kick_cpu (s32 cpu , u64 flags ); ARGUMENTS cpu cpu to kick flags SCX_KICK_* flags DESCRIPTION Kick cpu into rescheduling. This can be used to wake up an idle CPU or trigger rescheduling on a busy CPU. This can...
scx_bpf_locked_rq(9)
NAME scx_bpf_locked_rq - Return the rq currently locked by SCX SYNOPSIS __bpf_kfunc struct rq * scx_bpf_locked_rq (void ); ARGUMENTS void no arguments DESCRIPTION Returns the rq if a rq lock is currently held by SCX. Otherwise emits an error and returns NULL. SEE ALSO Kernel file ./kernel/sched/ext.c nld...
scx_bpf_now(9)
NAME scx_bpf_now - Returns a high-performance monotonically non-decreasing clock for the current CPU. The clock returned is in nanoseconds. SYNOPSIS __bpf_kfunc u64 scx_bpf_now (void ); ARGUMENTS void no arguments DESCRIPTION It provides the following properties: 1) High performance: Many BPF schedulers c...
scx_bpf_nr_cpu_ids(9)
NAME scx_bpf_nr_cpu_ids - Return the number of possible CPU IDs SYNOPSIS __bpf_kfunc u32 scx_bpf_nr_cpu_ids (void ); ARGUMENTS void no arguments DESCRIPTION All valid CPU IDs in the system are smaller than the returned value. SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_sta...
scx_bpf_nr_node_ids(9)
NAME scx_bpf_nr_node_ids - Return the number of possible node IDs SYNOPSIS __bpf_kfunc u32 scx_bpf_nr_node_ids (void ); ARGUMENTS void no arguments DESCRIPTION All valid node IDs in the system are smaller than the returned value. SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter...
scx_bpf_pick_any_cpu(9)
NAME scx_bpf_pick_any_cpu - Pick and claim an idle cpu if available or pick any CPU SYNOPSIS __bpf_kfunc s32 scx_bpf_pick_any_cpu (const struct cpumask *cpus_allowed , u64 flags ); ARGUMENTS cpus_allowed Allowed cpumask flags SCX_PICK_IDLE_CPU_* flags DESCRIPTION Pick and claim an idle cpu in cpus_allo...
scx_bpf_pick_any_cpu_node(9)
NAME scx_bpf_pick_any_cpu_node - Pick and claim an idle cpu if available or pick any CPU from @node SYNOPSIS __bpf_kfunc s32 scx_bpf_pick_any_cpu_node (const struct cpumask *cpus_allowed , int node , u64 flags ); ARGUMENTS cpus_allowed Allowed cpumask node target NUMA node flags SCX_PICK_...
scx_bpf_pick_idle_cpu(9)
NAME scx_bpf_pick_idle_cpu - Pick and claim an idle cpu SYNOPSIS __bpf_kfunc s32 scx_bpf_pick_idle_cpu (const struct cpumask *cpus_allowed , u64 flags ); ARGUMENTS cpus_allowed Allowed cpumask flags SCX_PICK_IDLE_CPU_* flags DESCRIPTION Pick and claim an idle cpu in cpus_allowed. Returns the picked idl...
scx_bpf_pick_idle_cpu_node(9)
NAME scx_bpf_pick_idle_cpu_node - Pick and claim an idle cpu from @node SYNOPSIS __bpf_kfunc s32 scx_bpf_pick_idle_cpu_node (const struct cpumask *cpus_allowed , int node , u64 flags ); ARGUMENTS cpus_allowed Allowed cpumask node target NUMA node flags SCX_PICK_IDLE_* flags DESCRIPTION P...
scx_bpf_put_cpumask(9)
NAME scx_bpf_put_cpumask - Release a possible/online cpumask SYNOPSIS __bpf_kfunc void scx_bpf_put_cpumask (const struct cpumask *cpumask ); ARGUMENTS cpumask cpumask to release SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_task_iter_unlock(9), scx_task_iter_stop...
scx_bpf_put_idle_cpumask(9)
NAME scx_bpf_put_idle_cpumask - Release a previously acquired referenced kptr to either the percpu, or SMT idle-tracking cpumask. SYNOPSIS __bpf_kfunc void scx_bpf_put_idle_cpumask (const struct cpumask *idle_mask ); ARGUMENTS idle_mask cpumask to use SEE ALSO Kernel file ./kernel/sched/ext_idle.c scx_bpf_cpu...
scx_bpf_reenqueue_local(9)
NAME scx_bpf_reenqueue_local - Re-enqueue tasks on a local DSQ SYNOPSIS __bpf_kfunc u32 scx_bpf_reenqueue_local (void ); ARGUMENTS void no arguments DESCRIPTION Iterate over all of the tasks currently enqueued on the local DSQ of the caller's CPU, and re-enqueue them in the BPF scheduler. Returns the numb...
scx_bpf_select_cpu_and(9)
NAME scx_bpf_select_cpu_and - Pick an idle CPU usable by task @p SYNOPSIS s32 scx_bpf_select_cpu_and (struct task_struct *p , s32 prev_cpu , u64 wake_flags , const struct cpumask *cpus_allowed , u64 flags ); ARGUMENTS p task_struct to select a CPU for prev_cpu CPU p was on previously wake...
scx_bpf_select_cpu_dfl(9)
NAME scx_bpf_select_cpu_dfl - The default implementation of ops.select_cpu() SYNOPSIS __bpf_kfunc s32 scx_bpf_select_cpu_dfl (struct task_struct *p , s32 prev_cpu , u64 wake_flags , bool *is_idle ); ARGUMENTS p task_struct to select a CPU for prev_cpu CPU p was on previously wake_flags S...
scx_bpf_task_cgroup(9)
NAME scx_bpf_task_cgroup - Return the sched cgroup of a task SYNOPSIS __bpf_kfunc struct cgroup * scx_bpf_task_cgroup (struct task_struct *p ); ARGUMENTS p task of interest DESCRIPTION p->sched_task_group->css.cgroup represents the cgroup p is associated with from the scheduler's POV. SCX operations sho...
scx_bpf_task_cpu(9)
NAME scx_bpf_task_cpu - CPU a task is currently associated with SYNOPSIS __bpf_kfunc s32 scx_bpf_task_cpu (const struct task_struct *p ); ARGUMENTS p task of interest SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_task_iter_unlock(9), scx_task_iter_stop(9), ...
scx_bpf_task_running(9)
NAME scx_bpf_task_running - Is task currently running? SYNOPSIS __bpf_kfunc bool scx_bpf_task_running (const struct task_struct *p ); ARGUMENTS p task of interest SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_task_iter_unlock(9), scx_task_iter_stop(9), scx_...
scx_bpf_task_set_dsq_vtime(9)
NAME scx_bpf_task_set_dsq_vtime - Set task's virtual time for DSQ ordering SYNOPSIS __bpf_kfunc bool scx_bpf_task_set_dsq_vtime (struct task_struct *p , u64 vtime ); ARGUMENTS p task of interest vtime virtual time to set DESCRIPTION Set p's virtual time to vtime. Returns true on success, fals...
scx_bpf_task_set_slice(9)
NAME scx_bpf_task_set_slice - Set task's time slice SYNOPSIS __bpf_kfunc bool scx_bpf_task_set_slice (struct task_struct *p , u64 slice ); ARGUMENTS p task of interest slice time slice to set in nsecs DESCRIPTION Set p's time slice to slice. Returns true on success, false if the calling sched...
scx_bpf_test_and_clear_cpu_idle(9)
NAME scx_bpf_test_and_clear_cpu_idle - Test and clear @cpu's idle state SYNOPSIS __bpf_kfunc bool scx_bpf_test_and_clear_cpu_idle (s32 cpu ); ARGUMENTS cpu cpu to test and clear idle for DESCRIPTION Returns true if cpu was idle and its idle state was successfully cleared. false otherwise. Unavailable if op...
scx_bypass(9)
NAME scx_bypass - [Un]bypass scx_ops and guarantee forward progress SYNOPSIS void scx_bypass (bool bypass ); ARGUMENTS bypass true for bypass, false for unbypass DESCRIPTION Bypassing guarantees that all runnable tasks make forward progress without trusting the BPF scheduler. We can't grab any mutexes or rwsem...
scx_dump_event(9)
NAME scx_dump_event - Dump an event 'kind' in 'events' to 's' SYNOPSIS scx_dump_event (s , events , kind ); ARGUMENTS s output seq_buf events event stats kind a kind of event to dump SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_t...
scx_hardlockup(9)
NAME scx_hardlockup - sched_ext hardlockup handler SYNOPSIS bool scx_hardlockup (int cpu ); ARGUMENTS cpu -- undescribed -- DESCRIPTION A poorly behaving BPF scheduler can trigger hard lockup by e.g. putting numerous affinitized tasks in a single queue and directing all CPUs at it. Try kicking out the curre...
scx_prio_less(9)
NAME scx_prio_less - Task ordering for core-sched SYNOPSIS bool scx_prio_less (const struct task_struct *a , const struct task_struct *b , bool in_fi ); ARGUMENTS a task A b task B in_fi in forced idle state DESCRIPTION Core-sched is implemented as an additional schedulin...
scx_rcu_cpu_stall(9)
NAME scx_rcu_cpu_stall - sched_ext RCU CPU stall handler SYNOPSIS bool scx_rcu_cpu_stall (void ); ARGUMENTS void no arguments DESCRIPTION While there are various reasons why RCU CPU stalls can occur on a system that may not be caused by the current BPF scheduler, try kicking out the current scheduler in an ...
scx_softlockup(9)
NAME scx_softlockup - sched_ext softlockup handler SYNOPSIS void scx_softlockup (u32 dur_s ); ARGUMENTS dur_s number of seconds of CPU stuck due to soft lockup DESCRIPTION On some multi-socket setups (e.g. 2x Intel 8480c), the BPF scheduler can live-lock the system by making many CPUs target the same DSQ to ...
scx_task_iter_next(9)
NAME scx_task_iter_next - Next task SYNOPSIS struct task_struct * scx_task_iter_next (struct scx_task_iter *iter ); ARGUMENTS iter iterator to walk DESCRIPTION Visit the next task. See scx_task_iter_start for details. Locks are dropped and re-acquired every SCX_TASK_ITER_BATCH iterations to avoid causing stal...
scx_task_iter_next_locked(9)
NAME scx_task_iter_next_locked - Next non-idle task with its rq locked SYNOPSIS struct task_struct * scx_task_iter_next_locked (struct scx_task_iter *iter ); ARGUMENTS iter iterator to walk DESCRIPTION Visit the non-idle task with its rq lock held. Allows callers to specify whether they would like to filter o...
scx_task_iter_start(9)
NAME scx_task_iter_start - Lock scx_tasks_lock and start a task iteration SYNOPSIS void scx_task_iter_start (struct scx_task_iter *iter ); ARGUMENTS iter iterator to init DESCRIPTION Initialize iter and return with scx_tasks_lock held. Once initialized, iter must eventually be stopped with scx_task_iter_sto...
scx_task_iter_stop(9)
NAME scx_task_iter_stop - Stop a task iteration and unlock scx_tasks_lock SYNOPSIS void scx_task_iter_stop (struct scx_task_iter *iter ); ARGUMENTS iter iterator to exit DESCRIPTION Exit a previously initialized iter. Must be called with scx_tasks_lock held which is released on return. If the iterator holds a...
scx_task_iter_unlock(9)
NAME scx_task_iter_unlock - Unlock rq and scx_tasks_lock held by a task iterator SYNOPSIS void scx_task_iter_unlock (struct scx_task_iter *iter ); ARGUMENTS iter iterator to unlock DESCRIPTION If iter is in the middle of a locked iteration, it may be locking the rq of the task currently being visited in addit...
sd(4)
NAME sd - driver for SCSI disk drives SYNOPSIS #include <linux/hdreg.h> /* for HDIO_GETGEO */ #include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */ CONFIGURATION The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the par...
sd-boot(7)
NAME systemd-boot, sd-boot - A simple UEFI boot manager DESCRIPTION systemd-boot (short: sd-boot) is a simple UEFI boot manager. It provides a textual menu to select the entry to boot and an editor for the kernel command line. systemd-boot supports systems with UEFI firmware only. systemd-boot loads boot entr...
sd-bus(3)
NAME sd-bus - A lightweight D-Bus IPC client library SYNOPSIS #include <systemd/sd-bus.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-bus.h is part of libsystemd(3) and provides an implementation of a D-Bus IPC client. See https://www.freedesktop.org/software/dbus/ for more information about D-Bus IP...
sd-bus-errors(3)
NAME sd-bus-errors, SD_BUS_ERROR_FAILED, SD_BUS_ERROR_NO_MEMORY, SD_BUS_ERROR_SERVICE_UNKNOWN, SD_BUS_ERROR_NAME_HAS_NO_OWNER, SD_BUS_ERROR_NO_REPLY, SD_BUS_ERROR_IO_ERROR, SD_BUS_ERROR_BAD_ADDRESS, SD_BUS_ERROR_NOT_SUPPORTED, SD_BUS_ERROR_LIMITS_EXCEEDED, SD_BUS_ERROR_ACCESS_DENIED, SD_BUS_ERROR_AUTH_FAILED, SD_BUS_ER...
sd-daemon(3)
NAME sd-daemon, SD_EMERG, SD_ALERT, SD_CRIT, SD_ERR, SD_WARNING, SD_NOTICE, SD_INFO, SD_DEBUG - APIs for new-style daemons SYNOPSIS #include <systemd/sd-daemon.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-daemon.h is part of libsystemd(3) and provides APIs for new-style daemons, as implemented by t...
sd-device(3)
NAME sd-device - API for enumerating and introspecting local devices SYNOPSIS #include <systemd/sd-device.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-device.h is part of libsystemd(3) and provides an API to introspect and enumerate devices on the local system. It provides a programmatic interface ...
sd-event(3)
NAME sd-event - A generic event loop implementation SYNOPSIS #include <systemd/sd-event.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-event.h is part of libsystemd(3) and provides a generic event loop implementation, based on Linux epoll(7). See sd_event_new(3), sd_event_run(3), sd_event_add...
sd-hwdb(3)
NAME sd-hwdb - Read-only access to the hardware description database SYNOPSIS #include <systemd/sd-hwdb.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-hwdb.h is part of libsystemd(3) and allows read-only access the systemd database of hardware properties. See hwdb(7) and systemd-hwdb(8) for more info...
sd-id128(3)
NAME sd-id128, SD_ID128_ALLF, SD_ID128_CONST_STR, SD_ID128_FORMAT_STR, SD_ID128_FORMAT_VAL, SD_ID128_MAKE, SD_ID128_MAKE_STR, SD_ID128_MAKE_UUID_STR, SD_ID128_NULL, SD_ID128_UUID_FORMAT_STR, sd_id128_equal, sd_id128_string_equal, sd_id128_in_set, sd_id128_in_set_sentinel, sd_id128_in_setv, sd_id128_is_allf, sd_id128_is...
sd-journal(3)
NAME sd-journal - APIs for submitting and querying log entries to and from the journal SYNOPSIS #include <systemd/sd-journal.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-journal.h is part of libsystemd(3) and provides APIs to submit and query log entries. The APIs exposed act both as client for the...
sd-json(3)
NAME sd-json - APIs for Dealing with JSON Objects SYNOPSIS #include <systemd/sd-json.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-json.h is part of libsystemd(3) and provides APIs to parse, generate, format and otherwise operate with JSON objects. The API's central data structure is JsonVar...
sd-login(3)
NAME sd-login - APIs for tracking logins SYNOPSIS #include <systemd/sd-login.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-login.h is part of libsystemd(3) and provides APIs to introspect and monitor seat, login session, and user status information on the local system. Note that these APIs o...
sd-path(3)
NAME sd-path - APIs to query file system paths SYNOPSIS #include <systemd/sd-path.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-path.h is part of libsystemd(3) and provides APIs to query file system paths. This functionality is similar to the command-line functionality provided by systemd-path(1). ...
sd-stub(7)
NAME systemd-stub, sd-stub, linuxx64.efi.stub, linuxia32.efi.stub, linuxaa64.efi.stub - A simple UEFI kernel boot stub SYNOPSIS /usr/lib/systemd/boot/efi/linuxx64.efi.stub /usr/lib/systemd/boot/efi/linuxia32.efi.stub /usr/lib/systemd/boot/efi/linuxaa64.efi.stub ESP/.../foo.efi.extra.d/*.addon.efi ESP/.../foo.efi.extra...
sd-varlink(3)
NAME sd-varlink - APIs for Varlink IPC SYNOPSIS #include <systemd/sd-varlink.h> pkg-config --cflags --libs libsystemd DESCRIPTION sd-varlink.h is part of libsystemd(3) and provides APIs for implementing Varlink IPC clients and services. See https://varlink.org/ for more information about Varlink IPC. ...
sd_booted(3)
NAME sd_booted - Test whether the system is running the systemd init system SYNOPSIS #include <systemd/sd-daemon.h> int sd_booted(void); DESCRIPTION sd_booted() checks whether the system was booted up using the systemd init system. RETURN VALUE On failure, this call returns a negative errno-style error code....
sd_bus_add_fallback(3)
NAME sd_bus_add_object, sd_bus_add_fallback, sd_bus_add_object_vtable, sd_bus_add_fallback_vtable, sd_bus_add_filter, SD_BUS_VTABLE_CAPABILITY, SD_BUS_VTABLE_START, SD_BUS_VTABLE_END, SD_BUS_METHOD_WITH_NAMES_OFFSET, SD_BUS_METHOD_WITH_NAMES, SD_BUS_METHOD_WITH_OFFSET, SD_BUS_METHOD, SD_BUS_SIGNAL_WITH_NAMES, SD_BUS_SI...
sd_bus_add_fallback_vtable(3)
NAME sd_bus_add_object, sd_bus_add_fallback, sd_bus_add_object_vtable, sd_bus_add_fallback_vtable, sd_bus_add_filter, SD_BUS_VTABLE_CAPABILITY, SD_BUS_VTABLE_START, SD_BUS_VTABLE_END, SD_BUS_METHOD_WITH_NAMES_OFFSET, SD_BUS_METHOD_WITH_NAMES, SD_BUS_METHOD_WITH_OFFSET, SD_BUS_METHOD, SD_BUS_SIGNAL_WITH_NAMES, SD_BUS_SI...
sd_bus_add_filter(3)
NAME sd_bus_add_object, sd_bus_add_fallback, sd_bus_add_object_vtable, sd_bus_add_fallback_vtable, sd_bus_add_filter, SD_BUS_VTABLE_CAPABILITY, SD_BUS_VTABLE_START, SD_BUS_VTABLE_END, SD_BUS_METHOD_WITH_NAMES_OFFSET, SD_BUS_METHOD_WITH_NAMES, SD_BUS_METHOD_WITH_OFFSET, SD_BUS_METHOD, SD_BUS_SIGNAL_WITH_NAMES, SD_BUS_SI...
sd_bus_add_match(3)
NAME sd_bus_add_match, sd_bus_add_match_async, sd_bus_match_signal, sd_bus_match_signal_async - Add a match rule for incoming message dispatching SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error); int sd_bus_add_matc...
sd_bus_add_match_async(3)
NAME sd_bus_add_match, sd_bus_add_match_async, sd_bus_match_signal, sd_bus_match_signal_async - Add a match rule for incoming message dispatching SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error); int sd_bus_add_matc...
sd_bus_add_node_enumerator(3)
NAME sd_bus_add_node_enumerator - Add a node enumerator for a D-Bus object path prefix SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_node_enumerator_t)(sd_bus *bus, const char *prefix, void *userdata, char ***ret_nodes, sd_bus_error *ret_error); int sd_bus_add_node_enumerator(sd_bus *bus, s...
sd_bus_add_object(3)
NAME sd_bus_add_object, sd_bus_add_fallback, sd_bus_add_object_vtable, sd_bus_add_fallback_vtable, sd_bus_add_filter, SD_BUS_VTABLE_CAPABILITY, SD_BUS_VTABLE_START, SD_BUS_VTABLE_END, SD_BUS_METHOD_WITH_NAMES_OFFSET, SD_BUS_METHOD_WITH_NAMES, SD_BUS_METHOD_WITH_OFFSET, SD_BUS_METHOD, SD_BUS_SIGNAL_WITH_NAMES, SD_BUS_SI...
sd_bus_add_object_manager(3)
NAME sd_bus_add_object_manager - Add a D-Bus object manager for a D-Bus object sub-tree SYNOPSIS #include <systemd/sd-bus.h> int sd_bus_add_object_manager(sd_bus *bus, sd_bus_slot **slot, const char *path); DESCRIPTION sd_bus_add_object_manager() installs a handler for the given path that implements the GetMa...
sd_bus_add_object_vtable(3)
NAME sd_bus_add_object, sd_bus_add_fallback, sd_bus_add_object_vtable, sd_bus_add_fallback_vtable, sd_bus_add_filter, SD_BUS_VTABLE_CAPABILITY, SD_BUS_VTABLE_START, SD_BUS_VTABLE_END, SD_BUS_METHOD_WITH_NAMES_OFFSET, SD_BUS_METHOD_WITH_NAMES, SD_BUS_METHOD_WITH_OFFSET, SD_BUS_METHOD, SD_BUS_SIGNAL_WITH_NAMES, SD_BUS_SI...
sd_bus_attach_event(3)
NAME sd_bus_attach_event, sd_bus_detach_event, sd_bus_get_event - Attach a bus connection object to an event loop SYNOPSIS #include <systemd/sd-bus.h> int sd_bus_attach_event(sd_bus *bus, sd_event *e, int priority); int sd_bus_detach_event(sd_bus *bus); sd_event *sd_bus_get_event(sd_bus *bus); ...
sd_bus_call(3)
NAME sd_bus_call, sd_bus_call_async - Invoke a D-Bus method call SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error); int sd_bus_call(sd_bus *bus, sd_bus_message *m, uint64_t usec, sd_bus_error *ret_error, sd_bus_messa...
sd_bus_call_async(3)
NAME sd_bus_call, sd_bus_call_async - Invoke a D-Bus method call SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error); int sd_bus_call(sd_bus *bus, sd_bus_message *m, uint64_t usec, sd_bus_error *ret_error, sd_bus_messa...
sd_bus_call_method(3)
NAME sd_bus_call_method, sd_bus_call_methodv, sd_bus_call_method_async, sd_bus_call_method_asyncv - Initialize a bus message object and invoke the corresponding D-Bus method call SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_er...
sd_bus_call_method_async(3)
NAME sd_bus_call_method, sd_bus_call_methodv, sd_bus_call_method_async, sd_bus_call_method_asyncv - Initialize a bus message object and invoke the corresponding D-Bus method call SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_er...
sd_bus_call_method_asyncv(3)
NAME sd_bus_call_method, sd_bus_call_methodv, sd_bus_call_method_async, sd_bus_call_method_asyncv - Initialize a bus message object and invoke the corresponding D-Bus method call SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_er...
sd_bus_call_methodv(3)
NAME sd_bus_call_method, sd_bus_call_methodv, sd_bus_call_method_async, sd_bus_call_method_asyncv - Initialize a bus message object and invoke the corresponding D-Bus method call SYNOPSIS #include <systemd/sd-bus.h> typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_er...
sd_bus_can_send(3)
NAME sd_bus_can_send - Check which types can be sent over a bus object SYNOPSIS #include <systemd/sd-bus.h> int sd_bus_can_send(sd_bus *bus, char type); DESCRIPTION sd_bus_can_send() is mostly used for checking if file descriptor passing is available on the given bus. type can be any of the SD_BUS_TYPE const...
sd_bus_close(3)
NAME sd_bus_close, sd_bus_flush, sd_bus_default_flush_close - Close and flush a bus connection SYNOPSIS #include <systemd/sd-bus.h> void sd_bus_close(sd_bus *bus); int sd_bus_flush(sd_bus *bus); void sd_bus_default_flush_close(void); DESCRIPTION sd_bus_close() disconnects the specified bus con...
sd_bus_close_unref(3)
NAME sd_bus_new, sd_bus_ref, sd_bus_unref, sd_bus_unrefp, sd_bus_close_unref, sd_bus_close_unrefp, sd_bus_flush_close_unref, sd_bus_flush_close_unrefp - Create a new bus object and create or destroy references to it SYNOPSIS #include <systemd/sd-bus.h> int sd_bus_new(sd_bus **bus); sd_bus *sd_bus_ref(s...
sd_bus_close_unrefp(3)
NAME sd_bus_new, sd_bus_ref, sd_bus_unref, sd_bus_unrefp, sd_bus_close_unref, sd_bus_close_unrefp, sd_bus_flush_close_unref, sd_bus_flush_close_unrefp - Create a new bus object and create or destroy references to it SYNOPSIS #include <systemd/sd-bus.h> int sd_bus_new(sd_bus **bus); sd_bus *sd_bus_ref(s...
sd_bus_creds_get_audit_login_uid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_audit_session_id(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_augmented_mask(3)
NAME sd_bus_creds_new_from_pid, sd_bus_creds_new_from_pidfd, sd_bus_creds_get_mask, sd_bus_creds_get_augmented_mask, sd_bus_creds_ref, sd_bus_creds_unref, sd_bus_creds_unrefp - Retrieve credentials object for the specified PID SYNOPSIS #include <systemd/sd-bus.h> int sd_bus_creds_new_from_pid(pid_t pid, uint64...
sd_bus_creds_get_cgroup(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_cmdline(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_comm(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_description(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_egid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_euid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_exe(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_fsgid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_fsuid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_gid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_mask(3)
NAME sd_bus_creds_new_from_pid, sd_bus_creds_new_from_pidfd, sd_bus_creds_get_mask, sd_bus_creds_get_augmented_mask, sd_bus_creds_ref, sd_bus_creds_unref, sd_bus_creds_unrefp - Retrieve credentials object for the specified PID SYNOPSIS #include <systemd/sd-bus.h> int sd_bus_creds_new_from_pid(pid_t pid, uint64...
sd_bus_creds_get_owner_uid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_pid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_pidfd_dup(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_ppid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_selinux_context(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_session(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_sgid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_slice(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_suid(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...
sd_bus_creds_get_supplementary_gids(3)
NAME sd_bus_creds_get_pid, sd_bus_creds_get_pidfd_dup, sd_bus_creds_get_ppid, sd_bus_creds_get_tid, sd_bus_creds_get_uid, sd_bus_creds_get_euid, sd_bus_creds_get_suid, sd_bus_creds_get_fsuid, sd_bus_creds_get_gid, sd_bus_creds_get_egid, sd_bus_creds_get_sgid, sd_bus_creds_get_fsgid, sd_bus_creds_get_supplementary_gids,...