Lines Matching defs:buf
30 #include <linux/dma-buf.h>
907 int (*alloc)(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args);
908 int (*mmap)(struct hl_mmap_mem_buf *buf, struct vm_area_struct *vma, void *args);
909 void (*release)(struct hl_mmap_mem_buf *buf);
940 * @buf: back pointer to the parent mappable memory buffer
957 struct hl_mmap_mem_buf *buf;
1122 * @buf: pointer to timestamp buffer to be freed
1127 struct hl_mmap_mem_buf *buf;
1144 * @buf: pointer to the timestamp buffer which include both user/kernel buffers.
1156 struct hl_mmap_mem_buf *buf;
1432 * @buf: buffer for engines data in ascii
1437 char *buf;
1770 * struct hl_dmabuf_priv - a dma-buf private object.
1771 * @dmabuf: pointer to dma-buf object.
1772 * @ctx: pointer to the dma-buf owner's context.
1773 * @phys_pg_pack: pointer to physical page pack if the dma-buf was exported
1777 * if phys_pg_pack is NULL (dma-buf was exported from address).
2297 ssize_t (*write)(struct file *file, const char __user *buf,
2478 int (*print_single_monitor)(char **buf, size_t *size, size_t *offset,
2486 u32 engine_id, char **buf,
3237 * @dmabuf_export_cnt: number of dma-buf exporting.
3921 __printf(4, 5) int hl_snprintf_resize(char **buf, size_t *size, size_t *offset,
3923 char *hl_format_as_binary(char *buf, size_t buf_len, u32 n);
3934 int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf);