Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/dmabuf-heaps/
Ddmabuf-heap.c106 static int dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags, in dmabuf_heap_alloc_fdflags() argument
112 .fd_flags = fd_flags, in dmabuf_heap_alloc_fdflags()
293 __u32 fd_flags; in dmabuf_heap_alloc_older() member
297 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_older()
321 __u32 fd_flags; in dmabuf_heap_alloc_newer() member
329 .fd_flags = O_RDWR | O_CLOEXEC, in dmabuf_heap_alloc_newer()
/linux-6.12.1/drivers/dma-buf/
Ddma-heap.c52 u32 fd_flags, in dma_heap_buffer_alloc() argument
66 dmabuf = heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
70 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_buffer_alloc()
104 if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS) in dma_heap_ioctl_allocate()
111 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()
/linux-6.12.1/fs/bcachefs/
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-6.12.1/include/uapi/linux/
Ddma-heap.h38 __u32 fd_flags; member
/linux-6.12.1/include/linux/
Ddma-heap.h25 u32 fd_flags,
/linux-6.12.1/drivers/dma-buf/heaps/
Dcma_heap.c277 u32 fd_flags, in cma_heap_allocate() argument
346 exp_info.flags = fd_flags; in cma_heap_allocate()
Dsystem_heap.c336 u32 fd_flags, in system_heap_allocate() argument
396 exp_info.flags = fd_flags; in system_heap_allocate()
/linux-6.12.1/include/scsi/fc/
Dfc_fip.h241 __u8 fd_flags; /* bit0 is fka disable flag */ member
/linux-6.12.1/include/scsi/
Dlibfcoe.h219 u8 fd_flags:1; member
/linux-6.12.1/drivers/scsi/fcoe/
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-6.12.1/tools/testing/selftests/bpf/
Dtest_sockmap.c603 int fd_flags = O_NONBLOCK; in msg_loop() local
607 fcntl(fd, fd_flags); in msg_loop()