Searched refs:hl_mmap_mem_buf (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/accel/habanalabs/common/ |
H A D | memory_mgr.c | 20 struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg, u64 handle) in hl_mmap_mem_buf_get() 22 struct hl_mmap_mem_buf *buf; in hl_mmap_mem_buf_get() 45 static void hl_mmap_mem_buf_destroy(struct hl_mmap_mem_buf *buf) in hl_mmap_mem_buf_destroy() 63 struct hl_mmap_mem_buf *buf = in hl_mmap_mem_buf_release() 64 container_of(kref, struct hl_mmap_mem_buf, refcount); in hl_mmap_mem_buf_release() 83 struct hl_mmap_mem_buf *buf = in hl_mmap_mem_buf_remove_idr_locked() 84 container_of(kref, struct hl_mmap_mem_buf, refcount); in hl_mmap_mem_buf_remove_idr_locked() 97 int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf) in hl_mmap_mem_buf_put() 115 struct hl_mmap_mem_buf *buf; in hl_mmap_mem_buf_put_handle() 147 struct hl_mmap_mem_buf * [all …]
|
H A D | command_buffer.c | 168 static void hl_cb_mmap_mem_release(struct hl_mmap_mem_buf *buf) in hl_cb_mmap_mem_release() 182 static int hl_cb_mmap_mem_alloc(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args) in hl_cb_mmap_mem_alloc() 249 static int hl_cb_mmap(struct hl_mmap_mem_buf *buf, in hl_cb_mmap() 277 struct hl_mmap_mem_buf *buf; in hl_cb_create() 430 struct hl_mmap_mem_buf *buf; in hl_cb_get()
|
H A D | habanalabs.h | 893 struct hl_mmap_mem_buf; 933 int (*alloc)(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args); 934 int (*mmap)(struct hl_mmap_mem_buf *buf, struct vm_area_struct *vma, void *args); 935 void (*release)(struct hl_mmap_mem_buf *buf); 951 struct hl_mmap_mem_buf { struct 983 struct hl_mmap_mem_buf *buf; 1182 struct hl_mmap_mem_buf *buf; 1217 struct hl_mmap_mem_buf *buf; 4068 struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg, 4071 int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf); [all …]
|
H A D | memory.c | 2097 static void ts_buff_release(struct hl_mmap_mem_buf *buf) in ts_buff_release() 2106 static int hl_ts_mmap(struct hl_mmap_mem_buf *buf, struct vm_area_struct *vma, void *args) in hl_ts_mmap() 2114 static int hl_ts_alloc_buf(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args) in hl_ts_alloc_buf() 2181 struct hl_mmap_mem_buf *buf; in allocate_timestamps_buffers()
|
H A D | command_submission.c | 41 struct hl_mmap_mem_buf *buf;
|