Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
- fs/ceph/file.c, line 404
- fs/crypto/hooks.c, line 72
- fs/ext4/file.c, line 977
- fs/f2fs/file.c, line 629
- fs/ubifs/file.c, line 1662
Smatch caller information:
fs/f2fs/file.c f2fs_file_open() -> fscrypt_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| 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 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | filp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
fs/ext4/file.c ext4_file_open() -> fscrypt_file_open()
| 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_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 |
| 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 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | filp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
fs/ceph/file.c ceph_open() -> fscrypt_file_open()
| 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_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 |
| 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 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | filp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
fs/debugfs/file.c full_proxy_open_regular() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
fs/debugfs/file.c open_proxy_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
sound/core/sound.c snd_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
drivers/usb/core/file.c usb_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
fs/char_dev.c chrdev_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
drivers/char/misc.c misc_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/drm_drv.c drm_stub_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
drivers/hwtracing/intel_th/core.c intel_th_output_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/../../accel/drm_accel.c accel_stub_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
drivers/media/dvb-core/dvbdev.c dvb_device_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
sound/sound_core.c soundcore_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
drivers/char/mem.c memory_open() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
fs/ceph/file.c ceph_init_file() -> (struct file_operations)->open()
| Type | Parameter | Key | Value |
|---|
fs/open.c do_dentry_open() -> do_dentry_open param 1()
| 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_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_shortname.string | 0-255 |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp | (-1)-s32max |
| BUF_SIZE | 1 | filp->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 1 | filp->private_data | (-1),232 |
| CAPPED_DATA | 1 | filp->f_path.dentry | 1 |
| DATA_SOURCE | 1 | filp | $0 |
| BIT_INFO | 1 | filp->f_flags | 0x0,0xffdfffff |
| BIT_INFO | 1 | filp->f_mode | 0x1c,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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.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 |