Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/resctrl/rdtgroup.c rdtgroup_destroy_root() -> kernfs_destroy_root()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &rdtgroup_mutex

fs/sysfs/mount.c sysfs_init() -> kernfs_destroy_root()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->flags 2
PARAM_VALUE 0 root->id_highbits 0
PARAM_VALUE 0 root->ino_idr.idr_base 0
PARAM_VALUE 0 root->kernfs_iattr_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kernfs_idr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->kernfs_rename_lock.magic 3736018669
PARAM_VALUE 0 root->kernfs_rename_lock.owner (-1)
PARAM_VALUE 0 root->kernfs_rename_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->kernfs_rwsem.count.counter 0
PARAM_VALUE 0 root->kernfs_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kernfs_rwsem.first_waiter 0
PARAM_VALUE 0 root->kernfs_rwsem.owner.counter 0
PARAM_VALUE 0 root->kernfs_supers_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kn->active.counter (-2147483647)
PARAM_VALUE 0 root->kn->count.counter 1
PARAM_VALUE 0 root->kn->flags 1
PARAM_VALUE 0 root->kn->priv 0
PARAM_VALUE 0 root->last_id_lowbits 0-s32max
PARAM_VALUE 0 root->syscall_ops 0
BUF_SIZE 0 root 880
BUF_SIZE 0 root 880
DATA_SOURCE 0 root r kernfs_create_root
NOCHECK_CALL

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

Type Parameter Key Value
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

kernel/cgroup/cgroup.c cgroup_setup_root() -> kernfs_destroy_root()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->flags 29
PARAM_VALUE 0 root->id_highbits 0
PARAM_VALUE 0 root->ino_idr.idr_base 0
PARAM_VALUE 0 root->kernfs_iattr_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kernfs_idr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->kernfs_rename_lock.magic 3736018669
PARAM_VALUE 0 root->kernfs_rename_lock.owner (-1)
PARAM_VALUE 0 root->kernfs_rename_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->kernfs_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kernfs_supers_rwsem.dep_map->name 0-255
PARAM_VALUE 0 root->kn->active.counter (-2147483647)
PARAM_VALUE 0 root->kn->count.counter 1
PARAM_VALUE 0 root->kn->flags 1
PARAM_VALUE 0 root->last_id_lowbits 0-s32max
PARAM_VALUE 0 root->syscall_ops 6386807901005438976,7426950218074157056
BUF_SIZE 0 root 880
BUF_SIZE 0 root 880
DATA_SOURCE 0 root r kernfs_create_root
BIT_INFO 0 root->syscall_ops 0x400053d228106000,0x7fb3fffffcd7f000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &cgroup_mutex