Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_page.c86 __get_item(hashp, cursorp, key, val, item_info) in __get_item() argument
90 ITEM_INFO *item_info;
107 item_info->status = ITEM_ERROR;
111 if (item_info->seek_size &&
112 FREESPACE(cursorp->pagep) > item_info->seek_size)
113 item_info->seek_found_page = cursorp->pgno;
118 item_info->status = ITEM_NO_MORE;
126 item_info->status = ITEM_ERROR;
149 item_info->pgno = cursorp->pgno;
150 item_info->bucket = cursorp->bucket;
[all …]
H A Dhash.c715 ITEM_INFO item_info; local
731 item_info.seek_size = PAIR_OVERHEAD;
733 item_info.seek_size = key->size + val->size;
735 item_info.seek_size = 0;
736 item_info.seek_found_page = 0;
745 __get_item_next(hashp, &cursor, &page_key, &page_val, &item_info);
746 if (item_info.status == ITEM_ERROR)
748 if (item_info.status == ITEM_NO_MORE)
751 if (item_info.key_off == BIGPAIR) {
779 if (__addel(hashp, &item_info, key, val, num_items, 0))
[all …]
H A Dhash_bigkey.c314 __big_return(hashp, item_info, val, on_bigkey_page) in __big_return() argument
316 ITEM_INFO *item_info;
326 OADDR_TO_PAGE(item_info->data_off), A_RAW);
330 pagep = __get_page(hashp, item_info->pgno, A_RAW);
H A Dhash.h183 typedef struct item_info { struct