Lines Matching refs:t
69 BTREE *t; local
73 t = dbp->internal;
76 if (t->bt_pinned != NULL) {
77 mpool_put(t->bt_mp, t->bt_pinned, 0);
78 t->bt_pinned = NULL;
85 if (nrec > t->bt_nrecs)
88 status = rec_rdelete(t, nrec);
91 if (!F_ISSET(&t->bt_cursor, CURS_INIT))
93 if (t->bt_nrecs == 0)
95 status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
97 --t->bt_cursor.rcursor;
105 F_SET(t, B_MODIFIED | R_MODIFIED);
120 rec_rdelete(t, nrec) in rec_rdelete() argument
121 BTREE *t; in rec_rdelete()
129 if ((e = __rec_search(t, nrec, SDELETE)) == NULL)
134 status = __rec_dleaf(t, h, e->index);
136 mpool_put(t->bt_mp, h, 0);
139 mpool_put(t->bt_mp, h, MPOOL_DIRTY);
154 __rec_dleaf(t, h, idx) in __rec_dleaf() argument
155 BTREE *t; in __rec_dleaf()
176 if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
195 --t->bt_nrecs;