Lines Matching refs:mode
117 list[i].obj, list[i].mode, &lp);
159 list[i].mode = lp->mode;
451 * Check that lock mode is valid.
456 "lock_get: invalid lock mode %lu\n", (u_long)lock_mode);
472 newl->mode = lock_mode;
513 if (lp->mode == lock_mode &&
529 } else if (CONFLICTS(lt, lp->mode, lock_mode))
552 if (CONFLICTS(lt, lp->mode, lock_mode) &&
655 * upgrade the mode.
657 (*lockp)->mode = lock_mode;
670 __lock_is_locked(lt, locker, dbt, mode)
674 db_lockmode_t mode;
691 if (lp->holder == locker && lp->mode == mode)
713 const char *mode, *status;
715 switch (lp->mode) {
717 mode = "IREAD";
720 mode = "IWR";
723 mode = "IWRITE";
726 mode = "NG";
729 mode = "READ";
732 mode = "WRITE";
735 mode = "UNKNOWN";
765 (u_long)lp->holder, mode, (u_long)lp->refcount, status);
947 lockp->mode = new_mode;
995 if (CONFLICTS(lt, lp_h->mode, lp_w->mode) &&