Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/dmabuf-heaps/
H A 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/drivers/dma-buf/
H A Ddma-heap.c58 u32 fd_flags, in dma_heap_buffer_alloc() argument
72 dmabuf = heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
76 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_buffer_alloc()
110 if (heap_allocation->fd_flags & ~DMA_HEAP_VALID_FD_FLAGS) in dma_heap_ioctl_allocate()
117 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()
/linux/mm/
H A Dmemfd.c510 unsigned int fd_flags; in SYSCALL_DEFINE2() local
521 fd_flags = (flags & MFD_CLOEXEC) ? O_CLOEXEC : 0; in SYSCALL_DEFINE2()
522 return FD_ADD(fd_flags, memfd_alloc_file(name, flags)); in SYSCALL_DEFINE2()
/linux/include/uapi/linux/
H A Ddma-heap.h38 __u32 fd_flags; member
/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c297 u32 fd_flags, in cma_heap_allocate() argument
366 exp_info.flags = fd_flags; in cma_heap_allocate()
H A Dsystem_heap.c343 u32 fd_flags, in system_heap_allocate() argument
403 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/drivers/tee/
H A Dtee_heap.c169 unsigned long len, u32 fd_flags, in tee_dma_heap_alloc() argument
208 exp_info.flags = fd_flags; in tee_dma_heap_alloc()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Ddmabuf_iter.c81 .fd_flags = O_RDWR | O_CLOEXEC, in create_sys_heap_dmabuf()
/linux/drivers/scsi/fnic/
H A Dfip.c281 (disc_adv->fka_adv_desc.fd_flags & 1); in fnic_fcoe_fip_discovery_resp()
305 && ((disc_adv->fka_adv_desc.fd_flags & 1) == in fnic_fcoe_fip_discovery_resp()
309 (disc_adv->fka_adv_desc.fd_flags & 1); in fnic_fcoe_fip_discovery_resp()
/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()
1825 if (sel && !sel->fd_flags) { in fcoe_ctlr_timer_work()
/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c680 int fd_flags = O_NONBLOCK; in msg_loop() local
688 fcntl(fd, fd_flags); in msg_loop()