Lines Matching full:acquire
43 * The acquire mechanism uses a few more fields:
59 * The acquire mechanism uses three approaches:
61 * 1) Direct acquire when the console is not owned or is owned by a lower
97 * The acquire/release functions implement only minimal policies:
111 * acquire()
193 * @ctxt: Pointer to an acquire context that contains
194 * all information about the acquire mode
216 * nbcon_context_try_acquire_direct - Try to acquire directly
220 * Acquire the console when it is released. Also acquire the console when
230 * priority. No acquire method can be successful in
235 * the handover acquire method.
248 * acquire ownership in order to satisfy the assumptions of in nbcon_context_try_acquire_direct()
262 * The console should never be safe for a direct acquire in nbcon_context_try_acquire_direct()
312 * nbcon_context_try_acquire_requested - Try to acquire after having
371 * The acquire could fail only when it has been taken in nbcon_context_try_acquire_requested()
383 * nbcon_context_try_acquire_handover - Try to acquire via handover
416 * The caller should retry with direct acquire.
428 * Check that the handover is called when the direct acquire failed in nbcon_context_try_acquire_handover()
450 * Setup a request for the handover. The caller should try to acquire in nbcon_context_try_acquire_handover()
460 /* Wait until there is no owner and then acquire the console. */ in nbcon_context_try_acquire_handover()
462 /* On successful acquire, this request is cleared. */ in nbcon_context_try_acquire_handover()
468 * If the acquire should be aborted, it must be ensured in nbcon_context_try_acquire_handover()
503 * Unable to remove request. Try to acquire in case in nbcon_context_try_acquire_handover()
508 /* Lucky timing. The acquire succeeded while removing the request. */ in nbcon_context_try_acquire_handover()
513 * nbcon_context_try_acquire_hostile - Acquire via unsafe hostile takeover
517 * Acquire the console even in the unsafe state.
560 * nbcon_context_try_acquire - Try to acquire nbcon console
595 /* Acquire succeeded. */ in nbcon_context_try_acquire()
1465 * -EPERM: Unable to acquire console ownership.
1473 * this context is not allowed to acquire the console. When -ENOENT is
1537 * a driver that will deadlock trying to acquire console ownership. in nbcon_atomic_flush_pending_con()
1737 * nbcon_device_try_acquire - Try to acquire nbcon console and enter unsafe
1739 * @con: The nbcon console to acquire