Lines Matching refs:ucmd
102 /* Copy the response in ucmd->cmd back to userspace. */
103 static inline int iommufd_ucmd_respond(struct iommufd_ucmd *ucmd,
106 if (copy_to_user(ucmd->ubuffer, ucmd->cmd,
107 min_t(size_t, ucmd->user_size, cmd_len)))
213 int iommufd_ioas_alloc_ioctl(struct iommufd_ucmd *ucmd);
215 int iommufd_ioas_iova_ranges(struct iommufd_ucmd *ucmd);
216 int iommufd_ioas_allow_iovas(struct iommufd_ucmd *ucmd);
217 int iommufd_ioas_map(struct iommufd_ucmd *ucmd);
218 int iommufd_ioas_copy(struct iommufd_ucmd *ucmd);
219 int iommufd_ioas_unmap(struct iommufd_ucmd *ucmd);
220 int iommufd_ioas_option(struct iommufd_ucmd *ucmd);
224 int iommufd_vfio_ioas(struct iommufd_ucmd *ucmd);
253 int iommufd_hwpt_alloc(struct iommufd_ucmd *ucmd);
291 iommufd_get_device(struct iommufd_ucmd *ucmd, u32 id)
293 return container_of(iommufd_get_object(ucmd->ictx, id,
299 int iommufd_get_hw_info(struct iommufd_ucmd *ucmd);
320 int iommufd_test(struct iommufd_ucmd *ucmd);
323 void iommufd_test_syz_conv_iova_id(struct iommufd_ucmd *ucmd,
330 static inline void iommufd_test_syz_conv_iova_id(struct iommufd_ucmd *ucmd,