Lines Matching +full:last +full:- +full:used

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
15 * This is used for future extension.
23 * struct vduse_dev_config - basic configuration of a VDUSE device
34 * Structure used by VDUSE_CREATE_DEV ioctl to create VDUSE device.
61 * struct vduse_iotlb_entry - entry of IOTLB to describe one IOVA region [start, last]
64 * @last: last of the IOVA region
67 * Structure used by VDUSE_IOTLB_GET_FD ioctl to find an overlapped IOVA region.
72 __u64 last; member
80 * Find the first IOVA region that overlaps with the range [start, last]
81 * and return the corresponding file descriptor. Return -EINVAL means the
82 * IOVA region doesn't exist. Caller should set start and last fields.
94 * struct vduse_config_data - data used to update configuration space
97 * @buffer: the buffer used to write from
99 * Structure used by VDUSE_DEV_SET_CONFIG ioctl to update device
112 * Inject a config interrupt. It's usually used to notify virtio driver
118 * struct vduse_vq_config - basic configuration of a virtqueue
123 * Structure used by VDUSE_VQ_SETUP ioctl to setup a virtqueue.
138 * struct vduse_vq_state_split - split virtqueue state
146 * struct vduse_vq_state_packed - packed virtqueue state
147 * @last_avail_counter: last driver ring wrap counter observed by device
150 * @last_used_idx: used index
160 * struct vduse_vq_info - information of a virtqueue
170 * Structure used by VDUSE_VQ_GET_INFO ioctl to get virtqueue's information.
189 * struct vduse_vq_eventfd - eventfd configuration for a virtqueue
191 * @fd: eventfd, -1 means de-assigning the eventfd
193 * Structure used by VDUSE_VQ_SETUP_KICKFD ioctl to setup kick eventfd.
197 #define VDUSE_EVENTFD_DEASSIGN -1
202 * Setup kick eventfd for specified virtqueue. The kick eventfd is used
208 * Inject an interrupt for specific virtqueue. It's used to notify virtio driver
209 * to consume the used vring.
214 * struct vduse_iova_umem - userspace memory configuration for one IOVA region
220 * Structure used by VDUSE_IOTLB_REG_UMEM and VDUSE_IOTLB_DEREG_UMEM
221 * ioctls to register/de-register userspace memory for IOVA regions
233 /* De-register the userspace memory. Caller should set iova and size field. */
237 * struct vduse_iova_info - information of one IOVA region
239 * @last: last of the IOVA region
243 * Structure used by VDUSE_IOTLB_GET_INFO ioctl to get information of
248 __u64 last; member
255 * Find the first IOVA region that overlaps with the range [start, last]
256 * and return some information on it. Caller should set start and last fields.
263 * enum vduse_req_type - request type
276 * struct vduse_vq_state - virtqueue state
290 * struct vduse_dev_status - device status
298 * struct vduse_iova_range - IOVA range [start, last]
300 * @last: last of the IOVA range
304 __u64 last; member
308 * struct vduse_dev_request - control request
317 * Structure used by read(2) on /dev/vduse/$NAME.
332 * struct vduse_dev_response - response to control request
339 * Structure used by write(2) on /dev/vduse/$NAME.