Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/kernfs/file.c kernfs_fop_open() -> kernfs_get_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->__parent | 0 |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | kn | unit_array_size |
fs/kernfs/file.c kernfs_get_active_of() -> kernfs_get_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | kn | unit_array_size |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sf->lock |
fs/kernfs/dir.c kernfs_iop_mkdir() -> kernfs_get_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->__parent | 0 |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | kn | unit_array_size |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/kernfs/dir.c kernfs_iop_rename() -> kernfs_get_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->__parent | 0 |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | kn | r kernfs_dentry_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/kernfs/dir.c kernfs_iop_rename() -> kernfs_get_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | kn | unit_array_size |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/kernfs/dir.c kernfs_iop_rmdir() -> kernfs_get_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kn | 4096-ptr_max |
| PARAM_VALUE | 0 | kn->__parent | 0 |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | kn | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | kn | r kernfs_dentry_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |