Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dexeclist.c44 #define valid_context(ctx) ((ctx)->valid) macro
204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out()
223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out()
224 || (valid_context(ctx1) && same_context(ctx1, ctx))) { in emulate_execlist_ctx_schedule_out()
339 if ((valid_context(ctx1) && same_context(ctx1, &slot->ctx[0]) && in emulate_execlist_schedule_in()
342 (!valid_context(ctx1) && in emulate_execlist_schedule_in()
/linux-6.6.21/drivers/misc/vmw_vmci/
Dvmci_doorbell.c440 bool valid_context = false; in vmci_doorbell_create() local
452 valid_context = true; in vmci_doorbell_create()
455 if (!valid_context || handle->resource == VMCI_INVALID_ID) { in vmci_doorbell_create()