Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vfio/pci/pds/cmds.c pds_vfio_get_lm_state_cmd() -> pds_vfio_dma_unmap_lm_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | dir | 2 |
| PARAM_VALUE | 2 | lm_file | 4096-ptr_max |
| PARAM_VALUE | 2 | lm_file->sg_table.nents | 0-s32max |
| PARAM_VALUE | 2 | lm_file->sgl | 16,4096-ptr_max |
| PARAM_VALUE | 2 | lm_file->sgl_addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &pds_vfio->state_mutex | ||
| TYPE_LOCK | (struct pds_vfio_pci_device)->state_mutex |
drivers/vfio/pci/pds/cmds.c pds_vfio_set_lm_state_cmd() -> pds_vfio_dma_unmap_lm_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | dir | 1 |
| PARAM_VALUE | 2 | lm_file | 4096-ptr_max |
| PARAM_VALUE | 2 | lm_file->sg_table.nents | 0-s32max |
| PARAM_VALUE | 2 | lm_file->sgl | 16,4096-ptr_max |
| PARAM_VALUE | 2 | lm_file->sgl_addr | 0-18446744073709551614 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &pds_vfio->state_mutex | ||
| TYPE_LOCK | (struct pds_vfio_pci_device)->state_mutex |