Home
last modified time | relevance | path

Searched defs:pt_id (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/vfio/
H A Diommufd.c151 int vfio_iommufd_physical_attach_ioas(struct vfio_device *vdev, u32 *pt_id) in vfio_iommufd_physical_attach_ioas()
186 u32 pasid, u32 *pt_id) in vfio_iommufd_physical_pasid_attach_ioas()
275 int vfio_iommufd_emulated_attach_ioas(struct vfio_device *vdev, u32 *pt_id) in vfio_iommufd_emulated_attach_ioas()
/linux/tools/testing/selftests/iommu/
H A Diommufd_utils.h162 static int _test_cmd_mock_domain_replace(int fd, __u32 stdev_id, __u32 pt_id, in _test_cmd_mock_domain_replace()
183 #define test_cmd_mock_domain_replace(stdev_id, pt_id) \ argument
186 #define test_err_mock_domain_replace(_errno, stdev_id, pt_id) \ argument
190 static int _test_cmd_hwpt_alloc(int fd, __u32 device_id, __u32 pt_id, __u32 ft_id, in _test_cmd_hwpt_alloc()
214 #define test_cmd_hwpt_alloc(device_id, pt_id, flags, hwpt_id) \ argument
218 #define test_cmd_hwpt_alloc_iommupt(device_id, pt_id, flags, iommupt_type, \ argument
230 #define test_err_hwpt_alloc(_errno, device_id, pt_id, flags, hwpt_id) \ argument
235 #define test_cmd_hwpt_alloc_nested(device_id, pt_id, flags, hwpt_id, \ argument
239 #define test_err_hwpt_alloc_nested(_errno, device_id, pt_id, flags, hwpt_id, \ argument
245 #define test_cmd_hwpt_alloc_iopf(device_id, pt_id, fault_id, flags, hwpt_id, \ argument
[all …]
/linux/drivers/iommu/iommufd/
H A Ddevice.c864 struct iommufd_ioas *ioas, u32 *pt_id, in iommufd_device_auto_get_domain()
942 u32 *pt_id, attach_fn do_attach) in iommufd_device_change_pt()
1003 u32 *pt_id) in iommufd_device_attach()
1039 u32 *pt_id) in iommufd_device_replace()
H A Diommufd_test.h106 __u32 pt_id; member
172 __u32 pt_id; member
177 __u32 pt_id; member
H A Dselftest.c1082 u32 pt_id = cmd->id; in iommufd_test_mock_domain() local
1160 unsigned int device_id, u32 pt_id, in iommufd_test_mock_domain_replace()
/linux/tools/testing/selftests/vfio/
H A Dvfio_iommufd_setup_test.c44 static int vfio_device_attach_iommufd_pt_ioctl(int cdev_fd, u32 pt_id) in vfio_device_attach_iommufd_pt_ioctl()
/linux/tools/testing/selftests/vfio/lib/
H A Dvfio_pci_device.c311 static void vfio_device_attach_iommufd_pt(int device_fd, u32 pt_id) in vfio_device_attach_iommufd_pt()
/linux/drivers/hv/
H A Dmshv_root_main.c162 static bool mshv_passthru_hvcall_allowed(u16 code, u64 pt_id) in mshv_passthru_hvcall_allowed()
193 u64 pt_id = partition ? partition->pt_id : HV_PARTITION_ID_SELF; in mshv_ioctl_passthru_hvcall() local
H A Dhv_common.c269 u64 status, pt_id; in hv_get_partition_id() local
H A Dmshv_root.h104 u64 pt_id; member
/linux/include/uapi/linux/
H A Diommufd.h520 __u32 pt_id; member
H A Dvfio.h972 __u32 pt_id; member