Defined in 5 files as a member:
- drivers/accel/habanalabs/gaudi2/gaudi2.c, line 2541 (as a member)
- drivers/gpu/drm/amd/include/amd_shared.h, line 469 (as a member)
- include/linux/soc/ti/ti_sci_protocol.h, line 108 (as a member)
- include/uapi/drm/habanalabs_accel.h, line 958 (as a member)
- kernel/time/timer.c, line 261 (as a member)
Defined in 2 files as a function:
Referenced in 107 files:
- drivers/accel/habanalabs/common/habanalabs_ioctl.c, line 188
- drivers/accel/habanalabs/gaudi/gaudi.c, 7 times
- drivers/accel/habanalabs/gaudi2/gaudi2.c, 34 times
- drivers/accel/habanalabs/goya/goya.c, 5 times
- drivers/accel/ivpu/ivpu_pm.c, 4 times
- drivers/block/zram/zram_drv.c, 3 times
- drivers/firmware/ti_sci.c, line 3345
- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c, line 621
- drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c, line 348
- drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c, line 536
- drivers/gpu/drm/amd/amdgpu/cik.c, line 2171
- drivers/gpu/drm/amd/amdgpu/cik_ih.c, line 438
- drivers/gpu/drm/amd/amdgpu/cik_sdma.c, line 1228
- drivers/gpu/drm/amd/amdgpu/cz_ih.c, line 434
- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c, line 3270
- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c, line 3170
- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c, line 3187
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c, line 9824
- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c, line 7021
- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c, line 5306
- drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c, line 4189
- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c, line 3511
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c, line 4954
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c, line 6765
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c, line 7531
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c, line 3947
- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c, line 1121
- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c, line 1061
- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c, line 1166
- drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c, line 1135
- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c, line 1349
- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c, line 1595
- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c, line 2363
- drivers/gpu/drm/amd/amdgpu/iceland_ih.c, line 426
- drivers/gpu/drm/amd/amdgpu/ih_v6_0.c, line 791
- drivers/gpu/drm/amd/amdgpu/ih_v6_1.c, line 770
- drivers/gpu/drm/amd/amdgpu/ih_v7_0.c, line 847
- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c, line 794
- drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c, 2 times
- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c, line 567
- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c, line 751
- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c, line 1228
- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c, line 809
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c, line 685
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c, line 889
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_2.c, line 634
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c, line 674
- drivers/gpu/drm/amd/amdgpu/navi10_ih.c, line 702
- drivers/gpu/drm/amd/amdgpu/nv.c, line 1061
- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c, line 1115
- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c, line 1495
- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c, line 2415
- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c, line 2121
- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c, line 1919
- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c, line 1924
- drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c, line 1730
- drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c, line 1662
- drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c, line 1627
- drivers/gpu/drm/amd/amdgpu/si.c, line 2673
- drivers/gpu/drm/amd/amdgpu/si_dma.c, line 728
- drivers/gpu/drm/amd/amdgpu/si_ih.c, line 300
- drivers/gpu/drm/amd/amdgpu/soc15.c, line 1483
- drivers/gpu/drm/amd/amdgpu/soc21.c, line 1097
- drivers/gpu/drm/amd/amdgpu/soc24.c, line 585
- drivers/gpu/drm/amd/amdgpu/soc_v1_0.c, line 390
- drivers/gpu/drm/amd/amdgpu/tonga_ih.c, line 445
- drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c, line 846
- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c, line 771
- drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c, line 872
- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c, line 1499
- drivers/gpu/drm/amd/amdgpu/vce_v1_0.c, line 799
- drivers/gpu/drm/amd/amdgpu/vce_v2_0.c, line 636
- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c, line 844
- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c, line 2037
- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c, line 2105
- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c, 2 times
- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c, line 2375
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c, line 2303
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c, line 2052
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c, line 1710
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c, line 1496
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c, line 1675
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_2.c, line 1204
- drivers/gpu/drm/amd/amdgpu/vega10_ih.c, line 633
- drivers/gpu/drm/amd/amdgpu/vega20_ih.c, line 730
- drivers/gpu/drm/amd/amdgpu/vi.c, line 2028
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c, line 2081
- drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c, line 3320
- drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c, line 8137
- drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c, line 289
- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c, line 2786
- drivers/mmc/host/cqhci-core.c, 4 times
- drivers/mmc/host/mmc_hsq.c, 4 times
- drivers/nvdimm/claim.c, line 99
- drivers/pmdomain/rockchip/pm-domains.c, 4 times
- fs/f2fs/gc.c, line 118
- fs/f2fs/segment.c, 2 times
- fs/f2fs/segment.h, line 1011
- include/trace/events/timer.h, 6 times
- kernel/sched/ext/idle.c, 3 times
- kernel/sched/fair.c, 3 times
- kernel/time/timer.c, 11 times
- tools/perf/util/db-export.c, 2 times
- tools/sched_ext/include/scx/common.bpf.h, line 62
- tools/sched_ext/scx_flatcg.bpf.c, 3 times
- tools/sched_ext/scx_sdt.bpf.c, 3 times
- tools/sched_ext/scx_simple.bpf.c, 3 times
Smatch caller information:
fs/f2fs/gc.c gc_thread_func() -> is_idle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->gc_mode | 0-3,5,7-u32max |
| PARAM_VALUE | 0 | sbi->raw_super | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| DATA_SOURCE | 0 | sbi | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &sbi->gc_lock.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/segment.c __issue_discard_cmd() -> is_idle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_bytes | |
| LOCK2 | &dcc->cmd_lock | ||
| TYPE_LOCK | (struct discard_cmd_control)->cmd_lock |
fs/f2fs/segment.c __issue_discard_cmd_orderly() -> is_idle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | sbi | 128 |
| BUF_SIZE | 0 | sbi | 128 |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_size | |
| LOCK2 | &dcc->cmd_lock | ||
| TYPE_LOCK | (struct discard_cmd_control)->cmd_lock |
fs/f2fs/segment.c wake_up_discard_thread() -> is_idle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->gc_lock.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->pin_sem.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->umount_mutex | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
drivers/nvdimm/claim.c nd_detach_and_reset() -> is_idle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->driver | 0 |
| PARAM_VALUE | 1 | type | 0 |
| CAPPED_DATA | 0 | sbi | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &sbi->mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/f2fs/sysfs.c wake_up_discard_thread() -> is_idle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->gc_mode | 4 |
| PARAM_VALUE | 1 | type | 2 |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &sbi->sb->s_umount | |
| TYPE_LOCK | (struct kernfs_open_file)->mutex |