Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/microsoft/mana/gdma_main.c mana_gd_create_hwc_queue() -> mana_gd_alloc_memory()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 1 length 4096-u32max
PARAM_VALUE 2 gmi 4096-ptr_max
PARAM_VALUE 3 allow_scatter 0
BUF_SIZE 2 gmi 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/net/ethernet/microsoft/mana/gdma_main.c mana_gd_create_mana_eq() -> mana_gd_alloc_memory()

Type Parameter Key Value
PARAM_VALUE 0 gc->gic_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 length 32768
PARAM_VALUE 2 gmi 4096-ptr_max
PARAM_VALUE 3 allow_scatter 1
BUF_SIZE 2 gmi 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/net/ethernet/microsoft/mana/gdma_main.c mana_gd_create_mana_wq_cq() -> mana_gd_alloc_memory()

Type Parameter Key Value
PARAM_VALUE 2 gmi 4096-ptr_max
PARAM_VALUE 3 allow_scatter 1
BUF_SIZE 2 gmi 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/net/ethernet/microsoft/mana/hw_channel.c mana_hwc_alloc_dma_buf() -> mana_gd_alloc_memory()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 0 gc->dev 4096-ptr_max
PARAM_VALUE 1 length 4096
PARAM_VALUE 2 gmi 4096-ptr_max
PARAM_VALUE 3 allow_scatter 0
BUF_SIZE 2 gmi 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte