Home
last modified time | relevance | path

Searched refs:cb_handles (Results 1 – 2 of 2) sorted by relevance

/drivers/misc/habanalabs/
Dcommand_buffer.c148 rc = idr_alloc(&mgr->cb_handles, cb, 1, 0, GFP_ATOMIC); in hl_cb_create()
195 cb = idr_find(&mgr->cb_handles, handle); in hl_cb_destroy()
197 idr_remove(&mgr->cb_handles, handle); in hl_cb_destroy()
345 cb = idr_find(&mgr->cb_handles, handle); in hl_cb_get()
370 idr_init(&mgr->cb_handles); in hl_cb_mgr_init()
379 idp = &mgr->cb_handles; in hl_cb_mgr_fini()
388 idr_destroy(&mgr->cb_handles); in hl_cb_mgr_fini()
Dhabanalabs.h248 struct idr cb_handles; /* protected by cb_lock */ member