Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/irdma/hmc.c irdma_sc_create_hmc_obj() -> irdma_add_sd_table_entry()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 1 hmc_info 4096-ptr_max
PARAM_VALUE 1 hmc_info->hmc_obj 4096-ptr_max
PARAM_VALUE 1 hmc_info->sd_table.sd_cnt 1-u32max
PARAM_VALUE 2 sd_index 0-4294967294
PARAM_VALUE 3 type 2
PARAM_VALUE 4 direct_mode_sz 2097152
CAPPED_DATA 1 hmc_info 1
CAPPED_DATA 1 hmc_info->sd_table.sd_cnt 1
CAPPED_DATA 2 sd_index 1
PARAM_COMPARE 1 hmc_info->sd_table.sd_cnt > $2
PARAM_COMPARE 2 sd_index < $1->sd_table.sd_cnt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/irdma/pble.c add_bp_pages() -> irdma_add_sd_table_entry()

Type Parameter Key Value
PARAM_VALUE 3 type 1
PARAM_VALUE 4 direct_mode_sz 2097152
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pble_rsrc->pble_mutex_lock

drivers/infiniband/hw/irdma/pble.c add_sd_direct() -> irdma_add_sd_table_entry()

Type Parameter Key Value
PARAM_VALUE 3 type 2
PARAM_VALUE 4 direct_mode_sz 2097152
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pble_rsrc->pble_mutex_lock