Lines Matching refs:hl_cb
15 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem()
114 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem()
140 static void cb_fini(struct hl_device *hdev, struct hl_cb *cb) in cb_fini()
152 static void cb_do_release(struct hl_device *hdev, struct hl_cb *cb) in cb_do_release()
166 struct hl_cb *cb; in cb_release()
168 cb = container_of(ref, struct hl_cb, refcount); in cb_release()
181 static struct hl_cb *hl_cb_alloc(struct hl_device *hdev, u32 cb_size, in hl_cb_alloc()
184 struct hl_cb *cb = NULL; in hl_cb_alloc()
245 struct hl_cb *cb; in hl_cb_create()
354 struct hl_cb *cb; in hl_cb_destroy()
385 struct hl_cb *cb; in hl_cb_info()
468 struct hl_cb *cb = (struct hl_cb *) vma->vm_private_data; in cb_vm_close()
493 struct hl_cb *cb; in hl_cb_mmap()
573 struct hl_cb *hl_cb_get(struct hl_device *hdev, struct hl_cb_mgr *mgr, in hl_cb_get()
576 struct hl_cb *cb; in hl_cb_get()
596 void hl_cb_put(struct hl_cb *cb) in hl_cb_put()
609 struct hl_cb *cb; in hl_cb_mgr_fini()
625 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size, in hl_cb_kernel_create()
629 struct hl_cb *cb; in hl_cb_kernel_create()
659 struct hl_cb *cb; in hl_cb_pool_init()
682 struct hl_cb *cb, *tmp; in hl_cb_pool_fini()