Lines Matching refs:hl_cb
14 static void cb_fini(struct hl_device *hdev, struct hl_cb *cb) in cb_fini()
22 static void cb_do_release(struct hl_device *hdev, struct hl_cb *cb) in cb_do_release()
36 struct hl_cb *cb; in cb_release()
38 cb = container_of(ref, struct hl_cb, refcount); in cb_release()
46 static struct hl_cb *hl_cb_alloc(struct hl_device *hdev, u32 cb_size, in hl_cb_alloc()
49 struct hl_cb *cb; in hl_cb_alloc()
92 struct hl_cb *cb; in hl_cb_create()
182 struct hl_cb *cb; in hl_cb_destroy()
245 struct hl_cb *cb = (struct hl_cb *) vma->vm_private_data; in cb_vm_close()
270 struct hl_cb *cb; in hl_cb_mmap()
339 struct hl_cb *hl_cb_get(struct hl_device *hdev, struct hl_cb_mgr *mgr, in hl_cb_get()
342 struct hl_cb *cb; in hl_cb_get()
362 void hl_cb_put(struct hl_cb *cb) in hl_cb_put()
375 struct hl_cb *cb; in hl_cb_mgr_fini()
391 struct hl_cb *hl_cb_kernel_create(struct hl_device *hdev, u32 cb_size) in hl_cb_kernel_create()
394 struct hl_cb *cb; in hl_cb_kernel_create()
422 struct hl_cb *cb; in hl_cb_pool_init()
445 struct hl_cb *cb, *tmp; in hl_cb_pool_fini()