Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cgroup/cpuset.c cpuset_mems_allowed_intersects() -> __nodes_intersects()

Type Parameter Key Value
PARAM_VALUE 0 src1p 4096-ptr_max
PARAM_VALUE 1 src2p 4096-ptr_max
PARAM_VALUE 2 nbits 1024
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &oom_lock
LOCK2 rcu_read

kernel/cgroup/cpuset.c cpuset_nodemask_valid_mems_allowed() -> __nodes_intersects()

Type Parameter Key Value
PARAM_VALUE 0 src1p 1-u64max
PARAM_VALUE 1 src2p 4096-ptr_max
PARAM_VALUE 2 nbits 1024
BUF_SIZE 0 src1p (-1)-0,128,384
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &hugetlb_lock
HALF_LOCKED2 irq

kernel/cgroup/cpuset.c mems_excl_conflict() -> __nodes_intersects()

Type Parameter Key Value
PARAM_VALUE 0 src1p 4096-ptr_max
PARAM_VALUE 1 src2p 4096-ptr_max
PARAM_VALUE 2 nbits 1024
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 global &cpuset_top_mutex

mm/mempolicy.c apply_policy_zone() -> __nodes_intersects()

Type Parameter Key Value
PARAM_VALUE 0 src1p 4096-ptr_max
PARAM_VALUE 1 src2p 2407241423065825296
PARAM_VALUE 2 nbits 1024
BUF_SIZE 1 src2p 512
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &hugetlb_lock
HALF_LOCKED2 irq

mm/mempolicy.c mempolicy_in_oom_domain() -> __nodes_intersects()

Type Parameter Key Value
PARAM_VALUE 0 src1p 4096-ptr_max
PARAM_VALUE 1 src2p 1-u64max
PARAM_VALUE 2 nbits 1024
BUF_SIZE 1 src2p (-1)-0,128,384
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tsk->alloc_lock
LOCK2 global &oom_lock
LOCK2 rcu_read
TYPE_LOCK (struct task_struct)->alloc_lock