Searched refs:valid_context (Results 1 – 2 of 2) sorted by relevance
44 #define valid_context(ctx) ((ctx)->valid) macro204 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()
440 bool valid_context = false; in vmci_doorbell_create() local452 valid_context = true; in vmci_doorbell_create()455 if (!valid_context || handle->resource == VMCI_INVALID_ID) { in vmci_doorbell_create()