Defined in 2 files as a function:

Referenced in 9 files:

Smatch caller information:

net/mptcp/pm_kernel.c mptcp_pm_nl_check_work_pending() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 256
PARAM_VALUE 3 offset 0
BUF_SIZE 0 addr1 32
BUF_SIZE 1 addr2 32
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
HALF_LOCKED2 &msk->pm.lock
HALF_LOCKED2 &pm->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 sk
TYPE_LOCK (struct mptcp_pm_data)->lock

drivers/perf/arm-cmn.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1

drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c cpu_get_least_loaded() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pool->lock
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &table->comp_lock
TYPE_LOCK (struct mlx5_irq_pool)->lock

drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c cpu_get_least_loaded() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pool->lock
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &table->comp_lock
TYPE_LOCK (struct mlx5_irq_pool)->lock

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_eth_add_channel() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_eth_add_channel() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_fq_setup() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_fq_setup() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/mpt3sas/mpt3sas_base.c _base_assign_reply_queues() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_array_size
UNITS 3 offset unit_array_size
LOCK2 &ioc->reset_in_progress_mutex
HALF_LOCKED2 &ioc->base_cmds.mutex
HALF_LOCKED2 &ioc->ctl_cmds.mutex
HALF_LOCKED2 &ioc->pci_access_mutex
HALF_LOCKED2 &ioc->scsih_cmds.mutex
HALF_LOCKED2 &ioc->tm_cmds.mutex
HALF_LOCKED2 &ioc->transport_cmds.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct MPT3SAS_ADAPTER)->reset_in_progress_mutex

drivers/scsi/mpt3sas/mpt3sas_base.c _base_assign_reply_queues() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_array_size
UNITS 3 offset unit_array_size
LOCK2 &ioc->reset_in_progress_mutex
HALF_LOCKED2 &ioc->base_cmds.mutex
HALF_LOCKED2 &ioc->ctl_cmds.mutex
HALF_LOCKED2 &ioc->pci_access_mutex
HALF_LOCKED2 &ioc->scsih_cmds.mutex
HALF_LOCKED2 &ioc->tm_cmds.mutex
HALF_LOCKED2 &ioc->transport_cmds.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct MPT3SAS_ADAPTER)->reset_in_progress_mutex

drivers/scsi/leapraid/leapraid_func.c leapraid_map_msix_to_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2

drivers/scsi/leapraid/leapraid_func.c leapraid_map_msix_to_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2

block/blk-mq.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 1-8193
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1
RX_PATH
TASK_NOT_RUNNING

kernel/smp.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 1
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/scsi/elx/efct/efct_hw_queues.c efct_hw_map_wq_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/elx/efct/efct_hw_queues.c efct_hw_map_wq_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pci-hyperv.c hv_irq_retarget_interrupt() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/pci/controller/pci-hyperv.c hv_irq_retarget_interrupt() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/powercap/dtpm_cpu.c scale_pd_power_uw() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &of->mutex

drivers/powercap/dtpm_cpu.c scale_pd_power_uw() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &of->mutex

lib/tests/cpumask_kunit.c test_cpumask_iterators() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-64
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1

lib/tests/cpumask_kunit.c test_cpumask_iterators() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-64
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2

lib/tests/cpumask_kunit.c test_cpumask_iterators() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-64
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1

lib/tests/cpumask_kunit.c test_cpumask_iterators() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-64
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2

lib/tests/cpumask_kunit.c test_cpumask_iterators() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-64
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1

lib/tests/cpumask_kunit.c test_cpumask_iterators() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-64
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2

arch/x86/kernel/cpu/microcode/core.c load_late_stop_cpus() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

arch/x86/kernel/cpu/microcode/core.c load_late_stop_cpus() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

arch/x86/kernel/cpu/microcode/core.c setup_cpus() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

arch/x86/kernel/cpu/microcode/core.c setup_cpus() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

lib/test_bitmap.c test_zero_nbits() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 0
PARAM_VALUE 1 addr2 0
PARAM_VALUE 2 size 0
PARAM_VALUE 3 offset 0

drivers/net/ethernet/sfc/siena/efx_channels.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

kernel/sched/build_policy.c __dl_bw_capacity() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

kernel/sched/build_policy.c __dl_bw_capacity() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

kernel/sched/build_policy.c __dl_update() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dl_b->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 _T->rf.flags
HALF_LOCKED2 flags
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 rcu_read

kernel/sched/build_policy.c __dl_update() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dl_b->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 _T->rf.flags
HALF_LOCKED2 flags
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 rcu_read

drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c dpaa_set_coalesce() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c dpaa_set_coalesce() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c dpaa_set_coalesce() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c dpaa_set_coalesce() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/perf/thunderx2_pmu.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1

net/core/net-sysfs.c netdev_rx_queue_set_rps_mask() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rps_default_mask_mutex

net/core/net-sysfs.c netdev_rx_queue_set_rps_mask() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rps_default_mask_mutex

drivers/perf/alibaba_uncore_drw_pmu.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1

kernel/sched/build_utility.c asym_cpu_capacity_scan() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c asym_cpu_capacity_scan() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

drivers/perf/arm-ni.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1

kernel/sched/fair.c nohz_balancer_kick() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

kernel/sched/fair.c nohz_balancer_kick() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

kernel/sched/fair.c sched_balance_find_dst_group_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_dst_group_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_src_rq() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c sched_balance_find_src_rq() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c sched_group_cookie_match() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_group_cookie_match() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c select_idle_smt() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c select_idle_smt() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c should_we_balance() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c should_we_balance() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c task_numa_find_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

kernel/sched/fair.c task_numa_find_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

kernel/sched/fair.c update_sg_lb_stats() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c update_sg_lb_stats() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c update_sg_wakeup_stats() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c update_sg_wakeup_stats() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

drivers/acpi/processor_throttling.c __acpi_processor_set_throttling() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/processor_throttling.c __acpi_processor_set_throttling() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/processor_throttling.c __acpi_processor_set_throttling() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/processor_throttling.c __acpi_processor_set_throttling() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/processor_throttling.c __acpi_processor_set_throttling() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/processor_throttling.c __acpi_processor_set_throttling() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/lpfc/lpfc_init.c find_next_and_bit_wrap() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 1-65
BUF_SIZE 0 addr1 1024
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1
CAPPED_DATA 3 offset 1
DATA_SOURCE 0 addr1 $0
DATA_SOURCE 1 addr2 $1
DATA_SOURCE 2 size $2
DATA_SOURCE 3 offset $3
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/lpfc/lpfc_init.c lpfc_sli4_enable_msix() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/lpfc/lpfc_init.c lpfc_sli4_enable_msix() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/perf/arm_cspmu/arm_cspmu.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1

drivers/net/ethernet/sfc/efx_channels.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1
RX_PATH
TASK_NOT_RUNNING

drivers/xen/events/events_base.c select_target_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

drivers/xen/events/events_base.c select_target_cpu() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING

lib/cpumask.c find_next_and_bit_wrap() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 1-8193
BUF_SIZE 0 addr1 1024
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
BUF_SIZE 1 addr2 1024
DATA_SOURCE 0 addr1 $0
DATA_SOURCE 1 addr2 $1
DATA_SOURCE 2 size $2
DATA_SOURCE 3 offset $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read
HALF_LOCKED2 rf.flags

kernel/trace/ring_buffer.c ring_buffer_reset_online_cpus() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct trace_buffer)->mutex

kernel/trace/ring_buffer.c ring_buffer_reset_online_cpus() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct trace_buffer)->mutex

arch/x86/xen/smp.c __xen_send_IPI_mask() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
TASK_NOT_RUNNING

arch/x86/xen/smp.c __xen_send_IPI_mask() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
TASK_NOT_RUNNING

arch/x86/xen/smp.c xen_send_IPI_mask_allbutself() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2

arch/x86/xen/smp.c xen_send_IPI_mask_allbutself() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2

net/core/dev.c netif_attrmask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 1-u64max
PARAM_VALUE 1 addr2 1-u64max
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 0,1024
BUF_SIZE 0 addr1 0,1024
BUF_SIZE 1 addr2 (-1),1024
BUF_SIZE 1 addr2 (-1),1024
CAPPED_DATA 3 offset 1
DATA_SOURCE 0 addr1 $1
DATA_SOURCE 1 addr2 $2
DATA_SOURCE 2 size $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 size 1-u32max
UNITS 2 size unit_array_size
LOCK2 global &xps_map_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rtnl_mutex

arch/x86/kernel/apic/x2apic_cluster.c __x2apic_send_IPI_mask() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
LOCK2 flags

arch/x86/kernel/apic/x2apic_cluster.c __x2apic_send_IPI_mask() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
LOCK2 flags

drivers/perf/dwc_pcie_pmu.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1

kernel/workqueue.c find_next_and_bit_wrap() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 1-8193
BUF_SIZE 0 addr1 1024
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
BUF_SIZE 1 addr2 1024
DATA_SOURCE 0 addr1 $0
DATA_SOURCE 1 addr2 $1
DATA_SOURCE 2 size $2
DATA_SOURCE 3 offset $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &last_pool->lock
HALF_LOCKED2 irq
HALF_LOCKED2 irq_flags

lib/find_bit_benchmark.c test_find_next_and_bit() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 1969539149701128192
PARAM_VALUE 1 addr2 2708843466466332672
PARAM_VALUE 2 size 327680
PARAM_VALUE 3 offset 1-327680
BUF_SIZE 0 addr1 40960
BUF_SIZE 1 addr2 40960
DATA_SOURCE 0 addr1 $0
DATA_SOURCE 1 addr2 $1

kernel/sched/core.c get_nohz_timer_target() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &timer->base->cpu_base->lock
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct hrtimer_cpu_base)->lock

kernel/sched/core.c get_nohz_timer_target() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &timer->base->cpu_base->lock
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct hrtimer_cpu_base)->lock

drivers/pmdomain/governor.c cpu_power_down_ok() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &genpd->mlock
HALF_LOCKED2 global &gpd_list_lock
TYPE_LOCK (struct generic_pm_domain)->mlock

drivers/pmdomain/governor.c cpu_power_down_ok() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 0 addr1 4096-ptr_max
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 1-s32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &genpd->mlock
HALF_LOCKED2 global &gpd_list_lock
TYPE_LOCK (struct generic_pm_domain)->mlock

drivers/powercap/idle_inject.c idle_inject_wakeup() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 2 size 0-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cdev->lock

drivers/powercap/idle_inject.c idle_inject_wakeup() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 1 addr2 4096-ptr_max
PARAM_VALUE 2 size 1-8193
PARAM_VALUE 3 offset 0-u32max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 2 size 1
PARAM_COMPARE 2 size >= $3
PARAM_COMPARE 3 offset <= $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cdev->lock

drivers/perf/fujitsu_uncore_pmu.c cpumask_next_and() -> find_next_and_bit()

Type Parameter Key Value
PARAM_VALUE 3 offset 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 addr1 1024
BUF_SIZE 1 addr2 1024
CAPPED_DATA 3 offset 1