Lines Matching defs:lock
42 DB_LOCK lock;
71 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock)) != 0)
79 (void)__BT_LPUT(dbc, lock);
85 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock)) != 0)
117 (void)__BT_TLPUT(dbc, lock);
126 (void)__BT_TLPUT(dbc, lock);
135 if ((ret = __bam_lget(dbc, 0, PGNO_ROOT, DB_LOCK_READ, &lock)) != 0)
138 (void)__BT_LPUT(dbc, lock);
175 (void)__BT_LPUT(dbc, lock);
180 (void)__BT_LPUT(dbc, lock);
184 if (__bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock))
187 (void)__BT_LPUT(dbc, lock);