Lines Matching refs:hl_cb
17 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem()
65 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem()
77 static void cb_fini(struct hl_device *hdev, struct hl_cb *cb) in cb_fini()
88 static void cb_do_release(struct hl_device *hdev, struct hl_cb *cb) in cb_do_release()
99 static struct hl_cb *hl_cb_alloc(struct hl_device *hdev, u32 cb_size, in hl_cb_alloc()
102 struct hl_cb *cb = NULL; in hl_cb_alloc()
166 struct hl_cb *cb = buf->private; in hl_cb_mmap_mem_release()
181 struct hl_cb *cb; in hl_cb_mmap_mem_alloc()
248 struct hl_cb *cb = buf->private; in hl_cb_mmap()
316 struct hl_cb *cb; in hl_cb_info()
406 struct hl_cb *hl_cb_get(struct hl_mem_mgr *mmg, u64 handle) in hl_cb_get()
417 void hl_cb_put(struct hl_cb *cb) in hl_cb_put()
422 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size, in hl_cb_kernel_create()
426 struct hl_cb *cb; in hl_cb_kernel_create()
455 struct hl_cb *cb; in hl_cb_pool_init()
478 struct hl_cb *cb, *tmp; in hl_cb_pool_fini()