函数逻辑报告

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_subset - (*src1p & ~*src2p) == 0*@src1p: the first input*@src2p: the second input* Returns 1 if *@src1p is a subset of *@src2p, else returns 0

函数原型:static inline int cpumask_subset(const struct cpumask *src1p, const struct cpumask *src2p)

返回类型:int

参数:

类型参数名称
const struct cpumask *src1p
const struct cpumask *src2p
528  返回:bitmap_subset(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)
调用者
名称描述
pseudo_lock_dev_mmap
activate_reserved
get_unbound_poolget_unbound_pool - get a worker_pool with the specified attributes*@attrs: the attributes of the worker_pool to get* Obtain a worker_pool which has the same attributes as @attrs, bump the* reference count and return it
sched_setaffinity
build_sched_domain
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
ipi_send_verify
is_cpuset_subsets_cpuset_subset(p, q) - Is cpuset p a subset of cpuset q?* One cpuset is a subset of another if all its allowed CPUs and* Memory Nodes are a subset of the other, and its exclusive flags* are only set if the other's are set. Call holding cpuset_mutex.
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
cpuset_hotplug_workfnCPU / memory hotplug is handled asynchronously.
add_del_listener