Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vfio/pci/mlx5/cmd.c mlx5vf_alloc_data_buffer() -> mlx5vf_dma_data_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->dma_dir | 1-3 |
| PARAM_VALUE | 0 | buf->migf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->npages | 1-u32max |
| PARAM_VALUE | 0 | buf->page_list | 16,4096-ptr_max |
| BUF_SIZE | 0 | buf | 88 |
| BUF_SIZE | 0 | buf->migf | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | buf->dma_dir | 1 |
| CAPPED_DATA | 0 | buf->npages | 1 |
| DATA_SOURCE | 0 | buf | r _kzalloc_noprof |
| HARD_MAX | 0 | buf->dma_dir | 3 |
| NO_OVERFLOW_SIMPLE | 0 | buf->npages | |
| HALF_LOCKED2 | &migf->lock | ||
| HALF_LOCKED2 | &migf->mvdev->state_mutex | ||
| HALF_LOCKED2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vfio/pci/mlx5/cmd.c mlx5vf_cmd_load_vhca_state() -> mlx5vf_dma_data_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->migf->mvdev->mdev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | buf->migf->mvdev->mdev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | buf->migf->mvdev->mdev_detach | 0-1 |
| PARAM_VALUE | 0 | buf->mkey_in | 0 |
| DATA_SOURCE | 0 | buf | $2 |
| LOCK2 | &migf->lock | ||
| LOCK2 | &migf->mvdev->state_mutex | ||
| LOCK2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5_vf_migration_file)->lock | ||
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |