Lines Matching defs:trylock
104 rangelock_cheat_lock(struct rangelock *lock, int locktype, bool trylock,
114 if (trylock) {
128 if (trylock) {
157 if (trylock) {
525 rl_r_validate(struct rangelock *lock, struct rl_q_entry *e, bool trylock,
560 if (trylock) {
572 bool trylock, struct rl_q_entry **free)
607 if (trylock) {
617 rl_insert(struct rangelock *lock, struct rl_q_entry *e, bool trylock,
662 if (trylock) {
674 rl_r_validate(lock, e, trylock, free) :
675 rl_w_validate(lock, e, trylock, free));
685 rangelock_lock_int(struct rangelock *lock, bool trylock, vm_ooffset_t start,
692 if (rangelock_cheat_lock(lock, locktype, trylock, &cookie))
698 res = rl_insert(lock, e, trylock, &free);
701 MPASS(trylock);
738 * cannot handle it, hanging in drain or trylock retries.