Lines Matching refs:prio
255 if (ctxt->prio <= cur->prio || ctxt->prio <= cur->req_prio) in nbcon_context_try_acquire_direct()
268 new.prio = ctxt->prio; in nbcon_context_try_acquire_direct()
350 if (!nbcon_waiter_matches(cur, ctxt->prio)) in nbcon_context_try_acquire_requested()
354 if (cur->prio != NBCON_PRIO_NONE) in nbcon_context_try_acquire_requested()
364 new.prio = ctxt->prio; in nbcon_context_try_acquire_requested()
374 WARN_ON_ONCE(nbcon_waiter_matches(cur, ctxt->prio)); in nbcon_context_try_acquire_requested()
431 WARN_ON_ONCE(ctxt->prio <= cur->prio || ctxt->prio <= cur->req_prio); in nbcon_context_try_acquire_handover()
454 new.req_prio = ctxt->prio; in nbcon_context_try_acquire_handover()
487 if (!nbcon_waiter_matches(cur, ctxt->prio)) in nbcon_context_try_acquire_handover()
535 if (WARN_ON_ONCE(ctxt->prio != NBCON_PRIO_PANIC)) in nbcon_context_try_acquire_hostile()
542 WARN_ON_ONCE(ctxt->prio <= cur->prio || ctxt->prio <= cur->req_prio); in nbcon_context_try_acquire_hostile()
548 new.prio = ctxt->prio; in nbcon_context_try_acquire_hostile()
638 if (cur->prio != expected_prio) in nbcon_owner_matches()
661 if (!nbcon_owner_matches(&cur, cpu, ctxt->prio)) in nbcon_context_release()
665 new.prio = NBCON_PRIO_NONE; in nbcon_context_release()
709 if (!nbcon_owner_matches(cur, cpu, ctxt->prio)) in nbcon_context_can_proceed()
726 WARN_ON_ONCE(cur->req_prio <= cur->prio); in nbcon_context_can_proceed()
1172 .ctxt.prio = NBCON_PRIO_NORMAL, in nbcon_kthread_func()
1427 ctxt->prio = nbcon_get_default_prio(); in nbcon_legacy_emit_next_record()
1486 ctxt->prio = nbcon_get_default_prio(); in __nbcon_atomic_flush_pending_con()
1763 ctxt->prio = NBCON_PRIO_NORMAL; in nbcon_device_try_acquire()