Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/vdpa/mlx5/net/mlx5_vnet.c create_umem() -> mlx5_fill_page_frag_array_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->frags | 1-u64max |
| PARAM_VALUE | 0 | buf->npages | 0-524288 |
| PARAM_VALUE | 0 | buf->page_shift | 12 |
| PARAM_VALUE | 1 | *pas | 0-255 |
| PARAM_VALUE | 2 | perm | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ndev->reslock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlx5_vdpa_net)->reslock |
drivers/net/ethernet/mellanox/mlx5/core/alloc.c mlx5_fill_page_frag_array() -> mlx5_fill_page_frag_array_perm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | perm | 0 |
| BUF_SIZE | 1 | pas | (-1),8 |
| BUF_SIZE | 1 | pas | (-1),8 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | pas | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | buf->npages | |
| HALF_LOCKED2 | &cq->resize_mutex | ||
| HALF_LOCKED2 | &mvdev->state_mutex | ||
| HALF_LOCKED2 | wc_state_lock |