Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

mm/memcontrol.c mem_cgroup_scan_tasks() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 5014453759488540672
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0,4096-ptr_max
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &oom_lock

kernel/cgroup/legacy_freezer.c freeze_cgroup() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 589192932054069248
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &freezer_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/legacy_freezer.c unfreeze_cgroup() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 2376953531303706624
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &freezer_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/legacy_freezer.c update_if_frozen() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 4134330856892780544
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0,4096-ptr_max
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
LOCK2 global &freezer_mutex
TYPE_LOCK (struct seq_file)->lock

kernel/sched/build_policy.c tg_has_rt_tasks() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 1408247495112024064
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0,4096-ptr_max
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 rcu_read

kernel/cgroup/cpuset.c cpuset_update_tasks_cpumask() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 2726603023523180544
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 global &cpuset_top_mutex

kernel/cgroup/cpuset.c cpuset_update_tasks_nodemask() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 6946020679434551296
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cpuset_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &cpuset_top_mutex

kernel/cgroup/cpuset.c dl_update_tasks_root_domain() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 2724154275130363904
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &sched_domains_mutex
HALF_LOCKED2 global &cpuset_mutex

kernel/cgroup/cgroup.c __cgroup_kill() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 3310485343769960448
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/cgroup.c __cgroup_procs_start() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 4096-ptr_max
BUF_SIZE 0 it 104
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 &s->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct seq_file)->lock

kernel/cgroup/cgroup.c cgroup_destroy_locked() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 7480017034817531904
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0,4096-ptr_max
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &dentry->d_lockref.lock

kernel/cgroup/cgroup.c cgroup_procs_release() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 mutex
HALF_LOCKED2 &root->kernfs_rwsem

kernel/cgroup/cgroup-v1.c cgroup_transfer_tasks() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 5529024528591306752
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0,4096-ptr_max
MEM_ZERO 0 it
NOCHECK_CALL
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &pool->lock

kernel/cgroup/cgroup-v1.c cgroupstats_build() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 1440032000429842432
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

kernel/cgroup/cgroup-v1.c pidlist_array_load() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 4753112749810769920
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0,4096-ptr_max
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cgrp->pidlist_mutex
LOCK2 &of->mutex
LOCK2 &s->lock
TYPE_LOCK (struct cgroup)->pidlist_mutex
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct seq_file)->lock

net/core/netclassid_cgroup.c write_classid() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 4924568353275838464
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/freezer.c cgroup_do_freeze() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 890555463655104512
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/bpf/task_iter.c bpf_iter_css_task_destroy() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 1-u64max
NOCHECK_CALL

kernel/cgroup/cpuset-v1.c cpuset1_update_tasks_flags() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 6870749839296659456
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &cgroup_mutex
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 global &cpuset_top_mutex

kernel/sched/core.c uclamp_update_active_tasks() -> css_task_iter_end()

Type Parameter Key Value
PARAM_VALUE 0 it 7018071660548673536
PARAM_VALUE 0 it->cset_head 4096-ptr_max
PARAM_VALUE 0 it->cur_task 0
PARAM_VALUE 0 it->task_pos 0
MEM_ZERO 0 it
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 rcu_read
HALF_LOCKED2 &of->mutex