Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

sound/core/memalloc.c snd_dma_iram_alloc() -> gen_pool_dma_alloc_align()

Type Parameter Key Value
PARAM_VALUE 2 dma 4096-ptr_max
PARAM_VALUE 3 align 4096
DATA_SOURCE 0 pool r of_gen_pool_get
DATA_SOURCE 1 size $1
NOSPEC 1 size
NOSPEC 1 size
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 size 0,4096-12884905984[c]
USER_DATA 1 size 0,4096-4294967296[c]
NO_OVERFLOW_SIMPLE 2 *dma
UNITS 3 align unit_byte

drivers/usb/core/buffer.c hcd_buffer_alloc_pages() -> gen_pool_dma_alloc_align()

Type Parameter Key Value
PARAM_VALUE 0 pool 1-u64max
PARAM_VALUE 1 size 1-u64max
PARAM_VALUE 2 dma 7357245916914225152
PARAM_VALUE 2 *dma u64max
PARAM_VALUE 3 align 4096
DATA_SOURCE 1 size $1
DATA_SOURCE 2 dma $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
UNITS 3 align unit_byte
HALF_LOCKED2 &ipcp->lock

drivers/usb/host/ohci-hcd.c ohci_init() -> gen_pool_dma_alloc_align()

Type Parameter Key Value
PARAM_VALUE 0 pool 1-u64max
PARAM_VALUE 1 size 256
PARAM_VALUE 2 dma 4096-ptr_max
PARAM_VALUE 3 align 256
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte

drivers/accel/habanalabs/common/memory.c alloc_device_memory() -> gen_pool_dma_alloc_align()

Type Parameter Key Value
PARAM_VALUE 1 size 1-u64max
PARAM_VALUE 2 dma 0
USER_DATA 3 align s32min-s32max[u]

drivers/accel/habanalabs/common/memory.c alloc_device_memory() -> gen_pool_dma_alloc_align()

Type Parameter Key Value
PARAM_VALUE 2 dma 0
USER_DATA 1 size 0-u32max[u]
USER_DATA 3 align s32min-s32max[u]