Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/infiniband/hw/mlx5/cq.c
- drivers/infiniband/hw/mlx5/devx.c, line 2385
- drivers/infiniband/hw/mlx5/mr.c, line 576
- drivers/infiniband/hw/mlx5/qp.c
- drivers/infiniband/hw/mlx5/srq_cmd.c
Smatch caller information:
drivers/infiniband/hw/mlx5/qp.c _create_user_qp() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 1 | page_size | 1-u64max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| BUF_SIZE | 0 | umem | 88 |
| CAPPED_DATA | 0 | umem | 1 |
| DATA_SOURCE | 0 | umem | r ib_umem_get_attr_or_va |
| DATA_SOURCE | 1 | page_size | r __mlx5_umem_find_best_quantized_pgoff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | umem->address | 0-s32max[c] |
| USER_DATA | 0 | umem->length | 0-u64max |
| USER_DATA | 0 | umem->sgt_append.prv->length | 0-u32max[c] |
| USER_DATA | 0 | umem->sgt_append.prv->offset | 0-4095[c] |
| USER_DATA | 0 | umem->writable | 0-1[c] |
drivers/infiniband/hw/mlx5/qp.c create_raw_packet_qp_rq() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 1 | page_size | 1-u64max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| DATA_SOURCE | 1 | page_size | r __mlx5_umem_find_best_quantized_pgoff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/qp.c create_raw_packet_qp_sq() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 1 | page_size | 1-u64max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| BUF_SIZE | 0 | umem | 88 |
| CAPPED_DATA | 0 | umem | 1 |
| DATA_SOURCE | 0 | umem | r ib_umem_get_attr_or_va |
| DATA_SOURCE | 1 | page_size | r __mlx5_umem_find_best_quantized_pgoff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | umem->address | 0-s32max[c] |
| USER_DATA | 0 | umem->iova | 0-s32max[c] |
| USER_DATA | 0 | umem->length | 0-u64max |
| USER_DATA | 0 | umem->sgt_append.prv->length | 0-u32max[c] |
| USER_DATA | 0 | umem->sgt_append.prv->offset | 0-4095[c] |
| USER_DATA | 0 | umem->writable | 0-1[c] |
drivers/infiniband/hw/mlx5/qp.c create_rq() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| CAPABLE | 0 | 17 | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | umem->address | 0-s32max[c] |
| USER_DATA | 0 | umem->length | 0-u64max |
| USER_DATA | 0 | umem->sgt_append.prv->length | 0-u32max[c] |
| USER_DATA | 0 | umem->sgt_append.prv->offset | 0-4095[c] |
| USER_DATA | 0 | umem->writable | 0-1[c] |
drivers/infiniband/hw/mlx5/srq_cmd.c create_rmp_cmd() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |
drivers/infiniband/hw/mlx5/srq_cmd.c create_srq_cmd() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |
drivers/infiniband/hw/mlx5/srq_cmd.c create_xrc_srq_cmd() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |
drivers/infiniband/hw/mlx5/srq_cmd.c create_xrq_cmd() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |
drivers/infiniband/hw/mlx5/cq.c create_cq_user() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 1 | page_size | 1-u64max |
| PARAM_VALUE | 2 | pas | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| BUF_SIZE | 0 | umem | 88 |
| CAPPED_DATA | 0 | umem | 1 |
| DATA_SOURCE | 0 | umem | r ib_umem_get_cq_buf_or_va |
| DATA_SOURCE | 1 | page_size | r __mlx5_umem_find_best_quantized_pgoff |
| NOCHECK_CALL | |||
| USER_DATA | 0 | umem->address | 0-s32max[c] |
| USER_DATA | 0 | umem->length | 0-u64max |
| USER_DATA | 0 | umem->sgt_append.prv->length | 0-u32max[c] |
| USER_DATA | 0 | umem->sgt_append.prv->offset | 0-4095[c] |
| USER_DATA | 0 | umem->writable | 0-1[c] |
drivers/infiniband/hw/mlx5/cq.c mlx5_ib_resize_cq() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 2 | pas | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | umem->address | 0-u64max[c] |
| USER_DATA | 0 | umem->length | 0,8-u64max |
| USER_DATA | 0 | umem->writable | 0-1[c] |
| LOCK2 | &cq->resize_mutex | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| TYPE_LOCK | (struct mlx5_ib_cq)->resize_mutex |
drivers/infiniband/hw/mlx5/devx.c devx_umem_reg_cmd_alloc() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 0 | umem->sgt_append.sgt.sgl | 4096-ptr_max |
| PARAM_VALUE | 1 | page_size | 1-u32max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 1,3 |
| DATA_SOURCE | 1 | page_size | r devx_umem_find_best_pgsize |
| BIT_INFO | 3 | access_flags | 0x1,0x3 |
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/mr.c reg_create() -> mlx5_ib_populate_pas()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umem | 4096-ptr_max |
| PARAM_VALUE | 2 | pas | 4096-ptr_max |
| PARAM_VALUE | 2 | *pas | 0-255 |
| PARAM_VALUE | 3 | access_flags | 0,3 |
| BUF_SIZE | 0 | umem | (-1),88 |
| BUF_SIZE | 0 | umem | (-1),88 |
| CAPPED_DATA | 0 | umem | 1 |
| DATA_SOURCE | 0 | umem | $1 |
| FUZZY_MAX | 3 | access_flags | 3 |
| HARD_MAX | 3 | access_flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | umem->address | 0-s32max[c] |
| USER_DATA | 0 | umem->length | 0-u64max |
| USER_DATA | 0 | umem->sgt_append.prv->length | 0-u32max[c] |
| USER_DATA | 0 | umem->sgt_append.prv->offset | 0-4095[c] |
| USER_DATA | 0 | umem->writable | 0-1[c] |
| LOCK2 | &dev->slow_path_mutex | ||
| TYPE_LOCK | (struct mlx5_ib_dev)->slow_path_mutex |