Lines Matching full:acquire
45 * The acquire mechanism uses a few more fields:
61 * The acquire mechanism uses three approaches:
63 * 1) Direct acquire when the console is not owned or is owned by a lower
99 * The acquire/release functions implement only minimal policies:
113 * acquire()
198 * @ctxt: Pointer to an acquire context that contains
199 * all information about the acquire mode
221 * nbcon_context_try_acquire_direct - Try to acquire directly
224 * @is_reacquire: This acquire is a reacquire
226 * Acquire the console when it is released. Also acquire the console when
236 * waiter has the same or higher priority. No acquire
241 * the handover acquire method.
260 * a direct acquire in panic. This gives console drivers an in nbcon_context_try_acquire_direct()
277 * The console should never be safe for a direct acquire in nbcon_context_try_acquire_direct()
328 * nbcon_context_try_acquire_requested - Try to acquire after having
387 * The acquire could fail only when it has been taken in nbcon_context_try_acquire_requested()
399 * nbcon_context_try_acquire_handover - Try to acquire via handover
432 * The caller should retry with direct acquire.
444 * Check that the handover is called when the direct acquire failed in nbcon_context_try_acquire_handover()
476 * Setup a request for the handover. The caller should try to acquire in nbcon_context_try_acquire_handover()
486 /* Wait until there is no owner and then acquire the console. */ in nbcon_context_try_acquire_handover()
488 /* On successful acquire, this request is cleared. */ in nbcon_context_try_acquire_handover()
494 * If the acquire should be aborted, it must be ensured in nbcon_context_try_acquire_handover()
529 * Unable to remove request. Try to acquire in case in nbcon_context_try_acquire_handover()
534 /* Lucky timing. The acquire succeeded while removing the request. */ in nbcon_context_try_acquire_handover()
539 * nbcon_context_try_acquire_hostile - Acquire via unsafe hostile takeover
543 * Acquire the console even in the unsafe state.
586 * nbcon_context_try_acquire - Try to acquire nbcon console
588 * @is_reacquire: This acquire is a reacquire
621 /* Acquire succeeded. */ in nbcon_context_try_acquire()
1552 * -EPERM: Unable to acquire console ownership.
1560 * this context is not allowed to acquire the console. When -ENOENT is
1581 * to acquire console ownership. in __nbcon_atomic_flush_pending_con()
1862 * nbcon_device_try_acquire - Try to acquire nbcon console and enter unsafe
1864 * @con: The nbcon console to acquire
1944 * nbcon_kdb_try_acquire - Try to acquire nbcon console and enter unsafe
1946 * @con: The nbcon console to acquire
1956 * storing them into the ring buffer. It has to acquire the console