Lines Matching +full:close +full:- +full:range
2 VDUSE - "vDPA Device in Userspace"
9 possible to implement software-emulated vDPA devices in userspace. And
21 ----------------------------
41 2. Close the file descriptor referring to /dev/vduse/$NAME.
49 .. code-block:: c
59 return -ENOMEM;
92 return -1;
96 ---------------
104 add per-virtqueue configuration such as the max size of virtqueue to the device.
111 .. code-block:: c
121 return -1;
133 return -1;
140 - VDUSE_GET_VQ_STATE: Get the state for virtqueue, userspace should return
144 - VDUSE_SET_STATUS: Set the device status, userspace should follow
145 the virtio spec: https://docs.oasis-open.org/virtio/virtio/v1.1/virtio-v1.1.html
150 - VDUSE_UPDATE_IOTLB: Notify userspace to update the memory mapping for specified
151 IOVA range, userspace should firstly remove the old mapping, then setup the new
164 .. code-block:: c
197 * range [start, last] and return the corresponding file descriptor.
203 size = entry.last - entry.start + 1;
204 *len = entry.last - iova + 1;
207 close(fd);
218 return addr + iova - entry.start;