Lines Matching refs:hl_cb
16 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem()
115 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem()
141 static void cb_fini(struct hl_device *hdev, struct hl_cb *cb) in cb_fini()
153 static void cb_do_release(struct hl_device *hdev, struct hl_cb *cb) in cb_do_release()
167 struct hl_cb *cb; in cb_release()
169 cb = container_of(ref, struct hl_cb, refcount); in cb_release()
182 static struct hl_cb *hl_cb_alloc(struct hl_device *hdev, u32 cb_size, in hl_cb_alloc()
185 struct hl_cb *cb; in hl_cb_alloc()
242 struct hl_cb *cb; in hl_cb_create()
351 struct hl_cb *cb; in hl_cb_destroy()
426 struct hl_cb *cb = (struct hl_cb *) vma->vm_private_data; in cb_vm_close()
451 struct hl_cb *cb; in hl_cb_mmap()
530 struct hl_cb *hl_cb_get(struct hl_device *hdev, struct hl_cb_mgr *mgr, in hl_cb_get()
533 struct hl_cb *cb; in hl_cb_get()
553 void hl_cb_put(struct hl_cb *cb) in hl_cb_put()
566 struct hl_cb *cb; in hl_cb_mgr_fini()
582 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size, in hl_cb_kernel_create()
586 struct hl_cb *cb; in hl_cb_kernel_create()
614 struct hl_cb *cb; in hl_cb_pool_init()
637 struct hl_cb *cb, *tmp; in hl_cb_pool_fini()