函数逻辑报告

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_intersects - (*src1p & *src2p) != 0*@src1p: the first input*@src2p: the second input

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

返回类型:bool

参数:

类型参数名称
const struct cpumask *src1p
const struct cpumask *src2p
514  返回:bitmap_intersects(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)
调用者
名称描述
rdtgroup_pseudo_locked_in_hierarchydtgroup_pseudo_locked_in_hierarchy - Pseudo-locked region in cache hierarchy*@d: RDT domain under test* The setup of a pseudo-locked region affects all cache instances within* the hierarchy of the region
topology_span_saneEnsure topology masks are sane, i.e. there are no conflicts (overlaps) for* any two given CPUs at this (non-NUMA) topology level.
get_nodes_in_cpumask
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
validate_changevalidate_change() - Used to validate that any proposed cpuset change* follows the structural rules for cpusets
cpuset_hotplug_update_taskspuset_hotplug_update_tasks - update tasks in a cpuset for hotunplug*@cs: cpuset in interest*@tmp: the tmpmasks structure pointer* Compare @cs's cpu and mem masks against top_cpuset and if some have gone* offline, update @cs accordingly
padata_validate_cpumaskIf cpumask contains no active cpu, we mark the instance as invalid.