Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/qp.c create_qp_common() -> mlx4_db_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.max_sq_desc_sz s32min-(-1),4-s32max
PARAM_VALUE 1 db 4096-ptr_max
PARAM_VALUE 2 order 0
CAPPED_DATA 0 dev->caps.max_sq_desc_sz 1
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/mlx4/srq.c mlx4_ib_create_srq() -> mlx4_db_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.max_srq_wqes s32min-(-1),1-s32max
PARAM_VALUE 1 db 4096-ptr_max
PARAM_VALUE 2 order 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mlx4/cq.c mlx4_ib_create_cq() -> mlx4_db_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.max_cqes s32min-(-1),1-s32max
PARAM_VALUE 1 db 4096-ptr_max
PARAM_VALUE 2 order 1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_alloc_hwq_res() -> mlx4_db_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 1 db 4096-ptr_max
PARAM_VALUE 2 order 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING