Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 31 files:

Smatch caller information:

drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_ep_init_registers() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_ep_init_registers() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nbits unit_array_size

drivers/net/wireless/ath/carl9170/main.c carl9170_register() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 1 nbits 16-254
PARAM_VALUE 2 flags 3264
HALF_LOCKED2 &pool->lock

drivers/firmware/arm_scmi/driver.c __scmi_xfer_info_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->platform_data 4096-ptr_max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

drivers/mfd/adp5585.c adp5585_i2c_probe() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 nbits 11,19
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mask 4096-ptr_max
PARAM_VALUE 0 dev->dma_ops 0,4096-ptr_max
PARAM_VALUE 0 dev->power.request 0-4
PARAM_VALUE 0 dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->type 0,4096-ptr_max
PARAM_VALUE 1 nbits 4096
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_alloc() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mem 0,4096-ptr_max
PARAM_VALUE 0 dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 nbits 4096
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-sim.c gpio_sim_add_bank() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 nbits 0-1024
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev $1
FUZZY_MAX 1 nbits 1024
HARD_MAX 1 nbits 1024
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-sim.c gpio_sim_add_bank() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 nbits 0-1024
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev $1
FUZZY_MAX 1 nbits 1024
HARD_MAX 1 nbits 1024
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-sim.c gpio_sim_add_bank() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 nbits 0-1024
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev $1
FUZZY_MAX 1 nbits 1024
HARD_MAX 1 nbits 1024
RX_PATH
TASK_NOT_RUNNING

drivers/irqchip/irq-sg2042-msi.c sg2042_msi_probe() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_npc_exact_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mask 0,4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->driver_data 4096-ptr_max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 nbits 0-u32max[c]
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_npc_exact_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mask 0,4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->driver_data 4096-ptr_max
PARAM_VALUE 1 nbits 32
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_npc_exact_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_mask 0,4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->driver_data 4096-ptr_max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/power/supply/power_supply_hwmon.c power_supply_add_hwmon_sysfs() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 nbits 65
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/net/pse-pd/pse_core.c devm_pse_irq_helper() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 nbits 1-u32max
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nbits
UNITS 1 nbits unit_array_size

drivers/infiniband/hw/erdma/erdma_cmdq.c erdma_cmdq_wait_res_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->driver_data 4096-ptr_max
PARAM_VALUE 1 nbits 128
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nbits
UNITS 1 nbits unit_array_size
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/i3c/master/mipi-i3c-hci/dat_v1.c hci_dat_v1_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nbits
UNITS 0 dev unit_byte
UNITS 1 nbits unit_array_size

drivers/gpio/gpio-latch.c gpio_latch_probe() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/net/dsa/hirschmann/hellcreek.c hellcreek_probe() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 1 nbits 4096
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-aggregator.c devm_gpiochip_fwd_alloc() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 nbits 1-s32max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
CAPPED_DATA 1 nbits 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 nbits $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nbits
UNITS 1 nbits unit_array_size

drivers/leds/rgb/leds-qcom-lpg.c lpg_init_lut() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->of_node 4096-ptr_max
PARAM_VALUE 1 nbits 1-u32max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/ti/cpsw_ale.c cpsw_ale_create() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 nbits 4096
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING

drivers/firmware/ti_sci.c devm_ti_sci_get_resource_sets() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 1 nbits 0-131070
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev (-1),1616
BUF_SIZE 0 dev (-1),1616
DATA_SOURCE 0 dev $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nbits unit_byte

drivers/firmware/ti_sci.c ti_sci_probe() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->of_node 0,4096-ptr_max
PARAM_VALUE 0 dev->of_node->properties 0,4096-ptr_max
PARAM_VALUE 1 nbits 0-255,2147483648-u32max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 nbits
UNITS 1 nbits unit_array_size

drivers/pci/controller/pcie-apple.c apple_msi_init() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->of_node 4096-ptr_max
PARAM_VALUE 2 flags 3264
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pcie-apple.c apple_pcie_setup_port() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->dma_ops->dma_supported 0,527,50235921770707435,2528523692154392576,3617072262637035520
PARAM_VALUE 0 dev->dma_ops->map_phys 0,632,48484213451719352,2506261230157742080,4169194063996235776
PARAM_VALUE 0 dev->dma_ops->map_sg 0,663,58722010135957667,2118452656510775296,2518538481676259328
PARAM_VALUE 0 dev->dma_ops->mmap 0,5761417605877342208,7694740394750603264
PARAM_VALUE 0 dev->dma_ops->unmap_phys 0,775,62571895156780032,3634718672199266304,5690836758666383360
PARAM_VALUE 0 dev->dma_ops->unmap_sg 0,892,86767622481470668,1256335292805263360,8472845699660435456
PARAM_VALUE 2 flags 3264
RX_PATH
TASK_NOT_RUNNING

drivers/pci/controller/pci-xgene-msi.c xgene_msi_init_allocator() -> devm_bitmap_zalloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 nbits 0-2048
PARAM_VALUE 2 flags 3264
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING