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_init_qid_table() -> c4iw_id_table_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 4 flags 0
CAPPED_DATA 1 start 1
CAPPED_DATA 2 num 1
CAPPED_DATA 3 reserved 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 num unit_byte
UNITS 3 reserved unit_byte
LOCK2 global &uld_mutex

drivers/infiniband/hw/cxgb4/resource.c c4iw_init_resource() -> c4iw_id_table_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 2 num 0-134217727
PARAM_VALUE 3 reserved 1
PARAM_VALUE 4 flags 1
DATA_SOURCE 2 num $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &uld_mutex

drivers/infiniband/hw/cxgb4/resource.c c4iw_init_resource() -> c4iw_id_table_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 2 num 65536
PARAM_VALUE 3 reserved 1
PARAM_VALUE 4 flags 0
DATA_SOURCE 2 num $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &uld_mutex

drivers/infiniband/hw/cxgb4/resource.c c4iw_init_resource() -> c4iw_id_table_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 2 num 1
PARAM_VALUE 3 reserved 1
PARAM_VALUE 4 flags 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &uld_mutex

drivers/infiniband/hw/cxgb4/resource.c c4iw_init_resource() -> c4iw_id_table_alloc()

Type Parameter Key Value
PARAM_VALUE 0 alloc 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 2 num 1-u32max
PARAM_VALUE 3 reserved 0
PARAM_VALUE 4 flags 0
DATA_SOURCE 2 num $3
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num unit_byte
LOCK2 global &uld_mutex