Home
last modified time | relevance | path

Searched refs:heap_flags (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/include/uapi/linux/
H A Ddma-heap.h31 * @heap_flags: flags passed to heap
39 __u64 heap_flags; member
55 static inline void set_owner_id_for_heap_flags(__u64 *heap_flags, __u64 owner_id) in set_owner_id_for_heap_flags() argument
57 if (heap_flags == NULL || owner_id >= COUNT_DMA_HEAP_FLAG_OWNER) { in set_owner_id_for_heap_flags()
60 *heap_flags |= owner_id << OWNER_OFFSET_BIT; in set_owner_id_for_heap_flags()
64 static inline __u64 get_owner_id_from_heap_flags(__u64 heap_flags) in get_owner_id_from_heap_flags() argument
66 return (heap_flags & OWNER_MASK) >> OWNER_OFFSET_BIT; in get_owner_id_from_heap_flags()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Ddma-heap.h30 __u64 heap_flags; member
45 static inline void set_owner_id_for_heap_flags(__u64 *heap_flags, __u64 owner_id) in set_owner_id_for_heap_flags() argument
47 if (heap_flags == NULL || owner_id >= COUNT_DMA_HEAP_FLAG_OWNER) { in set_owner_id_for_heap_flags()
50 *heap_flags |= owner_id << OWNER_OFFSET_BIT; in set_owner_id_for_heap_flags()
54 static inline __u64 get_owner_id_from_heap_flags(__u64 heap_flags) in get_owner_id_from_heap_flags() argument
56 return (heap_flags & OWNER_MASK) >> OWNER_OFFSET_BIT; in get_owner_id_from_heap_flags()
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Ddma-heap.h30 __u64 heap_flags; member
45 static inline void set_owner_id_for_heap_flags(__u64 *heap_flags, __u64 owner_id) in set_owner_id_for_heap_flags() argument
47 if (heap_flags == NULL || owner_id >= COUNT_DMA_HEAP_FLAG_OWNER) { in set_owner_id_for_heap_flags()
50 *heap_flags |= owner_id << OWNER_OFFSET_BIT; in set_owner_id_for_heap_flags()
54 static inline __u64 get_owner_id_from_heap_flags(__u64 heap_flags) in get_owner_id_from_heap_flags() argument
56 return (heap_flags & OWNER_MASK) >> OWNER_OFFSET_BIT; in get_owner_id_from_heap_flags()
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-heap.c54 unsigned int heap_flags) in dma_heap_buffer_alloc()
64 return heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
96 if (heap_allocation->heap_flags & ~DMA_HEAP_VALID_HEAP_FLAGS) in dma_heap_ioctl_allocate()
101 heap_allocation->heap_flags); in dma_heap_ioctl_allocate()
52 dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, unsigned int fd_flags, unsigned int heap_flags) dma_heap_buffer_alloc() argument
/kernel/linux/linux-5.10/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c106 unsigned int heap_flags, int *dmabuf_fd) in dmabuf_heap_alloc_fdflags()
112 .heap_flags = heap_flags, in dmabuf_heap_alloc_fdflags()
259 __u64 heap_flags; in dmabuf_heap_alloc_newer() member
267 .heap_flags = flags, in dmabuf_heap_alloc_newer()
105 dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags, unsigned int heap_flags, int *dmabuf_fd) dmabuf_heap_alloc_fdflags() argument
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Ddma-heap.c54 unsigned int heap_flags) in dma_heap_buffer_alloc()
67 dmabuf = heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
108 if (heap_allocation->heap_flags & ~DMA_HEAP_VALID_HEAP_FLAGS) in dma_heap_ioctl_allocate()
113 heap_allocation->heap_flags); in dma_heap_ioctl_allocate()
52 dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, unsigned int fd_flags, unsigned int heap_flags) dma_heap_buffer_alloc() argument
/kernel/linux/linux-6.6/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c105 unsigned int heap_flags, int *dmabuf_fd) in dmabuf_heap_alloc_fdflags()
111 .heap_flags = heap_flags, in dmabuf_heap_alloc_fdflags()
336 __u64 heap_flags; in dmabuf_heap_alloc_newer() member
344 .heap_flags = flags, in dmabuf_heap_alloc_newer()
104 dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags, unsigned int heap_flags, int *dmabuf_fd) dmabuf_heap_alloc_fdflags() argument
/kernel/linux/linux-6.6/include/uapi/linux/
H A Ddma-heap.h31 * @heap_flags: flags passed to heap
39 __u64 heap_flags; member
/kernel/linux/linux-5.10/include/linux/
H A Ddma-heap.h27 unsigned long heap_flags);
/kernel/linux/linux-6.6/include/linux/
H A Ddma-heap.h27 unsigned long heap_flags);
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/
H A Dsystem_heap.c38 unsigned long heap_flags) in system_heap_allocate()
35 system_heap_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, unsigned long heap_flags) system_heap_allocate() argument
H A Dcma_heap.c46 unsigned long heap_flags) in cma_heap_allocate()
43 cma_heap_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, unsigned long heap_flags) cma_heap_allocate() argument
/kernel/linux/linux-6.6/drivers/dma-buf/heaps/
H A Dsystem_heap.c337 unsigned long heap_flags) in system_heap_allocate()
334 system_heap_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, unsigned long heap_flags) system_heap_allocate() argument
H A Dcma_heap.c279 unsigned long heap_flags) in cma_heap_allocate()
276 cma_heap_allocate(struct dma_heap *heap, unsigned long len, unsigned long fd_flags, unsigned long heap_flags) cma_heap_allocate() argument

Completed in 7 milliseconds