Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c104 static int dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags, in dmabuf_heap_alloc_fdflags() argument
110 .fd_flags = fd_flags, in dmabuf_heap_alloc_fdflags()
291 __u32 fd_flags; in dmabuf_heap_alloc_older() member
295 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_older()
319 __u32 fd_flags; in dmabuf_heap_alloc_newer() member
327 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_newer()
/linux/drivers/dma-buf/
H A Ddma-heap.c53 unsigned int fd_flags, in dma_heap_buffer_alloc() argument
67 dmabuf = heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
71 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_buffer_alloc()
105 if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS) in dma_heap_ioctl_allocate()
112 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()
/linux/fs/bcachefs/
H A Dthread_with_file.c28 unsigned fd_flags = O_CLOEXEC; in bch2_run_thread_with_file() local
31 fd_flags |= O_RDWR; in bch2_run_thread_with_file()
33 fd_flags |= O_RDONLY; in bch2_run_thread_with_file()
35 fd_flags |= O_WRONLY; in bch2_run_thread_with_file()
46 ret = get_unused_fd_flags(fd_flags); in bch2_run_thread_with_file()
51 file = anon_inode_getfile(name, fops, thr, fd_flags); in bch2_run_thread_with_file()
/linux/include/uapi/linux/
H A Ddma-heap.h38 __u32 fd_flags; member
/linux/include/linux/
H A Ddma-heap.h26 unsigned long fd_flags,
/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c277 unsigned long fd_flags, in cma_heap_allocate() argument
346 exp_info.flags = fd_flags; in cma_heap_allocate()
H A Dsystem_heap.c336 unsigned long fd_flags, in system_heap_allocate() argument
396 exp_info.flags = fd_flags; in system_heap_allocate()
/linux/include/scsi/fc/
H A Dfc_fip.h241 __u8 fd_flags; /* bit0 is fka disable flag */ member
/linux/include/scsi/
H A Dlibfcoe.h219 u8 fd_flags:1; member
/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c972 if (fka->fd_flags & FIP_FKA_ADV_D) in fcoe_ctlr_parse_adv()
973 fcf->fd_flags = 1; in fcoe_ctlr_parse_adv()
1067 fcf->fd_flags = new.fd_flags; in fcoe_ctlr_recv_adv()
1071 if (fcf == fip->sel_fcf && !fcf->fd_flags) { in fcoe_ctlr_recv_adv()
1826 if (sel && !sel->fd_flags) { in fcoe_ctlr_timer_work()
/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c602 int fd_flags = O_NONBLOCK; in msg_loop() local
606 fcntl(fd, fd_flags); in msg_loop()