Defined in 2 files as a function:
- include/linux/bitmap.h, line 467 (as a function)
- tools/include/linux/bitmap.h, line 77 (as a function)
Referenced in 23 files:
- arch/mips/math-emu/dsemul.c, line 107
- drivers/gpio/gpio-aggregator.c, line 794
- drivers/gpio/gpiolib.c, line 5266
- drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h, line 2052
- drivers/hwmon/peci/dimmtemp.c, line 260
- drivers/iio/adc/ad7606_spi.c, line 348
- drivers/infiniband/hw/hns/hns_roce_db.c, line 171
- drivers/infiniband/hw/mthca/mthca_memfree.c, line 605
- drivers/md/dm-clone-metadata.c
- drivers/mmc/host/renesas_sdhi_core.c, line 666
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c, line 1413
- drivers/net/ethernet/mellanox/mlx4/alloc.c, line 740
- drivers/net/ethernet/mellanox/mlx5/core/alloc.c, line 218
- drivers/net/ethernet/mellanox/mlx5/core/en_rx.c, line 597
- drivers/s390/crypto/ap_bus.c
- fs/iomap/buffered-io.c, line 40
- include/linux/cpumask.h, line 860
- include/linux/nodemask.h, line 246
- lib/idr.c, line 439
- lib/test_bitmap.c
- net/smc/smc_core.c, line 2012
- tools/perf/builtin-kwork.c, line 249
- tools/testing/selftests/bpf/prog_tests/test_xsk.c
Smatch caller information:
lib/idr.c ida_alloc_range() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | nbits | 1024 |
| BUF_SIZE | 0 | src | 128 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | flags |
drivers/infiniband/hw/mthca/mthca_memfree.c mthca_alloc_db() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nbits | 512 |
| BUF_SIZE | 0 | src | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->db_tab->mutex | ||
| TYPE_LOCK | (struct mthca_db_table)->mutex |
kernel/bpf/cpumask.c cpumask_full() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | src | 1024 |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c otx2_add_flow() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | src | 1032 |
| UNITS | 1 | nbits | unit_array_size |
lib/tests/cpumask_kunit.c cpumask_full() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | src | 1024 |
lib/test_bitmap.c test_bitmap_const_eval() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4739743299743006720 |
| PARAM_VALUE | 1 | nbits | 64 |
| UNITS | 1 | nbits | unit_bit |
lib/test_bitmap.c test_zero_nbits() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 0 |
| PARAM_VALUE | 1 | nbits | 0 |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c smu_feature_bits_full() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | src | 16 |
| DATA_SOURCE | 1 | nbits | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/net/ethernet/mellanox/mlx5/core/alloc.c mlx5_dma_pool_free() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5_dma_pool)->lock |
drivers/hwmon/peci/dimmtemp.c check_populated_dimms() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 1994377276099710976 |
| PARAM_VALUE | 1 | nbits | 2,4,6,8 |
| CAPPED_DATA | 1 | nbits | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/host/renesas_sdhi_core.c renesas_sdhi_select_tuning() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nbits | 0-510 |
| CAPPED_DATA | 1 | nbits | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpio-aggregator.c gpiochip_fwd_register() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nbits | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/trace/trace.c cpumask_full() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | src | 1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
fs/iomap/buffered-io.c ifs_is_fully_uptodate() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ifs->state_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
net/smc/smc_core.c smc_conn_create() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nbits | 255 |
| BUF_SIZE | 0 | src | 32 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &lgr->conns_lock | ||
| LOCK2 | bh | ||
| LOCK2 | lgr_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &smc->sk | ||
| HALF_LOCKED2 | global &smc_client_lgr_pending | ||
| HALF_LOCKED2 | global &smc_server_lgr_pending | ||
| TYPE_LOCK | (struct smc_link_group)->conns_lock |
drivers/iio/adc/ad7606_spi.c ad7606_spi_update_scan_mode() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 0,16,4096-ptr_max |
| BUF_SIZE | 0 | src | 8-2048 |
| BUF_SIZE | 0 | src | 8-2048 |
| DATA_SOURCE | 0 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/infiniband/hw/hns/hns_roce_db.c hns_roce_free_db() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nbits | 512 |
| BUF_SIZE | 0 | src | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hr_dev->pgdir_mutex | ||
| TYPE_LOCK | (struct hns_roce_dev)->pgdir_mutex |
drivers/gpio/gpiolib.c gpiod_get_array() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | nbits | |
| UNITS | 1 | nbits | unit_array_size |
drivers/md/dm-clone-metadata.c __metadata_commit() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | src | 8-s32max |
| UNITS | 1 | nbits | unit_byte |
| LOCK2 | &clone->commit_lock | ||
| LOCK2 | &cmd->lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct clone)->commit_lock | ||
| TYPE_LOCK | (struct dm_clone_metadata)->lock |
drivers/md/dm-clone-metadata.c dm_clone_metadata_open() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 1-18446744073709551614 |
| PARAM_VALUE | 1 | nbits | 1 |
| BUF_SIZE | 0 | src | 0,8-2305843009213693951 |
| BUF_SIZE | 0 | src | 0,8-2305843009213693951 |
| DATA_SOURCE | 0 | src | r __kvmalloc_node_noprof |
| UNITS | 1 | nbits | unit_byte |
| HALF_LOCKED2 | &md->type_lock |
drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_db_free() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nbits | 512 |
| BUF_SIZE | 0 | src | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->pgdir_mutex | ||
| TYPE_LOCK | (struct mlx4_priv)->pgdir_mutex |
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_free_rx_mpwqe() -> bitmap_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | nbits | |
| HALF_LOCKED2 | rcu_read |