Searched refs:do_ctx_switch (Results 1 – 1 of 1) sorted by relevance
1446 int rc = 0, do_ctx_switch; in hl_cs_ctx_switch() local1451 do_ctx_switch = atomic_cmpxchg(&ctx->thread_ctx_switch_token, 1, 0); in hl_cs_ctx_switch()1453 if (do_ctx_switch || (args->in.cs_flags & HL_CS_FLAGS_FORCE_RESTORE)) { in hl_cs_ctx_switch()1456 if (do_ctx_switch) { in hl_cs_ctx_switch()