Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dma/sh/rcar-dmac.c rcar_dmac_alloc_chan_resources() -> rcar_dmac_xfer_chunk_alloc()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->desc.chunks_free.next 4096-ptr_max
PARAM_VALUE 0 chan->desc.chunks_free.next->next 4096-ptr_max
PARAM_VALUE 0 chan->desc.chunks_free.prev 4096-ptr_max
PARAM_VALUE 0 chan->desc.chunks_free.prev->next 4096-ptr_max
PARAM_VALUE 0 chan->desc.chunks_free.prev->prev 4096-ptr_max
PARAM_VALUE 0 chan->desc.pages.next 4096-ptr_max
PARAM_VALUE 0 chan->desc.pages.next->next 4096-ptr_max
PARAM_VALUE 0 chan->desc.pages.prev 4096-ptr_max
PARAM_VALUE 0 chan->desc.pages.prev->next 4096-ptr_max
PARAM_VALUE 0 chan->desc.pages.prev->prev 4096-ptr_max
PARAM_VALUE 1 gfp 3264
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dma_list_mutex

drivers/dma/sh/rcar-dmac.c rcar_dmac_xfer_chunk_get() -> rcar_dmac_xfer_chunk_alloc()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->desc.chunks_free.next 4096-ptr_max
PARAM_VALUE 0 chan->desc.free.next 4096-ptr_max
PARAM_VALUE 0 chan->desc.free.next->next 4096-ptr_max
PARAM_VALUE 0 chan->desc.free.next->prev 4096-ptr_max
PARAM_VALUE 0 chan->desc.free.prev 4096-ptr_max
PARAM_VALUE 0 chan->desc.free.prev->next 8475718402372407296
PARAM_VALUE 0 chan->desc.wait.next->prev 2145696772994699264
PARAM_VALUE 0 chan->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 gfp 10240
CAPPED_DATA 0 &chan->desc.chunks_free 1
DATA_SOURCE 0 chan $0
PARAM_COMPARE 0 &chan->desc.chunks_free == $0->desc.chunks_free.next
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags