Lines Matching +full:close +full:- +full:range
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR MIT) */
90 * N.B. Where more than one page has been mapped into a contiguous range, the
91 * supplied @vaddr must correspond to the start of the range; otherwise
93 * contiguously-allocated range at once, and not any subrange thereof.
99 /* The virtual address of the first mapped page in a range. */
125 * cleanup if this side crashes. Required to implement cross-domain robust
126 * mutexes or close notification on communication channels.
174 * The local buffer may cross a Xen page boundary -- the driver will
185 * If -1 is returned, the status of all segments is undefined.
220 * Create a dma-buf [1] from grant references @refs of count @count provided
223 * By default dma-buf is backed by system memory pages, but by providing
225 * a DMA write-combine or coherent buffer, e.g. allocated with dma_alloc_wc/
228 * Returns 0 if dma-buf was successfully created and the corresponding
229 * dma-buf's file descriptor is returned in @fd.
231 * [1] Documentation/driver-api/dma-buf.rst
239 /* Specific options for this dma-buf: see GNTDEV_DMA_FLAG_XXX. */
244 /* File descriptor of the dma-buf. */
254 * This will block until the dma-buf with the file descriptor @fd is
259 * then -ETIMEDOUT error is returned.
261 * been released, then -ENOENT is returned. For valid file descriptors
274 * Import a dma-buf with file descriptor @fd and export granted references
275 * to the pages of that dma-buf into array @refs of size @count.
282 /* File descriptor of the dma-buf. */
288 /* Reserved - must be zero. */
296 * This will close all references to the imported buffer with file descriptor