Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/configfs/dir.c configfs_depend_item_unlocked() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | item | (-1),80 |
| BUF_SIZE | 0 | item | (-1),80 |
| DATA_SOURCE | 0 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &opts->dep_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | global &tpg_instances_lock |
fs/configfs/dir.c configfs_depend_item_unlocked() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &opts->dep_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | global &tpg_instances_lock |
fs/configfs/dir.c configfs_depend_item_unlocked() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &opts->dep_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | global &tpg_instances_lock |
fs/configfs/dir.c configfs_depend_item_unlocked() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-3246143868143173631,3246143868143173633-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &opts->dep_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | global &tpg_instances_lock |
fs/configfs/dir.c link_group() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | global &configfs_subsystem_mutex |
fs/configfs/symlink.c fill_item_path() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &configfs_symlink_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/configfs/symlink.c fill_item_path() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &configfs_symlink_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/configfs/symlink.c item_depth() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &configfs_symlink_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/configfs/symlink.c item_path_length() -> configfs_is_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | global &configfs_symlink_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |