函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-27 06:38:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in.

函数原型:static inline unsigned int cpumask_weight(const struct cpumask *srcp)

返回类型:unsigned int

参数:

类型参数名称
const struct cpumask *srcp
556  返回:bitmap_weight(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.(srcp), nr_cpumask_bits)
调用者
名称描述
cpus_mon_write
cpus_ctrl_write
rdtgroup_cpus_write
set_cpu_sibling_map
sd_degenerate
update_top_cache_domain
init_overlap_sched_group
get_groupPackage topology (also see the load-balance blurb in fair
init_sched_groups_capacityInitialize sched groups cpu_capacity
sd_init
build_sched_domainsBuild sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs
irq_reserve_ipiq_reserve_ipi() - Setup an IPI to destination cpumask*@domain: IPI domain*@dest: cpumask of cpus which can receive the IPI* Allocate a virq that can be used to send IPI to any CPU in dest mask
irq_destroy_ipiq_destroy_ipi() - unreserve an IPI that was previously allocated*@irq: linux irq number to be destroyed*@dest: cpumask of cpus which should have the IPI removed* The IPIs allocated with irq_reserve_ipi() are retuerned to the system
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
irq_calc_affinity_vectorsq_calc_affinity_vectors - Calculate the optimal number of vectors*@minvec: The minimum number of vectors available*@maxvec: The maximum number of vectors available*@affd: Description of the affinity requirements
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs
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
update_cpumasks_hierpdate_cpumasks_hier - Update effective cpumasks and tasks in the subtree*@cs: the cpuset to consider*@tmp: temp variables for calculating effective_cpus & partition setup* When congifured cpumask is changed, the effective cpumasks of this cpuset
update_cpumaskpdate_cpumask - update the cpus_allowed mask of a cpuset and all tasks in it*@cs: the cpuset to consider*@trialcs: trial cpuset*@buf: buffer of cpu numbers written to this cpuset
__stop_cpus
padata_cpu_hash
padata_do_parallelpadata_do_parallel - padata parallelization function*@ps: padatashell*@padata: object to be parallelized*@cb_cpu: pointer to the CPU that the serialization callback function should* run on. If it's not in the serial cpumask of @pinst* (i
policy_is_shared