Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/base/devtmpfs.c, line 232
- fs/ecryptfs/inode.c, line 577
- fs/namei.c
- fs/nfsd/vfs.c, line 1848
- fs/overlayfs/overlayfs.h, line 266
- include/linux/fs.h, line 1805
- net/unix/af_unix.c, line 1379
Smatch caller information:
fs/ecryptfs/inode.c ecryptfs_mknod() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_parent | 4096-ptr_max |
| PARAM_VALUE | 5 | delegated_inode | 0 |
| BUF_SIZE | 2 | dentry | 1-s32max |
| BUF_SIZE | 2 | dentry | 1-s32max |
| DATA_SOURCE | 2 | dentry | r ecryptfs_start_creating_dentry |
| DATA_SOURCE | 3 | mode | $3 |
| DATA_SOURCE | 4 | dev | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mode | 0-u16max[c] |
| USER_DATA | 4 | dev | 0-u32max[c] |
| HALF_LOCKED2 | _T->lock |
fs/namei.c filename_mknodat() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry | 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 | 5 | delegated_inode | 2886034689772429312 |
| PARAM_VALUE | 5 | delegated_inode->di_inode | 0 |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| DATA_SOURCE | 2 | dentry | r filename_create |
| DATA_SOURCE | 3 | mode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mode | 0-u16max |
| USER_DATA | 4 | dev | 0-u32max[c] |
fs/namei.c filename_mknodat() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry | 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 | 4 | dev | 0 |
| PARAM_VALUE | 5 | delegated_inode | 2886034689772429312 |
| PARAM_VALUE | 5 | delegated_inode->di_inode | 0 |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| DATA_SOURCE | 2 | dentry | r filename_create |
| DATA_SOURCE | 3 | mode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mode | 0-u16max |
fs/overlayfs/dir.c ovl_do_mknod() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 5 | delegated_inode | 0 |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| DATA_SOURCE | 4 | dev | $4 |
| PREEMPT_ADD | |||
| 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 |
| USER_DATA | 4 | dev | 0-u32max[c] |
| UNITS | 4 | dev | unit_array_size |
fs/overlayfs/dir.c vfs_whiteout() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 3 | mode | 8192 |
| PARAM_VALUE | 4 | dev | 0 |
| PARAM_VALUE | 5 | delegated_inode | 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &ofs->workdir->d_lockref.lock |
net/unix/af_unix.c unix_bind_bsd() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 4 | dev | 0 |
| PARAM_VALUE | 5 | delegated_inode | 0 |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| CAPPED_DATA | 3 | mode | 1 |
| DATA_SOURCE | 2 | dentry | r start_creating_path |
| BIT_INFO | 3 | mode | 0xc000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &o2nm_cluster_group.cs_subsys.su_mutex |
fs/nfsd/vfs.c nfsd_create_locked() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 5 | delegated_inode | 0 |
| DATA_SOURCE | 2 | dentry | r dget |
| DATA_SOURCE | 4 | dev | $4 |
drivers/base/devtmpfs.c handle_create() -> vfs_mknod()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 3 | mode | 1-u16max |
| PARAM_VALUE | 5 | delegated_inode | 0 |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| DATA_SOURCE | 2 | dentry | r start_creating_path |
| DATA_SOURCE | 3 | mode | $1 |
| UNITS | 4 | dev | unit_array_size |