Home
last modified time | relevance | path

Searched refs:fd_flags (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/dmabuf-heaps/
Ddmabuf-heap.c105 static int dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags, in dmabuf_heap_alloc_fdflags() argument
111 .fd_flags = fd_flags, in dmabuf_heap_alloc_fdflags()
230 __u32 fd_flags; in dmabuf_heap_alloc_older() member
234 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_older()
258 __u32 fd_flags; in dmabuf_heap_alloc_newer() member
266 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_newer()
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/
Dsystem_heap.c37 unsigned long fd_flags, in system_heap_allocate() argument
76 dmabuf = heap_helper_export_dmabuf(helper_buffer, fd_flags); in system_heap_allocate()
84 ret = dma_buf_fd(dmabuf, fd_flags); in system_heap_allocate()
Dcma_heap.c45 unsigned long fd_flags, in cma_heap_allocate() argument
109 dmabuf = heap_helper_export_dmabuf(helper_buffer, fd_flags); in cma_heap_allocate()
118 ret = dma_buf_fd(dmabuf, fd_flags); in cma_heap_allocate()
Dheap-helpers.h50 int fd_flags);
Dheap-helpers.c29 int fd_flags) in heap_helper_export_dmabuf() argument
36 exp_info.flags = fd_flags; in heap_helper_export_dmabuf()
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-heap.c53 unsigned int fd_flags, in dma_heap_buffer_alloc() argument
64 return heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
93 if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS) in dma_heap_ioctl_allocate()
97 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch296 - unsigned int fd_flags,
323 + unsigned int fd_flags,
326 + if (fd_flags & ~DMA_HEAP_VALID_FD_FLAGS)
340 return heap->ops->allocate(heap, len, fd_flags, heap_flags);
345 + unsigned int fd_flags,
351 + dmabuf = dma_heap_buffer_alloc(heap, len, fd_flags, heap_flags);
356 + fd = dma_buf_fd(dmabuf, fd_flags);
372 - if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS)
379 - heap_allocation->fd_flags,
382 + heap_allocation->fd_flags,
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddma-heap.h26 unsigned long fd_flags,
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Ddma-heap.h29 __u32 fd_flags; member
/kernel/linux/linux-5.10/include/uapi/linux/
Ddma-heap.h38 __u32 fd_flags; member
/kernel/linux/linux-5.10/include/scsi/fc/
Dfc_fip.h241 __u8 fd_flags; /* bit0 is fka disable flag */ member
/kernel/linux/linux-5.10/include/scsi/
Dlibfcoe.h216 u8 fd_flags:1; member
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_ctlr.c974 if (fka->fd_flags & FIP_FKA_ADV_D) in fcoe_ctlr_parse_adv()
975 fcf->fd_flags = 1; in fcoe_ctlr_parse_adv()
1069 fcf->fd_flags = new.fd_flags; in fcoe_ctlr_recv_adv()
1073 if (fcf == fip->sel_fcf && !fcf->fd_flags) { in fcoe_ctlr_recv_adv()
1834 if (sel && !sel->fd_flags) { in fcoe_ctlr_timer_work()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_sockmap.c594 int fd_flags = O_NONBLOCK; in msg_loop() local
598 fcntl(fd, fd_flags); in msg_loop()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch1233 unsigned long fd_flags,
1278 + * @fd_flags: flags to set on returned dma-buf fd
1284 + unsigned int fd_flags,
1298 + * @fd_flags: flags to set on returned dma-buf fd
1302 + unsigned int fd_flags,
Ddrivers.patch5606 - unsigned int fd_flags,
5633 + unsigned int fd_flags,
5636 + if (fd_flags & ~DMA_HEAP_VALID_FD_FLAGS)
5650 return heap->ops->allocate(heap, len, fd_flags, heap_flags);
5655 + unsigned int fd_flags,
5661 + dmabuf = dma_heap_buffer_alloc(heap, len, fd_flags, heap_flags);
5666 + fd = dma_buf_fd(dmabuf, fd_flags);
5682 - if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS)
5689 - heap_allocation->fd_flags,
5692 + heap_allocation->fd_flags,
[all …]