Lines Matching refs:ucmd

143 /* Copy the response in ucmd->cmd back to userspace. */
144 static inline int iommufd_ucmd_respond(struct iommufd_ucmd *ucmd,
147 if (copy_to_user(ucmd->ubuffer, ucmd->cmd,
148 min_t(size_t, ucmd->user_size, cmd_len)))
275 int iommufd_ioas_alloc_ioctl(struct iommufd_ucmd *ucmd);
277 int iommufd_ioas_iova_ranges(struct iommufd_ucmd *ucmd);
278 int iommufd_ioas_allow_iovas(struct iommufd_ucmd *ucmd);
279 int iommufd_ioas_map(struct iommufd_ucmd *ucmd);
280 int iommufd_ioas_map_file(struct iommufd_ucmd *ucmd);
281 int iommufd_ioas_change_process(struct iommufd_ucmd *ucmd);
282 int iommufd_ioas_copy(struct iommufd_ucmd *ucmd);
283 int iommufd_ioas_unmap(struct iommufd_ucmd *ucmd);
284 int iommufd_ioas_option(struct iommufd_ucmd *ucmd);
288 int iommufd_vfio_ioas(struct iommufd_ucmd *ucmd);
353 iommufd_get_hwpt_paging(struct iommufd_ucmd *ucmd, u32 id)
355 return container_of(iommufd_get_object(ucmd->ictx, id,
361 iommufd_get_hwpt_nested(struct iommufd_ucmd *ucmd, u32 id)
363 return container_of(iommufd_get_object(ucmd->ictx, id,
368 int iommufd_hwpt_set_dirty_tracking(struct iommufd_ucmd *ucmd);
369 int iommufd_hwpt_get_dirty_bitmap(struct iommufd_ucmd *ucmd);
384 int iommufd_hwpt_alloc(struct iommufd_ucmd *ucmd);
385 int iommufd_hwpt_invalidate(struct iommufd_ucmd *ucmd);
434 iommufd_get_device(struct iommufd_ucmd *ucmd, u32 id)
436 return container_of(iommufd_get_object(ucmd->ictx, id,
442 int iommufd_get_hw_info(struct iommufd_ucmd *ucmd);
499 iommufd_get_fault(struct iommufd_ucmd *ucmd, u32 id)
501 return container_of(iommufd_get_object(ucmd->ictx, id,
506 int iommufd_fault_alloc(struct iommufd_ucmd *ucmd);
552 iommufd_get_veventq(struct iommufd_ucmd *ucmd, u32 id)
554 return container_of(iommufd_get_object(ucmd->ictx, id,
559 int iommufd_veventq_alloc(struct iommufd_ucmd *ucmd);
584 iommufd_get_viommu(struct iommufd_ucmd *ucmd, u32 id)
586 return container_of(iommufd_get_object(ucmd->ictx, id,
605 int iommufd_viommu_alloc_ioctl(struct iommufd_ucmd *ucmd);
607 int iommufd_vdevice_alloc_ioctl(struct iommufd_ucmd *ucmd);
619 int iommufd_test(struct iommufd_ucmd *ucmd);
622 void iommufd_test_syz_conv_iova_id(struct iommufd_ucmd *ucmd,
629 static inline void iommufd_test_syz_conv_iova_id(struct iommufd_ucmd *ucmd,