Lines Matching defs:lock
303 DB_LOCK lock;
320 * Once we have the top page that we want to delete locked, lock the
340 (void)__BT_TLPUT(dbc, cp->csp[-1].lock);
342 (void)__BT_TLPUT(dbc, cp->csp[0].lock);
370 * Get the next page, write lock it and push it onto the stack.
376 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_WRITE, &lock)) != 0)
380 BT_STK_PUSH(cp, h, 0, lock, ret);
429 * read-locked and is waiting on a lock for the page we're deleting.
454 (void)__BT_TLPUT(dbc, epg->lock);
473 (void)__BT_TLPUT(dbc, epg->lock);
493 * single item on the root page, write lock the last page referenced
495 * write lock, that's okay, the tree just stays deeper than we'd like.
569 * lock. (The call to __bam_free() discards our reference