Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ntfs/namei.c ntfs_create() -> __ntfs_create()
| 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 |
| PARAM_VALUE | 2 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | *name | 0-u16max |
| PARAM_VALUE | 4 | mode | 32768-98303 |
| PARAM_VALUE | 5 | dev | 0 |
| PARAM_VALUE | 6 | target | 0 |
| PARAM_VALUE | 7 | target_len | 0 |
| CAPPED_DATA | 3 | name_len | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 3 | name_len | r ntfs_nlstoucs |
| BIT_INFO | 4 | mode | 0x8000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | mode | 32768-36862,65536-69631[c] |
| HALF_LOCKED2 | 1 | &dir->i_rwsem |
fs/ntfs/namei.c ntfs_mkdir() -> __ntfs_create()
| 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 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | *name | 0-u16max |
| PARAM_VALUE | 4 | mode | 16384-17407 |
| PARAM_VALUE | 5 | dev | 0 |
| PARAM_VALUE | 6 | target | 0 |
| PARAM_VALUE | 7 | target_len | 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 |
| CAPPED_DATA | 3 | name_len | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 3 | name_len | r ntfs_nlstoucs |
| DATA_SOURCE | 4 | mode | $3 |
| BIT_INFO | 4 | 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 | 4 | mode | 16384-17407[c] |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ntfs/namei.c ntfs_mknod() -> __ntfs_create()
| 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 | 2 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | *name | 0-u16max |
| PARAM_VALUE | 6 | target | 0 |
| PARAM_VALUE | 7 | target_len | 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 |
| CAPPED_DATA | 3 | name_len | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 3 | name_len | r ntfs_nlstoucs |
| DATA_SOURCE | 4 | mode | $3 |
| DATA_SOURCE | 5 | dev | $4 |
| 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 | 4 | mode | 0-u16max[c] |
| USER_DATA | 5 | dev | 0-u32max[c] |
| HALF_LOCKED2 | _T->lock |
fs/ntfs/namei.c ntfs_mknod() -> __ntfs_create()
| 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 | 2 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | *name | 0-u16max |
| PARAM_VALUE | 5 | dev | 0 |
| PARAM_VALUE | 6 | target | 0 |
| PARAM_VALUE | 7 | target_len | 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 |
| CAPPED_DATA | 3 | name_len | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 3 | name_len | r ntfs_nlstoucs |
| DATA_SOURCE | 4 | 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 | 4 | mode | 0-u16max[c] |
| HALF_LOCKED2 | _T->lock |
fs/ntfs/namei.c ntfs_symlink() -> __ntfs_create()
| 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 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | *name | 0-u16max |
| PARAM_VALUE | 4 | mode | 41471 |
| PARAM_VALUE | 5 | dev | 0 |
| PARAM_VALUE | 7 | target_len | 0-1010101 |
| BUF_SIZE | 6 | target | (-1)-s32max |
| BUF_SIZE | 6 | target | (-1)-s32max |
| 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 |
| CAPPED_DATA | 3 | name_len | 1 |
| CAPPED_DATA | 7 | target_len | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 3 | name_len | r ntfs_nlstoucs |
| DATA_SOURCE | 6 | target | $3 |
| DATA_SOURCE | 7 | target_len | r __fortify_strlen |
| STR_LEN | 0 | idmap | 0-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_mode | 0-u16max |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |