Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-28 05:34:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1

Proto:static inline int cpumask_and(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p)

Type:int

Parameter:

TypeParameterName
struct cpumask *dstp
const struct cpumask *src1p
const struct cpumask *src2p
421  Return bitmap_and(cpumask_bits - get the bits in a cpumask*@maskp: the struct cpumask ** You should only assume nr_cpu_ids bits of this mask are valid. This is* a macro so it's const-correct.(dstp), cpumask_bits - get the bits in a cpumask*@maskp: the struct cpumask ** You should only assume nr_cpu_ids bits of this mask are valid. This is* a macro so it's const-correct.(src1p), cpumask_bits - get the bits in a cpumask*@maskp: the struct cpumask ** You should only assume nr_cpu_ids bits of this mask are valid. This is* a macro so it's const-correct.(src2p), nr_cpumask_bits)
Caller
NameDescribe
init_test_configurtion
cpumask_rdtgrp_clear
cpus_ctrl_write
assign_irq_vector
assign_irq_vector_any_locked
assign_managed_vector
activate_managed
wq_calc_node_cpumaskwq_calc_node_cpumask - calculate a wq_attrs' cpumask for the specified node*@attrs: the wq_attrs of the default pwq of the target workqueue*@node: the target NUMA node*@cpu_going_down: if >= 0, the CPU to consider as offline*@cpumask: outarg, the
apply_wqattrs_prepareallocate the attrs and pwqs for later installation
workqueue_set_unbound_cpumaskworkqueue_set_unbound_cpumask - Set the low-level unbound cpumask*@cpumask: the cpumask to set* The low-level workqueues cpumask is a global cpumask that limits* the affinity of all unbound workqueues. This function check the @cpumask
sched_setaffinity
sched_getaffinity
cpupri_findpupri_find - find the best (lowest-pri) CPU in the system*@cp: The cpupri context*@p: The task*@lowest_mask: A mask to fill in with selected CPUs (or NULL)* Note: This function returns the recommended CPUs as calculated during the* current invocation
cpudl_findpudl_find - find the best (later-dl) CPU in the system*@cp: the cpudl max-heap context*@p: the task*@later_mask: a mask to fill in with the selected CPUs (or NULL)* Returns: int - CPUs were found
sd_init
sched_init_domainsSet up scheduler domains and groups. For now this just excludes isolated* CPUs, but could be used to exclude other special cases in the future.
partition_sched_domains_lockedPartition sched domains as specified by the 'ndoms_new'* cpumasks in the array doms_new[] of cpumasks. This compares* doms_new[] to the current sched domain partitioning, doms_cur[].* It destroys each deleted domain and builds each new domain.
alloc_nodes_vectorsAllocate vector number for each node, so that for each node:* 1) the allocated number is >= 1* 2) the allocated numbver is <= active CPU number of this node* The actual allocated total vectors may be less than @numvecs when
__irq_build_affinity_masks
tick_do_periodic_broadcastPeriodic broadcast:* - invoke the broadcast handlers
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs
guarantee_online_cpusReturn in pmask the portion of a cpusets's cpus_allowed that* are online. If none are online, walk up the cpuset hierarchy* until we find one that does have some online cpus.* One way or another, we guarantee to return some non-empty subset
compute_effective_cpumaskmpute_effective_cpumask - Compute the effective cpumask of the cpuset*@new_cpus: the temp variable for the new effective_cpus mask*@cs: the cpuset the need to recompute the new effective_cpus mask*@parent: the parent cpuset* If the parent has subpartition
update_parent_subparts_cpumaskpdate_parent_subparts_cpumask - update subparts_cpus mask of parent cpuset*@cpuset: The cpuset that requests change in partition root state*@cmd: Partition root state change command*@newmask: Optional new cpumask for partcmd_update*@tmp: Temporary addmask
proc_watchdog_updatePropagate any changes to the watchdog threads
move_to_next_cpu
start_kthreadstart_kthread - Kick off the hardware latency sampling/detector kthread* This starts the kernel thread that will sit and sample the CPU timestamp* counter (TSC or similar) and look for potential hardware latencies.
padata_replace
padata_allocpadata_alloc - allocate and initialize a padata instance and specify* cpumasks for serial and parallel workers