id
stringlengths
4
63
text
stringlengths
153
8.81M
ftrace_graph_stop(9)
NAME ftrace_graph_stop - set to permanently disable function graph tracing SYNOPSIS void ftrace_graph_stop (void ); ARGUMENTS void no arguments DESCRIPTION In case of an error int function graph tracing, this is called to try to keep function graph tracing from causing any more harm. Usually this is prett...
ftrace_graph_top_ret_addr(9)
NAME ftrace_graph_top_ret_addr - return the top return address in the shadow stack SYNOPSIS unsigned long ftrace_graph_top_ret_addr (struct task_struct *task ); ARGUMENTS task The task to read the shadow stack from. DESCRIPTION Return the first return address on the shadow stack of the task, which is not the ...
ftrace_hash_move(9)
NAME ftrace_hash_move - move a new hash to a filter and do updates SYNOPSIS int ftrace_hash_move (struct ftrace_ops *ops , int enable , struct ftrace_hash **dst , struct ftrace_hash *src ); ARGUMENTS ops The ops with the hash that dst points to enable True if for the filter hash, false for the no...
ftrace_init_nop(9)
NAME ftrace_init_nop - initialize a nop call site SYNOPSIS int ftrace_init_nop (struct module *mod , struct dyn_ftrace *rec ); ARGUMENTS mod module structure if called by module load initialization rec the call site record (e.g. mcount/fentry) DESCRIPTION This is a very sensitive operation...
ftrace_is_dead(9)
NAME ftrace_is_dead - Test if ftrace is dead or not. SYNOPSIS int ftrace_is_dead (void ); ARGUMENTS void no arguments RETURN 1 if ftrace is "dead", zero otherwise. SEE ALSO Kernel file ./kernel/trace/ftrace.c ftrace_lookup_ip(9), ftrace_free_filter(9), ftrace_hash_move(9), ftrace_location_range(9), ft...
ftrace_kill(9)
NAME ftrace_kill - kill ftrace SYNOPSIS void ftrace_kill (void ); ARGUMENTS void no arguments DESCRIPTION This function should be used by panic code. It stops ftrace but in a not so nice way. If you need to simply kill ftrace from a non-atomic section, use ftrace_kill. SEE ALSO Kernel file ./kernel/trace/f...
ftrace_location(9)
NAME ftrace_location - return the ftrace location SYNOPSIS unsigned long ftrace_location (unsigned long ip ); ARGUMENTS ip the instruction pointer to check RETURN * If ip matches the ftrace location, return ip. * If ip matches sym+0, return sym's ftrace location. * Otherwise, return 0. SEE ALSO Kernel f...
ftrace_location_range(9)
NAME ftrace_location_range - return the first address of a traced location if it touches the given ip range SYNOPSIS unsigned long ftrace_location_range (unsigned long start , unsigned long end ); ARGUMENTS start start of range to search. end end of range to search (inclusive). end points to the...
ftrace_lookup_ip(9)
NAME ftrace_lookup_ip - Test to see if an ip exists in an ftrace_hash SYNOPSIS struct ftrace_func_entry * ftrace_lookup_ip (struct ftrace_hash *hash , unsigned long ip ); ARGUMENTS hash The hash to look at ip The instruction pointer to test DESCRIPTION Search a given hash to see if a given in...
ftrace_lookup_symbols(9)
NAME ftrace_lookup_symbols - Lookup addresses for array of symbols SYNOPSIS int ftrace_lookup_symbols (const char **sorted_syms , size_t cnt , unsigned long *addrs ); ARGUMENTS sorted_syms array of symbols pointers symbols to resolve, must be alphabetically sorted cnt number of symbols/addresses in sy...
ftrace_make_call(9)
NAME ftrace_make_call - convert a nop call site into a call to addr SYNOPSIS int ftrace_make_call (struct dyn_ftrace *rec , unsigned long addr ); ARGUMENTS rec the call site record (e.g. mcount/fentry) addr the address that the call site should call DESCRIPTION This is a very sensitive oper...
ftrace_make_nop(9)
NAME ftrace_make_nop - convert code into nop SYNOPSIS int ftrace_make_nop (struct module *mod , struct dyn_ftrace *rec , unsigned long addr ); ARGUMENTS mod module structure if called by module load initialization rec the call site record (e.g. mcount/fentry) addr the address th...
ftrace_modify_call(9)
NAME ftrace_modify_call - convert from one addr to another (no nop) SYNOPSIS int ftrace_modify_call (struct dyn_ftrace *rec , unsigned long old_addr , unsigned long addr ); ARGUMENTS rec the call site record (e.g. mcount/fentry) old_addr the address expected to be currently called to addr ...
ftrace_need_init_nop(9)
NAME ftrace_need_init_nop - return whether nop call sites should be initialized SYNOPSIS ftrace_need_init_nop DESCRIPTION Normally the compiler's -mnop-mcount generates suitable nops, so we don't need to call ftrace_init_nop if the code is built with that flag. Architectures where this is not always the case may de...
ftrace_ops_get_func(9)
NAME ftrace_ops_get_func - get the function a trampoline should call SYNOPSIS ftrace_func_t ftrace_ops_get_func (struct ftrace_ops *ops ); ARGUMENTS ops the ops to get the function for DESCRIPTION Normally the mcount trampoline will call the ops->func, but there are times that it should not. For example, if ...
ftrace_ops_set_global_filter(9)
NAME ftrace_ops_set_global_filter - setup ops to use global filters SYNOPSIS void ftrace_ops_set_global_filter (struct ftrace_ops *ops ); ARGUMENTS ops the ops which will use the global filters DESCRIPTION ftrace users who need global function trace filtering should call this. It can set the global filter o...
ftrace_rec_iter_next(9)
NAME ftrace_rec_iter_next - get the next record to process. SYNOPSIS struct ftrace_rec_iter * ftrace_rec_iter_next (struct ftrace_rec_iter *iter ); ARGUMENTS iter The handle to the iterator. RETURN the next iterator after the given iterator iter. SEE ALSO Kernel file ./kernel/trace/ftrace.c ftrace_lookup_...
ftrace_rec_iter_record(9)
NAME ftrace_rec_iter_record - get the record at the iterator location SYNOPSIS struct dyn_ftrace * ftrace_rec_iter_record (struct ftrace_rec_iter *iter ); ARGUMENTS iter The current iterator location RETURN the record that the current iter is at. SEE ALSO Kernel file ./kernel/trace/ftrace.c ftrace_lookup_...
ftrace_rec_iter_start(9)
NAME ftrace_rec_iter_start - start up iterating over traced functions SYNOPSIS struct ftrace_rec_iter * ftrace_rec_iter_start (void ); ARGUMENTS void no arguments RETURN an iterator handle that is used to iterate over all the records that represent address locations where functions are traced. DESCRIPTION Ma...
ftrace_regex_open(9)
NAME ftrace_regex_open - initialize function tracer filter files SYNOPSIS int ftrace_regex_open (struct ftrace_ops *ops , int flag , struct inode *inode , struct file *file ); ARGUMENTS ops The ftrace_ops that hold the hash filters flag The type of filter to process inode The inod...
ftrace_run_stop_machine(9)
NAME ftrace_run_stop_machine - go back to the stop machine method SYNOPSIS void ftrace_run_stop_machine (int command ); ARGUMENTS command The command to tell ftrace what to do DESCRIPTION If an arch needs to fall back to the stop machine method, the it can call this function. SEE ALSO Kernel file ./kernel/tra...
ftrace_set_filter(9)
NAME ftrace_set_filter - set a function to filter on in ftrace SYNOPSIS int ftrace_set_filter (struct ftrace_ops *ops , unsigned char *buf , int len , int reset ); ARGUMENTS ops the ops to set the filter with buf the string that holds the function filter text. len the length of...
ftrace_set_filter_ip(9)
NAME ftrace_set_filter_ip - set a function to filter on in ftrace by address SYNOPSIS int ftrace_set_filter_ip (struct ftrace_ops *ops , unsigned long ip , int remove , int reset ); ARGUMENTS ops the ops to set the filter with ip the address to add to or remove from the filter. remove...
ftrace_set_filter_ips(9)
NAME ftrace_set_filter_ips - set functions to filter on in ftrace by addresses SYNOPSIS int ftrace_set_filter_ips (struct ftrace_ops *ops , unsigned long *ips , unsigned int cnt , int remove , int reset ); ARGUMENTS ops the ops to set the filter with ips the array of addresses to add to or rem...
ftrace_set_global_filter(9)
NAME ftrace_set_global_filter - set a function to filter on with global tracers SYNOPSIS void ftrace_set_global_filter (unsigned char *buf , int len , int reset ); ARGUMENTS buf the string that holds the function filter text. len the length of the string. reset non-zero to reset ...
ftrace_set_global_notrace(9)
NAME ftrace_set_global_notrace - set a function to not trace with global tracers SYNOPSIS void ftrace_set_global_notrace (unsigned char *buf , int len , int reset ); ARGUMENTS buf the string that holds the function notrace text. len the length of the string. reset non-zero to res...
ftrace_set_notrace(9)
NAME ftrace_set_notrace - set a function to not trace in ftrace SYNOPSIS int ftrace_set_notrace (struct ftrace_ops *ops , unsigned char *buf , int len , int reset ); ARGUMENTS ops the ops to set the notrace filter with buf the string that holds the function notrace text. len th...
ftrace_shutdown_subops(9)
NAME ftrace_shutdown_subops - Remove a subops from a manager ops SYNOPSIS int ftrace_shutdown_subops (struct ftrace_ops *ops , struct ftrace_ops *subops , int command ); ARGUMENTS ops A manager ops to remove subops from subops The subops to remove from ops command Any extra command fl...
ftrace_startup_subops(9)
NAME ftrace_startup_subops - enable tracing for subops of an ops SYNOPSIS int ftrace_startup_subops (struct ftrace_ops *ops , struct ftrace_ops *subops , int command ); ARGUMENTS ops Manager ops (used to pick all the functions of its subops) subops A new ops to add to ops command Extr...
ftrace_test_record(9)
NAME ftrace_test_record - check if the record has been enabled or not SYNOPSIS int ftrace_test_record (struct dyn_ftrace *rec , bool enable ); ARGUMENTS rec the record to test enable set to true to check if enabled, false if it is disabled DESCRIPTION The arch code may need to test if a record i...
ftrace_test_recursion_trylock(9)
NAME ftrace_test_recursion_trylock - tests for recursion in same context SYNOPSIS int ftrace_test_recursion_trylock (unsigned long ip , unsigned long parent_ip ); ARGUMENTS ip -- undescribed -- parent_ip -- undescribed -- DESCRIPTION Use this for ftrace callbacks. This will detect if the function ...
ftrace_test_recursion_unlock(9)
NAME ftrace_test_recursion_unlock - called when function callback is complete SYNOPSIS void ftrace_test_recursion_unlock (int bit ); ARGUMENTS bit The return of a successful ftrace_test_recursion_trylock DESCRIPTION This is used at the end of a ftrace callback. SEE ALSO Kernel file ./include/linux/trace_rec...
ftrace_text_reserved(9)
NAME ftrace_text_reserved - return true if range contains an ftrace location SYNOPSIS int ftrace_text_reserved (const void *start , const void *end ); ARGUMENTS start start of range to search end end of range to search (inclusive). end points to the last byte to check. RETURN 1 if start and end...
ftrace_update_record(9)
NAME ftrace_update_record - set a record that now is tracing or not SYNOPSIS int ftrace_update_record (struct dyn_ftrace *rec , bool enable ); ARGUMENTS rec the record to update enable set to true if the record is tracing, false to force disable DESCRIPTION The records that represent all functio...
ftruncate(2)
NAME truncate, ftruncate - truncate a file to a specified length LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <unistd.h> int truncate(const char *path, off_t length); int ftruncate(int fd, off_t length); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): tru...
ftruncate(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 ftruncate — truncate a file to a specified length SYNOPSIS #in...
ftruncate64(2)
NAME truncate, ftruncate - truncate a file to a specified length LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <unistd.h> int truncate(const char *path, off_t length); int ftruncate(int fd, off_t length); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): tru...
ftrylockfile(3)
NAME flockfile, ftrylockfile, funlockfile - lock FILE for stdio LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> void flockfile(FILE *filehandle); int ftrylockfile(FILE *filehandle); void funlockfile(FILE *filehandle); Feature Test Macro Requirements for glibc (see feature_...
ftrylockfile(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 ftrylockfile — stdio locking functions SYNOPSIS #include <stdi...
fts(3)
NAME fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file hierarchy LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <sys/stat.h> #include <fts.h> FTS *fts_open(char *const *path_argv, int options, typeof(int (const FTSENT **, const FT...
fts_children(3)
NAME fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file hierarchy LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <sys/stat.h> #include <fts.h> FTS *fts_open(char *const *path_argv, int options, typeof(int (const FTSENT **, const FT...
fts_close(3)
NAME fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file hierarchy LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <sys/stat.h> #include <fts.h> FTS *fts_open(char *const *path_argv, int options, typeof(int (const FTSENT **, const FT...
fts_open(3)
NAME fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file hierarchy LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <sys/stat.h> #include <fts.h> FTS *fts_open(char *const *path_argv, int options, typeof(int (const FTSENT **, const FT...
fts_read(3)
NAME fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file hierarchy LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <sys/stat.h> #include <fts.h> FTS *fts_open(char *const *path_argv, int options, typeof(int (const FTSENT **, const FT...
fts_set(3)
NAME fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file hierarchy LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/types.h> #include <sys/stat.h> #include <fts.h> FTS *fts_open(char *const *path_argv, int options, typeof(int (const FTSENT **, const FT...
ftw(3)
NAME ftw, nftw - file tree walk LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <ftw.h> int nftw(const char *dirpath, typeof(int (const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)) *fn, int nopenfd, ...
ftw(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 ftw — traverse (walk) a file tree SYNOPSIS #include <ftw.h> ...
ftw.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 ftw.h — file tree traversal SYNOPSIS #include <ftw.h> DESCRIP...
full(4)
NAME full - always full device CONFIGURATION If your system does not have /dev/full created already, it can be created with the following commands: mknod -m 666 /dev/full c 1 7 chown root:root /dev/full DESCRIPTION The file /dev/full has major device number 1 and minor device number 7. ...
function_descriptors(9)
NAME function_descriptors - get function descriptors for speed SYNOPSIS struct usb_descriptor_header ** function_descriptors (struct usb_function *f , enum usb_device_speed speed ); ARGUMENTS f the function speed the speed DESCRIPTION Returns the descriptors or NULL if not set. SEE ALSO Kern...
funlockfile(3)
NAME flockfile, ftrylockfile, funlockfile - lock FILE for stdio LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> void flockfile(FILE *filehandle); int ftrylockfile(FILE *filehandle); void funlockfile(FILE *filehandle); Feature Test Macro Requirements for glibc (see feature_...
funlockfile(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 funlockfile — stdio locking functions SYNOPSIS #include <stdio...
funzip(1)
NAME funzip - filter for extracting from a ZIP archive in a pipe SYNOPSIS funzip [-password] [input[.zip|.gz]] ARGUMENTS [-password] Optional password to be used if ZIP archive is encrypted. Decryption may not be supported at some sites. See DESCRIPTION for more details. [input[.zip|.gz]] Opti...
fuse(4)
NAME fuse - Filesystem in Userspace (FUSE) device SYNOPSIS #include <linux/fuse.h> DESCRIPTION This device is the primary interface between the FUSE filesystem driver and a user-space process wishing to provide the filesystem (referred to in the rest of this manual page as the filesystem daemon). This manual page i...
fuse2fs(1)
NAME fuse2fs - FUSE file system client for ext2/ext3/ext4 file systems SYNOPSIS fuse2fs [ device/image ] [ mountpoint ] [ options ] DESCRIPTION fuse2fs is a FUSE file system client that supports reading and writing from devices or image files containing ext2, ext3, and ext4 file systems. OPTIONS general options: -o ...
fuser(1p)
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 fuser — list process IDs of all processes that have one or...
fusermount(1)
NAME fusermount - mount and unmount FUSE filesystems SYNOPSIS fusermount [OPTIONS] MOUNTPOINT DESCRIPTION Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. It also aims to provide a secure method for non privileged users to create and mo...
fusermount3(1)
NAME fusermount3 - mount and unmount FUSE filesystems SYNOPSIS fusermount3 [OPTIONS] MOUNTPOINT DESCRIPTION Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. It also aims to provide a secure method for non privileged users to create and ...
fusion_exit(9)
NAME fusion_exit - Perform driver unload cleanup. SYNOPSIS void fusion_exit (void ); ARGUMENTS void no arguments DESCRIPTION This routine frees all resources associated with each MPT adapter and removes all MPT_PROCFS_MPTBASEDIR entries. SEE ALSO Kernel file ./drivers/message/fusion/mptbase.c mpt_get_cb_idx(...
fusion_init(9)
NAME fusion_init - Fusion MPT base driver initialization routine. SYNOPSIS int fusion_init (void ); ARGUMENTS void no arguments DESCRIPTION Returns 0 for success, non-zero for failure. SEE ALSO Kernel file ./drivers/message/fusion/mptbase.c mpt_get_cb_idx(9), mpt_is_discovery_complete(9), mpt_remove_dead_ioc...
futex(2)
NAME futex - fast user-space locking LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <linux/futex.h> /* Definition of FUTEX_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> long syscall(SYS_futex, uint32_t *uaddr, int op, ...); DESCRIPTION The futex(...
futex(7)
NAME futex - fast user-space locking SYNOPSIS #include <linux/futex.h> DESCRIPTION The Linux kernel provides futexes ("Fast user-space mutexes") as a building block for fast user-space locking and semaphores. Futexes are very basic and lend themselves well for building higher-level locking abstractions such as mutex...
futex(9)
NAME futex - SYS_futex syscall wrapper SYNOPSIS futex (uaddr , op , val , timeout , uaddr2 , val3 , opflags ); ARGUMENTS uaddr address of first futex op futex op code val typically expected value of uaddr, but varies by op timeout typically an absolute struct timespe...
futex_atomic_cmpxchg_inatomic(9)
NAME futex_atomic_cmpxchg_inatomic - Compare and exchange the content of the uaddr with newval if the current value is oldval. SYNOPSIS int futex_atomic_cmpxchg_inatomic (u32 *uval , u32 __user *uaddr , u32 oldval , u32 newval ); ARGUMENTS uval pointer to store content of uaddr uaddr pointer to u...
futex_atomic_cmpxchg_inatomic_local(9)
NAME futex_atomic_cmpxchg_inatomic_local - Compare and exchange the content of the uaddr with newval if the current value is oldval. SYNOPSIS int futex_atomic_cmpxchg_inatomic_local (u32 *uval , u32 __user *uaddr , u32 oldval , u32 newval ); ARGUMENTS uval pointer to store content of uaddr uaddr ...
futex_atomic_op_inuser_local(9)
NAME futex_atomic_op_inuser_local - Atomic arithmetic operation with constant argument and comparison of the previous futex value with another constant. SYNOPSIS int futex_atomic_op_inuser_local (int op , u32 oparg , int *oval , u32 __user *uaddr ); ARGUMENTS op -- undescribed -- oparg -- undes...
futex_cmp_requeue(9)
NAME futex_cmp_requeue - requeue tasks from uaddr to uaddr2 SYNOPSIS int futex_cmp_requeue (futex_t *uaddr , futex_t val , futex_t *uaddr2 , int nr_wake , int nr_requeue , int opflags ); ARGUMENTS uaddr -- undescribed -- val -- undescribed -- uaddr2 -- undescribed -- nr_wake...
futex_cmp_requeue_pi(9)
NAME futex_cmp_requeue_pi - requeue tasks from uaddr to uaddr2 (PI aware) SYNOPSIS int futex_cmp_requeue_pi (futex_t *uaddr , futex_t val , futex_t *uaddr2 , int nr_wake , int nr_requeue , int opflags ); ARGUMENTS uaddr non-PI futex source val -- undescribed -- uaddr2 PI futex targe...
futex_cmpxchg(9)
NAME futex_cmpxchg - atomic compare and exchange SYNOPSIS u_int32_t futex_cmpxchg (futex_t *uaddr , u_int32_t oldval , u_int32_t newval ); ARGUMENTS uaddr The address of the futex to be modified oldval The expected value of the futex newval The new value to try and assign the futex DE...
futex_dec(9)
NAME futex_dec - atomic decrement of the futex value SYNOPSIS u_int32_t futex_dec (futex_t *uaddr ); ARGUMENTS uaddr The address of the futex to be modified DESCRIPTION Return the new futex value. SEE ALSO Kernel file ./tools/testing/selftests/futex/include/futextest.h futex(9), futex_wait(9), futex_wake(9), ...
futex_do_wait(9)
NAME futex_do_wait - wait for wakeup, timeout, or signal SYNOPSIS void futex_do_wait (struct futex_q *q , struct hrtimer_sleeper *timeout ); ARGUMENTS q the futex_q to queue up on timeout the prepared hrtimer_sleeper, or null for no timeout SEE ALSO Kernel file ./kernel/futex/waitwake.c futex_u...
futex_exit_recursive(9)
NAME futex_exit_recursive - Set the tasks futex state to FUTEX_STATE_DEAD SYNOPSIS void futex_exit_recursive (struct task_struct *tsk ); ARGUMENTS tsk task to set the state on DESCRIPTION Set the futex exit state of the task lockless. The futex waiter code observes that state when a task is exiting and loop...
futex_hash_get(9)
NAME futex_hash_get - Get an additional reference for the local hash. SYNOPSIS void futex_hash_get (struct futex_hash_bucket *hb ); ARGUMENTS hb ptr to the private local hash. DESCRIPTION Obtain an additional reference for the already obtained hash bucket. The caller must already own an reference. SEE ALSO...
futex_inc(9)
NAME futex_inc - atomic increment of the futex value SYNOPSIS u_int32_t futex_inc (futex_t *uaddr ); ARGUMENTS uaddr the address of the futex to be modified DESCRIPTION Return the new futex value. SEE ALSO Kernel file ./tools/testing/selftests/futex/include/futextest.h futex(9), futex_wait(9), futex_wake(9), ...
futex_lock_pi(9)
NAME futex_lock_pi - block on uaddr as a PI mutex SYNOPSIS int futex_lock_pi (futex_t *uaddr , struct timespec *timeout , int detect , int opflags ); ARGUMENTS uaddr -- undescribed -- timeout -- undescribed -- detect whether (1) or not (0) to perform deadlock detection opflags ...
futex_lock_pi_atomic(9)
NAME futex_lock_pi_atomic - Atomic work required to acquire a pi aware futex SYNOPSIS int futex_lock_pi_atomic (u32 __user *uaddr , struct futex_hash_bucket *hb , union futex_key *key , struct futex_pi_state **ps , struct task_struct *task , struct task_struct **exiting , int set_waiters ); ARGUMENTS uaddr the ...
futex_match(9)
NAME futex_match - Check whether two futex keys are equal SYNOPSIS int futex_match (union futex_key *key1 , union futex_key *key2 ); ARGUMENTS key1 Pointer to key1 key2 Pointer to key2 DESCRIPTION Return 1 if two futex_keys are equal, 0 otherwise. SEE ALSO Kernel file ./kernel/futex/futex.h st...
futex_parse_waitv(9)
NAME futex_parse_waitv - Parse a waitv array from userspace SYNOPSIS int futex_parse_waitv (struct futex_vector *futexv , struct futex_waitv __user *uwaitv , unsigned int nr_futexes , futex_wake_fn *wake , void *wake_data ); ARGUMENTS futexv Kernel side list of waiters to be filled uwaitv Userspace ...
futex_proxy_trylock_atomic(9)
NAME futex_proxy_trylock_atomic - Attempt an atomic lock for the top waiter SYNOPSIS int futex_proxy_trylock_atomic (u32 __user *pifutex , struct futex_hash_bucket *hb1 , struct futex_hash_bucket *hb2 , union futex_key *key1 , union futex_key *key2 , struct futex_pi_state **ps , struct task_struct **exit‐ ing , int se...
futex_queue(9)
NAME futex_queue - Enqueue the futex_q on the futex_hash_bucket SYNOPSIS void futex_queue (struct futex_q *q , struct futex_hash_bucket *hb , struct task_struct *task ); ARGUMENTS q The futex_q to enqueue hb The destination hash bucket task Task queueing this futex DESCRIPTI...
futex_requeue(9)
NAME futex_requeue - requeue without expected value comparison, deprecated SYNOPSIS int futex_requeue (futex_t *uaddr , futex_t *uaddr2 , int nr_wake , int nr_requeue , int opflags ); ARGUMENTS uaddr -- undescribed -- uaddr2 -- undescribed -- nr_wake wake up to this many tasks n...
futex_set(9)
NAME futex_set - atomic decrement of the futex value SYNOPSIS u_int32_t futex_set (futex_t *uaddr , u_int32_t newval ); ARGUMENTS uaddr the address of the futex to be modified newval New value for the atomic_t DESCRIPTION Return the new futex value. SEE ALSO Kernel file ./tools/testing/selftests/...
futex_setup_timer(9)
NAME futex_setup_timer - set up the sleeping hrtimer. SYNOPSIS struct hrtimer_sleeper * futex_setup_timer (ktime_t *time , struct hrtimer_sleeper *timeout , int flags , u64 range_ns ); ARGUMENTS time ptr to the given timeout value timeout the hrtimer_sleeper structure to be set up flags ...
futex_sleep_multiple(9)
NAME futex_sleep_multiple - Check sleeping conditions and sleep SYNOPSIS void futex_sleep_multiple (struct futex_vector *vs , unsigned int count , struct hrtimer_sleeper *to ); ARGUMENTS vs List of futexes to wait for count Length of vs to Timeout DESCRIPTION Sleep if and only...
futex_syscall(9)
NAME futex_syscall - SYS_futex syscall wrapper SYNOPSIS int futex_syscall (volatile u_int32_t *uaddr , int op , u_int32_t val , struct timespec *timeout , volatile u_int32_t *uaddr2 , int val3 , int opflags ); ARGUMENTS uaddr address of first futex op futex op code val typically...
futex_top_waiter(9)
NAME futex_top_waiter - Return the highest priority waiter on a futex SYNOPSIS struct futex_q * futex_top_waiter (struct futex_hash_bucket *hb , union futex_key *key ); ARGUMENTS hb the hash bucket the futex_q's reside in key the futex key (to distinguish it from other futex futex_q's) DESCR...
futex_unlock_pi(9)
NAME futex_unlock_pi - release uaddr as a PI mutex, waking the top waiter SYNOPSIS int futex_unlock_pi (futex_t *uaddr , int opflags ); ARGUMENTS uaddr -- undescribed -- opflags -- undescribed -- SEE ALSO Kernel file ./tools/testing/selftests/futex/include/futextest.h futex(9), futex_wait(9), ...
futex_unqueue(9)
NAME futex_unqueue - Remove the futex_q from its futex_hash_bucket SYNOPSIS int futex_unqueue (struct futex_q *q ); ARGUMENTS q The futex_q to unqueue DESCRIPTION The q->lock_ptr must not be held by the caller. A call to futex_unqueue must be paired with exactly one earlier call to futex_queue. RETURN - 1...
futex_unqueue_multiple(9)
NAME futex_unqueue_multiple - Remove various futexes from their hash bucket SYNOPSIS int futex_unqueue_multiple (struct futex_vector *v , int count ); ARGUMENTS v The list of futexes to unqueue count Number of futexes in the list DESCRIPTION Helper to unqueue a list of futexes. This can't fai...
futex_wait(9)
NAME futex_wait - block on uaddr with optional timeout SYNOPSIS int futex_wait (futex_t *uaddr , futex_t val , struct timespec *timeout , int opflags ); ARGUMENTS uaddr -- undescribed -- val -- undescribed -- timeout relative timeout opflags -- undescribed -- SEE ALSO Ke...
futex_wait_bitset(9)
NAME futex_wait_bitset - block on uaddr with bitset SYNOPSIS int futex_wait_bitset (futex_t *uaddr , futex_t val , struct timespec *timeout , u_int32_t bitset , int opflags ); ARGUMENTS uaddr -- undescribed -- val -- undescribed -- timeout -- undescribed -- bitset bitset...
futex_wait_multiple(9)
NAME futex_wait_multiple - Prepare to wait on and enqueue several futexes SYNOPSIS int futex_wait_multiple (struct futex_vector *vs , unsigned int count , struct hrtimer_sleeper *to ); ARGUMENTS vs The list of futexes to wait on count The number of objects to Timeout before giv...
futex_wait_multiple_setup(9)
NAME futex_wait_multiple_setup - Prepare to wait and enqueue multiple futexes SYNOPSIS int futex_wait_multiple_setup (struct futex_vector *vs , int count , int *woken ); ARGUMENTS vs The futex list to wait on count The size of the list woken Index of the last woken futex, if any. ...
futex_wait_requeue_pi(9)
NAME futex_wait_requeue_pi - block on uaddr and prepare to requeue to uaddr2 SYNOPSIS int futex_wait_requeue_pi (futex_t *uaddr , futex_t val , futex_t *uaddr2 , struct timespec *timeout , int opflags ); ARGUMENTS uaddr non-PI futex source val -- undescribed -- uaddr2 PI futex targe...
futex_wait_setup(9)
NAME futex_wait_setup - Prepare to wait on a futex SYNOPSIS int futex_wait_setup (u32 __user *uaddr , u32 val , unsigned int flags , struct futex_q *q , union futex_key *key2 , struct task_struct *task ); ARGUMENTS uaddr the futex userspace address val the expected value flags fute...
futex_waitv(9)
NAME futex_waitv - Wait at multiple futexes, wake on any SYNOPSIS int futex_waitv (volatile struct futex_waitv *waiters , unsigned long nr_waiters , unsigned long flags , struct timespec *timo , clockid_t clockid ); ARGUMENTS waiters Array of waiters nr_waiters Length of waiters array flags ...
futex_wake(9)
NAME futex_wake - wake one or more tasks blocked on uaddr SYNOPSIS int futex_wake (futex_t *uaddr , int nr_wake , int opflags ); ARGUMENTS uaddr -- undescribed -- nr_wake wake up to this many tasks opflags -- undescribed -- SEE ALSO Kernel file ./tools/testing/selftests/futex/include/f...
futex_wake_bitset(9)
NAME futex_wake_bitset - wake one or more tasks blocked on uaddr with bitset SYNOPSIS int futex_wake_bitset (futex_t *uaddr , int nr_wake , u_int32_t bitset , int opflags ); ARGUMENTS uaddr -- undescribed -- nr_wake -- undescribed -- bitset bitset to compare with that used in futex_wait...
futex_wake_op(9)
NAME futex_wake_op - FIXME: COME UP WITH A GOOD ONE LINE DESCRIPTION SYNOPSIS int futex_wake_op (futex_t *uaddr , futex_t *uaddr2 , int nr_wake , int nr_wake2 , int wake_op , int opflags ); ARGUMENTS uaddr -- undescribed -- uaddr2 -- undescribed -- nr_wake -- undescribed -- nr_w...
futimens(3)
NAME utimensat, futimens - change file timestamps with nanosecond precision LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int utimensat(int dirfd, const char *path, const struct timespec times[_Nullab...