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_start()

Type Parameter Key Value
PARAM_VALUE 1 flags 1
PARAM_VALUE 2 it 5014453759488540672
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &oom_lock

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

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 589192932054069248
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 2376953531303706624
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 4134330856892780544
BUF_SIZE 0 css (-1),392
BUF_SIZE 0 css (-1),392
DATA_SOURCE 0 css $0
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 1408247495112024064
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 2726603023523180544
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 6946020679434551296
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 2724154275130363904
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 0 css->flags 2-u32max
PARAM_VALUE 1 flags 3
PARAM_VALUE 2 it 3310485343769960448
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_start()

Type Parameter Key Value
PARAM_VALUE 1 flags 0,3
PARAM_VALUE 2 it 4096-ptr_max
BUF_SIZE 2 it 104
DATA_SOURCE 1 flags $2
HARD_MAX 1 flags 3
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_procs_start() -> css_task_iter_start()

Type Parameter Key Value
PARAM_VALUE 1 flags 0,3
PARAM_VALUE 2 it 4096-ptr_max
PARAM_VALUE 2 it->cur_cset 0,4096-ptr_max
PARAM_VALUE 2 it->cur_cset->dom_cset 4096-ptr_max
PARAM_VALUE 2 it->cur_cset->dom_cset->dom_cset 4096-ptr_max
PARAM_VALUE 2 it->cur_cset->dom_cset->hlist->next->pprev 1-u64max
PARAM_VALUE 2 it->cur_cset->dom_cset->hlist.next->pprev 1-u64max
PARAM_VALUE 2 it->cur_cset->hlist->next->pprev 1-u64max
PARAM_VALUE 2 it->cur_cset->hlist.next->pprev 1-u64max
PARAM_VALUE 2 it->cur_dcset 0,4096-ptr_max
PARAM_VALUE 2 it->cur_dcset->dom_cset 4096-ptr_max
PARAM_VALUE 2 it->cur_dcset->dom_cset->hlist->next->pprev 1-u64max
PARAM_VALUE 2 it->cur_dcset->dom_cset->hlist.next->pprev 1-u64max
PARAM_VALUE 2 it->cur_dcset->hlist->next->pprev 1-u64max
PARAM_VALUE 2 it->cur_dcset->hlist.next->pprev 1-u64max
PARAM_VALUE 2 it->cur_task 0,4096-ptr_max
PARAM_VALUE 2 it->cur_task->rcu.func 1-u64max
PARAM_VALUE 2 it->cur_task->rcu.next 0
BUF_SIZE 2 it 104
CAPPED_DATA 2 it->cur_cset 1
DATA_SOURCE 1 flags $2
HARD_MAX 1 flags 3
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 7480017034817531904
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &dentry->d_lockref.lock

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

Type Parameter Key Value
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 5529024528591306752
NOCHECK_CALL
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 0 css->refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 1440032000429842432
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 4753112749810769920
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_start()

Type Parameter Key Value
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 4924568353275838464
BUF_SIZE 0 css (-1),392
BUF_SIZE 0 css (-1),392
DATA_SOURCE 0 css $0
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 0 css->flags 2-u32max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 890555463655104512
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_new() -> css_task_iter_start()

Type Parameter Key Value
PARAM_VALUE 1 flags 0-1,3
PARAM_VALUE 2 it 1-u64max
DATA_SOURCE 0 css $1
DATA_SOURCE 1 flags $2
DATA_SOURCE 2 it r bpf_mem_alloc
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 css 4096-ptr_max
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 6870749839296659456
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_start()

Type Parameter Key Value
PARAM_VALUE 0 css 1-u64max
PARAM_VALUE 0 css->ss->attach 0,2246200204970172416,2360154984384167936,3019800169015222272,5185209237867978752,6679637330912739328,6722154200619556864,8437287443062427648
PARAM_VALUE 0 css->ss->bind 0,5398039129788481536
PARAM_VALUE 0 css->ss->can_attach 0,1539697653209010176,2596895394050748416,3636412751287525376
PARAM_VALUE 0 css->ss->can_fork 0,5638613885127380992,6961295853237211136
PARAM_VALUE 0 css->ss->cancel_attach 0,1511532066655358976,4508251095385354240,4853635904863272960
PARAM_VALUE 0 css->ss->cancel_fork 0,5691029669975453696,7415222397819719680
PARAM_VALUE 0 css->ss->css_alloc 0,4096-ptr_max
PARAM_VALUE 0 css->ss->css_extra_stat_show 0,3458187449253036032
PARAM_VALUE 0 css->ss->css_free 0,4096-ptr_max
PARAM_VALUE 0 css->ss->css_killed 0,8358574337692954624
PARAM_VALUE 0 css->ss->css_local_stat_show 0,3145639222211608576
PARAM_VALUE 0 css->ss->css_offline 0,4096-ptr_max
PARAM_VALUE 0 css->ss->css_online 0,4096-ptr_max
PARAM_VALUE 0 css->ss->css_released 0,4856339823753781248,9148075606814478336
PARAM_VALUE 0 css->ss->css_reset 0,7327419871178485760
PARAM_VALUE 0 css->ss->css_rstat_flush 0,4093796338165313536,4446828206639517696
PARAM_VALUE 0 css->ss->depends_on 0,16
PARAM_VALUE 0 css->ss->dfl_cftypes 0,4096-ptr_max
PARAM_VALUE 0 css->ss->exit 0,7702225149594865664,8372473530682335232
PARAM_VALUE 0 css->ss->fork 0,4540472734013444096,7578242414286561280,8835910921598877696
PARAM_VALUE 0 css->ss->id 0-15
PARAM_VALUE 0 css->ss->legacy_cftypes 0,4096-ptr_max
PARAM_VALUE 0 css->ss->release 0,1980470231377797120
PARAM_VALUE 1 flags 0
PARAM_VALUE 2 it 7018071660548673536
BUF_SIZE 0 css (-1),392
BUF_SIZE 0 css (-1),392
DATA_SOURCE 0 css $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 rcu_read
HALF_LOCKED2 &of->mutex