Lines Matching defs:handle
268 bool map_cb, u64 *handle)
298 *handle = buf->handle;
310 dev_dbg(mmg->dev, "CB destroy failed, no CB was found for handle %#llx\n",
315 /* Make sure that CB handle isn't destroyed more than once */
319 dev_dbg(mmg->dev, "CB destroy failed, handle %#llx was already destroyed\n",
326 return rc; /* Invalid handle */
335 u64 handle, u32 flags, u32 *usage_cnt, u64 *device_va)
340 cb = hl_cb_get(mmg, handle);
343 "CB info failed, no match to handle 0x%llx\n", handle);
368 u64 handle = 0, device_va = 0;
391 &handle);
395 args->out.cb_handle = handle;
427 struct hl_cb *hl_cb_get(struct hl_mem_mgr *mmg, u64 handle)
431 buf = hl_mmap_mem_buf_get(mmg, handle);
461 dev_crit(hdev->dev, "Kernel CB handle invalid 0x%x\n",