id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
bpf_cpumask_test_cpu(9) | NAME bpf_cpumask_test_cpu - Test whether a CPU is set in a cpumask.
SYNOPSIS __bpf_kfunc bool bpf_cpumask_test_cpu (u32 cpu , const struct cpumask *cpumask );
ARGUMENTS cpu The CPU being queried for.
cpumask The cpumask being queried for containing a CPU.
RETURN * true - cpu is set in the cpumas... |
bpf_cpumask_weight(9) | NAME bpf_cpumask_weight - Return the number of bits in @cpumask.
SYNOPSIS __bpf_kfunc u32 bpf_cpumask_weight (const struct cpumask *cpumask );
ARGUMENTS cpumask The cpumask being queried.
DESCRIPTION Count the number of set bits in the given cpumask.
RETURN * The number of bits set in the mask.
SEE ALSO Kernel... |
bpf_cpumask_xor(9) | NAME bpf_cpumask_xor - XOR two cpumasks and store the result.
SYNOPSIS __bpf_kfunc void bpf_cpumask_xor (struct bpf_cpumask *dst , const struct cpumask *src1 , const struct cpumask *src2 );
ARGUMENTS dst The BPF cpumask where the result is being stored.
src1 The first input.
src2 ... |
bpf_crypto_ctx_acquire(9) | NAME bpf_crypto_ctx_acquire - Acquire a reference to a BPF crypto context.
SYNOPSIS __bpf_kfunc struct bpf_crypto_ctx * bpf_crypto_ctx_acquire (struct bpf_crypto_ctx *ctx );
ARGUMENTS ctx The BPF crypto context being acquired. The ctx must be a trusted pointer.
DESCRIPTION Acquires a reference to a BPF crypt... |
bpf_crypto_ctx_create(9) | NAME bpf_crypto_ctx_create - Create a mutable BPF crypto context.
SYNOPSIS __bpf_kfunc struct bpf_crypto_ctx * bpf_crypto_ctx_create (const struct bpf_crypto_params *params , u32 params__sz , int *err );
ARGUMENTS params pointer to struct bpf_crypto_params which contains all the details needed to initialise cryp... |
bpf_crypto_ctx_release(9) | NAME bpf_crypto_ctx_release - Release a previously acquired BPF crypto context.
SYNOPSIS __bpf_kfunc void bpf_crypto_ctx_release (struct bpf_crypto_ctx *ctx );
ARGUMENTS ctx The crypto context being released.
DESCRIPTION Releases a previously acquired reference to a BPF crypto context. When the final referen... |
bpf_crypto_decrypt(9) | NAME bpf_crypto_decrypt - Decrypt buffer using configured context and IV provided.
SYNOPSIS __bpf_kfunc int bpf_crypto_decrypt (struct bpf_crypto_ctx *ctx , const struct bpf_dynptr *src , const struct bpf_dynptr *dst , const struct bpf_dynptr *siv__nullable );
ARGUMENTS ctx The crypto context being used. The ... |
bpf_crypto_encrypt(9) | NAME bpf_crypto_encrypt - Encrypt buffer using configured context and IV provided.
SYNOPSIS __bpf_kfunc int bpf_crypto_encrypt (struct bpf_crypto_ctx *ctx , const struct bpf_dynptr *src , const struct bpf_dynptr *dst , const struct bpf_dynptr *siv__nullable );
ARGUMENTS ctx The crypto context being used. The ... |
bpf_dynptr_copy(9) | NAME bpf_dynptr_copy - Copy data from one dynptr to another.
SYNOPSIS __bpf_kfunc int bpf_dynptr_copy (struct bpf_dynptr *dst_ptr , u64 dst_off , struct bpf_dynptr *src_ptr , u64 src_off , u64 size );
ARGUMENTS dst_ptr Destination dynptr - where data should be copied to
dst_off Offset into the destina... |
bpf_dynptr_from_skb_meta(9) | NAME bpf_dynptr_from_skb_meta - Initialize a dynptr to the skb metadata area.
SYNOPSIS __bpf_kfunc int bpf_dynptr_from_skb_meta (struct __sk_buff *skb_ , u64 flags , struct bpf_dynptr *ptr__uninit );
ARGUMENTS skb_ socket buffer carrying the metadata
flags future use, must be zero
ptr__un... |
bpf_dynptr_memset(9) | NAME bpf_dynptr_memset - Fill dynptr memory with a constant byte.
SYNOPSIS __bpf_kfunc int bpf_dynptr_memset (struct bpf_dynptr *p , u64 offset , u64 size , u8 val );
ARGUMENTS p Destination dynptr - where data will be filled
offset Offset into the dynptr to start filling from
size ... |
bpf_dynptr_slice(9) | NAME bpf_dynptr_slice - Obtain a read-only pointer to the dynptr data.
SYNOPSIS __bpf_kfunc void * bpf_dynptr_slice (const struct bpf_dynptr *p , u64 offset , void *buffer__nullable , u64 buffer__szk );
ARGUMENTS p The dynptr whose data slice to retrieve
offset Offset into the dynptr
bu... |
bpf_dynptr_slice_rdwr(9) | NAME bpf_dynptr_slice_rdwr - Obtain a writable pointer to the dynptr data.
SYNOPSIS __bpf_kfunc void * bpf_dynptr_slice_rdwr (const struct bpf_dynptr *p , u64 offset , void *buffer__nullable , u64 buffer__szk );
ARGUMENTS p The dynptr whose data slice to retrieve
offset Offset into the dynptr
... |
bpf_get_dentry_xattr(9) | NAME bpf_get_dentry_xattr - get xattr of a dentry
SYNOPSIS __bpf_kfunc int bpf_get_dentry_xattr (struct dentry *dentry , const char *name__str , struct bpf_dynptr *value_p );
ARGUMENTS dentry dentry to get xattr from
name__str name of the xattr
value_p output buffer of the xattr value
DESC... |
bpf_get_file_xattr(9) | NAME bpf_get_file_xattr - get xattr of a file
SYNOPSIS __bpf_kfunc int bpf_get_file_xattr (struct file *file , const char *name__str , struct bpf_dynptr *value_p );
ARGUMENTS file file to get xattr from
name__str name of the xattr
value_p output buffer of the xattr value
DESCRIPTION Get ... |
bpf_get_fsverity_digest(9) | NAME bpf_get_fsverity_digest - read fsverity digest of file
SYNOPSIS __bpf_kfunc int bpf_get_fsverity_digest (struct file *file , struct bpf_dynptr *digest_p );
ARGUMENTS file file to get digest from
digest_p (out) dynptr for struct fsverity_digest
DESCRIPTION Read fsverity_digest of *file* into *d... |
bpf_get_mem_cgroup(9) | NAME bpf_get_mem_cgroup - Get a reference to a memory cgroup
SYNOPSIS __bpf_kfunc struct mem_cgroup * bpf_get_mem_cgroup (struct cgroup_subsys_state *css );
ARGUMENTS css pointer to the css structure
DESCRIPTION It's fine to pass a css which belongs to any cgroup controller, e.g. unified hierarchy's main css... |
bpf_get_root_mem_cgroup(9) | NAME bpf_get_root_mem_cgroup - Returns a pointer to the root memory cgroup
SYNOPSIS __bpf_kfunc struct mem_cgroup * bpf_get_root_mem_cgroup (void );
ARGUMENTS void no arguments
DESCRIPTION The function has KF_ACQUIRE semantics, even though the root memory cgroup is never destroyed after being created and does... |
bpf_get_task_exe_file(9) | NAME bpf_get_task_exe_file - get a reference on the exe_file struct file member of the mm_struct that is nested within the supplied task_struct
SYNOPSIS __bpf_kfunc struct file * bpf_get_task_exe_file (struct task_struct *task );
ARGUMENTS task task_struct of which the nested mm_struct exe_file member to get a... |
bpf_iter_bits_destroy(9) | NAME bpf_iter_bits_destroy - Destroy a bpf_iter_bits
SYNOPSIS __bpf_kfunc void bpf_iter_bits_destroy (struct bpf_iter_bits *it );
ARGUMENTS it The bpf_iter_bits to be destroyed
DESCRIPTION Destroy the resource associated with the bpf_iter_bits.
SEE ALSO Kernel file ./kernel/bpf/helpers.c bpf_task_acquire(... |
bpf_iter_bits_new(9) | NAME bpf_iter_bits_new - Initialize a new bits iterator for a given memory area
SYNOPSIS __bpf_kfunc int bpf_iter_bits_new (struct bpf_iter_bits *it , const u64 *unsafe_ptr__ign , u32 nr_words );
ARGUMENTS it The new bpf_iter_bits to be created
unsafe_ptr__ign
A pointer pointing to... |
bpf_iter_bits_next(9) | NAME bpf_iter_bits_next - Get the next bit in a bpf_iter_bits
SYNOPSIS __bpf_kfunc int * bpf_iter_bits_next (struct bpf_iter_bits *it );
ARGUMENTS it The bpf_iter_bits to be checked
DESCRIPTION This function returns a pointer to a number representing the value of the next bit in the bits. If there are no f... |
bpf_iter_scx_dsq_destroy(9) | NAME bpf_iter_scx_dsq_destroy - Destroy a DSQ iterator
SYNOPSIS __bpf_kfunc void bpf_iter_scx_dsq_destroy (struct bpf_iter_scx_dsq *it );
ARGUMENTS it iterator to destroy
DESCRIPTION Undo scx_iter_scx_dsq_new.
SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9), scx_task_iter_start(9), scx_ta... |
bpf_iter_scx_dsq_new(9) | NAME bpf_iter_scx_dsq_new - Create a DSQ iterator
SYNOPSIS __bpf_kfunc int bpf_iter_scx_dsq_new (struct bpf_iter_scx_dsq *it , u64 dsq_id , u64 flags );
ARGUMENTS it iterator to initialize
dsq_id DSQ to iterate
flags SCX_DSQ_ITER_*
DESCRIPTION Initialize BPF iterator it which can ... |
bpf_iter_scx_dsq_next(9) | NAME bpf_iter_scx_dsq_next - Progress a DSQ iterator
SYNOPSIS __bpf_kfunc struct task_struct * bpf_iter_scx_dsq_next (struct bpf_iter_scx_dsq *it );
ARGUMENTS it iterator to progress
DESCRIPTION Return the next task. See bpf_iter_scx_dsq_new.
SEE ALSO Kernel file ./kernel/sched/ext.c nldsq_next_task(9),... |
bpf_key_put(9) | NAME bpf_key_put - decrement key reference count if key is valid and free bpf_key
SYNOPSIS __bpf_kfunc void bpf_key_put (struct bpf_key *bkey );
ARGUMENTS bkey bpf_key structure
DESCRIPTION Decrement the reference count of the key inside *bkey*, if the pointer is valid, and free *bkey*.
SEE ALSO Kernel file... |
bpf_lookup_system_key(9) | NAME bpf_lookup_system_key - lookup a key by a system-defined ID
SYNOPSIS __bpf_kfunc struct bpf_key * bpf_lookup_system_key (u64 id );
ARGUMENTS id key ID
DESCRIPTION Obtain a bpf_key structure with a key pointer set to the passed key ID. The key pointer is marked as invalid, to prevent bpf_key_put from... |
bpf_lookup_user_key(9) | NAME bpf_lookup_user_key - lookup a key by its serial
SYNOPSIS __bpf_kfunc struct bpf_key * bpf_lookup_user_key (s32 serial , u64 flags );
ARGUMENTS serial key handle serial number
flags lookup-specific flags
DESCRIPTION Search a key with a given *serial* and the provided *flags*. If found, in... |
bpf_mem_cgroup_flush_stats(9) | NAME bpf_mem_cgroup_flush_stats - Flush memory cgroup's statistics
SYNOPSIS __bpf_kfunc void bpf_mem_cgroup_flush_stats (struct mem_cgroup *memcg );
ARGUMENTS memcg memory cgroup
DESCRIPTION Propagate memory cgroup's statistics up the cgroup tree.
SEE ALSO Kernel file ./mm/bpf_memcontrol.c bpf_get... |
bpf_mem_cgroup_memory_events(9) | NAME bpf_mem_cgroup_memory_events - Read memory cgroup's memory event value
SYNOPSIS __bpf_kfunc unsigned long bpf_mem_cgroup_memory_events (struct mem_cgroup *memcg , enum memcg_memory_event event );
ARGUMENTS memcg memory cgroup
event memory event id
RETURN The current value of the memory event... |
bpf_mem_cgroup_page_state(9) | NAME bpf_mem_cgroup_page_state - Read memory cgroup's page state counter
SYNOPSIS __bpf_kfunc unsigned long bpf_mem_cgroup_page_state (struct mem_cgroup *memcg , int idx );
ARGUMENTS memcg memory cgroup
idx counter idx
DESCRIPTION Allows to read memory cgroup statistics. The output is in bytes.... |
bpf_mem_cgroup_usage(9) | NAME bpf_mem_cgroup_usage - Read memory cgroup's usage
SYNOPSIS __bpf_kfunc unsigned long bpf_mem_cgroup_usage (struct mem_cgroup *memcg );
ARGUMENTS memcg memory cgroup
DESCRIPTION Please, note that the root memory cgroup it special and is exempt from the memory accounting. The returned value is a sum of ... |
bpf_mem_cgroup_vm_events(9) | NAME bpf_mem_cgroup_vm_events - Read memory cgroup's vm event counter
SYNOPSIS __bpf_kfunc unsigned long bpf_mem_cgroup_vm_events (struct mem_cgroup *memcg , enum vm_event_item event );
ARGUMENTS memcg memory cgroup
event event id
DESCRIPTION Allows to read memory cgroup event counters.
RETURN T... |
bpf_path_d_path(9) | NAME bpf_path_d_path - resolve the pathname for the supplied path
SYNOPSIS __bpf_kfunc int bpf_path_d_path (const struct path *path , char *buf , size_t buf__sz );
ARGUMENTS path path to resolve the pathname for
buf buffer to return the resolved pathname in
buf__sz length of the sup... |
bpf_prog_array_delete_safe_at(9) | NAME bpf_prog_array_delete_safe_at - Replaces the program at the given index into the program array with a dummy no-op program.
SYNOPSIS int bpf_prog_array_delete_safe_at (struct bpf_prog_array *array , int index );
ARGUMENTS array a bpf_prog_array
index the index of the program to replace
DESCRI... |
bpf_prog_array_update_at(9) | NAME bpf_prog_array_update_at - Updates the program at the given index into the program array.
SYNOPSIS int bpf_prog_array_update_at (struct bpf_prog_array *array , int index , struct bpf_prog *prog );
ARGUMENTS array a bpf_prog_array
index the index of the program to update
prog th... |
bpf_prog_create(9) | NAME bpf_prog_create - create an unattached filter
SYNOPSIS int bpf_prog_create (struct bpf_prog **pfp , struct sock_fprog_kern *fprog );
ARGUMENTS pfp the unattached filter that is created
fprog the filter program
DESCRIPTION Create a filter independent of any socket. We first run some sani... |
bpf_prog_create_from_user(9) | NAME bpf_prog_create_from_user - create an unattached filter from user buffer
SYNOPSIS int bpf_prog_create_from_user (struct bpf_prog **pfp , struct sock_fprog *fprog , bpf_aux_classic_check_t trans , bool save_orig );
ARGUMENTS pfp the unattached filter that is created
fprog the filter program
... |
bpf_prog_select_runtime(9) | NAME bpf_prog_select_runtime - select exec runtime for BPF program
SYNOPSIS struct bpf_prog * bpf_prog_select_runtime (struct bpf_prog *fp , int *err );
ARGUMENTS fp bpf_prog populated with BPF program
err pointer to error variable
DESCRIPTION Try to JIT eBPF program, if JIT is not available... |
bpf_put_file(9) | NAME bpf_put_file - put a reference on the supplied file
SYNOPSIS __bpf_kfunc void bpf_put_file (struct file *file );
ARGUMENTS file file to put a reference on
DESCRIPTION Put a reference on the supplied *file*. Only referenced file pointers may be passed to this BPF kfunc. Attempting to pass an unreferenc... |
bpf_put_mem_cgroup(9) | NAME bpf_put_mem_cgroup - Put a reference to a memory cgroup
SYNOPSIS __bpf_kfunc void bpf_put_mem_cgroup (struct mem_cgroup *memcg );
ARGUMENTS memcg memory cgroup to release
DESCRIPTION Releases a previously acquired memcg reference. Implements KF_RELEASE semantics.
SEE ALSO Kernel file ./mm/bpf_memc... |
bpf_remove_dentry_xattr(9) | NAME bpf_remove_dentry_xattr - remove a xattr of a dentry
SYNOPSIS __bpf_kfunc int bpf_remove_dentry_xattr (struct dentry *dentry , const char *name__str );
ARGUMENTS dentry dentry to get xattr from
name__str name of the xattr
DESCRIPTION Rmove xattr *name__str* of *dentry*. For security reasons, onl... |
bpf_remove_dentry_xattr_locked(9) | NAME bpf_remove_dentry_xattr_locked - remove a xattr of a dentry
SYNOPSIS int bpf_remove_dentry_xattr_locked (struct dentry *dentry , const char *name__str );
ARGUMENTS dentry dentry to get xattr from
name__str name of the xattr
DESCRIPTION Rmove xattr *name__str* of *dentry*. For security reasons, o... |
bpf_set_dentry_xattr(9) | NAME bpf_set_dentry_xattr - set a xattr of a dentry
SYNOPSIS __bpf_kfunc int bpf_set_dentry_xattr (struct dentry *dentry , const char *name__str , const struct bpf_dynptr *value_p , int flags );
ARGUMENTS dentry dentry to get xattr from
name__str name of the xattr
value_p xattr value
... |
bpf_set_dentry_xattr_locked(9) | NAME bpf_set_dentry_xattr_locked - set a xattr of a dentry
SYNOPSIS int bpf_set_dentry_xattr_locked (struct dentry *dentry , const char *name__str , const struct bpf_dynptr *value_p , int flags );
ARGUMENTS dentry dentry to get xattr from
name__str name of the xattr
value_p xattr value
... |
bpf_skb_meta_pointer(9) | NAME bpf_skb_meta_pointer - Gets a mutable pointer within the skb metadata area.
SYNOPSIS void * bpf_skb_meta_pointer (struct sk_buff *skb , u32 offset );
ARGUMENTS skb socket buffer carrying the metadata
offset offset into the metadata area, must be <= skb_metadata_len
SEE ALSO Kernel file ./... |
bpf_strcasecmp(9) | NAME bpf_strcasecmp - Compare two strings, ignoring the case of the characters
SYNOPSIS __bpf_kfunc int bpf_strcasecmp (const char *s1__ign , const char *s2__ign );
ARGUMENTS s1__ign One string
s2__ign Another string
RETURN * 0 - Strings are equal * -1 - s1__ign is smaller * 1 - s2_... |
bpf_strcasestr(9) | NAME bpf_strcasestr - Find the first substring in a string, ignoring the case of the characters
SYNOPSIS __bpf_kfunc int bpf_strcasestr (const char *s1__ign , const char *s2__ign );
ARGUMENTS s1__ign The string to be searched
s2__ign The string to search for
RETURN * >=0 - Index of the first ... |
bpf_strchr(9) | NAME bpf_strchr - Find the first occurrence of a character in a string
SYNOPSIS __bpf_kfunc int bpf_strchr (const char *s__ign , char c );
ARGUMENTS s__ign The string to be searched
c The character to search for
DESCRIPTION Note that the NUL-terminator is considered part of the string, and can... |
bpf_strchrnul(9) | NAME bpf_strchrnul - Find and return a character in a string, or end of string
SYNOPSIS __bpf_kfunc int bpf_strchrnul (const char *s__ign , char c );
ARGUMENTS s__ign The string to be searched
c The character to search for
RETURN * >=0 - Index of the first occurrence of c within s__ign or... |
bpf_strcmp(9) | NAME bpf_strcmp - Compare two strings
SYNOPSIS __bpf_kfunc int bpf_strcmp (const char *s1__ign , const char *s2__ign );
ARGUMENTS s1__ign One string
s2__ign Another string
RETURN * 0 - Strings are equal * -1 - s1__ign is smaller * 1 - s2__ign is smaller * -EFAULT - Cannot read one o... |
bpf_strcspn(9) | NAME bpf_strcspn - Calculate the length of the initial substring of @s__ign which does not contain letters in @reject__ign
SYNOPSIS __bpf_kfunc int bpf_strcspn (const char *s__ign , const char *reject__ign );
ARGUMENTS s__ign The string to be searched
reject__ign The string to search for
RETURN * >=0 ... |
bpf_strlen(9) | NAME bpf_strlen - Calculate the length of a string
SYNOPSIS __bpf_kfunc int bpf_strlen (const char *s__ign );
ARGUMENTS s__ign The string
RETURN * >=0 - The length of s__ign * -EFAULT - Cannot read s__ign * -E2BIG - s__ign is too large * -ERANGE - s__ign is outside of kernel address space
SEE ALSO Kernel... |
bpf_strncasestr(9) | NAME bpf_strncasestr - Find the first substring in a length-limited string, ignoring the case of the characters
SYNOPSIS __bpf_kfunc int bpf_strncasestr (const char *s1__ign , const char *s2__ign , size_t len );
ARGUMENTS s1__ign The string to be searched
s2__ign The string to search for
len ... |
bpf_strnchr(9) | NAME bpf_strnchr - Find a character in a length limited string
SYNOPSIS __bpf_kfunc int bpf_strnchr (const char *s__ign , size_t count , char c );
ARGUMENTS s__ign The string to be searched
count The number of characters to be searched
c The character to search for
DESCRIPTION No... |
bpf_strnlen(9) | NAME bpf_strnlen - Calculate the length of a length-limited string
SYNOPSIS __bpf_kfunc int bpf_strnlen (const char *s__ign , size_t count );
ARGUMENTS s__ign The string
count The maximum number of characters to count
RETURN * >=0 - The length of s__ign * -EFAULT - Cannot read s__ign * -E2BIG... |
bpf_strnstr(9) | NAME bpf_strnstr - Find the first substring in a length-limited string
SYNOPSIS __bpf_kfunc int bpf_strnstr (const char *s1__ign , const char *s2__ign , size_t len );
ARGUMENTS s1__ign The string to be searched
s2__ign The string to search for
len the maximum number of characters to se... |
bpf_strrchr(9) | NAME bpf_strrchr - Find the last occurrence of a character in a string
SYNOPSIS __bpf_kfunc int bpf_strrchr (const char *s__ign , int c );
ARGUMENTS s__ign The string to be searched
c The character to search for
RETURN * >=0 - Index of the last occurrence of c within s__ign * -ENOENT - c ... |
bpf_strspn(9) | NAME bpf_strspn - Calculate the length of the initial substring of @s__ign which only contains letters in @accept__ign
SYNOPSIS __bpf_kfunc int bpf_strspn (const char *s__ign , const char *accept__ign );
ARGUMENTS s__ign The string to be searched
accept__ign The string to search for
RETURN * >=0 - ... |
bpf_strstr(9) | NAME bpf_strstr - Find the first substring in a string
SYNOPSIS __bpf_kfunc int bpf_strstr (const char *s1__ign , const char *s2__ign );
ARGUMENTS s1__ign The string to be searched
s2__ign The string to search for
RETURN * >=0 - Index of the first character of the first occurrence of s2__ign ... |
bpf_task_acquire(9) | NAME bpf_task_acquire - Acquire a reference to a task. A task acquired by this kfunc which is not stored in a map as a kptr, must be released by calling bpf_task_release().
SYNOPSIS __bpf_kfunc struct task_struct * bpf_task_acquire (struct task_struct *p );
ARGUMENTS p The task on which a reference is being... |
bpf_task_from_pid(9) | NAME bpf_task_from_pid - Find a struct task_struct from its pid by looking it up in the root pid namespace idr. If a task is returned, it must either be stored in a map, or released with bpf_task_release().
SYNOPSIS __bpf_kfunc struct task_struct * bpf_task_from_pid (s32 pid );
ARGUMENTS pid The pid of the ta... |
bpf_task_from_vpid(9) | NAME bpf_task_from_vpid - Find a struct task_struct from its vpid by looking it up in the pid namespace of the current task. If a task is returned, it must either be stored in a map, or released with bpf_task_release().
SYNOPSIS __bpf_kfunc struct task_struct * bpf_task_from_vpid (s32 vpid );
ARGUMENTS vpid Th... |
bpf_task_get_cgroup1(9) | NAME bpf_task_get_cgroup1 - Acquires the associated cgroup of a task within a specific cgroup1 hierarchy. The cgroup1 hierarchy is identified by its hierarchy ID.
SYNOPSIS __bpf_kfunc struct cgroup * bpf_task_get_cgroup1 (struct task_struct *task , int hierarchy_id );
ARGUMENTS task The target task
hie... |
bpf_task_release(9) | NAME bpf_task_release - Release the reference acquired on a task.
SYNOPSIS __bpf_kfunc void bpf_task_release (struct task_struct *p );
ARGUMENTS p The task on which a reference is being released.
SEE ALSO Kernel file ./kernel/bpf/helpers.c bpf_task_acquire(9), bpf_cgroup_acquire(9), bpf_cgroup_release(9), ... |
bpf_task_under_cgroup(9) | NAME bpf_task_under_cgroup - wrap task_under_cgroup_hierarchy() as a kfunc, test task's membership of cgroup ancestry.
SYNOPSIS __bpf_kfunc long bpf_task_under_cgroup (struct task_struct *task , struct cgroup *ancestor );
ARGUMENTS task the task to be tested
ancestor possible ancestor of task's cgro... |
bpf_task_work_schedule_resume(9) | NAME bpf_task_work_schedule_resume - Schedule BPF callback using task_work_add with TWA_RESUME mode
SYNOPSIS __bpf_kfunc int bpf_task_work_schedule_resume (struct task_struct *task , struct bpf_task_work *tw , void *map__map , bpf_task_work_callback_t callback , struct bpf_prog_aux *aux );
ARGUMENTS task Task ... |
bpf_task_work_schedule_signal(9) | NAME bpf_task_work_schedule_signal - Schedule BPF callback using task_work_add with TWA_SIGNAL mode
SYNOPSIS __bpf_kfunc int bpf_task_work_schedule_signal (struct task_struct *task , struct bpf_task_work *tw , void *map__map , bpf_task_work_callback_t callback , struct bpf_prog_aux *aux );
ARGUMENTS task Task ... |
bpf_timer_cancel_async(9) | NAME bpf_timer_cancel_async - try to deactivate a timer
SYNOPSIS __bpf_kfunc int bpf_timer_cancel_async (struct bpf_timer *timer );
ARGUMENTS timer bpf_timer to stop
DESCRIPTION * 0 when the timer was not active * 1 when the timer was active * -1 when the timer is currently executing the callback funct... |
bpf_verify_pkcs7_signature(9) | NAME bpf_verify_pkcs7_signature - verify a PKCS#7 signature
SYNOPSIS __bpf_kfunc int bpf_verify_pkcs7_signature (struct bpf_dynptr *data_p , struct bpf_dynptr *sig_p , struct bpf_key *trusted_keyring );
ARGUMENTS data_p data to verify
sig_p signature of the data
trusted_keyring
... |
bpf_xdp_metadata_rx_hash(9) | NAME bpf_xdp_metadata_rx_hash - Read XDP frame RX hash.
SYNOPSIS __bpf_kfunc int bpf_xdp_metadata_rx_hash (const struct xdp_md *ctx , u32 *hash , enum xdp_rss_hash_type *rss_type );
ARGUMENTS ctx XDP context pointer.
hash Return value pointer.
rss_type Return value pointer for RSS ty... |
bpf_xdp_metadata_rx_timestamp(9) | NAME bpf_xdp_metadata_rx_timestamp - Read XDP frame RX timestamp.
SYNOPSIS __bpf_kfunc int bpf_xdp_metadata_rx_timestamp (const struct xdp_md *ctx , u64 *timestamp );
ARGUMENTS ctx XDP context pointer.
timestamp Return value pointer.
RETURN * Returns 0 on success or “-errno“ on error. * “-EOPNOTSU... |
bpf_xdp_metadata_rx_vlan_tag(9) | NAME bpf_xdp_metadata_rx_vlan_tag - Get XDP packet outermost VLAN tag
SYNOPSIS __bpf_kfunc int bpf_xdp_metadata_rx_vlan_tag (const struct xdp_md *ctx , __be16 *vlan_proto , u16 *vlan_tci );
ARGUMENTS ctx XDP context pointer.
vlan_proto Destination pointer for VLAN Tag protocol identifier (TPID).
... |
bpf_xdp_pull_data(9) | NAME bpf_xdp_pull_data - Pull in non-linear xdp data.
SYNOPSIS __bpf_kfunc int bpf_xdp_pull_data (struct xdp_md *x , u32 len );
ARGUMENTS x xdp_md associated with the XDP buffer
len length of data to be made directly accessible in the linear part
DESCRIPTION Pull in data in case the XDP buf... |
bpftrace(8) | NAME bpftrace - a high-level tracing language
SYNOPSIS bpftrace [OPTIONS] FILENAME bpftrace [OPTIONS] -e 'program code'
When FILENAME is "-", bpftrace will read program code from stdin.
A program will continue running until Ctrl-C is hit, or an exit function is called. When a program exits, all populat... |
bq25703_get_chrg_volt(9) | NAME bq25703_get_chrg_volt - Get the maximum set charge voltage
SYNOPSIS int bq25703_get_chrg_volt (struct bq257xx_chg *pdata , int *intval );
ARGUMENTS pdata driver platform data
intval maximum charge voltage value
RETURN Returns 0 on success or error if unable to read value.
SEE ALSO Kernel fil... |
bq25703_get_cur(9) | NAME bq25703_get_cur - Get the reported current from the battery
SYNOPSIS int bq25703_get_cur (struct bq257xx_chg *pdata , int *intval );
ARGUMENTS pdata driver platform data
intval value of reported battery current
DESCRIPTION Read the reported current from the battery. Since value is always posi... |
bq25703_get_ichg_cur(9) | NAME bq25703_get_ichg_cur - Get the maximum reported charge current
SYNOPSIS int bq25703_get_ichg_cur (struct bq257xx_chg *pdata , int *intval );
ARGUMENTS pdata driver platform data
intval value of maximum reported charge current
DESCRIPTION Get the maximum reported charge current from the batter... |
bq25703_get_iindpm(9) | NAME bq25703_get_iindpm - Get the maximum set input current
SYNOPSIS int bq25703_get_iindpm (struct bq257xx_chg *pdata , int *intval );
ARGUMENTS pdata driver platform data
intval maximum input current value
DESCRIPTION Read the actual input current limit from the device into intval. This can ... |
bq25703_get_min_vsys(9) | NAME bq25703_get_min_vsys - Get the minimum system voltage
SYNOPSIS int bq25703_get_min_vsys (struct bq257xx_chg *pdata , int *intval );
ARGUMENTS pdata driver platform data
intval value for minimum voltage
RETURN Returns 0 on success or error on failure to read.
SEE ALSO Kernel file ./drivers/po... |
bq25703_get_state(9) | NAME bq25703_get_state - Get the current state of the device
SYNOPSIS int bq25703_get_state (struct bq257xx_chg *pdata );
ARGUMENTS pdata driver platform data
DESCRIPTION Get the current state of the charger. Check if the charger is powered, what kind of charge state (if any) the device is in, and if there are... |
bq25703_get_vbat(9) | NAME bq25703_get_vbat - Get the reported voltage from the battery
SYNOPSIS int bq25703_get_vbat (struct bq257xx_chg *pdata , int *intval );
ARGUMENTS pdata driver platform data
intval value of reported battery voltage
DESCRIPTION Read value of battery voltage into intval.
RETURN Returns 0 on succ... |
bq25703_hw_init(9) | NAME bq25703_hw_init - Set all the required registers to init the charger
SYNOPSIS int bq25703_hw_init (struct bq257xx_chg *pdata );
ARGUMENTS pdata driver platform data
DESCRIPTION Initialize the BQ25703 by first disabling the watchdog timer (which shuts off the charger in the absence of periodic writes). Th... |
bq25703_hw_shutdown(9) | NAME bq25703_hw_shutdown - Set registers for shutdown
SYNOPSIS void bq25703_hw_shutdown (struct bq257xx_chg *pdata );
ARGUMENTS pdata driver platform data
DESCRIPTION Enable low power mode for the device while in shutdown.
SEE ALSO Kernel file ./drivers/power/supply/bq257xx_charger.c struct bq257xx_ch... |
bq25703_set_chrg_volt(9) | NAME bq25703_set_chrg_volt - Set the maximum charge voltage
SYNOPSIS int bq25703_set_chrg_volt (struct bq257xx_chg *pdata , int vbat );
ARGUMENTS pdata driver platform data
vbat voltage value to set in uV.
DESCRIPTION This function takes a requested maximum charge voltage value, clamps it betwee... |
bq25703_set_ichg_cur(9) | NAME bq25703_set_ichg_cur - Set the maximum charge current
SYNOPSIS int bq25703_set_ichg_cur (struct bq257xx_chg *pdata , int ichg );
ARGUMENTS pdata driver platform data
ichg current value to set in uA.
DESCRIPTION This function takes a requested maximum charge current value, clamps it between ... |
bq25703_set_iindpm(9) | NAME bq25703_set_iindpm - Set the maximum input current
SYNOPSIS int bq25703_set_iindpm (struct bq257xx_chg *pdata , int iindpm );
ARGUMENTS pdata driver platform data
iindpm current value in uA.
DESCRIPTION This function takes a requested maximum input current value, clamps it between the minimum... |
bq25703_set_min_vsys(9) | NAME bq25703_set_min_vsys - Set the minimum system voltage
SYNOPSIS int bq25703_set_min_vsys (struct bq257xx_chg *pdata , int vsys );
ARGUMENTS pdata driver platform data
vsys voltage value to set in uV.
DESCRIPTION This function takes a requested minimum system voltage value, clamps it between ... |
bq257xx_external_power_changed(9) | NAME bq257xx_external_power_changed - Handler for external power change
SYNOPSIS void bq257xx_external_power_changed (struct power_supply *psy );
ARGUMENTS psy Power supply data
DESCRIPTION When the external power into the charger is changed, check the USB type so that it can be reported. Additionally, updat... |
bq257xx_parse_dt(9) | NAME bq257xx_parse_dt - Parse the device tree for required properties
SYNOPSIS int bq257xx_parse_dt (struct bq257xx_chg *pdata , struct power_supply_config *psy_cfg , struct device *dev );
ARGUMENTS pdata driver platform data
psy_cfg power supply config data
dev device struct
DESCRI... |
br_forward(9) | NAME br_forward - forward a packet to a specific port
SYNOPSIS void br_forward (const struct net_bridge_port *to , struct sk_buff *skb , bool local_rcv , bool local_orig );
ARGUMENTS to destination port
skb packet being forwarded
local_rcv packet will be received locally after forwa... |
br_multicast_has_querier_adjacent(9) | NAME br_multicast_has_querier_adjacent - Checks for a querier behind a bridge port
SYNOPSIS bool br_multicast_has_querier_adjacent (struct net_device *dev , int proto );
ARGUMENTS dev The bridge port adjacent to which to check for a querier
proto The protocol family to check for: IGMP -> ETH_P_I... |
br_multicast_has_querier_anywhere(9) | NAME br_multicast_has_querier_anywhere - Checks for a querier on a bridge
SYNOPSIS bool br_multicast_has_querier_anywhere (struct net_device *dev , int proto );
ARGUMENTS dev The bridge port providing the bridge on which to check for a querier
proto The protocol family to check for: IGMP -> ETH_... |
br_multicast_has_router_adjacent(9) | NAME br_multicast_has_router_adjacent - Checks for a router behind a bridge port
SYNOPSIS bool br_multicast_has_router_adjacent (struct net_device *dev , int proto );
ARGUMENTS dev The bridge port adjacent to which to check for a multicast router
proto The protocol family to check for: IGMP -> E... |
br_multicast_list_adjacent(9) | NAME br_multicast_list_adjacent - Returns snooped multicast addresses
SYNOPSIS int br_multicast_list_adjacent (struct net_device *dev , struct list_head *br_ip_list );
ARGUMENTS dev The bridge port adjacent to which to retrieve addresses
br_ip_list The list to store found, snooped multicast IP addres... |
brave-browser(1) | NAME brave-browser - Brave Browser
SYNOPSIS brave-browser [OPTION] [PATH|URL]
DESCRIPTION See the Brave Help Center for help on using the browser.
<https://support.brave.app/>
This manpage only describes invocation, environment, and arguments.
OPTIONS Brave Web Browser has hundreds of undocume... |
brave-browser-stable(1) | NAME brave-browser - Brave Browser
SYNOPSIS brave-browser [OPTION] [PATH|URL]
DESCRIPTION See the Brave Help Center for help on using the browser.
<https://support.brave.app/>
This manpage only describes invocation, environment, and arguments.
OPTIONS Brave Web Browser has hundreds of undocume... |
brcmf_apsta_add_vif(9) | NAME brcmf_apsta_add_vif - create a new AP or STA virtual interface
SYNOPSIS struct wireless_dev * brcmf_apsta_add_vif (struct wiphy *wiphy , const char *name , struct vif_params *params , enum nl80211_iftype type );
ARGUMENTS wiphy wiphy device of new interface.
name name of the new interface.
... |
brcmf_btcoex_attach(9) | NAME brcmf_btcoex_attach - initialize BT coex data
SYNOPSIS int brcmf_btcoex_attach (struct brcmf_cfg80211_info *cfg );
ARGUMENTS cfg driver private cfg80211 data
RETURN 0 on success
SEE ALSO Kernel file ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c enum brcmf_btcoex_state(9), struct brcmf_b... |
brcmf_btcoex_boost_wifi(9) | NAME brcmf_btcoex_boost_wifi - control BT SCO/eSCO parameters
SYNOPSIS void brcmf_btcoex_boost_wifi (struct brcmf_btcoex_info *btci , bool trump_sco );
ARGUMENTS btci BT coex info
trump_sco true - set SCO/eSCO parameters for compatibility during DHCP window false - restore saved parameter values
DES... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.