Home
last modified time | relevance | path

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

/Linux-v5.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()
/Linux-v5.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
35 exp_info.flags = fd_flags; in heap_helper_export_dmabuf()
/Linux-v5.10/drivers/dma-buf/
Ddma-heap.c52 unsigned int fd_flags, in dma_heap_buffer_alloc() argument
63 return heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
92 if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS) in dma_heap_ioctl_allocate()
99 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()
/Linux-v5.10/include/uapi/linux/
Ddma-heap.h38 __u32 fd_flags; member
/Linux-v5.10/include/linux/
Ddma-heap.h26 unsigned long fd_flags,
/Linux-v5.10/include/scsi/fc/
Dfc_fip.h241 __u8 fd_flags; /* bit0 is fka disable flag */ member
/Linux-v5.10/include/scsi/
Dlibfcoe.h216 u8 fd_flags:1; member
/Linux-v5.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()
/Linux-v5.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()