Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

crypto/async_tx/async_memcpy.c async_memcpy() -> is_dma_copy_aligned()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 3 len 1-s32max
DATA_SOURCE 1 off1 $3
DATA_SOURCE 2 off2 $2
DATA_SOURCE 3 len $4
UNITS 1 off1 unit_byte
UNITS 2 off2 unit_byte
UNITS 3 len unit_byte

drivers/ntb/ntb_transport.c ntb_async_rx_submit() -> is_dma_copy_aligned()

Type Parameter Key Value
PARAM_VALUE 1 off1 0-4095
PARAM_VALUE 2 off2 0-4095
PARAM_VALUE 3 len 0-u32max
CAPPED_DATA 3 len 1
CAPPED_DATA 3 len 1
RX_PATH
UNITS 3 len unit_byte

drivers/ntb/ntb_transport.c ntb_async_tx_submit() -> is_dma_copy_aligned()

Type Parameter Key Value
PARAM_VALUE 1 off1 0-4095
PARAM_VALUE 2 off2 0-4095
PARAM_VALUE 3 len 0-u32max
CAPPED_DATA 3 len 1
CAPPED_DATA 3 len 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 len 1-s32max[c]
NO_OVERFLOW_SIMPLE 3 len
UNITS 3 len unit_byte

drivers/ntb/test/ntb_perf.c perf_copy_chunk() -> is_dma_copy_aligned()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 off1 0-4095
PARAM_VALUE 2 off2 0-4095
CAPPED_DATA 3 len 1
CAPPED_DATA 3 len 1
DATA_SOURCE 3 len $3
HALF_LOCKED2 &pool->lock

drivers/dma/loongson/loongson1-apb-dma.c ls1x_dma_prep_lli() -> is_dma_copy_aligned()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 off2 0
PARAM_VALUE 3 len 0-u32max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 off1 unit_byte
UNITS 3 len unit_byte
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags