Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 4 files:
- fs/nfs/dir.c, line 2083
- fs/nfs/fscache.c, line 232
- fs/nfs/inode.c, line 1345
- fs/nfs/nfs4file.c, line 91
Smatch caller information:
fs/nfs/inode.c nfs_open() -> nfs_fscache_open_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | filp | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_cred | 0,4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_cred->non_rcu | 0 |
| PARAM_VALUE | 1 | filp->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | filp->private_data | 0,4096-ptr_max |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp->__f_path.dentry | (-1)-s32max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | filp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | filp->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | filp->f_flags | 0-u32max |
| USER_DATA | 1 | filp->f_mode | 0,4-u32max[c] |
| USER_DATA | 1 | filp->private_data->dentry->__d_name.hash | 0-4294967295[c] |
| USER_DATA | 1 | filp->private_data->dentry->d_parent->__d_name.hash | 0-4294967295[c] |
| USER_DATA | 1 | filp->private_data->dentry->d_sb->s_flags | s64min-s64max[c] |
| USER_DATA | 1 | filp->private_data->lock_context.open_context->mode | 0-3,32-35[c] |
| USER_DATA | 1 | filp->private_data->mode | 0-3,32-35[c] |
| USER_DATA | 1 | filp->private_data->state->state | 0-4294967295[c] |
| USER_DATA | 1 | *filp->private_data->dentry->__d_name.name | 0-255 |
| USER_DATA | 1 | *filp->private_data->dentry->d_parent->__d_name.name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | filp->__f_path.dentry->__d_name.name |
fs/nfs/nfs4file.c nfs4_file_open() -> nfs_fscache_open_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | filp | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_cred | 0,4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_cred->non_rcu | 0 |
| PARAM_VALUE | 1 | filp->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | filp->private_data | 0,4096-ptr_max |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp->__f_path.dentry | (-1),1-s32max |
| CAPPED_DATA | 0 | inode | 1 |
| DATA_SOURCE | 1 | filp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | filp->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | filp->f_flags | 0-u32max |
| USER_DATA | 1 | filp->f_mode | 0,4-u32max |
| USER_DATA | 1 | filp->private_data->dentry->__d_name.hash | 0-4294967295[c] |
| USER_DATA | 1 | filp->private_data->dentry->d_parent->__d_name.hash | 0-4294967295[c] |
| USER_DATA | 1 | filp->private_data->dentry->d_sb->s_flags | s64min-s64max[c] |
| USER_DATA | 1 | filp->private_data->lock_context.open_context->mode | 0-3,32-35[c] |
| USER_DATA | 1 | filp->private_data->mode | 0-3,32-35[c] |
| USER_DATA | 1 | filp->private_data->state->state | 0-4294967295[c] |
| USER_DATA | 1 | *filp->private_data->dentry->__d_name.name | 0-255 |
| USER_DATA | 1 | *filp->private_data->dentry->d_parent->__d_name.name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | filp->__f_path.dentry->__d_name.name |
fs/nfs/dir.c do_open() -> nfs_fscache_open_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_fop | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_fop->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_fop->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_fop->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | filp | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | filp->f_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_mode | 0,4-u32max |
| PARAM_VALUE | 1 | filp->f_op | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_op->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_inode->i_fop->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_inode->i_fop->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | filp->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | *filp->f_path.dentry->d_shortname.string | 0-255 |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 1 | filp->private_data | (-1),232 |
| CAPPED_DATA | 1 | filp->f_path.dentry | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | filp | $1 |
| BIT_INFO | 1 | filp->f_flags | 0x0,0xffdfffff |
| BIT_INFO | 1 | filp->f_mode | 0x1c,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | filp->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | filp->f_flags | 0-u32max |
| USER_DATA | 1 | filp->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | filp->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | filp->__f_path.dentry->__d_name.name |