Defined in 2 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/perf/arm-cmn.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
kernel/bpf/cpumask.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
drivers/iommu/hyperv/hv-irq-remap-x86.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &ioapic_lock | ||
| HALF_LOCKED2 | irq |
block/blk-mq.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/smp.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/pci/controller/pci-hyperv.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
kernel/irq/manage.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &desc->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct irq_desc)->lock |
lib/test_bitmap.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 0 |
| PARAM_VALUE | 1 | addr2 | 0 |
| PARAM_VALUE | 2 | size | 0 |
| DATA_SOURCE | 0 | addr1 | $0 |
| DATA_SOURCE | 1 | addr2 | $1 |
| DATA_SOURCE | 2 | size | $2 |
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
kernel/power/energy_model.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &em_pd_mutex |
drivers/net/ethernet/sfc/siena/efx_channels.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/build_policy.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &p->pi_lock | ||
| HALF_LOCKED2 | global &sched_domains_mutex | ||
| HALF_LOCKED2 | rf.flags |
kernel/time/hrtimer.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &timer->base->cpu_base->lock | ||
| HALF_LOCKED2 | irq |
drivers/perf/thunderx2_pmu.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/perf/alibaba_uncore_drw_pmu.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
kernel/cgroup/cpuset.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
kernel/sched/build_utility.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/perf/arm-ni.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
kernel/cpu.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &cpu_add_remove_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/scsi/lpfc/lpfc_init.c find_first_and_bit() -> _find_first_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-65 |
| BUF_SIZE | 0 | addr1 | 1024 |
| BUF_SIZE | 0 | addr1 | 1024 |
| BUF_SIZE | 1 | addr2 | 1024 |
| BUF_SIZE | 1 | addr2 | 1024 |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | addr1 | $0 |
| DATA_SOURCE | 1 | addr2 | $1 |
| DATA_SOURCE | 2 | size | $2 |
| FUZZY_MAX | 2 | size | 65 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/time/timer_migration.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | irq |
kernel/events/core.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &pmus_lock |
drivers/perf/arm_cspmu/arm_cspmu.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
drivers/cpufreq/speedstep-centrino.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | &policy_dbs->update_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sg_policy->work_lock | ||
| HALF_LOCKED2 | &userspace->mutex | ||
| HALF_LOCKED2 | global &gov_dbs_data_mutex |
drivers/net/ethernet/sfc/efx_channels.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/pci-driver.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
lib/cpumask.c find_first_and_bit() -> _find_first_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 |
| BUF_SIZE | 0 | addr1 | 1024 |
| BUF_SIZE | 0 | addr1 | 1024 |
| BUF_SIZE | 1 | addr2 | 1024 |
| BUF_SIZE | 1 | addr2 | 1024 |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | addr1 | $0 |
| DATA_SOURCE | 1 | addr2 | $1 |
| DATA_SOURCE | 2 | size | $2 |
| FUZZY_MAX | 2 | size | 65 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &p->pi_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/hwmon/coretemp.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/events/intel/uncore.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/perf/dwc_pcie_pmu.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
kernel/workqueue.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq_flags | ||
| HALF_LOCKED2 | rcu_read |
lib/find_bit_benchmark.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 2612393147664183296 |
| PARAM_VALUE | 1 | addr2 | 2708843466466332672 |
| PARAM_VALUE | 2 | size | 163840,327680 |
| BUF_SIZE | 0 | addr1 | 40960 |
| BUF_SIZE | 0 | addr1 | 40960 |
| BUF_SIZE | 1 | addr2 | 40960 |
| BUF_SIZE | 1 | addr2 | 40960 |
| DATA_SOURCE | 0 | addr1 | $0 |
| DATA_SOURCE | 1 | addr2 | $1 |
| DATA_SOURCE | 2 | size | $2 |
| HARD_MAX | 2 | size | 327680 |
drivers/net/ethernet/pensando/ionic/ionic_dev.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &lif->queue_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/perf/fujitsu_uncore_pmu.c find_first_and_bit() -> _find_first_and_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |