Lines Matching refs:mandatory
225 static int mboxsc_lock_flags(uint8_t mandatory, clock_t deadline);
226 static int mboxsc_unlock_flags(uint8_t mandatory);
1714 * lock is currently held by SMS and acquisition is mandatory, just keep on
1715 * trying until it is acquired. If acquisition is not mandatory, keep trying
1724 mboxsc_lock_flags(uint8_t mandatory, clock_t deadline)
1733 DPRINTF1(DBG_ARGS, DBGACT_DEFAULT, "mandatory = 0x%x\n", mandatory);
1738 * is not mandatory) time runs out. If EBUSY (lock is already held) or
1780 pause = (mandatory ? HWLOCK_POLL :
1785 pause = (mandatory ? EAGAIN_POLL : MIN(EAGAIN_POLL,
1823 (mandatory || (deadline - ddi_get_lbolt() >= 0)));
1842 * mandatory flag is set, loop and retry if EAGAIN is encountered.
1845 mboxsc_unlock_flags(uint8_t mandatory)
1853 DPRINTF1(DBG_ARGS, DBGACT_DEFAULT, "mandatory = 0x%x\n", mandatory);
1879 * progress) and unlocking the flags is mandatory, sleep before
1883 if ((error == EAGAIN) && mandatory) {
1899 } while ((error == EAGAIN) && mandatory);
2137 * is mandatory.