Home
last modified time | relevance | path

Searched refs:FREESPACE (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/lib/libc/db/hash/
H A Dhash_bigkey.c103 space = FREESPACE(p) - BIGOVERHEAD) { in __big_insert()
112 FREESPACE(p) = off - PAGE_META(n); in __big_insert()
120 space = FREESPACE(p); in __big_insert()
138 FREESPACE(p) = FREESPACE(p) - move_bytes; in __big_insert()
152 space = FREESPACE(p) - BIGOVERHEAD) { in __big_insert()
167 FREESPACE(p) = off - PAGE_META(n); in __big_insert()
383 if (!FREESPACE(bp)) { in __big_return()
596 assert(FREESPACE(tp) >= OVFLSIZE); in __big_split()
600 free_space = FREESPACE(tp); in __big_split()
605 FREESPACE(tp) = free_space - OVFLSIZE; in __big_split()
[all …]
H A Dpage.h78 #define FREESPACE(P) ((P)[(P)[0]+1]) macro
82 (PAIRSIZE((K),(D)) + OVFLSIZE) <= FREESPACE((P)))
H A Dhash_page.c246 FREESPACE(ino) = copyto - sizeof(u_int16_t) * (ino[0] + 3); in __split_page()
328 FREESPACE(ino) = in ugly_split()
421 FREESPACE(bp) >= PAIRSIZE(key, val)) { in __addel()
501 sp[ndx + 3] = FREESPACE(sp) - OVFLSIZE; in __add_ovflpage()
887 free_space = FREESPACE(sp); in squeeze_key()
900 FREESPACE(sp) = free_space - PAIRSIZE(key, val); in squeeze_key()