Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/ext2/file.c, line 187
- fs/ext4/file.c, line 999
- fs/f2fs/file.c, line 648
- fs/jfs/file.c, line 51
- fs/quota/dquot.c, line 2178
Smatch caller information:
fs/jfs/file.c jfs_open() -> dquot_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),232 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | file->f_flags | 0-u32max |
| USER_DATA | 1 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | file->__f_path.dentry->__d_name.name |
fs/ext2/file.c ext2_file_open() -> dquot_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->f_mode | 0,4194304-u32max |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),232 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file | $1 |
| BIT_INFO | 1 | file->f_mode | 0x400000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | file->f_flags | 0-u32max |
| USER_DATA | 1 | file->f_mode | 0,4194304-u32max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | file->__f_path.dentry->__d_name.name |
fs/f2fs/file.c f2fs_file_open() -> dquot_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_data.host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->i_data.host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->no_chk_data_crc | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->ro_error | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->stats->crc_errors | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->stats->magic_errors | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->stats->node_errors | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->vfs_sb->s_blocksize_bits | 0-255 |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->f_mode | 0,4194304-u32max |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),232 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file | $1 |
| BIT_INFO | 1 | file->f_mode | 0x8400000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | file->f_flags | 0-u32max |
| USER_DATA | 1 | file->f_mode | 0,4194304-u32max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | file->__f_path.dentry->__d_name.name |
fs/ext4/file.c ext4_file_open() -> dquot_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_data.host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->i_data.host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->no_chk_data_crc | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->ro_error | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->stats->crc_errors | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->stats->magic_errors | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->stats->node_errors | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->tnc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->vfs_sb->s_blocksize_bits | 0-255 |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->f_mode | 0,4194304-u32max |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 1 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file | (-1)-s32max |
| BUF_SIZE | 1 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),232 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | file | $1 |
| BIT_INFO | 1 | file->f_mode | 0x8400000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | file->f_flags | 0-u32max |
| USER_DATA | 1 | file->f_mode | 0,4194304-u32max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 1 | file->__f_path.dentry->__d_name.name |