id
stringlengths
4
63
text
stringlengths
153
8.81M
cpumask_full(9)
NAME cpumask_full - *srcp == 0xFFFFFFFF... SYNOPSIS bool cpumask_full (const struct cpumask *srcp ); ARGUMENTS srcp the cpumask to that all cpus < nr_cpu_ids are set. RETURN true if srcp is full (has all bits set), else false SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_...
cpumask_intersects(9)
NAME cpumask_intersects - (*src1p & *src2p) != 0 SYNOPSIS bool cpumask_intersects (const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS src1p the first input src2p the second input RETURN true if first cpumask ANDed with second cpumask is non-empty, otherwise false SEE ALSO Ker...
cpumask_last(9)
NAME cpumask_last - get the last CPU in a cpumask SYNOPSIS unsigned int cpumask_last (const struct cpumask *srcp ); ARGUMENTS srcp - the cpumask pointer RETURN >= nr_cpumask_bits if no CPUs set. SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_first(9), cpumask_first_zero(9), ...
cpumask_local_spread(9)
NAME cpumask_local_spread - select the i'th cpu based on NUMA distances SYNOPSIS unsigned int cpumask_local_spread (unsigned int i , int node ); ARGUMENTS i index number node local numa_node RETURN online CPU according to a numa aware policy; local cpus are returned first, followed by non-lo...
cpumask_next(9)
NAME cpumask_next - get the next cpu in a cpumask SYNOPSIS unsigned int cpumask_next (int n , const struct cpumask *srcp ); ARGUMENTS n the cpu prior to the place to search (i.e. return will be > n) srcp the cpumask pointer RETURN >= nr_cpu_ids if no further cpus set. SEE ALSO Kernel file...
cpumask_next_and(9)
NAME cpumask_next_and - get the next cpu in *src1p & *src2p SYNOPSIS unsigned int cpumask_next_and (int n , const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS n the cpu prior to the place to search (i.e. return will be > n) src1p the first cpumask pointer src2p ...
cpumask_next_and_wrap(9)
NAME cpumask_next_and_wrap - get the next cpu in *src1p & *src2p, starting from @n+1. If nothing found, wrap around and start from the beginning SYNOPSIS unsigned int cpumask_next_and_wrap (int n , const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS n the cpu prior to the place to search ...
cpumask_next_andnot(9)
NAME cpumask_next_andnot - get the next cpu in *src1p & ~*src2p SYNOPSIS unsigned int cpumask_next_andnot (int n , const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS n the cpu prior to the place to search (i.e. return will be > n) src1p the first cpumask pointer src...
cpumask_next_wrap(9)
NAME cpumask_next_wrap - get the next cpu in *src, starting from @n+1. If nothing found, wrap around and start from the beginning SYNOPSIS unsigned int cpumask_next_wrap (int n , const struct cpumask *src ); ARGUMENTS n the cpu prior to the place to search (i.e. search starts from n+1) src c...
cpumask_next_zero(9)
NAME cpumask_next_zero - get the next unset cpu in a cpumask SYNOPSIS unsigned int cpumask_next_zero (int n , const struct cpumask *srcp ); ARGUMENTS n the cpu prior to the place to search (i.e. return will be > n) srcp the cpumask pointer RETURN >= nr_cpu_ids if no further cpus unset. SEE ...
cpumask_nth(9)
NAME cpumask_nth - get the Nth cpu in a cpumask SYNOPSIS unsigned int cpumask_nth (unsigned int cpu , const struct cpumask *srcp ); ARGUMENTS cpu the Nth cpu to find, starting from 0 srcp the cpumask pointer RETURN >= nr_cpu_ids if such cpu doesn't exist. SEE ALSO Kernel file ./include/li...
cpumask_nth_and(9)
NAME cpumask_nth_and - get the Nth cpu in 2 cpumasks SYNOPSIS unsigned int cpumask_nth_and (unsigned int cpu , const struct cpumask *srcp1 , const struct cpumask *srcp2 ); ARGUMENTS cpu the Nth cpu to find, starting from 0 srcp1 the cpumask pointer srcp2 the cpumask pointer RETURN...
cpumask_nth_and_andnot(9)
NAME cpumask_nth_and_andnot - get the Nth cpu set in 1st and 2nd cpumask, and clear in 3rd. SYNOPSIS unsigned int cpumask_nth_and_andnot (unsigned int cpu , const struct cpumask *srcp1 , const struct cpumask *srcp2 , const struct cpumask *srcp3 ); ARGUMENTS cpu the Nth cpu to find, starting from 0 src...
cpumask_of(9)
NAME cpumask_of - the cpumask containing just a given cpu SYNOPSIS cpumask_of (cpu ); ARGUMENTS cpu the cpu (<= nr_cpu_ids) SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_first(9), cpumask_first_zero(9), cpumask_first_and(9), cpumask_first_andnot(9), cpumask_first_an...
cpumask_or(9)
NAME cpumask_or - *dstp = *src1p | *src2p SYNOPSIS void cpumask_or (struct cpumask *dstp , const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS dstp the cpumask result src1p the first input src2p the second input SEE ALSO Kernel file ./include/linux/cpumask.h ...
cpumask_or_equal(9)
NAME cpumask_or_equal - *src1p | *src2p == *src3p SYNOPSIS bool cpumask_or_equal (const struct cpumask *src1p , const struct cpumask *src2p , const struct cpumask *src3p ); ARGUMENTS src1p the first input src2p the second input src3p the third input RETURN true if first cpumask ORed...
cpumask_parse(9)
NAME cpumask_parse - extract a cpumask from a string SYNOPSIS int cpumask_parse (const char *buf , struct cpumask *dstp ); ARGUMENTS buf the buffer to extract from dstp the cpumask to set. RETURN -errno, or 0 for success. SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), ...
cpumask_parse_user(9)
NAME cpumask_parse_user - extract a cpumask from a user string SYNOPSIS int cpumask_parse_user (const char __user *buf , int len , struct cpumask *dstp ); ARGUMENTS buf the buffer to extract from len the length of the buffer dstp the cpumask to set. RETURN -errno, or 0 for succ...
cpumask_parselist_user(9)
NAME cpumask_parselist_user - extract a cpumask from a user string SYNOPSIS int cpumask_parselist_user (const char __user *buf , int len , struct cpumask *dstp ); ARGUMENTS buf the buffer to extract from len the length of the buffer dstp the cpumask to set. RETURN -errno, or 0 ...
cpumask_pr_args(9)
NAME cpumask_pr_args - printf args to output a cpumask SYNOPSIS cpumask_pr_args (maskp ); ARGUMENTS maskp cpumask to be printed DESCRIPTION Can be used to provide arguments for '*pb[l]' when printing a cpumask. SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_first(9), cpumask_first_zero(9), cp...
cpumask_random(9)
NAME cpumask_random - get random cpu in *src. SYNOPSIS unsigned int cpumask_random (const struct cpumask *src ); ARGUMENTS src cpumask pointer RETURN random set bit, or >= nr_cpu_ids if src is empty. SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_first(9), cpumask_first...
cpumask_set_cpu(9)
NAME cpumask_set_cpu - set a cpu in a cpumask SYNOPSIS void cpumask_set_cpu (unsigned int cpu , struct cpumask *dstp ); ARGUMENTS cpu cpu number (< nr_cpu_ids) dstp the cpumask pointer SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_first(9), cpumask_first_...
cpumask_setall(9)
NAME cpumask_setall - set all cpus (< nr_cpu_ids) in a cpumask SYNOPSIS void cpumask_setall (struct cpumask *dstp ); ARGUMENTS dstp the cpumask pointer SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_first(9), cpumask_first_zero(9), cpumask_first_and(9), cpumask_first_andnot(...
cpumask_shift_left(9)
NAME cpumask_shift_left - *dstp = *srcp << n SYNOPSIS void cpumask_shift_left (struct cpumask *dstp , const struct cpumask *srcp , int n ); ARGUMENTS dstp the cpumask result srcp the input to shift n the number of bits to shift by SEE ALSO Kernel file ./include/linux/cpuma...
cpumask_shift_right(9)
NAME cpumask_shift_right - *dstp = *srcp >> n SYNOPSIS void cpumask_shift_right (struct cpumask *dstp , const struct cpumask *srcp , int n ); ARGUMENTS dstp the cpumask result srcp the input to shift n the number of bits to shift by SEE ALSO Kernel file ./include/linux/cpu...
cpumask_size(9)
NAME cpumask_size - calculate size to allocate for a 'struct cpumask' in bytes SYNOPSIS unsigned int cpumask_size (void ); ARGUMENTS void no arguments RETURN size to allocate for a struct cpumask in bytes SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_first(9), cpumask_f...
cpumask_subset(9)
NAME cpumask_subset - (*src1p & ~*src2p) == 0 SYNOPSIS bool cpumask_subset (const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS src1p the first input src2p the second input RETURN true if *src1p is a subset of *src2p, else returns false SEE ALSO Kernel file ./include/linux...
cpumask_test_and_clear_cpu(9)
NAME cpumask_test_and_clear_cpu - atomically test and clear a cpu in a cpumask SYNOPSIS bool cpumask_test_and_clear_cpu (int cpu , struct cpumask *cpumask ); ARGUMENTS cpu cpu number (< nr_cpu_ids) cpumask the cpumask pointer DESCRIPTION test_and_clear_bit wrapper for cpumasks. RETURN true if cp...
cpumask_test_and_set_cpu(9)
NAME cpumask_test_and_set_cpu - atomically test and set a cpu in a cpumask SYNOPSIS bool cpumask_test_and_set_cpu (int cpu , struct cpumask *cpumask ); ARGUMENTS cpu cpu number (< nr_cpu_ids) cpumask the cpumask pointer DESCRIPTION test_and_set_bit wrapper for cpumasks. RETURN true if cpu is set...
cpumask_test_cpu(9)
NAME cpumask_test_cpu - test for a cpu in a cpumask SYNOPSIS bool cpumask_test_cpu (int cpu , const struct cpumask *cpumask ); ARGUMENTS cpu cpu number (< nr_cpu_ids) cpumask the cpumask pointer RETURN true if cpu is set in cpumask, else returns false SEE ALSO Kernel file ./include/linux/cpu...
cpumask_weight(9)
NAME cpumask_weight - Count of bits in *srcp SYNOPSIS unsigned int cpumask_weight (const struct cpumask *srcp ); ARGUMENTS srcp the cpumask to count bits (< nr_cpu_ids) in. RETURN count of bits set in *srcp SEE ALSO Kernel file ./include/linux/cpumask.h cpumask_pr_args(9), cpumask_first(9), cpumask...
cpumask_weight_and(9)
NAME cpumask_weight_and - Count of bits in (*srcp1 & *srcp2) SYNOPSIS unsigned int cpumask_weight_and (const struct cpumask *srcp1 , const struct cpumask *srcp2 ); ARGUMENTS srcp1 the cpumask to count bits (< nr_cpu_ids) in. srcp2 the cpumask to count bits (< nr_cpu_ids) in. RETURN count of bits ...
cpumask_weight_andnot(9)
NAME cpumask_weight_andnot - Count of bits in (*srcp1 & ~*srcp2) SYNOPSIS unsigned int cpumask_weight_andnot (const struct cpumask *srcp1 , const struct cpumask *srcp2 ); ARGUMENTS srcp1 the cpumask to count bits (< nr_cpu_ids) in. srcp2 the cpumask to count bits (< nr_cpu_ids) in. RETURN count o...
cpumask_weighted_or(9)
NAME cpumask_weighted_or - *dstp = *src1p | *src2p and return the weight of the result SYNOPSIS unsigned int cpumask_weighted_or (struct cpumask *dstp , const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS dstp the cpumask result src1p the first input src2p the sec...
cpumask_xor(9)
NAME cpumask_xor - *dstp = *src1p ^ *src2p SYNOPSIS void cpumask_xor (struct cpumask *dstp , const struct cpumask *src1p , const struct cpumask *src2p ); ARGUMENTS dstp the cpumask result src1p the first input src2p the second input SEE ALSO Kernel file ./include/linux/cpumask....
cpupri_cleanup(9)
NAME cpupri_cleanup - clean up the cpupri structure SYNOPSIS void cpupri_cleanup (struct cpupri *cp ); ARGUMENTS cp The cpupri context SEE ALSO Kernel file ./kernel/sched/cpupri.c cpupri_find_fitness(9), cpupri_set(9), cpupri_init(9) April 2026 ...
cpupri_find_fitness(9)
NAME cpupri_find_fitness - find the best (lowest-pri) CPU in the system SYNOPSIS int cpupri_find_fitness (struct cpupri *cp , struct task_struct *p , struct cpumask *lowest_mask , bool (*fitness_fn)(struct task_struct *p, int cpu) ); ARGUMENTS cp The cpupri context p The task lowest...
cpupri_init(9)
NAME cpupri_init - initialize the cpupri structure SYNOPSIS int cpupri_init (struct cpupri *cp ); ARGUMENTS cp The cpupri context RETURN -ENOMEM on memory allocation failure. SEE ALSO Kernel file ./kernel/sched/cpupri.c cpupri_find_fitness(9), cpupri_set(9), cpupri_cleanup(9) April 2026 ...
cpupri_set(9)
NAME cpupri_set - update the CPU priority setting SYNOPSIS void cpupri_set (struct cpupri *cp , int cpu , int newpri ); ARGUMENTS cp The cpupri context cpu The target CPU newpri The priority (INVALID,NORMAL,RT1-RT99,HIGHER) to assign to this CPU NOTE Assumes cpu_rq(cpu)->lock is...
cpus_excl_conflict(9)
NAME cpus_excl_conflict - Check if two cpusets have exclusive CPU conflicts SYNOPSIS bool cpus_excl_conflict (struct cpuset *trial , struct cpuset *sibling , bool xcpus_changed ); ARGUMENTS trial the trial cpuset to be checked sibling a sibling cpuset to be checked against xcpus_changed ...
cpus_peek_for_pending_ipi(9)
NAME cpus_peek_for_pending_ipi - Check for pending IPI for CPUs SYNOPSIS bool cpus_peek_for_pending_ipi (const struct cpumask *mask ); ARGUMENTS mask The CPU mask for the CPUs to check. DESCRIPTION This function walks through the mask to check if there are any pending IPIs scheduled, for any of the CPUs in...
cpuset(7)
NAME cpuset - confine processes to processor and memory node subsets DESCRIPTION The cpuset filesystem is a pseudo-filesystem interface to the kernel cpuset mechanism, which is used to control the processor placement and memory placement of processes. It is commonly mounted at /dev/cpuset. On systems with ...
cpuset1_update_tasks_flags(9)
NAME cpuset1_update_tasks_flags - update the spread flags of tasks in the cpuset. SYNOPSIS void cpuset1_update_tasks_flags (struct cpuset *cs ); ARGUMENTS cs the cpuset in which each task's spread flags needs to be changed DESCRIPTION Iterate through each task of cs updating its spread flags. As this funct...
cpuset_cpus_allowed(9)
NAME cpuset_cpus_allowed - return cpus_allowed mask from a task's cpuset. SYNOPSIS void cpuset_cpus_allowed (struct task_struct *tsk , struct cpumask *pmask ); ARGUMENTS tsk pointer to task_struct from which to obtain cpuset->cpus_allowed. pmask pointer to struct cpumask variable to receive cpus...
cpuset_cpus_allowed_fallback(9)
NAME cpuset_cpus_allowed_fallback - final fallback before complete catastrophe. SYNOPSIS bool cpuset_cpus_allowed_fallback (struct task_struct *tsk ); ARGUMENTS tsk pointer to task_struct with which the scheduler is struggling DESCRIPTION In the case that the scheduler cannot find an allowed cpu in tsk->c...
cpuset_cpus_allowed_locked(9)
NAME cpuset_cpus_allowed_locked - return cpus_allowed mask from a task's cpuset. SYNOPSIS void cpuset_cpus_allowed_locked (struct task_struct *tsk , struct cpumask *pmask ); ARGUMENTS tsk pointer to task_struct from which to obtain cpuset->cpus_allowed. pmask pointer to struct cpumask variable t...
cpuset_css_alloc(9)
NAME cpuset_css_alloc - Allocate a cpuset css SYNOPSIS struct cgroup_subsys_state * cpuset_css_alloc (struct cgroup_subsys_state *parent_css ); ARGUMENTS parent_css Parent css of the control group that the new cpuset will be part of RETURN cpuset css on success, -ENOMEM on failure. DESCRIPTION Allocate and initial...
cpuset_for_each_child(9)
NAME cpuset_for_each_child - traverse online children of a cpuset SYNOPSIS cpuset_for_each_child (child_cs , pos_css , parent_cs ); ARGUMENTS child_cs loop cursor pointing to the current child pos_css used for iteration parent_cs target cpuset to walk children of DESCRIPTION Walk child_cs th...
cpuset_for_each_descendant_pre(9)
NAME cpuset_for_each_descendant_pre - pre-order walk of a cpuset's descendants SYNOPSIS cpuset_for_each_descendant_pre (des_cs , pos_css , root_cs ); ARGUMENTS des_cs loop cursor pointing to the current descendant pos_css used for iteration root_cs target cpuset to walk ancestor of DESCR...
cpuset_full_lock(9)
NAME cpuset_full_lock - Acquire full protection for cpuset modification SYNOPSIS void cpuset_full_lock (void ); ARGUMENTS void no arguments DESCRIPTION Takes both CPU hotplug read lock (cpus_read_lock) and cpuset mutex to safely modify cpuset data. SEE ALSO Kernel file ./kernel/cgroup/cpuset.c cpuset_loc...
cpuset_handle_hotplug(9)
NAME cpuset_handle_hotplug - handle CPU/memory hot{,un}plug for a cpuset SYNOPSIS void cpuset_handle_hotplug (void ); ARGUMENTS void no arguments DESCRIPTION This function is called after either CPU or memory configuration has changed and updates cpuset accordingly. The top_cpuset is always synchronized...
cpuset_hotplug_update_tasks(9)
NAME cpuset_hotplug_update_tasks - update tasks in a cpuset for hotunplug SYNOPSIS void cpuset_hotplug_update_tasks (struct cpuset *cs , struct tmpmasks *tmp ); ARGUMENTS cs cpuset in interest tmp the tmpmasks structure pointer DESCRIPTION Compare cs's cpu and mem masks against top_cpuset an...
cpuset_init(9)
NAME cpuset_init - initialize cpusets at system boot SYNOPSIS int cpuset_init (void ); ARGUMENTS void no arguments DESCRIPTION Initialize top_cpuset SEE ALSO Kernel file ./kernel/cgroup/cpuset.c cpuset_lock(9), cpuset_full_lock(9), partition_is_populated(9), alloc_cpumasks(9), alloc_tmpmasks(9), free_tmpma...
cpuset_init_smp(9)
NAME cpuset_init_smp - initialize cpus_allowed SYNOPSIS void cpuset_init_smp (void ); ARGUMENTS void no arguments DESCRIPTION Finish top cpuset after cpu, node maps are initialized SEE ALSO Kernel file ./kernel/cgroup/cpuset.c cpuset_lock(9), cpuset_full_lock(9), partition_is_populated(9), alloc_cpumasks(9...
cpuset_lock(9)
NAME cpuset_lock - Acquire the global cpuset mutex SYNOPSIS void cpuset_lock (void ); ARGUMENTS void no arguments DESCRIPTION This locks the global cpuset mutex to prevent modifications to cpuset hierarchy and configurations. This helper is not enough to make modification. SEE ALSO Kernel file ./kernel/cgr...
cpuset_mem_spread_node(9)
NAME cpuset_mem_spread_node - On which node to begin search for a file page SYNOPSIS int cpuset_mem_spread_node (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./kernel/cgroup/cpuset.c cpuset_lock(9), cpuset_full_lock(9), partition_is_populated(9), alloc_cpumasks(9), alloc_tmpmasks(9), free_tmpmas...
cpuset_mems_allowed(9)
NAME cpuset_mems_allowed - return mems_allowed mask from a tasks cpuset. SYNOPSIS nodemask_t cpuset_mems_allowed (struct task_struct *tsk ); ARGUMENTS tsk pointer to task_struct from which to obtain cpuset->mems_allowed. DESCRIPTION Returns the nodemask_t mems_allowed of the cpuset attached to the specified ...
cpuset_mems_allowed_intersects(9)
NAME cpuset_mems_allowed_intersects - Does @tsk1's mems_allowed intersect @tsk2's? SYNOPSIS int cpuset_mems_allowed_intersects (const struct task_struct *tsk1 , const struct task_struct *tsk2 ); ARGUMENTS tsk1 pointer to task_struct of some task. tsk2 pointer to task_struct of some other task. ...
cpuset_nodemask_valid_mems_allowed(9)
NAME cpuset_nodemask_valid_mems_allowed - check nodemask vs. current mems_allowed SYNOPSIS int cpuset_nodemask_valid_mems_allowed (nodemask_t *nodemask ); ARGUMENTS nodemask the nodemask to be checked DESCRIPTION Are any of the nodes in the nodemask allowed in current->mems_allowed? SEE ALSO Kernel file ./kern...
cpuset_nodes_allowed(9)
NAME cpuset_nodes_allowed - return effective_mems mask from a cgroup cpuset. SYNOPSIS void cpuset_nodes_allowed (struct cgroup *cgroup , nodemask_t *mask ); ARGUMENTS cgroup pointer to struct cgroup. mask pointer to struct nodemask_t to be returned. DESCRIPTION Returns effective_mems mask from...
cpuset_print_current_mems_allowed(9)
NAME cpuset_print_current_mems_allowed - prints current's cpuset and mems_allowed SYNOPSIS void cpuset_print_current_mems_allowed (void ); ARGUMENTS void no arguments DESCRIPTION Prints current's name, cpuset name, and cached copy of its mems_allowed to the kernel log. SEE ALSO Kernel file ./kernel/cgroup/...
cpuset_spread_node(9)
NAME cpuset_spread_node - On which node to begin search for a page SYNOPSIS int cpuset_spread_node (int *rotor ); ARGUMENTS rotor round robin rotor DESCRIPTION If a task is marked PF_SPREAD_PAGE or PF_SPREAD_SLAB (as for tasks in a cpuset with is_spread_page or is_spread_slab set), and if the memory allocation...
cpuset_update_tasks_cpumask(9)
NAME cpuset_update_tasks_cpumask - Update the cpumasks of tasks in the cpuset. SYNOPSIS void cpuset_update_tasks_cpumask (struct cpuset *cs , struct cpumask *new_cpus ); ARGUMENTS cs the cpuset in which each task's cpus_allowed mask needs to be changed new_cpus the temp variable for the new effect...
cpuset_update_tasks_nodemask(9)
NAME cpuset_update_tasks_nodemask - Update the nodemasks of tasks in the cpuset. SYNOPSIS void cpuset_update_tasks_nodemask (struct cpuset *cs ); ARGUMENTS cs the cpuset in which each task's mems_allowed mask needs to be changed DESCRIPTION Iterate through each task of cs updating its mems_allowed to the ef...
cpuwalk.bt(8)
NAME cpuwalk.bt - Sample which CPUs are executing processes.. Uses bpftrace/eBPF. SYNOPSIS cpuwalk.bt DESCRIPTION This tool samples CPUs at 99 Hertz, then prints a histogram showing which CPUs were active. 99 Hertz is used to avoid lockstep sampling that would skew results. This tool can help identify if your appli...
cqhci_crypto_init(9)
NAME cqhci_crypto_init - initialize CQHCI crypto support SYNOPSIS int cqhci_crypto_init (struct cqhci_host *cq_host ); ARGUMENTS cq_host a cqhci host DESCRIPTION If the driver previously set MMC_CAP2_CRYPTO and the CQE declares CQHCI_CAP_CS, initialize the crypto support. This involves reading the crypto c...
cqm_setup_limbo_handler(9)
NAME cqm_setup_limbo_handler - Schedule the limbo handler to run for this domain. SYNOPSIS void cqm_setup_limbo_handler (struct rdt_l3_mon_domain *dom , unsigned long delay_ms , int exclude_cpu ); ARGUMENTS dom The domain the limbo handler should run for. delay_ms How far in the future the handler ...
cqp_compl_worker(9)
NAME cqp_compl_worker - Handle cqp completions SYNOPSIS void cqp_compl_worker (struct work_struct *work ); ARGUMENTS work Pointer to work structure SEE ALSO Kernel file ./drivers/infiniband/hw/irdma/hw.c irdma_iwarp_ce_handler(9), irdma_puda_ce_handler(9), irdma_process_normal_ceqe(9), irdma_process_res...
cqp_sds_wqe_fill(9)
NAME cqp_sds_wqe_fill - fill cqp wqe doe sd SYNOPSIS int cqp_sds_wqe_fill (struct irdma_sc_cqp *cqp , struct irdma_update_sds_info *info , u64 scratch ); ARGUMENTS cqp struct for cqp hw info sd info for wqe scratch u64 saved to be used during cqp completion SEE ALSO Kernel file...
crash_exclude_mem_range(9)
NAME crash_exclude_mem_range - exclude a mem range for existing ranges SYNOPSIS int crash_exclude_mem_range (struct crash_mem *mem , unsigned long long mstart , unsigned long long mend ); ARGUMENTS mem mem->range contains an array of ranges sorted in ascending order mstart the start of to-be-excl...
crash_setup_regs(9)
NAME crash_setup_regs - save registers for the panic kernel SYNOPSIS void crash_setup_regs (struct pt_regs *newregs , struct pt_regs *oldregs ); ARGUMENTS newregs registers are saved here oldregs registers to be saved (may be NULL) SEE ALSO Kernel file ./arch/arm64/include/asm/kexec.h April 2026 ...
crc16(9)
NAME crc16 - compute the CRC-16 for the data buffer SYNOPSIS u16 crc16 (u16 crc , const u8 *p , size_t len ); ARGUMENTS crc previous CRC value p data pointer len number of bytes in the buffer DESCRIPTION Returns the updated CRC value. SEE ALSO Kernel file ./lib/crc/crc16.c ...
crc32_be(9)
NAME crc32_be - Compute most-significant-bit-first IEEE CRC-32 SYNOPSIS u32 crc32_be (u32 crc , const void *p , size_t len ); ARGUMENTS crc Initial CRC value. ~0 (recommended) or 0 for a new CRC computation, or the previous CRC value if computing incrementally. p Pointer to the data buffer ...
crc32_be_vgfm_16(9)
NAME crc32_be_vgfm_16 - Compute CRC-32 (BE variant) with vector registers SYNOPSIS u32 crc32_be_vgfm_16 (u32 crc , unsigned char const *buf , size_t size ); ARGUMENTS crc Initial CRC value, typically ~0. buf Input buffer pointer, performance might be improved if the buffer is on a doubleword b...
crc32_le(9)
NAME crc32_le - Compute least-significant-bit-first IEEE CRC-32 SYNOPSIS u32 crc32_le (u32 crc , const void *p , size_t len ); ARGUMENTS crc Initial CRC value. ~0 (recommended) or 0 for a new CRC computation, or the previous CRC value if computing incrementally. p Pointer to the data buffer...
crc32_le_vgfm_generic(9)
NAME crc32_le_vgfm_generic - Compute CRC-32 (LE variant) with vector registers SYNOPSIS u32 crc32_le_vgfm_generic (u32 crc , unsigned char const *buf , size_t size , unsigned long *constants ); ARGUMENTS crc Initial CRC value, typically ~0. buf Input buffer pointer, performance might be improv...
crc32_posix_end(9)
NAME crc32_posix_end - Finalize POSIX CRC32 working state SYNOPSIS u32 crc32_posix_end (u32 crc , size_t total_len ); ARGUMENTS crc Current CRC32 working state total_len Total length of data that was CRC32'd RETURN Final POSIX CRC32 value SEE ALSO Kernel file ./drivers/net/ethernet/netronome/nfp/n...
crc32c(9)
NAME crc32c - Compute CRC-32C SYNOPSIS u32 crc32c (u32 crc , const void *p , size_t len ); ARGUMENTS crc Initial CRC value. ~0 (recommended) or 0 for a new CRC computation, or the previous CRC value if computing incrementally. p Pointer to the data buffer len Length of data ...
crc32init_be(9)
NAME crc32init_be - allocate and initialize BE table data SYNOPSIS void crc32init_be (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./lib/crc/gen_crc32table.c April 2026 crc32init_be ...
crc4(9)
NAME crc4 - calculate the 4-bit crc of a value. SYNOPSIS uint8_t crc4 (uint8_t c , uint64_t x , int bits ); ARGUMENTS c starting crc4 x value to checksum bits number of bits in x to checksum DESCRIPTION Returns the crc4 value of x, using polynomial 0b10111. The x value is ...
crc64_be(9)
NAME crc64_be - Calculate bitwise big-endian ECMA-182 CRC64 SYNOPSIS u64 crc64_be (u64 crc , const void *p , size_t len ); ARGUMENTS crc seed value for computation. 0 or (u64)~0 for a new CRC calculation, or the previous crc64 value if computing incrementally. p pointer to buffer over which ...
crc64_nvme(9)
NAME crc64_nvme - Calculate CRC64-NVME SYNOPSIS u64 crc64_nvme (u64 crc , const void *p , size_t len ); ARGUMENTS crc seed value for computation. 0 for a new CRC calculation, or the previous crc64 value if computing incrementally. p pointer to buffer over which CRC64 is run len ...
crc7_be(9)
NAME crc7_be - update the CRC7 for the data buffer SYNOPSIS u8 crc7_be (u8 crc , const u8 *buffer , size_t len ); ARGUMENTS crc previous CRC7 value buffer data pointer len number of bytes in the buffer CONTEXT any DESCRIPTION Returns the updated CRC7 value. The CRC7 is left-ali...
crc8(9)
NAME crc8 - calculate a crc8 over the given input data. SYNOPSIS u8 crc8 (const u8 table[CRC8_TABLE_SIZE] , const u8 *pdata , size_t nbytes , u8 crc ); ARGUMENTS table crc table used for calculation. pdata pointer to data buffer. nbytes number of bytes in data buffer. crc ...
crc8_populate_lsb(9)
NAME crc8_populate_lsb - fill crc table for given polynomial in regular bit order. SYNOPSIS void crc8_populate_lsb (u8 table[CRC8_TABLE_SIZE] , u8 polynomial ); ARGUMENTS table table to be filled. polynomial polynomial for which table is to be filled. SEE ALSO Kernel file ./lib/crc/crc8.c crc8_populat...
crc8_populate_msb(9)
NAME crc8_populate_msb - fill crc table for given polynomial in reverse bit order. SYNOPSIS void crc8_populate_msb (u8 table[CRC8_TABLE_SIZE] , u8 polynomial ); ARGUMENTS table table to be filled. polynomial polynomial for which table is to be filled. SEE ALSO Kernel file ./lib/crc/crc8.c crc8_populat...
crc_ccitt(9)
NAME crc_ccitt - recompute the CRC (CRC-CCITT variant) for the data buffer SYNOPSIS u16 crc_ccitt (u16 crc , u8 const *buffer , size_t len ); ARGUMENTS crc previous CRC value buffer data pointer len number of bytes in the buffer SEE ALSO Kernel file ./lib/crc/crc-ccitt.c April 2...
crc_itu_t(9)
NAME crc_itu_t - Compute the CRC-ITU-T for the data buffer SYNOPSIS u16 crc_itu_t (u16 crc , const u8 *buffer , size_t len ); ARGUMENTS crc previous CRC value buffer data pointer len number of bytes in the buffer DESCRIPTION Returns the updated CRC value SEE ALSO Kernel file ./l...
crdte(9)
NAME crdte - Compare and Replace DAT Table Entry SYNOPSIS bool crdte (unsigned long old , unsigned long new , unsigned long *table , unsigned long dtt , unsigned long address , unsigned long asce ); ARGUMENTS old The expected old value new The new value table Pointer to the value...
creal(3)
NAME creal, crealf, creall - get real part of a complex number LIBRARY Math library (libm, -lm) SYNOPSIS #include <complex.h> double creal(double complex z); float crealf(float complex z); long double creall(long double complex z); DESCRIPTION These functions return the real part of the complex...
creal(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 creal, crealf, creall — complex real functions SYNOPSIS #inclu...
crealf(3)
NAME creal, crealf, creall - get real part of a complex number LIBRARY Math library (libm, -lm) SYNOPSIS #include <complex.h> double creal(double complex z); float crealf(float complex z); long double creall(long double complex z); DESCRIPTION These functions return the real part of the complex...
creall(3)
NAME creal, crealf, creall - get real part of a complex number LIBRARY Math library (libm, -lm) SYNOPSIS #include <complex.h> double creal(double complex z); float crealf(float complex z); long double creall(long double complex z); DESCRIPTION These functions return the real part of the complex...
creat(2)
NAME open, openat, creat - open and possibly create a file LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> int open(const char *path, int flags, ... /* mode_t mode */ ); int creat(const char *path, mode_t mode); int openat(int dirfd, const char *path, int f...
creat(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 creat — create a new file or rewrite an existing one SYNOPSIS ...
create_and_get_cgroup(9)
NAME create_and_get_cgroup - Create a cgroup, relative to workdir, and get the FD SYNOPSIS int create_and_get_cgroup (const char *relative_path ); ARGUMENTS relative_path The cgroup path, relative to the workdir, to join DESCRIPTION This function creates a cgroup under the top level workdir and returns the file d...
create_attributes_level_sysfs_files(9)
NAME create_attributes_level_sysfs_files - Creates reset_bios and pending_reboot attributes SYNOPSIS int create_attributes_level_sysfs_files (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/platform/x86/dell/dell-wmi-sysman/sysman.c populate_string_buffer(9), calculate_string_buffer(9), ca...
create_basic_memory_bitmaps(9)
NAME create_basic_memory_bitmaps - Create bitmaps to hold basic page information. SYNOPSIS int create_basic_memory_bitmaps (void ); ARGUMENTS void no arguments DESCRIPTION Create bitmaps needed for marking page frames that should not be saved and free page frames. The forbidden_pages_map and free_pages_map...
create_bbt(9)
NAME create_bbt - [GENERIC] Create a bad block table by scanning the device SYNOPSIS int create_bbt (struct nand_chip *this , uint8_t *buf , struct nand_bbt_descr *bd , int chip ); ARGUMENTS this NAND chip object buf temporary buffer bd descriptor for the good/bad block search ...
create_cipher_wr(9)
NAME create_cipher_wr - form the WR for cipher operations SYNOPSIS struct sk_buff * create_cipher_wr (struct cipher_wr_param *wrparam ); ARGUMENTS wrparam Container for create_cipher_wr's parameters SEE ALSO Kernel file ./drivers/crypto/chelsio/chcr_algo.c create_hash_wr(9) April 2026 ...