Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/mlx5/mr.c alloc_cacheable_mr() -> set_mr_fields()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| BUF_SIZE | 1 | mr | 784 |
| BUF_SIZE | 1 | mr->ibmr.pd | (-1),16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 1 | mr->umem | (-1),88 |
| DATA_SOURCE | 0 | dev | r to_mdev |
| DATA_SOURCE | 1 | mr | r _mlx5_frmr_pool_alloc |
| DATA_SOURCE | 3 | access_flags | $3 |
| DATA_SOURCE | 4 | iova | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | mr->ibmr.frmr.key.ats | 0-1[c] |
| USER_DATA | 1 | mr->ibmr.frmr.pool->key.ats | 0-1[c] |
| USER_DATA | 1 | mr->umem->address | 0-u64max |
| USER_DATA | 1 | mr->umem->iova | 0-u64max |
| USER_DATA | 1 | mr->umem->length | 0-u64max |
| USER_DATA | 1 | mr->umem->writable | 0-1[c] |
| USER_DATA | 2 | length | 0-u64max |
| USER_DATA | 3 | access_flags | s32min-s32max |
| USER_DATA | 4 | iova | 0-u64max |
| UNITS | 2 | length | unit_byte |
| UNITS | 4 | iova | unit_byte |
drivers/infiniband/hw/mlx5/mr.c mlx5_ib_get_dm_mr() -> set_mr_fields()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 0-u32max |
| PARAM_VALUE | 3 | access_flags | 32-62 |
| BUF_SIZE | 1 | mr | 784 |
| DATA_SOURCE | 0 | dev | r to_mdev |
| DATA_SOURCE | 1 | mr | r _kzalloc_noprof |
| DATA_SOURCE | 2 | length | $2 |
| DATA_SOURCE | 3 | access_flags | $3 |
| DATA_SOURCE | 4 | iova | $1 |
| BIT_INFO | 3 | access_flags | 0x0,0x2f |
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/mr.c reg_create() -> set_mr_fields()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| BUF_SIZE | 1 | mr | 784 |
| BUF_SIZE | 1 | mr->ibmr.pd | (-1),16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 1 | mr->umem | (-1),88 |
| DATA_SOURCE | 0 | dev | r to_mdev |
| DATA_SOURCE | 1 | mr | r _kzalloc_noprof |
| DATA_SOURCE | 3 | access_flags | $3 |
| DATA_SOURCE | 4 | iova | $2 |
| BIT_INFO | 1 | mr->mmkey.ndescs | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | mr->access_flags | s32min-s32max |
| USER_DATA | 1 | mr->umem->address | 0-s32max[c] |
| USER_DATA | 1 | mr->umem->length | 0-u64max |
| USER_DATA | 1 | mr->umem->writable | 0-1[c] |
| USER_DATA | 2 | length | 0-u64max |
| USER_DATA | 3 | access_flags | s32min-s32max |
| USER_DATA | 4 | iova | 0-u64max |
| UNITS | 2 | length | unit_byte |
| UNITS | 4 | iova | unit_byte |
| LOCK2 | &dev->slow_path_mutex | ||
| TYPE_LOCK | (struct mlx5_ib_dev)->slow_path_mutex |
drivers/infiniband/hw/mlx5/mr.c reg_create_crossing_vhca_mr() -> set_mr_fields()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| PARAM_VALUE | 3 | access_flags | 0-1073741822 |
| BUF_SIZE | 1 | mr | 784 |
| DATA_SOURCE | 0 | dev | r to_mdev |
| DATA_SOURCE | 1 | mr | r _kzalloc_noprof |
| DATA_SOURCE | 2 | length | $2 |
| DATA_SOURCE | 3 | access_flags | $3 |
| DATA_SOURCE | 4 | iova | $1 |
| BIT_INFO | 3 | access_flags | 0x0,0x3fffffbf |
| BIT_INFO | 4 | iova | 0x0,0xfffffffffffff000 |
| BIT_INFO | 4 | iova | 0x0,0xfffffffffffff000 |
| NOCHECK_CALL | |||
| LOCK2 | &dev->data_direct_lock | ||
| LOCK2 | &dev->slow_path_mutex | ||
| TYPE_LOCK | (struct mlx5_ib_dev)->data_direct_lock | ||
| TYPE_LOCK | (struct mlx5_ib_dev)->slow_path_mutex |