Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Drk-dma-heap.h55 unsigned int fd_flags,
67 unsigned int fd_flags,
111 unsigned int fd_flags, in rk_dma_heap_buffer_alloc() argument
119 unsigned int fd_flags, in rk_dma_heap_bufferfd_alloc() argument
H A Ddma-heap.h28 unsigned long fd_flags,
108 unsigned int fd_flags,
126 unsigned int fd_flags,
/OK3568_Linux_fs/kernel/tools/testing/selftests/dmabuf-heaps/
H A 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()
/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-heap.c80 unsigned int fd_flags, in dma_heap_buffer_alloc() argument
83 if (fd_flags & ~DMA_HEAP_VALID_FD_FLAGS) in dma_heap_buffer_alloc()
96 return heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
101 unsigned int fd_flags, in dma_heap_bufferfd_alloc() argument
107 dmabuf = dma_heap_buffer_alloc(heap, len, fd_flags, heap_flags); in dma_heap_bufferfd_alloc()
112 fd = dma_buf_fd(dmabuf, fd_flags); in dma_heap_bufferfd_alloc()
149 heap_allocation->fd_flags, in dma_heap_ioctl_allocate()
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Drk_cma_heap.c349 unsigned long fd_flags, in cma_heap_do_allocate() argument
421 exp_info.flags = fd_flags; in cma_heap_do_allocate()
450 unsigned long fd_flags, in cma_heap_allocate() argument
453 return cma_heap_do_allocate(heap, len, fd_flags, heap_flags, false); in cma_heap_allocate()
498 unsigned long fd_flags, in cma_uncached_heap_allocate() argument
501 return cma_heap_do_allocate(heap, len, fd_flags, heap_flags, true); in cma_uncached_heap_allocate()
506 unsigned long fd_flags, in cma_uncached_heap_not_initialized() argument
H A Dsystem_heap.c399 unsigned long fd_flags, in system_heap_do_allocate() argument
459 exp_info.flags = fd_flags; in system_heap_do_allocate()
497 unsigned long fd_flags, in system_heap_allocate() argument
500 return system_heap_do_allocate(heap, len, fd_flags, heap_flags, false); in system_heap_allocate()
525 unsigned long fd_flags, in system_uncached_heap_allocate() argument
528 return system_heap_do_allocate(heap, len, fd_flags, heap_flags, true); in system_uncached_heap_allocate()
534 unsigned long fd_flags, in system_uncached_heap_not_initialized() argument
H A Drk_system_heap.c514 unsigned long fd_flags, in system_heap_do_allocate() argument
610 exp_info.flags = fd_flags; in system_heap_do_allocate()
652 unsigned long fd_flags, in system_heap_allocate() argument
655 return system_heap_do_allocate(heap, len, fd_flags, heap_flags, false); in system_heap_allocate()
680 unsigned long fd_flags, in system_uncached_heap_allocate() argument
683 return system_heap_do_allocate(heap, len, fd_flags, heap_flags, true); in system_uncached_heap_allocate()
689 unsigned long fd_flags, in system_uncached_heap_not_initialized() argument
H A Dsram_heap.c181 unsigned long fd_flags, in sram_dma_heap_allocate() argument
214 exp_info.flags = fd_flags; in sram_dma_heap_allocate()
H A Dcma_heap.c275 unsigned long fd_flags, in cma_heap_allocate() argument
344 exp_info.flags = fd_flags; in cma_heap_allocate()
/OK3568_Linux_fs/kernel/drivers/dma-buf/rk_heaps/
H A Drk-dma-heap.c119 unsigned int fd_flags, in rk_dma_heap_buffer_alloc() argument
125 if (fd_flags & ~RK_DMA_HEAP_VALID_FD_FLAGS) in rk_dma_heap_buffer_alloc()
138 dmabuf = heap->ops->allocate(heap, len, fd_flags, heap_flags, name); in rk_dma_heap_buffer_alloc()
148 unsigned int fd_flags, in rk_dma_heap_bufferfd_alloc() argument
155 dmabuf = rk_dma_heap_buffer_alloc(heap, len, fd_flags, heap_flags, in rk_dma_heap_bufferfd_alloc()
161 fd = dma_buf_fd(dmabuf, fd_flags); in rk_dma_heap_bufferfd_alloc()
245 heap_allocation->fd_flags, in rk_dma_heap_ioctl_allocate()
H A Drk-dma-heap.h44 unsigned long fd_flags,
H A Drk-cma-heap.c424 unsigned long fd_flags, in rk_cma_heap_allocate() argument
495 exp_info.flags = fd_flags; in rk_cma_heap_allocate()
/OK3568_Linux_fs/external/linux-rga/samples/utils/allocator/
H A Ddma_alloc.cpp58 __u32 fd_flags; member
113 buf_data.fd_flags = O_CLOEXEC | O_RDWR; in dma_buf_alloc()
/OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/sources/
H A Ddma_alloc.cpp59 __u32 fd_flags; member
118 buf_data.fd_flags = O_CLOEXEC | O_RDWR; in dma_buf_alloc()
/OK3568_Linux_fs/external/mpp/osal/allocator/
H A Dallocator_dma_heap.c43 RK_U32 fd_flags; member
96 .fd_flags = O_RDWR | O_CLOEXEC, in dma_heap_alloc()
102 data.fd_flags = O_RDWR | O_CLOEXEC; in dma_heap_alloc()
/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Ddma-heap.h38 __u32 fd_flags; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Drk-dma-heap.h40 __u32 fd_flags; member
H A Ddma-heap.h38 __u32 fd_flags; member
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_mem.c189 .fd_flags = O_CLOEXEC | O_RDWR, in crypto_alloc_node_dma_heap()
227 node->flags = req.fd_flags; in crypto_alloc_node_dma_heap()
/OK3568_Linux_fs/kernel/include/scsi/fc/
H A Dfc_fip.h241 __u8 fd_flags; /* bit0 is fka disable flag */ member
/OK3568_Linux_fs/kernel/include/scsi/
H A Dlibfcoe.h216 u8 fd_flags:1; member
/OK3568_Linux_fs/kernel/drivers/scsi/fcoe/
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_sockmap.c594 int fd_flags = O_NONBLOCK; in msg_loop() local
598 fcntl(fd, fd_flags); in msg_loop()