Searched refs:hl_mmap_mem_buf (Results 1 – 5 of 5) sorted by relevance
| /Linux-v6.1/drivers/misc/habanalabs/common/ |
| 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() 46 static void hl_mmap_mem_buf_destroy(struct hl_mmap_mem_buf *buf) in hl_mmap_mem_buf_destroy() 64 struct hl_mmap_mem_buf *buf = in hl_mmap_mem_buf_release() 65 container_of(kref, struct hl_mmap_mem_buf, refcount); in hl_mmap_mem_buf_release() 84 struct hl_mmap_mem_buf *buf = in hl_mmap_mem_buf_remove_idr_locked() 85 container_of(kref, struct hl_mmap_mem_buf, refcount); in hl_mmap_mem_buf_remove_idr_locked() 98 int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf) in hl_mmap_mem_buf_put() 116 struct hl_mmap_mem_buf *buf; in hl_mmap_mem_buf_put_handle() 148 struct hl_mmap_mem_buf * [all …]
|
| D | command_buffer.c | 164 static void hl_cb_mmap_mem_release(struct hl_mmap_mem_buf *buf) in hl_cb_mmap_mem_release() 178 static int hl_cb_mmap_mem_alloc(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args) in hl_cb_mmap_mem_alloc() 245 static int hl_cb_mmap(struct hl_mmap_mem_buf *buf, in hl_cb_mmap() 273 struct hl_mmap_mem_buf *buf; in hl_cb_create() 408 struct hl_mmap_mem_buf *buf; in hl_cb_get()
|
| D | habanalabs.h | 859 struct hl_mmap_mem_buf; 887 int (*alloc)(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args); 888 int (*mmap)(struct hl_mmap_mem_buf *buf, struct vm_area_struct *vma, void *args); 889 void (*release)(struct hl_mmap_mem_buf *buf); 905 struct hl_mmap_mem_buf { struct 936 struct hl_mmap_mem_buf *buf; argument 1096 struct hl_mmap_mem_buf *buf; 1125 struct hl_mmap_mem_buf *buf; 3792 struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg, 3795 int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf); [all …]
|
| D | memory.c | 2072 static void ts_buff_release(struct hl_mmap_mem_buf *buf) in ts_buff_release() 2081 static int hl_ts_mmap(struct hl_mmap_mem_buf *buf, struct vm_area_struct *vma, void *args) in hl_ts_mmap() 2089 static int hl_ts_alloc_buf(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args) in hl_ts_alloc_buf() 2155 struct hl_mmap_mem_buf *buf; in allocate_timestamps_buffers()
|
| D | command_submission.c | 3036 static int ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf, in ts_buff_get_kernel_ts_record() 3122 struct hl_mmap_mem_buf *buf; in _hl_interrupt_wait_ioctl()
|