Defined in 1 files as a variable:
Defined in 17 files as a member:
- arch/arm/mach-omap2/pm34xx.c, line 57 (as a member)
- arch/arm/mach-omap2/pm44xx.c, line 28 (as a member)
- drivers/infiniband/hw/cxgb4/iw_cxgb4.h, line 465 (as a member)
- drivers/md/dm-vdo/admin-state.h, line 55 (as a member)
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h, line 1065 (as a member)
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h, line 1330 (as a member)
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c, line 1350 (as a member)
- drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.h, line 224 (as a member)
- drivers/net/ethernet/marvell/octeontx2/af/npc.h, line 293 (as a member)
- drivers/net/ethernet/marvell/octeontx2/af/npc.h, line 339 (as a member)
- drivers/net/ethernet/mellanox/mlx5/core/en.h, line 865 (as a member)
- drivers/net/wireless/intel/iwlwifi/dvm/tt.h, line 61 (as a member)
- drivers/pwm/pwm-gpio.c, line 30 (as a member)
- drivers/scsi/initio.h, line 352 (as a member)
- include/net/llc_c_st.h, line 35 (as a member)
- include/net/llc_s_st.h, line 21 (as a member)
- net/netfilter/ipvs/ip_vs_proto_tcp.c, line 386 (as a member)
Defined in 1 files as a function:
Referenced in 107 files:
- arch/arm/mach-omap2/pm34xx.c, 11 times
- arch/arm/mach-omap2/pm44xx.c, 5 times
- drivers/bus/mhi/host/pm.c, 7 times
- drivers/clk/davinci/psc.c, 3 times
- drivers/clk/keystone/gate.c, 4 times
- drivers/cpuidle/coupled.c, 6 times
- drivers/cpuidle/cpuidle.h, 3 times
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c, 20 times
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_ism.h, line 155
- drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c, 3 times
- drivers/i2c/busses/i2c-imx.c, 3 times
- drivers/infiniband/core/verbs.c, 4 times
- drivers/infiniband/hw/cxgb4/cm.c, 13 times
- drivers/infiniband/hw/cxgb4/ev.c, line 99
- drivers/infiniband/hw/cxgb4/qp.c, 10 times
- drivers/infiniband/hw/efa/efa_verbs.c, 4 times
- drivers/infiniband/hw/hfi1/sdma.c, 10 times
- drivers/infiniband/hw/ionic/ionic_controlpath.c, 3 times
- drivers/infiniband/hw/irdma/osdep.h, line 61
- drivers/infiniband/hw/irdma/utils.c, 2 times
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c, 6 times
- drivers/md/dm-vdo/admin-state.c, 5 times
- drivers/media/i2c/mt9m114.c, 2 times
- drivers/mfd/si476x-i2c.c, 5 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c, 59 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h, 2 times
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c, line 1392
- drivers/net/ethernet/chelsio/cxgb4/sge.c, 8 times
- drivers/net/ethernet/dec/tulip/de2104x.c, 4 times
- drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c, 2 times
- drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.h, line 246
- drivers/net/ethernet/marvell/octeontx2/af/npc.h, line 359
- drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c, 3 times
- drivers/net/ethernet/mellanox/mlx5/core/en/health.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, 8 times
- drivers/net/ethernet/mellanox/mlx5/core/transobj.c, 6 times
- drivers/net/phy/sfp.c, 2 times
- drivers/net/wireless/intel/iwlwifi/dvm/tt.c, 2 times
- drivers/net/wireless/realtek/rtw88/coex.c, 6 times
- drivers/net/wireless/realtek/rtw89/coex.c, 6 times
- drivers/pmdomain/core.c, 4 times
- drivers/pwm/pwm-gpio.c, 3 times
- drivers/scsi/initio.c, 11 times
- drivers/scsi/isci/host.c, 2 times
- drivers/scsi/isci/isci.h, line 529
- drivers/scsi/isci/phy.c, 2 times
- drivers/scsi/isci/remote_node_context.c, 7 times
- drivers/usb/gadget/function/f_midi.c, 23 times
- drivers/usb/gadget/function/f_midi2.c, 23 times
- drivers/usb/host/xhci-hub.c, 4 times
- drivers/usb/typec/tcpm/tcpm.c, 4 times
- drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c, 4 times
- drivers/vfio/pci/mlx5/main.c, 4 times
- drivers/vfio/pci/pds/vfio_dev.c, 4 times
- drivers/vfio/pci/qat/main.c, 4 times
- drivers/vfio/pci/virtio/migrate.c, 4 times
- drivers/vfio/pci/xe/main.c, 4 times
- fs/btrfs/extent-io-tree.c, 17 times
- fs/btrfs/extent-tree.c, 4 times
- fs/xfs/libxfs/xfs_attr.c, 3 times
- include/rdma/ib_verbs.h, line 3304
- include/rv/da_monitor.h, 11 times
- include/rv/ha_monitor.h, 4 times
- include/rv/ltl_monitor.h, 2 times
- init/initramfs.c, 7 times
- kernel/cpu.c, 2 times
- kernel/sched/idle.c, 7 times
- kernel/trace/rv/monitors/nomiss/nomiss.c, 10 times
- kernel/trace/rv/monitors/nomiss/nomiss_trace.h, 2 times
- kernel/trace/rv/monitors/nrp/nrp_trace.h, 2 times
- kernel/trace/rv/monitors/opid/opid.c, 3 times
- kernel/trace/rv/monitors/opid/opid_trace.h, 2 times
- kernel/trace/rv/monitors/sco/sco_trace.h, 2 times
- kernel/trace/rv/monitors/scpd/scpd_trace.h, 2 times
- kernel/trace/rv/monitors/snep/snep_trace.h, 2 times
- kernel/trace/rv/monitors/snroc/snroc_trace.h, 2 times
- kernel/trace/rv/monitors/sssw/sssw_trace.h, 2 times
- kernel/trace/rv/monitors/stall/stall.c, 9 times
- kernel/trace/rv/monitors/stall/stall_trace.h, 2 times
- kernel/trace/rv/monitors/sts/sts_trace.h, 2 times
- kernel/trace/rv/monitors/wip/wip_trace.h, 2 times
- kernel/trace/rv/monitors/wwnr/wwnr_trace.h, 2 times
- kernel/trace/rv/rv_trace.h, 12 times
- kernel/trace/trace_entries.h, 3 times
- kernel/trace/trace_output.c, 4 times
- kernel/trace/trace_sched_wakeup.c, 2 times
- lib/crypto/x86/sha512-avx-asm.S, 3 times
- lib/crypto/x86/sha512-ssse3-asm.S, 3 times
- net/llc/llc_c_st.c, 237 times
- net/llc/llc_conn.c, 2 times
- net/llc/llc_s_st.c, 10 times
- net/llc/llc_sap.c, line 182
- net/netfilter/ipvs/ip_vs_proto_sctp.c, 9 times
- net/netfilter/ipvs/ip_vs_proto_tcp.c, line 500
- samples/vfio-mdev/mtty.c, 5 times
- tools/verification/rv/src/in_kernel.c, 3 times
- tools/verification/rvgen/tests/golden/da_global/da_global_trace.h, 2 times
- tools/verification/rvgen/tests/golden/da_perobj_parent/da_perobj_parent_trace.h, 2 times
- tools/verification/rvgen/tests/golden/da_pertask_desc/da_pertask_desc_trace.h, 2 times
- tools/verification/rvgen/tests/golden/ha_percpu/ha_percpu.c, 10 times
- tools/verification/rvgen/tests/golden/ha_percpu/ha_percpu_trace.h, 2 times
- tools/verification/rvgen/tests/golden/test_da/test_da_trace.h, 2 times
- tools/verification/rvgen/tests/golden/test_da_kunit/test_da_kunit_trace.h, 2 times
- tools/verification/rvgen/tests/golden/test_ha/test_ha.c, 10 times
- tools/verification/rvgen/tests/golden/test_ha/test_ha_trace.h, 2 times
- tools/verification/rvgen/tests/golden/test_ha_kunit/test_ha_kunit.c, 10 times
- tools/verification/rvgen/tests/golden/test_ha_kunit/test_ha_kunit_trace.h, 2 times
Smatch caller information:
fs/btrfs/extent-io-tree.c btrfs_count_range_bits() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->start | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_find_contiguous_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->lock | ||
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct btrfs_inode)->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_find_contiguous_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->start | 1 |
| DATA_SOURCE | 0 | state | r next_state |
| PARAM_COMPARE | 0 | &state->rb_node | != $0->rb_node.__rb_parent_color |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->lock | ||
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct btrfs_inode)->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_find_delalloc_range() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| BIT_INFO | 0 | state->state | 0x20,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_find_first_clear_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_find_first_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &dev_replace->lock_finishing_cancel_unmount | ||
| HALF_LOCKED2 | &dev_replace->rwsem | ||
| HALF_LOCKED2 | &fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_find_first_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| DATA_SOURCE | 0 | state | r next_state |
| PARAM_COMPARE | 0 | &state->rb_node | != $0->rb_node.__rb_parent_color |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &dev_replace->lock_finishing_cancel_unmount | ||
| HALF_LOCKED2 | &dev_replace->rwsem | ||
| HALF_LOCKED2 | &fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_get_range_bits() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->end | 1 |
| CAPPED_DATA | 0 | state->start | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &folio->private->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_next_extent_state() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| DATA_SOURCE | 0 | state | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &fs_info->unused_bg_unpin_mutex | ||
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->unused_bg_unpin_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_test_range_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->end | 1 |
| CAPPED_DATA | 0 | state->start | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_test_range_bit_exists() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->end | 1 |
| CAPPED_DATA | 0 | state->start | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &extent_tree->lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c find_first_extent_bit_state() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &inode->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c merge_next_state() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| DATA_SOURCE | 0 | state | $1 |
| NOSPEC | 0 | state->end | |
| NOSPEC | 0 | state->start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->end | 0-18446744073709551613,u64max |
| USER_DATA | 0 | state->start | 0-u64max |
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c next_search_state() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state | 1 |
| CAPPED_DATA | 0 | state->end | 1 |
| DATA_SOURCE | 0 | state | $0 |
| NOSPEC | 0 | state->end | |
| NOSPEC | 0 | state->start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->end | 0-18446744073709551613[c] |
| USER_DATA | 0 | state->start | 0-u64max[c] |
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c set_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| NOSPEC | 0 | state->end | |
| NOSPEC | 0 | state->start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->end | 1-9223372036854775807,u64max[c][u] |
| USER_DATA | 0 | state->start | 0-u64max[c] |
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c set_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| NOSPEC | 0 | state->end | |
| NOSPEC | 0 | state->start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->end | 1-9223372036854775807,u64max[c][u] |
| USER_DATA | 0 | state->start | 1-u64max[c] |
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c tree_search_for_insert() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->end | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c tree_search_prev_next() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->end | 1 |
| PREEMPT_ADD | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c wait_extent_bit() -> next_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->start | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tree->lock | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |