id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
sys_membarrier(9) | NAME sys_membarrier - issue memory barriers on a set of threads
SYNOPSIS long sys_membarrier (int cmd , unsigned int flags , int cpu_id );
ARGUMENTS cmd Takes command values defined in enum membarrier_cmd.
flags Currently needs to be 0 for all commands other than MEMBARRIER_CMD_PRIVATE_EXPEDITED... |
sys_mman.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/mman.h — memory management declarations
SYNOPSIS #include ... |
sys_msg.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/msg.h — XSI message queue structures
SYNOPSIS #include <sy... |
sys_name_to_handle_at(9) | NAME sys_name_to_handle_at - convert name to handle
SYNOPSIS long sys_name_to_handle_at (int dfd , const char __user * name , struct file_handle __user * handle , void __user * mnt_id , int flag );
ARGUMENTS dfd directory relative to which name is interpreted if not absolute
name name that shou... |
sys_nerr(3) | NAME perror - print a system error message
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdio.h>
void perror(const char *s);
#include <errno.h>
int errno; /* Not really declared this way; see errno(3) */
[[deprecated]] const char *const sys_errlist[];
[[deprecated]... |
sys_open_by_handle_at(9) | NAME sys_open_by_handle_at - Open the file handle
SYNOPSIS long sys_open_by_handle_at (int mountdirfd , struct file_handle __user * handle , int flags );
ARGUMENTS mountdirfd directory file descriptor
handle file handle to be opened
flags open flags.
DESCRIPTION mountdirfd indicate the di... |
sys_perf_event_open(9) | NAME sys_perf_event_open - open a performance event, associate it to a task/cpu
SYNOPSIS long sys_perf_event_open (struct perf_event_attr __user * attr_uptr , pid_t pid , int cpu , int group_fd , unsigned long flags );
ARGUMENTS attr_uptr event_id type attributes for monitoring/sampling
pid target p... |
sys_pidfd_getfd(9) | NAME sys_pidfd_getfd - Get a file descriptor from another process
SYNOPSIS long sys_pidfd_getfd (int pidfd , int fd , unsigned int flags );
ARGUMENTS pidfd the pidfd file descriptor of the process
fd the file descriptor number to get
flags flags on how to get the fd (reserved)
DE... |
sys_pidfd_open(9) | NAME sys_pidfd_open - Open new pid file descriptor.
SYNOPSIS long sys_pidfd_open (pid_t pid , unsigned int flags );
ARGUMENTS pid pid for which to retrieve a pidfd
flags flags to pass
DESCRIPTION This creates a new pid file descriptor with the O_CLOEXEC flag set for the task identified by pid. ... |
sys_pidfd_send_signal(9) | NAME sys_pidfd_send_signal - Signal a process through a pidfd
SYNOPSIS long sys_pidfd_send_signal (int pidfd , int sig , siginfo_t __user * info , unsigned int flags );
ARGUMENTS pidfd file descriptor of the process
sig signal to send
info signal info
flags future fl... |
sys_resource.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/resource.h — definitions for XSI resource operations
SYNOP... |
sys_restart_syscall(9) | NAME sys_restart_syscall - restart a system call
SYNOPSIS long sys_restart_syscall (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./kernel/signal.c task_set_jobctl_pending(9), task_clear_jobctl_trapping(9), task_clear_jobctl_pending(9), task_participate_group_stop(9), ptrace_trap_notify(9), for... |
sys_rseq_slice_yield(9) | NAME sys_rseq_slice_yield - yield the current processor side effect free if a task granted with a time slice extension is done with the critical work before being forced out.
SYNOPSIS long sys_rseq_slice_yield (void );
ARGUMENTS void no arguments
RETURN 1 if the task successfully yielded the CPU within t... |
sys_rt_sigaction(9) | NAME sys_rt_sigaction - alter an action taken by a process
SYNOPSIS long sys_rt_sigaction (int sig , const struct sigaction __user * act , struct sigaction __user * oact , size_t sigsetsize );
ARGUMENTS sig signal to be sent
act new sigaction
oact used to save the previous sigac... |
sys_rt_sigpending(9) | NAME sys_rt_sigpending - examine a pending signal that has been raised while blocked
SYNOPSIS long sys_rt_sigpending (sigset_t __user * uset , size_t sigsetsize );
ARGUMENTS uset stores pending signals
sigsetsize size of sigset_t type or larger
SEE ALSO Kernel file ./kernel/signal.c task_set_jobct... |
sys_rt_sigprocmask(9) | NAME sys_rt_sigprocmask - change the list of currently blocked signals
SYNOPSIS long sys_rt_sigprocmask (int how , sigset_t __user * nset , sigset_t __user * oset , size_t sigsetsize );
ARGUMENTS how whether to add, remove, or set signals
nset stores pending signals
oset previous... |
sys_rt_sigqueueinfo(9) | NAME sys_rt_sigqueueinfo - send signal information to a signal
SYNOPSIS long sys_rt_sigqueueinfo (pid_t pid , int sig , siginfo_t __user * uinfo );
ARGUMENTS pid the PID of the thread
sig signal to be sent
uinfo signal info to be sent
SEE ALSO Kernel file ./kernel/signal.c ta... |
sys_rt_sigsuspend(9) | NAME sys_rt_sigsuspend - replace the signal mask for a value with the @unewset value until a signal is received
SYNOPSIS long sys_rt_sigsuspend (sigset_t __user * unewset , size_t sigsetsize );
ARGUMENTS unewset new signal mask value
sigsetsize size of sigset_t type
SEE ALSO Kernel file ./kernel/signa... |
sys_rt_sigtimedwait(9) | NAME sys_rt_sigtimedwait - synchronously wait for queued signals specified in @uthese
SYNOPSIS long sys_rt_sigtimedwait (const sigset_t __user * uthese , siginfo_t __user * uinfo , const struct __kernel_timespec __user * uts , size_t sigsetsize );
ARGUMENTS uthese queued signals to wait for
uinfo i... |
sys_sched_get_priority_max(9) | NAME sys_sched_get_priority_max - return maximum RT priority.
SYNOPSIS long sys_sched_get_priority_max (int policy );
ARGUMENTS policy scheduling class.
RETURN On success, this syscall returns the maximum rt_priority that can be used by a given scheduling class. On failure, a negative error code is returned.
... |
sys_sched_get_priority_min(9) | NAME sys_sched_get_priority_min - return minimum RT priority.
SYNOPSIS long sys_sched_get_priority_min (int policy );
ARGUMENTS policy scheduling class.
RETURN On success, this syscall returns the minimum rt_priority that can be used by a given scheduling class. On failure, a negative error code is returned.
... |
sys_sched_getaffinity(9) | NAME sys_sched_getaffinity - get the CPU affinity of a process
SYNOPSIS long sys_sched_getaffinity (pid_t pid , unsigned int len , unsigned long __user * user_mask_ptr );
ARGUMENTS pid pid of the process
len length in bytes of the bitmask pointed to by user_mask_ptr
user_mask_ptr
... |
sys_sched_getattr(9) | NAME sys_sched_getattr - similar to sched_getparam, but with sched_attr
SYNOPSIS long sys_sched_getattr (pid_t pid , struct sched_attr __user * uattr , unsigned int usize , unsigned int flags );
ARGUMENTS pid the pid in question.
uattr structure containing the extended parameters.
usize ... |
sys_sched_getparam(9) | NAME sys_sched_getparam - get the RT priority of a thread
SYNOPSIS long sys_sched_getparam (pid_t pid , struct sched_param __user * param );
ARGUMENTS pid the pid in question.
param structure containing the RT priority.
RETURN On success, 0 and the RT priority is in param. Otherwise, an error c... |
sys_sched_getscheduler(9) | NAME sys_sched_getscheduler - get the policy (scheduling class) of a thread
SYNOPSIS long sys_sched_getscheduler (pid_t pid );
ARGUMENTS pid the pid in question.
RETURN On success, the policy of the thread. Otherwise, a negative error code.
SEE ALSO Kernel file ./kernel/sched/syscalls.c task_prio(9), idle_... |
sys_sched_rr_get_interval(9) | NAME sys_sched_rr_get_interval - return the default time-slice of a process.
SYNOPSIS long sys_sched_rr_get_interval (pid_t pid , struct __kernel_timespec __user * interval );
ARGUMENTS pid pid of the process.
interval userspace pointer to the time-slice value.
DESCRIPTION this syscall writes the ... |
sys_sched_setaffinity(9) | NAME sys_sched_setaffinity - set the CPU affinity of a process
SYNOPSIS long sys_sched_setaffinity (pid_t pid , unsigned int len , unsigned long __user * user_mask_ptr );
ARGUMENTS pid pid of the process
len length in bytes of the bitmask pointed to by user_mask_ptr
user_mask_ptr
... |
sys_sched_setattr(9) | NAME sys_sched_setattr - same as above, but with extended sched_attr
SYNOPSIS long sys_sched_setattr (pid_t pid , struct sched_attr __user * uattr , unsigned int flags );
ARGUMENTS pid the pid in question.
uattr structure containing the extended parameters.
flags for future extensi... |
sys_sched_setparam(9) | NAME sys_sched_setparam - set/change the RT priority of a thread
SYNOPSIS long sys_sched_setparam (pid_t pid , struct sched_param __user * param );
ARGUMENTS pid the pid in question.
param structure containing the new RT priority.
RETURN 0 on success. An error code otherwise.
SEE ALSO Kernel ... |
sys_sched_setscheduler(9) | NAME sys_sched_setscheduler - set/change the scheduler policy and RT priority
SYNOPSIS long sys_sched_setscheduler (pid_t pid , int policy , struct sched_param __user * param );
ARGUMENTS pid the pid in question.
policy new policy.
param structure containing the new RT priority.
RE... |
sys_sched_yield(9) | NAME sys_sched_yield - yield the current processor to other threads.
SYNOPSIS long sys_sched_yield (void );
ARGUMENTS void no arguments
DESCRIPTION This function yields the current CPU to other tasks. If there are no other threads running on this CPU then this function will return.
RETURN 0.
SEE ALSO Kernel... |
sys_select.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/select.h — select types
SYNOPSIS #include <sys/select.h>
... |
sys_sem.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/sem.h — XSI semaphore facility
SYNOPSIS #include <sys/sem.... |
sys_set_robust_list(9) | NAME sys_set_robust_list - Set the robust-futex list head of a task
SYNOPSIS long sys_set_robust_list (struct robust_list_head __user * head , size_t len );
ARGUMENTS head pointer to the list-head
len length of the list-head, as userspace expects
SEE ALSO Kernel file ./kernel/futex/syscalls.c ... |
sys_shm.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/shm.h — XSI shared memory facility
SYNOPSIS #include <sys/... |
sys_siglist(3) | NAME strsignal, sigabbrev_np, sigdescr_np, sys_siglist - return string describing signal
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <string.h>
char *strsignal(int sig);
const char *sigdescr_np(int sig);
const char *sigabbrev_np(int sig);
[[deprecated]] extern const char *co... |
sys_sigpending(9) | NAME sys_sigpending - examine pending signals
SYNOPSIS long sys_sigpending (old_sigset_t __user * uset );
ARGUMENTS uset where mask of pending signal is returned
SEE ALSO Kernel file ./kernel/signal.c task_set_jobctl_pending(9), task_clear_jobctl_trapping(9), task_clear_jobctl_pending(9), task_participate... |
sys_sigprocmask(9) | NAME sys_sigprocmask - examine and change blocked signals
SYNOPSIS long sys_sigprocmask (int how , old_sigset_t __user * nset , old_sigset_t __user * oset );
ARGUMENTS how whether to add, remove, or set signals
nset signals to add or remove (if non-null)
oset previous value of si... |
sys_socket.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/socket.h — main sockets header
SYNOPSIS #include <sys/sock... |
sys_stat.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/stat.h — data returned by the stat() function
SYNOPSIS #in... |
sys_statvfs.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/statvfs.h — VFS File System information structure
SYNOPSIS... |
sys_statx(9) | NAME sys_statx - System call to get enhanced stats
SYNOPSIS long sys_statx (int dfd , const char __user * filename , unsigned flags , unsigned int mask , struct statx __user * buffer );
ARGUMENTS dfd Base directory to pathwalk from *or* fd to stat.
filename File to stat or either NULL or "" with AT... |
sys_tgkill(9) | NAME sys_tgkill - send signal to one specific thread
SYNOPSIS long sys_tgkill (pid_t tgid , pid_t pid , int sig );
ARGUMENTS tgid the thread group ID of the thread
pid the PID of the thread
sig signal to be sent
DESCRIPTION This syscall also checks the tgid and returns -ESRCH e... |
sys_time.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/time.h — time types
SYNOPSIS #include <sys/time.h>
DESCRI... |
sys_timer_getoverrun(9) | NAME sys_timer_getoverrun - Get the number of overruns of a POSIX.1b interval timer
SYNOPSIS long sys_timer_getoverrun (timer_t timer_id );
ARGUMENTS timer_id The timer ID which identifies the timer
DESCRIPTION The "overrun count" of a timer is one plus the number of expiration intervals which have elapsed betwe... |
sys_times.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/times.h — file access and modification times structure
SYN... |
sys_tkill(9) | NAME sys_tkill - send signal to one specific task
SYNOPSIS long sys_tkill (pid_t pid , int sig );
ARGUMENTS pid the PID of the task
sig signal to be sent
DESCRIPTION Send a signal to only one task, even if it's a CLONE_THREAD task.
SEE ALSO Kernel file ./kernel/signal.c task_set_jobctl_pe... |
sys_types.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/types.h — data types
SYNOPSIS #include <sys/types.h>
DESC... |
sys_uio.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/uio.h — definitions for vector I/O operations
SYNOPSIS #in... |
sys_un.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/un.h — definitions for UNIX domain sockets
SYNOPSIS #inclu... |
sys_utsname.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/utsname.h — system name structure
SYNOPSIS #include <sys/u... |
sys_wait.h(0p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sys/wait.h — declarations for waiting
SYNOPSIS #include <sys/w... |
sysc_add_restored(9) | NAME sysc_add_restored - optionally add reset and restore quirk hanlling
SYNOPSIS void sysc_add_restored (struct sysc *ddata );
ARGUMENTS ddata device data
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_init_resets(9), sysc_parse_and_check_child_range(9), sysc_check_one_child(9), sysc_parse_... |
sysc_check_one_child(9) | NAME sysc_check_one_child - check child configuration
SYNOPSIS void sysc_check_one_child (struct sysc *ddata , struct device_node *np );
ARGUMENTS ddata device driver data
np child device node
DESCRIPTION Let's avoid messy situations where we have new interconnect target node but children have... |
sysc_check_registers(9) | NAME sysc_check_registers - check for misconfigured register overlaps
SYNOPSIS int sysc_check_registers (struct sysc *ddata );
ARGUMENTS ddata device driver data
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_init_resets(9), sysc_parse_and_check_child_range(9), sysc_check_one_child(9), sysc_... |
sysc_context_notifier(9) | NAME sysc_context_notifier - optionally reset and restore module after idle
SYNOPSIS int sysc_context_notifier (struct notifier_block *nb , unsigned long cmd , void *v );
ARGUMENTS nb notifier block
cmd unused
v unused
DESCRIPTION Some interconnect target modules need to be... |
sysc_init_resets(9) | NAME sysc_init_resets - init rstctrl reset line if configured
SYNOPSIS int sysc_init_resets (struct sysc *ddata );
ARGUMENTS ddata device driver data
DESCRIPTION See sysc_rstctrl_reset_deassert.
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_parse_and_check_child_range(9), sysc_ch... |
sysc_ioremap(9) | NAME sysc_ioremap - ioremap register space for the interconnect target module
SYNOPSIS int sysc_ioremap (struct sysc *ddata );
ARGUMENTS ddata device driver data
DESCRIPTION Note that the interconnect target module registers can be anywhere within the interconnect target module range. For example, SGX has ... |
sysc_map_and_check_registers(9) | NAME sysc_map_and_check_registers - ioremap and check device registers
SYNOPSIS int sysc_map_and_check_registers (struct sysc *ddata );
ARGUMENTS ddata device driver data
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_init_resets(9), sysc_parse_and_check_child_range(9), sysc_check_one... |
sysc_parse_and_check_child_range(9) | NAME sysc_parse_and_check_child_range - parses module IO region from ranges
SYNOPSIS int sysc_parse_and_check_child_range (struct sysc *ddata );
ARGUMENTS ddata device driver data
DESCRIPTION In general we only need rev, syss, and sysc registers and not the whole module range. But we do want the offsets fo... |
sysc_parse_one(9) | NAME sysc_parse_one - parses the interconnect target module registers
SYNOPSIS int sysc_parse_one (struct sysc *ddata , enum sysc_registers reg );
ARGUMENTS ddata device driver data
reg register to parse
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_init_resets(9), s... |
sysc_show_registers(9) | NAME sysc_show_registers - show information about interconnect target module
SYNOPSIS void sysc_show_registers (struct sysc *ddata );
ARGUMENTS ddata device driver data
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_init_resets(9), sysc_parse_and_check_child_range(9), sysc_check_one_child(9)... |
sysc_show_rev(9) | NAME sysc_show_rev - read and show interconnect target module revision
SYNOPSIS int sysc_show_rev (char *bufp , struct sysc *ddata );
ARGUMENTS bufp buffer to print the information to
ddata device driver data
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_init_resets(9), sysc_... |
sysc_write_sysconfig(9) | NAME sysc_write_sysconfig - handle sysconfig quirks for register write
SYNOPSIS void sysc_write_sysconfig (struct sysc *ddata , u32 value );
ARGUMENTS ddata device driver data
value register value
SEE ALSO Kernel file ./drivers/bus/ti-sysc.c struct sysc(9), sysc_init_resets(9), sysc_parse_and_che... |
syscall(2) | NAME syscall - indirect system call
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>
long syscall(long number, ...);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
syscall():
Si... |
syscall_enter_from_user_mode(9) | NAME syscall_enter_from_user_mode - Establish state and check and handle work before invoking a syscall
SYNOPSIS long syscall_enter_from_user_mode (struct pt_regs *regs , long syscall );
ARGUMENTS regs Pointer to currents pt_regs
syscall The syscall number
DESCRIPTION Invoked from architecture ... |
syscall_enter_from_user_mode_work(9) | NAME syscall_enter_from_user_mode_work - Check and handle work before invoking a syscall
SYNOPSIS long syscall_enter_from_user_mode_work (struct pt_regs *regs , long syscall );
ARGUMENTS regs Pointer to currents pt_regs
syscall The syscall number
DESCRIPTION Invoked from architecture specific sy... |
syscall_exit_to_user_mode(9) | NAME syscall_exit_to_user_mode - Handle work before returning to user mode
SYNOPSIS void syscall_exit_to_user_mode (struct pt_regs *regs );
ARGUMENTS regs Pointer to currents pt_regs
DESCRIPTION Invoked with interrupts enabled and fully valid regs. Returns with all work handled, interrupts disabled such t... |
syscall_exit_to_user_mode_prepare(9) | NAME syscall_exit_to_user_mode_prepare - call exit_to_user_mode_loop() if required
SYNOPSIS void syscall_exit_to_user_mode_prepare (struct pt_regs *regs );
ARGUMENTS regs Pointer to pt_regs on entry stack
DESCRIPTION Wrapper around __exit_to_user_mode_prepare to separate the exit work for syscalls and interru... |
syscall_exit_to_user_mode_work(9) | NAME syscall_exit_to_user_mode_work - Handle one time work before returning to user mode
SYNOPSIS void syscall_exit_to_user_mode_work (struct pt_regs *regs );
ARGUMENTS regs Pointer to currents pt_regs
DESCRIPTION Step 1 of syscall_exit_to_user_mode with the same calling convention. The caller must invoke st... |
syscall_exit_work(9) | NAME syscall_exit_work - Handle work before returning to user mode
SYNOPSIS void syscall_exit_work (struct pt_regs *regs , unsigned long work );
ARGUMENTS regs Pointer to current pt_regs
work Current thread syscall work
DESCRIPTION Do one-time syscall specific work.
SEE ALSO Kernel file ./incl... |
syscall_get_arch(9) | NAME syscall_get_arch - return the AUDIT_ARCH for the current system call
SYNOPSIS int syscall_get_arch (struct task_struct *task );
ARGUMENTS task task of interest, must be blocked
DESCRIPTION Returns the AUDIT_ARCH_* based on the system call convention in use. It's only valid to call this when tas... |
syscall_get_arguments(9) | NAME syscall_get_arguments - extract system call parameter values
SYNOPSIS void syscall_get_arguments (struct task_struct *task , struct pt_regs *regs , unsigned long *args );
ARGUMENTS task task of interest, must be blocked
regs task_pt_regs of task
args array filled with argumen... |
syscall_get_error(9) | NAME syscall_get_error - check result of traced system call
SYNOPSIS long syscall_get_error (struct task_struct *task , struct pt_regs *regs );
ARGUMENTS task task of interest, must be blocked
regs task_pt_regs of task
DESCRIPTION Returns 0 if the system call succeeded, or -ERRORCODE if it fai... |
syscall_get_nr(9) | NAME syscall_get_nr - find what system call a task is executing
SYNOPSIS int syscall_get_nr (struct task_struct *task , struct pt_regs *regs );
ARGUMENTS task task of interest, must be blocked
regs task_pt_regs of task
DESCRIPTION If task is executing a system call or is at system call tracing ... |
syscall_get_return_value(9) | NAME syscall_get_return_value - get the return value of a traced system call
SYNOPSIS long syscall_get_return_value (struct task_struct *task , struct pt_regs *regs );
ARGUMENTS task task of interest, must be blocked
regs task_pt_regs of task
DESCRIPTION Returns the return value of the succes... |
syscall_rollback(9) | NAME syscall_rollback - roll back registers after an aborted system call
SYNOPSIS void syscall_rollback (struct task_struct *task , struct pt_regs *regs );
ARGUMENTS task task of interest, must be in system call exit tracing
regs task_pt_regs of task
DESCRIPTION It's only valid to call this ... |
syscall_set_arguments(9) | NAME syscall_set_arguments - change system call parameter value
SYNOPSIS void syscall_set_arguments (struct task_struct *task , struct pt_regs *regs , const unsigned long *args );
ARGUMENTS task task of interest, must be in system call entry tracing
regs task_pt_regs of task
args ... |
syscall_set_nr(9) | NAME syscall_set_nr - change the system call a task is executing
SYNOPSIS void syscall_set_nr (struct task_struct *task , struct pt_regs *regs , int nr );
ARGUMENTS task task of interest, must be blocked
regs task_pt_regs of task
nr system call number
DESCRIPTION Changes the sy... |
syscall_set_return_value(9) | NAME syscall_set_return_value - change the return value of a traced system call
SYNOPSIS void syscall_set_return_value (struct task_struct *task , struct pt_regs *regs , int error , long val );
ARGUMENTS task task of interest, must be blocked
regs task_pt_regs of task
error negativ... |
syscalls(2) | NAME syscalls - Linux system calls
SYNOPSIS Linux system calls.
DESCRIPTION The system call is the fundamental interface between an application and the Linux kernel.
System calls and library wrapper functions
System calls are generally not invoked directly, but rather via wrapper functions in glibc (or pe... |
syscfg_reset_probe(9) | NAME syscfg_reset_probe - platform device probe function used by syscfg reset controller drivers. This registers a reset controller configured by the OF match data for the compatible device which should be of type "struct syscfg_reset_controller_data".
SYNOPSIS int syscfg_reset_probe (struct platform_device *pdev... |
syscon_node_to_regmap(9) | NAME syscon_node_to_regmap - Get or create a regmap for specified syscon device node
SYNOPSIS struct regmap * syscon_node_to_regmap (struct device_node *np );
ARGUMENTS np Device tree node
DESCRIPTION Get a regmap for the specified device node. If there's not an existing regmap, then one is instanti... |
sysconf(3) | NAME sysconf - get configuration information at run time
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <unistd.h>
long sysconf(int name);
DESCRIPTION POSIX allows an application to test at compile or run time whether certain options are supported, or what the value is of certain configurable const... |
sysconf(3p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME sysconf — get configurable system variables
SYNOPSIS #include ... |
syscore_resume(9) | NAME syscore_resume - Execute all the registered system core resume callbacks.
SYNOPSIS void syscore_resume (void );
ARGUMENTS void no arguments
DESCRIPTION This function is executed with one CPU on-line and disabled interrupts.
SEE ALSO Kernel file ./drivers/base/syscore.c register_syscore(9), unregister_sy... |
syscore_shutdown(9) | NAME syscore_shutdown - Execute all the registered system core shutdown callbacks.
SYNOPSIS void syscore_shutdown (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/base/syscore.c register_syscore(9), unregister_syscore(9), syscore_suspend(9), syscore_resume(9)
April 2026 ... |
syscore_suspend(9) | NAME syscore_suspend - Execute all the registered system core suspend callbacks.
SYNOPSIS int syscore_suspend (void );
ARGUMENTS void no arguments
DESCRIPTION This function is executed with one CPU on-line and disabled interrupts.
SEE ALSO Kernel file ./drivers/base/syscore.c register_syscore(9), unregister_... |
syscount.bt(8) | NAME syscount.bt - Count system calls. Uses bpftrace/eBPF.
SYNOPSIS syscount.bt
DESCRIPTION This counts system calls (syscalls), printing a summary of the top ten syscall IDs, and the top ten process names making syscalls. This can be helpful for characterizing the kernel and resource workload, and finding ap‐ plic... |
sysctl(2) | NAME sysctl - read/write system parameters
SYNOPSIS #include <unistd.h> #include <linux/sysctl.h>
[[deprecated]] int _sysctl(struct __sysctl_args *args);
DESCRIPTION This system call no longer exists on current kernels! See NOTES.
The _sysctl() call reads and/or writes kernel parameters. For example... |
sysctl(8) | NAME sysctl - configure kernel parameters at runtime
SYNOPSIS sysctl [options] [variable[=value]] [...] sysctl -p [file or regexp] [...]
DESCRIPTION sysctl is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for sysctl support in Linux. You... |
sysctl.conf(5) | NAME sysctl.conf - sysctl preload/configuration file
DESCRIPTION sysctl.conf is a simple file containing sysctl values to be read in and set by sysctl. The syntax is simply as follows:
# comment
; comment
token = value
Note that blank lines are ignored, and whitespa... |
sysctl.d(5) | NAME sysctl.d - Configure kernel parameters at boot
SYNOPSIS /etc/sysctl.d/*.conf /run/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf
key.name.under.proc.sys = some value
key/name/under/proc/sys = some value
key/middle.part.with.dots/foo = 123
key.middle/part/with/... |
sysexits.h(3head) | NAME sysexits.h - exit codes for programs
LIBRARY Standard C library (libc)
SYNOPSIS #include <sysexits.h> #define EX_OK 0 /* successful termination */
#define EX__BASE 64 /* base value for error messages */
#define EX_USAGE 64 /* command line usage error */
#defi... |
sysfb_disable(9) | NAME sysfb_disable - disable the Generic System Framebuffers support
SYNOPSIS void sysfb_disable (struct device *dev );
ARGUMENTS dev the device to check if non-NULL
DESCRIPTION This disables the registration of system framebuffer devices that match the generic drivers that make use of the system frame... |
sysfb_handles_screen_info(9) | NAME sysfb_handles_screen_info - reports if sysfb handles the global screen_info
SYNOPSIS bool sysfb_handles_screen_info (void );
ARGUMENTS void no arguments
DESCRIPTION Callers can use sysfb_handles_screen_info to determine whether the Generic System Framebuffers (sysfb) can handle the global screen_info d... |
sysfs(2) | NAME sysfs - get filesystem type information
SYNOPSIS [[deprecated]] int sysfs(int option, const char *fsname); [[deprecated]] int sysfs(int option, unsigned int fs_index, char *buf); [[deprecated]] int sysfs(int option);
DESCRIPTION Note: if you are looking for information about the sysfs filesystem that is normally... |
sysfs(5) | NAME sysfs - a filesystem for exporting kernel objects
DESCRIPTION The sysfs filesystem is a pseudo-filesystem which provides an interface to kernel data structures. (More precisely, the files and directories in sysfs provide a view of the kobject structures defined internally within the kernel.) The files under ... |
sysfs_add_file_to_group(9) | NAME sysfs_add_file_to_group - add an attribute file to a pre-existing group.
SYNOPSIS int sysfs_add_file_to_group (struct kobject *kobj , const struct attribute *attr , const char *group );
ARGUMENTS kobj object we're acting for.
attr attribute descriptor.
group group name.
SEE A... |
sysfs_add_link_to_group(9) | NAME sysfs_add_link_to_group - add a symlink to an attribute group.
SYNOPSIS int sysfs_add_link_to_group (struct kobject *kobj , const char *group_name , struct kobject *target , const char *link_name );
ARGUMENTS kobj The kobject containing the group.
group_name The name of the group.
target ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.