Home
last modified time | relevance | path

Searched refs:contexts_lock (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dcontext.c18 mutex_lock(&afu->contexts_lock); in ocxl_context_alloc()
22 mutex_unlock(&afu->contexts_lock); in ocxl_context_alloc()
27 mutex_unlock(&afu->contexts_lock); in ocxl_context_alloc()
263 mutex_lock(&afu->contexts_lock); in ocxl_context_detach_all()
278 mutex_unlock(&afu->contexts_lock); in ocxl_context_detach_all()
283 mutex_lock(&ctx->afu->contexts_lock); in ocxl_context_free()
286 mutex_unlock(&ctx->afu->contexts_lock); in ocxl_context_free()
Docxl_internal.h47 struct mutex contexts_lock; member
Dcore.c25 mutex_init(&afu->contexts_lock); in alloc_afu()
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dcontext.c92 mutex_lock(&afu->contexts_lock); in cxl_context_init()
97 mutex_unlock(&afu->contexts_lock); in cxl_context_init()
302 mutex_lock(&afu->contexts_lock); in cxl_context_detach_all()
321 mutex_unlock(&afu->contexts_lock); in cxl_context_detach_all()
346 mutex_lock(&ctx->afu->contexts_lock); in cxl_context_free()
348 mutex_unlock(&ctx->afu->contexts_lock); in cxl_context_free()
Dsysfs.c255 mutex_lock(&afu->contexts_lock); in reset_store_afu()
266 mutex_unlock(&afu->contexts_lock); in reset_store_afu()
395 mutex_lock(&afu->contexts_lock); in mode_store()
419 mutex_unlock(&afu->contexts_lock); in mode_store()
428 mutex_unlock(&afu->contexts_lock); in mode_store()
Dmain.c255 mutex_init(&afu->contexts_lock); in cxl_alloc_afu()
Dcxl.h492 struct mutex contexts_lock; member