Home
last modified time | relevance | path

Searched refs:hl_mmap_mem_buf (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory_mgr.c20 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 …]
Dcommand_buffer.c168 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()
429 struct hl_mmap_mem_buf *buf; in hl_cb_get()
Dhabanalabs.h879 struct hl_mmap_mem_buf;
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);
925 struct hl_mmap_mem_buf { struct
957 struct hl_mmap_mem_buf *buf;
1127 struct hl_mmap_mem_buf *buf;
1156 struct hl_mmap_mem_buf *buf;
3931 struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg,
3934 int hl_mmap_mem_buf_put(struct hl_mmap_mem_buf *buf);
[all …]
Dmemory.c2073 static void ts_buff_release(struct hl_mmap_mem_buf *buf) in ts_buff_release()
2082 static int hl_ts_mmap(struct hl_mmap_mem_buf *buf, struct vm_area_struct *vma, void *args) in hl_ts_mmap()
2090 static int hl_ts_alloc_buf(struct hl_mmap_mem_buf *buf, gfp_t gfp, void *args) in hl_ts_alloc_buf()
2157 struct hl_mmap_mem_buf *buf; in allocate_timestamps_buffers()
Dcommand_submission.c3200 static int ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf, in ts_buff_get_kernel_ts_record()
3289 struct hl_mmap_mem_buf *buf; in _hl_interrupt_wait_ioctl()