Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pumask_intersects - (*src1p & *src2p) != 0*@src1p: the first input*@src2p: the second input

Proto:static inline bool cpumask_intersects(const struct cpumask *src1p, const struct cpumask *src2p)

Type:bool

Parameter:

TypeParameterName
const struct cpumask *src1p
const struct cpumask *src2p
514  Return 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)
Caller
NameDescribe
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.