Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/kernfs/dir.c kernfs_remove() -> __kernfs_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->__parent | 0 |
| BUF_SIZE | 0 | kn | (-1)-s32max |
| BUF_SIZE | 0 | kn | (-1)-s32max |
| DATA_SOURCE | 0 | kn | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | kn->attr.size | |
| UNITS | 0 | kn | unit_array_size |
| LOCK2 | &root->kernfs_rwsem | ||
| LOCK2 | &root->kernfs_supers_rwsem | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | global &domain_list_lock | ||
| HALF_LOCKED2 | global &rdtgroup_mutex | ||
| TYPE_LOCK | (struct kernfs_root)->kernfs_rwsem | ||
| TYPE_LOCK | (struct kernfs_root)->kernfs_supers_rwsem |
fs/kernfs/dir.c kernfs_remove_by_name_ns() -> __kernfs_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->__parent | 0 |
| PARAM_VALUE | 0 | kn->hash | 2-2147483646 |
| PARAM_VALUE | 0 | kn->ns | 0,4096-ptr_max |
| CAPPED_DATA | 0 | kn->hash | 1 |
| DATA_SOURCE | 0 | kn | r kernfs_find_ns |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &root->kernfs_rwsem | ||
| LOCK2 | &root->kernfs_supers_rwsem | ||
| HALF_LOCKED2 | global &rdtgroup_mutex | ||
| TYPE_LOCK | (struct kernfs_root)->kernfs_rwsem | ||
| TYPE_LOCK | (struct kernfs_root)->kernfs_supers_rwsem |
fs/kernfs/dir.c kernfs_remove_self() -> __kernfs_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->__parent | 0 |
| PARAM_VALUE | 0 | kn->dep_map->name | 0-255 |
| CAPPED_DATA | 0 | kn->hash | 1 |
| DATA_SOURCE | 0 | kn | $0 |
| BIT_INFO | 0 | kn->flags | 0x400,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &root->kernfs_rwsem | ||
| LOCK2 | &root->kernfs_supers_rwsem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sess->lock | ||
| TYPE_LOCK | (struct kernfs_root)->kernfs_rwsem | ||
| TYPE_LOCK | (struct kernfs_root)->kernfs_supers_rwsem |