Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/file.c btrfs_file_open() -> fsverity_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | filp | 4096-ptr_max |
| PARAM_VALUE | 1 | filp->f_mode | 0,4194304-u32max |
| 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 |
| BIT_INFO | 1 | filp->f_mode | 0x8400000,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,4194304-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/f2fs/file.c f2fs_file_open() -> fsverity_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping | 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->nm_info->available_nids | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->bitmap_size | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->dirty_nats_ratio | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->max_nid | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->max_rf_node_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->nat_bits_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->nat_blkaddr | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->nat_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->next_scan_nid | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->ra_nid_pages | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->ram_thresh | 0-4294967295 |
| 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 | 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() -> fsverity_file_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| 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->nm_info->available_nids | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->bitmap_size | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->dirty_nats_ratio | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->max_nid | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->max_rf_node_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->nat_bits_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->nat_blkaddr | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->nat_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->next_scan_nid | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->ra_nid_pages | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nm_info->ram_thresh | 0-4294967295 |
| 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 | 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 |