Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/dma/coherent.c __dma_alloc_from_coherent() -> dma_get_device_base()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 mem 4096-ptr_max
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 mem $1
PREEMPT_ADD <- disables preempt
LOCK2 flags
LOCK2 1 &mem->spinlock
TYPE_LOCK (struct dma_coherent_mem)->spinlock