Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/shmem.c shmem_create() -> shmem_mknod()
| 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 | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 2 | dentry->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | dentry->d_op->d_dname | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | dentry->d_op->d_iput | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | dentry->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | dentry->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | dentry->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 4 | dev | 0 |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| BIT_INFO | 3 | mode | 0x8000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | dentry->d_parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | dentry->d_sb->s_flags | 0-u64max[c] |
| USER_DATA | 2 | *dentry->__d_name.name | 0-255 |
| USER_DATA | 2 | *dentry->d_parent->__d_name.name | 0-255 |
| USER_DATA | 3 | mode | 0-4095,32768-36862[c] |
| NO_OVERFLOW_SIMPLE | 2 | dentry->d_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 2 | dentry->d_sb->s_blocksize_bits | |
| USER_PTR | 2 | dentry->__d_name.name | |
| HALF_LOCKED2 | 1 | &dir->i_rwsem | |
| HALF_LOCKED2 | 2 | &dentry->d_lockref.lock |
mm/shmem.c shmem_mkdir() -> shmem_mknod()
| 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 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 2 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_op->d_dname | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_iput | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 3 | mode | 32768-33791 |
| PARAM_VALUE | 4 | dev | 0 |
| BUF_SIZE | 1 | dir | (-1),1160 |
| BUF_SIZE | 1 | dir | (-1),1160 |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| BUF_SIZE | 2 | dentry | (-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 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| BIT_INFO | 3 | 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 | dentry->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 3 | mode | 32768-33791[c] |
| HALF_LOCKED2 | 2 | &dentry->d_lockref.lock |
mm/shmem.c shmem_whiteout() -> shmem_mknod()
| 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_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->rename | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->__d_name.name | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_fsdata | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_hash.next | 0 |
| PARAM_VALUE | 2 | dentry->d_hash.pprev | 0 |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 2 | dentry->d_lockref.count | 1 |
| PARAM_VALUE | 2 | dentry->d_lru.next | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_lru.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_lru.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_lru.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_lru.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | dentry->d_op->d_dname | 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592 |
| PARAM_VALUE | 2 | dentry->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | dentry->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | dentry->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | dentry->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | dentry->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | dentry->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | dentry->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | dentry->d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | dentry->d_parent | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_parent->d_children->first->pprev | 1-u64max |
| PARAM_VALUE | 2 | dentry->d_parent->d_lockref.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | dentry->d_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_seq.seqcount.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | dentry->d_seq.seqcount.sequence | 0 |
| PARAM_VALUE | 2 | dentry->d_shortname.string | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_sib->pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_sib.pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->waiters | 0 |
| PARAM_VALUE | 3 | mode | 8192 |
| PARAM_VALUE | 4 | dev | 0 |
| CAPPED_DATA | 1 | dir | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | r d_alloc |
| TERMINATED | 2 | dentry->__d_name.name | 1 |
| TERMINATED | 2 | dentry->d_parent->__d_name.name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | dentry->d_parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | dentry->d_parent->d_inode->i_mode | 0-u16max |
| USER_DATA | 2 | dentry->d_parent->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 2 | dentry->d_parent->d_sb->s_flags | 0-u64max[c] |
| USER_DATA | 2 | dentry->d_sb->s_flags | 0-u64max[c] |
| USER_DATA | 2 | *dentry->__d_name.name | 0-255 |
| USER_DATA | 2 | *dentry->d_parent->__d_name.name | 0-255 |
| NO_OVERFLOW_SIMPLE | 2 | dentry->d_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 2 | dentry->d_sb->s_blocksize_bits | |
| USER_PTR | 2 | dentry->__d_name.name | |
| USER_PTR | 2 | dentry->d_parent->__d_name.name | |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/namei.c vfs_mknod() -> (struct inode_operations)->mknod()
| 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 | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | dentry | (-1),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 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| DATA_SOURCE | 3 | mode | r vfs_prepare_mode |
| DATA_SOURCE | 4 | dev | $4 |
| CONTAINER | 1 | -88-32+0 | $(-1) |
| 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 | 3 | mode | 0-u16max[c] |
| USER_DATA | 4 | dev | 0-u32max[c] |
| HALF_LOCKED2 | _T->lock |