Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

io_uring/sqpoll.c io_sq_offload_create() -> cpuset_cpus_allowed()

Type Parameter Key Value
PARAM_VALUE 1 pmask 1-u64max
NOCHECK_CALL

io_uring/io-wq.c io_wq_cpu_affinity() -> cpuset_cpus_allowed()

Type Parameter Key Value
PARAM_VALUE 1 pmask 1-u64max
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &ctx->uring_lock
HALF_LOCKED2 &sqd->lock

io_uring/io-wq.c io_wq_create() -> cpuset_cpus_allowed()

Type Parameter Key Value
PARAM_VALUE 1 pmask 1-u64max
NOCHECK_CALL

kernel/sched/build_policy.c __sched_setaffinity() -> cpuset_cpus_allowed()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
PARAM_VALUE 1 pmask 1-u64max
DATA_SOURCE 0 tsk $0
NOCHECK_CALL

kernel/sched/build_policy.c __sched_setaffinity() -> cpuset_cpus_allowed()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
PARAM_VALUE 0 tsk->core_node.__rb_parent_color 1
PARAM_VALUE 0 tsk->dl.inactive_timer.base->index 0-7
PARAM_VALUE 0 tsk->dl.rb_node.rb_left 0
PARAM_VALUE 0 tsk->migration_pending->arg.dest_cpu 0-8192
PARAM_VALUE 0 tsk->migration_pending->done.done 4294967295
PARAM_VALUE 0 tsk->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 tsk->mm->mm_cid.max_cids 0-s32max
PARAM_VALUE 0 tsk->mm->mm_cid.pcpu_thrs 1-1073741823
PARAM_VALUE 0 tsk->mm->mm_cid.update_deferred 1
PARAM_VALUE 0 tsk->pi_lock.dep_map->name 0-255
PARAM_VALUE 0 tsk->pi_lock.owner (-1)
PARAM_VALUE 0 tsk->pi_lock.owner_cpu u32max
PARAM_VALUE 0 tsk->policy 0-s32max
PARAM_VALUE 0 tsk->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 tsk->pushable_tasks.node_list.next->next 4096-ptr_max
PARAM_VALUE 0 tsk->pushable_tasks.node_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 tsk->pushable_tasks.prio_list.next->next 4096-ptr_max
PARAM_VALUE 0 tsk->pushable_tasks.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 0 tsk->pushable_tasks.prio_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 tsk->rseq.event.ids_changed 1
PARAM_VALUE 0 tsk->sched_migrated 1
PARAM_VALUE 0 tsk->se.avg.util_avg 0-u32max
PARAM_VALUE 0 tsk->se.cfs_rq->h_curr 0
PARAM_VALUE 0 tsk->se.cfs_rq->pelt_clock_throttled 1
PARAM_VALUE 0 tsk->se.cfs_rq->propagate 1
PARAM_VALUE 0 tsk->se.cfs_rq->removed.load_avg 0
PARAM_VALUE 0 tsk->se.cfs_rq->removed.lock.owner (-1)
PARAM_VALUE 0 tsk->se.cfs_rq->removed.lock.owner_cpu u32max
PARAM_VALUE 0 tsk->se.cfs_rq->removed.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 tsk->se.cfs_rq->removed.nr 0
PARAM_VALUE 0 tsk->se.cfs_rq->removed.runnable_avg 0
PARAM_VALUE 0 tsk->se.cfs_rq->removed.util_avg 0
PARAM_VALUE 0 tsk->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 tsk->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->softirq_expires_next 0-s64max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.inactive_timer.base 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.inactive_timer.flags 0-4294967295
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_left 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.inactive_timer.node.node.node.rb_right 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.pi_se 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.pi_se->pi_se 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.rb_node.__rb_parent_color 1
PARAM_VALUE 0 tsk->se.cfs_rq->rq->fair_server.rb_node.rb_left 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->leaf_cfs_rq_list.prev 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->leaf_cfs_rq_list.prev->next 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->tmp_alone_branch 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->tmp_alone_branch->next 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->tmp_alone_branch->next->prev 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->rq->tmp_alone_branch->prev 4096-ptr_max
PARAM_VALUE 0 tsk->se.cfs_rq->throttled_list.next 4096-ptr_max
PARAM_VALUE 0 tsk->se.group_node.next->next 4096-ptr_max
PARAM_VALUE 0 tsk->se.group_node.next->prev 4096-ptr_max
PARAM_VALUE 0 tsk->se.group_node.prev->next 4096-ptr_max
PARAM_VALUE 0 tsk->se.group_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 tsk->se.my_q 4096-ptr_max
PARAM_VALUE 0 tsk->se.my_q->prop_runnable_sum 0
PARAM_VALUE 0 tsk->se.my_q->propagate 0
PARAM_VALUE 0 tsk->se.parent 0,4096-ptr_max
PARAM_VALUE 0 tsk->se.sched_delayed 1
PARAM_VALUE 0 tsk->wake_cpu 0-8192
PARAM_VALUE 1 pmask 1-u64max
CAPPED_DATA 0 tsk 1
CAPPED_DATA 0 tsk->cgroups 1
DATA_SOURCE 0 tsk $0
NOCHECK_CALL

kernel/sched/core.c force_compatible_cpus_allowed_ptr() -> cpuset_cpus_allowed()

Type Parameter Key Value
PARAM_VALUE 0 tsk 4096-ptr_max
PARAM_VALUE 0 tsk->on_rq 0-1,3-255
PARAM_VALUE 0 tsk->pi_lock.dep_map->name 0-255
PARAM_VALUE 0 tsk->pi_lock.owner (-1)
PARAM_VALUE 0 tsk->pi_lock.owner_cpu u32max
PARAM_VALUE 0 tsk->policy 0-s32max
PARAM_VALUE 1 pmask 1-u64max
CAPPED_DATA 0 tsk 1
DATA_SOURCE 0 tsk $0
NOCHECK_CALL