Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libc/db/hash/
H A Dhash_bigkey.c106 space = FREESPACE(p) - BIGOVERHEAD) { in __big_insert()
115 FREESPACE(p) = off - PAGE_META(n); in __big_insert()
123 space = FREESPACE(p); in __big_insert()
141 FREESPACE(p) = FREESPACE(p) - move_bytes; in __big_insert()
155 space = FREESPACE(p) - BIGOVERHEAD) { in __big_insert()
170 FREESPACE(p) = off - PAGE_META(n); in __big_insert()
386 if (!FREESPACE(bp)) { in __big_return()
599 assert(FREESPACE(tp) >= OVFLSIZE); in __big_split()
603 free_space = FREESPACE(tp); in __big_split()
608 FREESPACE(tp) = free_space - OVFLSIZE; in __big_split()
[all …]
H A Dpage.h79 #define FREESPACE(P) ((P)[(P)[0]+1]) macro
83 (PAIRSIZE((K),(D)) + OVFLSIZE) <= FREESPACE((P)))
H A Dhash_page.c249 FREESPACE(ino) = copyto - sizeof(u_int16_t) * (ino[0] + 3); in __split_page()
331 FREESPACE(ino) = in ugly_split()
424 FREESPACE(bp) >= PAIRSIZE(key, val)) { in __addel()
504 sp[ndx + 3] = FREESPACE(sp) - OVFLSIZE; in __add_ovflpage()
891 free_space = FREESPACE(sp); in squeeze_key()
904 FREESPACE(sp) = free_space - PAIRSIZE(key, val); in squeeze_key()