Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/firmware/tegra/bpmp-debugfs.c
- drivers/gpu/drm/i915/gt/intel_gt_debugfs.h, line 32
- drivers/net/ethernet/marvell/octeontx2/af/cn20k/debugfs.c, line 168
- drivers/platform/x86/msi-wmi-platform.c, line 276
- drivers/scsi/scsi_proc.c, line 97
- fs/proc/stat.c, line 164
- fs/seq_file.c, line 609
- sound/core/info.c, line 364
Smatch caller information:
drivers/scsi/scsi_proc.c proc_scsi_host_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 4954493211920293888 |
| PARAM_VALUE | 3 | size | 16384 |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| BUF_SIZE | 2 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
fs/proc/stat.c stat_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 104177867099619328 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c guc_load_err_log_dump_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 5936399897616191488 |
| PARAM_VALUE | 3 | size | 0-u32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| BUF_SIZE | 2 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| UNITS | 2 | data | unit_array_size |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c guc_log_dump_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 7512046346840322048 |
| PARAM_VALUE | 3 | size | 0-u32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| BUF_SIZE | 2 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| UNITS | 2 | data | unit_array_size |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
drivers/platform/x86/msi-wmi-platform.c msi_wmi_platform_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 2571754896263593984 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| BUF_SIZE | 2 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| UNITS | 2 | data | unit_array_size |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
sound/core/info.c snd_info_text_entry_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 2887251633327788032 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 1-u64max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| UNITS | 3 | size | unit_byte |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name | |
| LOCK2 | _T->lock |
drivers/net/ethernet/marvell/octeontx2/af/cn20k/debugfs.c npc_mcam_dstats_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 672410559574364160 |
| PARAM_VALUE | 3 | size | 1048576 |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| BUF_SIZE | 2 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| UNITS | 2 | data | unit_array_size |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
drivers/net/ethernet/marvell/octeontx2/af/cn20k/debugfs.c npc_mcam_mismatch_open() -> single_open_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | show | 7382174478653747200 |
| PARAM_VALUE | 3 | size | 1048576 |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1),1-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| BUF_SIZE | 2 | data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max |
| USER_DATA | 0 | file->f_mode | 0,4-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| UNITS | 2 | data | unit_array_size |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |