Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/cgroup/cgroup.c cgroup_destroy_root() -> cgroup_free_root()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->cgrp.self.children.next 4096-ptr_max
PARAM_VALUE 0 root->kf_root 4096-ptr_max
PARAM_VALUE 0 root->kf_root->kn->active.counter s32min-s32max
PARAM_VALUE 0 root->kf_root->kn->count.counter s32min-s32max
PARAM_VALUE 0 root->kf_root->kn->flags 0-u16max
PARAM_VALUE 0 root->kf_root->kn->hash 0-4294967295
PARAM_VALUE 0 root->kf_root->kn->mode 0-u16max
PARAM_VALUE 0 root->nr_cgrps.counter 0
PARAM_VALUE 0 root->root_list.next->prev 4096-ptr_max
CAPPED_DATA 0 root->kf_root->kn 1
CAPPED_DATA 0 &root->root_list 1
DATA_SOURCE 0 root $0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

kernel/cgroup/cgroup-v1.c cgroup1_root_to_use() -> cgroup_free_root()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->cgrp.self.rstat_flush_next 0,4096-ptr_max
PARAM_VALUE 0 root->hierarchy_id 0-s32max
PARAM_VALUE 0 root->kf_root 0,(-12)
PARAM_VALUE 0 root->kf_root->flags 29
PARAM_VALUE 0 root->kf_root->id_highbits 0
PARAM_VALUE 0 root->kf_root->ino_idr.idr_base 0
PARAM_VALUE 0 root->kf_root->kernfs_iattr_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kf_root->kernfs_idr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->kf_root->kernfs_rename_lock.magic 3736018669
PARAM_VALUE 0 root->kf_root->kernfs_rename_lock.owner (-1)
PARAM_VALUE 0 root->kf_root->kernfs_rename_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->kf_root->kernfs_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kf_root->kernfs_supers_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kf_root->kn->active.counter s32min-s32max
PARAM_VALUE 0 root->kf_root->kn->count.counter s32min-s32max
PARAM_VALUE 0 root->kf_root->kn->flags 0-u16max
PARAM_VALUE 0 root->kf_root->last_id_lowbits 0-s32max
PARAM_VALUE 0 root->kf_root->syscall_ops 6386807901005438976,7426950218074157056
PARAM_VALUE 0 root->nr_cgrps.counter 1
BUF_SIZE 0 root 16384
DATA_SOURCE 0 root r _kzalloc_noprof
NS_CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex