Lines Matching refs:hl_cb
17 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem()
68 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem()
80 static void cb_fini(struct hl_device *hdev, struct hl_cb *cb) in cb_fini()
91 static void cb_do_release(struct hl_device *hdev, struct hl_cb *cb) in cb_do_release()
103 static struct hl_cb *hl_cb_alloc(struct hl_device *hdev, u32 cb_size, in hl_cb_alloc()
106 struct hl_cb *cb = NULL; in hl_cb_alloc()
170 struct hl_cb *cb = buf->private; in hl_cb_mmap_mem_release()
185 struct hl_cb *cb; in hl_cb_mmap_mem_alloc()
252 struct hl_cb *cb = buf->private; in hl_cb_mmap()
305 struct hl_cb *cb; in hl_cb_destroy()
337 struct hl_cb *cb; in hl_cb_info()
428 struct hl_cb *hl_cb_get(struct hl_mem_mgr *mmg, u64 handle) in hl_cb_get()
439 void hl_cb_put(struct hl_cb *cb) in hl_cb_put()
444 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size, in hl_cb_kernel_create()
448 struct hl_cb *cb; in hl_cb_kernel_create()
477 struct hl_cb *cb; in hl_cb_pool_init()
500 struct hl_cb *cb, *tmp; in hl_cb_pool_fini()