Searched refs:bt_cursor (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14-stable/lib/libc/db/recno/ |
| HD | rec_seq.c | 81 if (F_ISSET(&t->bt_cursor, CURS_INIT)) { in __rec_seq() 82 nrec = t->bt_cursor.rcursor + 1; in __rec_seq() 90 if (F_ISSET(&t->bt_cursor, CURS_INIT)) { in __rec_seq() 91 if ((nrec = t->bt_cursor.rcursor - 1) == 0) in __rec_seq() 118 F_SET(&t->bt_cursor, CURS_INIT); in __rec_seq() 119 t->bt_cursor.rcursor = nrec; in __rec_seq()
|
| HD | rec_delete.c | 85 if (!F_ISSET(&t->bt_cursor, CURS_INIT)) in __rec_delete() 89 status = rec_rdelete(t, t->bt_cursor.rcursor - 1); in __rec_delete() 91 --t->bt_cursor.rcursor; in __rec_delete()
|
| HD | rec_put.c | 102 if (!F_ISSET(&t->bt_cursor, CURS_INIT)) in __rec_put() 104 nrec = t->bt_cursor.rcursor; in __rec_put() 167 t->bt_cursor.rcursor = nrec; in __rec_put()
|
| HD | rec_close.c | 138 scursor = t->bt_cursor.rcursor; in __rec_sync() 171 t->bt_cursor.rcursor = scursor; in __rec_sync()
|
| /freebsd-14-stable/lib/libc/db/btree/ |
| HD | bt_seq.c | 96 if (F_ISSET(&t->bt_cursor, CURS_INIT)) { in __bt_seq() 242 c = &t->bt_cursor; in __bt_seqadv() 429 if (t->bt_cursor.key.data != NULL) { in __bt_setcur() 430 free(t->bt_cursor.key.data); in __bt_setcur() 431 t->bt_cursor.key.size = 0; in __bt_setcur() 432 t->bt_cursor.key.data = NULL; in __bt_setcur() 434 F_CLR(&t->bt_cursor, CURS_ACQUIRE | CURS_AFTER | CURS_BEFORE); in __bt_setcur() 437 t->bt_cursor.pg.pgno = pgno; in __bt_setcur() 438 t->bt_cursor.pg.index = idx; in __bt_setcur() 439 F_SET(&t->bt_cursor, CURS_INIT); in __bt_setcur()
|
| HD | bt_put.c | 100 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_put() 101 !F_ISSET(&t->bt_cursor, in __bt_put() 150 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL) in __bt_put() 152 idx = t->bt_cursor.pg.index; in __bt_put() 217 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_put() 218 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && in __bt_put() 219 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx) in __bt_put() 220 ++t->bt_cursor.pg.index; in __bt_put()
|
| HD | bt_delete.c | 90 c = &t->bt_cursor; in __bt_delete() 102 if (__bt_stkacq(t, &h, &t->bt_cursor)) in __bt_delete() 470 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_dleaf() 471 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && in __bt_dleaf() 472 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx && in __bt_dleaf() 500 if (F_ISSET(&t->bt_cursor, CURS_INIT) && in __bt_dleaf() 501 !F_ISSET(&t->bt_cursor, CURS_ACQUIRE) && in __bt_dleaf() 502 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx) in __bt_dleaf() 503 --t->bt_cursor.pg.index; in __bt_dleaf() 533 c = &t->bt_cursor; in __bt_curdel()
|
| HD | bt_close.c | 85 if (t->bt_cursor.key.data != NULL) { in __bt_close() 86 free(t->bt_cursor.key.data); in __bt_close() 87 t->bt_cursor.key.size = 0; in __bt_close() 88 t->bt_cursor.key.data = NULL; in __bt_close()
|
| HD | btree.h | 310 CURSOR bt_cursor; /* cursor */ member
|
| HD | bt_split.c | 688 c = &t->bt_cursor; in bt_psplit()
|