Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/infiniband/hw/cxgb4/resource.c c4iw_alloc_srq_idx() -> c4iw_id_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/cxgb4/resource.c c4iw_get_resource() -> c4iw_id_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
DATA_SOURCE 0 alloc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &uctx->lock