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/iommu/iommufd/vfio_compat.c iommufd_vfio_map_dma() -> iopt_map_user_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ictx | 4096-ptr_max |
| PARAM_VALUE | 0 | ictx->vfio_ioas | 4096-ptr_max |
| PARAM_VALUE | 0 | ictx->vfio_ioas->obj.users.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ictx->vfio_ioas->obj.wait_cnt.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | iopt | 4096-ptr_max |
| PARAM_VALUE | 2 | iova | 8273802463165034496 |
| PARAM_VALUE | 5 | iommu_prot | 4-7 |
| PARAM_VALUE | 6 | flags | 0 |
| BUF_SIZE | 0 | ictx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ictx | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ictx | $0 |
| FUZZY_MAX | 5 | iommu_prot | 4 |
| BIT_INFO | 5 | iommu_prot | 0x4,0x7 |
| USER_DATA | 2 | *iova | 0-u64max |
| USER_DATA | 4 | length | 0-u64max |
| USER_PTR | 2 | iova |
drivers/iommu/iommufd/ioas.c iommufd_ioas_map() -> iopt_map_user_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | iopt | 4096-ptr_max |
| PARAM_VALUE | 2 | iova | 5443744737492152320 |
| PARAM_VALUE | 2 | *iova | 0-18446744073709551614 |
| PARAM_VALUE | 4 | length | 0-18446744073709551614 |
| PARAM_VALUE | 5 | iommu_prot | 4-7 |
| PARAM_VALUE | 6 | flags | 0-1 |
| FUZZY_MAX | 6 | flags | 1 |
| HARD_MAX | 6 | flags | 1 |
| USER_DATA | 2 | *iova | 0-18446744073709551614[u] |
| USER_DATA | 4 | length | 0-18446744073709551614[u] |
| USER_PTR | 2 | iova |