Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/f2fs/namei.c __f2fs_tmpfile() -> f2fs_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->tmpfile | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | name | 0 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | mode | 0-u16max[c] |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/f2fs/namei.c f2fs_create() -> f2fs_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->create | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| BUF_SIZE | 3 | name | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | mode | 0-4094,32768-36863[c] |
| UNITS | 3 | name | unit_byte |
| HALF_LOCKED2 | 1 | &dir->i_rwsem |
fs/f2fs/namei.c f2fs_mkdir() -> f2fs_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mkdir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | mode | 16384-17407 |
| PARAM_VALUE | 3 | name | 0 |
| BUF_SIZE | 1 | dir | (-1),1160 |
| BUF_SIZE | 1 | dir | (-1),1160 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | mode | $3 |
| BIT_INFO | 2 | mode | 0x4000,0x7fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_mode | 0-u16max |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 2 | mode | 16384-17407[c] |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/f2fs/namei.c f2fs_mknod() -> f2fs_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mknod | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 3 | name | 0 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_mode | 0-u16max |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 2 | mode | 0-u16max[c] |
| HALF_LOCKED2 | _T->lock |
fs/f2fs/namei.c f2fs_symlink() -> f2fs_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->symlink | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | mode | 41471 |
| PARAM_VALUE | 3 | name | 0 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_mode | 0-u16max |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |