Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/xen/gntdev.c gntdev_ioctl_map_grant_ref() -> gntdev_alloc_map()

Type Parameter Key Value
PARAM_VALUE 1 count 1-65536
PARAM_VALUE 2 dma_flags 0
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 1 count 1
DATA_SOURCE 0 priv $0
USER_DATA 1 count 2-65536[c]

drivers/xen/gntdev-dmabuf.c dmabuf_exp_alloc_backing_storage() -> gntdev_alloc_map()

Type Parameter Key Value
PARAM_VALUE 1 count 1-65536
BUF_SIZE 0 priv s32min-(-2),1-s32max
BUF_SIZE 0 priv s32min-(-2),1-s32max
CAPPED_DATA 1 count 1
DATA_SOURCE 0 priv $0
DATA_SOURCE 1 count $2
DATA_SOURCE 2 dma_flags $1
USER_DATA 1 count 2-65536[c]
USER_DATA 2 dma_flags s32min-s32max
NO_OVERFLOW_SIMPLE 1 count