Home
last modified time | relevance | path

Searched defs:pt_id (Results 1 – 7 of 7) 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/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/drivers/hv/
H A Dmshv_root_main.c152 static bool mshv_passthru_hvcall_allowed(u16 code, u64 pt_id) in mshv_passthru_hvcall_allowed()
183 u64 pt_id = partition ? partition->pt_id : HV_PARTITION_ID_SELF; in mshv_ioctl_passthru_hvcall() local
2031 u64 pt_id = -1; in mshv_ioctl_create_partition() local
H A Dhv_common.c269 u64 status, pt_id; in hv_get_partition_id() local
H A Dmshv_root.h108 u64 pt_id; member
/linux/tools/testing/selftests/vfio/lib/
H A Dvfio_pci_device.c333 vfio_device_attach_iommufd_pt(int device_fd,u32 pt_id) vfio_device_attach_iommufd_pt() argument