Home
last modified time | relevance | path

Searched refs:bt_cur (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_search.c82 t->bt_cur.page = h;
84 t->bt_cur.index = idx = base + (lim >> 1);
85 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) == 0) {
88 return (&t->bt_cur);
111 return (&t->bt_cur);
115 return (&t->bt_cur);
118 t->bt_cur.index = base;
119 return (&t->bt_cur);
176 t->bt_cur = e;
257 t->bt_cur = e;
H A Dbt_put.c287 t->bt_cur.page = h;
288 t->bt_cur.index = t->bt_last.index;
299 if (t->bt_cur.page->nextpg != P_INVALID)
301 if (t->bt_cur.index != NEXTINDEX(h) - 1)
303 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) < 0)
305 t->bt_last.index = cmp ? ++t->bt_cur.index : t->bt_cur.index;
307 if (t->bt_cur.page->prevpg != P_INVALID)
309 if (t->bt_cur.index != 0)
311 if ((cmp = __bt_cmp(t, key, &t->bt_cur)) > 0)
319 return (&t->bt_cur);
H A Dbtree.h322 EPG bt_cur; /* current (pinned) page */ member
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_search.c83 t->bt_cur.page = h;
84 t->bt_cur.index = recno - total;
85 return (&t->bt_cur);