Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma-buf/dma-heap.c dma_heap_buffer_alloc() -> (struct dma_heap_ops)->allocate()

Type Parameter Key Value
PARAM_VALUE 0 heap 4096-ptr_max
PARAM_VALUE 0 heap->ops 4096-ptr_max
PARAM_VALUE 1 len 4096-u64max
PARAM_VALUE 2 fd_flags 0-1048574
BUF_SIZE 0 heap s32min-(-2),1-s32max
BUF_SIZE 0 heap s32min-(-2),1-s32max
DATA_SOURCE 0 heap $0
DATA_SOURCE 2 fd_flags $2
DATA_SOURCE 3 heap_flags $3
CONTAINER 0 -0-8+0 $(-1)
BIT_INFO 1 len 0x0,0xfffffffffffff000
BIT_INFO 1 len 0x0,0xfffffffffffff000
BIT_INFO 2 fd_flags 0x0,0x80003
BIT_INFO 3 heap_flags 0x0,0x0
USER_DATA 1 len 4096-u64max[c]
USER_DATA 2 fd_flags 0-1048574[u]
USER_DATA 3 heap_flags 0-u64max[u]