Searched refs:do_ctx_switch (Results 1 – 1 of 1) sorted by relevance
1005 int rc, do_ctx_switch; in hl_cs_ioctl() local1059 do_ctx_switch = atomic_cmpxchg(&ctx->thread_ctx_switch_token, 1, 0); in hl_cs_ioctl()1061 if (do_ctx_switch || (args->in.cs_flags & HL_CS_FLAGS_FORCE_RESTORE)) { in hl_cs_ioctl()1070 if (do_ctx_switch) { in hl_cs_ioctl()