Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/f2fs/namei.c fscrypt_prepare_link() -> __fscrypt_prepare_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| 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->link | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mknod | 0,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_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_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| 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 | 1 |
| 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 | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| BIT_INFO | 1 | dir->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ubifs/dir.c fscrypt_prepare_link() -> __fscrypt_prepare_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| 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->link | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mknod | 0,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_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_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| 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 | 1 |
| 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 | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| BIT_INFO | 1 | dir->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/dir.c fscrypt_prepare_link() -> __fscrypt_prepare_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| 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->link | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mknod | 0,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_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_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| 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_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_sb->s_fs_info | 4096-ptr_max |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| CAPPED_DATA | 1 | dir->i_sb | 1 |
| 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 | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| BIT_INFO | 1 | dir->i_flags | 0x4000,0xffffffff |
| BIT_INFO | 2 | dentry->d_flags | 0x0,0xffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c fscrypt_prepare_link() -> __fscrypt_prepare_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| 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->link | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mknod | 0,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_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_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 2 | dentry->d_inode->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| 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 | 1 |
| 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 | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| BIT_INFO | 1 | dir->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |