Defined in 1 files as a prototype:
Defined in 4 files as a function:
- drivers/platform/chrome/wilco_ec/event.c, line 308 (as a function)
- tools/perf/arch/x86/tests/amd-ibs-via-core-pmu.c, line 24 (as a function)
- tools/perf/tests/event_groups.c, line 32 (as a function)
- tools/testing/selftests/powerpc/pmu/event.c, line 95 (as a function)
Referenced in 65 files:
- drivers/platform/chrome/wilco_ec/event.c, line 406
- tools/perf/arch/x86/tests/amd-ibs-via-core-pmu.c, line 52
- tools/perf/tests/event_groups.c
- tools/testing/selftests/powerpc/pmu/count_instructions.c, line 102
- tools/testing/selftests/powerpc/pmu/count_stcx_fail.c, line 114
- tools/testing/selftests/powerpc/pmu/ebb/back_to_back_ebbs_test.c, line 75
- tools/testing/selftests/powerpc/pmu/ebb/close_clears_pmcc_test.c, line 28
- tools/testing/selftests/powerpc/pmu/ebb/cycles_test.c, line 28
- tools/testing/selftests/powerpc/pmu/ebb/cycles_with_freeze_test.c, line 68
- tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test.c, line 38
- tools/testing/selftests/powerpc/pmu/ebb/ebb.c, line 363
- tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c
- tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c, line 51
- tools/testing/selftests/powerpc/pmu/ebb/instruction_count_test.c, line 122
- tools/testing/selftests/powerpc/pmu/ebb/lost_exception_test.c, line 36
- tools/testing/selftests/powerpc/pmu/ebb/multi_ebb_procs_test.c, line 46
- tools/testing/selftests/powerpc/pmu/ebb/no_handler_test.c, line 31
- tools/testing/selftests/powerpc/pmu/ebb/pmae_handling_test.c, line 70
- tools/testing/selftests/powerpc/pmu/ebb/pmc56_overflow_test.c, line 62
- tools/testing/selftests/powerpc/pmu/ebb/regs_access_pmccext_test.c, line 29
- tools/testing/selftests/powerpc/pmu/event_code_tests/blacklisted_events_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/event_alternatives_tests_p10.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/event_alternatives_tests_p9.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/generic_events_valid_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_cache_test.c, line 36
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_l2l3_sel_test.c, line 40
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_mmcra_sample_test.c, line 33
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_pmc56_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_pmc_count_test.c, line 48
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_radix_scope_qual_test.c, line 36
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_repeat_test.c, line 35
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_thresh_cmp_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_thresh_ctl_test.c, line 40
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_thresh_sel_test.c, line 39
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_unit_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/group_pmc56_exclude_constraints_test.c, line 44
- tools/testing/selftests/powerpc/pmu/event_code_tests/hw_cache_event_type_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/invalid_event_code_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/reserved_bits_mmcra_sample_elig_mode_test.c
- tools/testing/selftests/powerpc/pmu/event_code_tests/reserved_bits_mmcra_thresh_ctl_test.c
- tools/testing/selftests/powerpc/pmu/l3_bank_test.c, line 31
- tools/testing/selftests/powerpc/pmu/per_event_excludes.c, line 60
- tools/testing/selftests/powerpc/pmu/sampling_tests/bhrb_filter_map_test.c
- tools/testing/selftests/powerpc/pmu/sampling_tests/bhrb_no_crash_wo_pmu_test.c, line 50
- tools/testing/selftests/powerpc/pmu/sampling_tests/intr_regs_no_crash_wo_pmu_test.c, line 48
- tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c, line 118
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_cc56run_test.c, line 31
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_exceptionbits_test.c, line 30
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_fc56_pmc1ce_test.c, line 30
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_fc56_pmc56_test.c, line 30
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_pmccext_test.c, line 31
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr0_pmcjce_test.c, line 30
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr1_comb_test.c, line 34
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr1_sel_unit_cache_test.c, line 39
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr2_fcs_fch_test.c, line 49
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr2_l2l3_test.c, line 36
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcr3_src_test.c, line 35
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_any_test.c, line 40
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_cond_test.c, line 44
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_disable_no_branch_test.c, line 39
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_disable_test.c, line 41
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_ind_call_test.c, line 44
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_thresh_cmp_test.c, line 45
- tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_thresh_marked_sample_test.c, line 35
- tools/testing/selftests/powerpc/security/spectre_v2.c, line 148
Smatch caller information:
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 |