Home
last modified time | relevance | path

Searched refs:bt_cursor (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_seq.c85 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
86 nrec = t->bt_cursor.rcursor + 1;
94 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
95 if ((nrec = t->bt_cursor.rcursor - 1) == 0)
122 F_SET(&t->bt_cursor, CURS_INIT);
123 t->bt_cursor.rcursor = nrec;
H A Drec_delete.c91 if (!F_ISSET(&t->bt_cursor, CURS_INIT))
95 status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
97 --t->bt_cursor.rcursor;
H A Drec_put.c110 if (!F_ISSET(&t->bt_cursor, CURS_INIT))
112 nrec = t->bt_cursor.rcursor;
172 t->bt_cursor.rcursor = nrec;
H A Drec_close.c145 scursor = t->bt_cursor.rcursor;
177 t->bt_cursor.rcursor = scursor;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_put.c106 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
107 !F_ISSET(&t->bt_cursor,
161 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
163 idx = t->bt_cursor.pg.index;
228 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
229 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
230 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
231 ++t->bt_cursor.pg.index;
H A Dbt_delete.c96 c = &t->bt_cursor;
108 if (__bt_stkacq(t, &h, &t->bt_cursor))
487 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
488 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
489 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx &&
517 if (F_ISSET(&t->bt_cursor, CURS_INIT) &&
518 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) &&
519 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx)
520 --t->bt_cursor.pg.index;
554 c = &t->bt_cursor;
H A Dbt_close.c87 if (t->bt_cursor.key.data != NULL) {
88 free(t->bt_cursor.key.data);
89 t->bt_cursor.key.size = 0;
90 t->bt_cursor.key.data = NULL;
H A Dbt_seq.c132 if (F_ISSET(&t->bt_cursor, CURS_INIT)) {
285 c = &t->bt_cursor;
509 if (t->bt_cursor.key.data != NULL) {
510 free(t->bt_cursor.key.data);
511 t->bt_cursor.key.size = 0;
512 t->bt_cursor.key.data = NULL;
514 F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE);
517 t->bt_cursor.pg.pgno = pgno;
518 t->bt_cursor.pg.index = idx;
519 F_SET(&t->bt_cursor, CURS_INIT);
H A Dbtree.h325 CURSOR bt_cursor; /* cursor */ member
H A Dbt_split.c712 c = &t->bt_cursor;
/illumos-gate/usr/src/cmd/sendmail/db/
H A DMakefile40 OBJS= bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_open.o \