Home
last modified time | relevance | path

Searched refs:lh_nfree (Results 1 – 5 of 5) sorted by relevance

/freebsd-head/sys/contrib/openzfs/module/zfs/
HDzap_leaf.c109 buf->l_hdr.lh_nfree = BSWAP_16(buf->l_hdr.lh_nfree); in zap_leaf_byteswap()
166 zap_leaf_phys(l)->l_hdr.lh_nfree = ZAP_LEAF_NUMCHUNKS(l); in zap_leaf_init()
178 ASSERT(zap_leaf_phys(l)->l_hdr.lh_nfree > 0); in zap_leaf_chunk_alloc()
187 zap_leaf_phys(l)->l_hdr.lh_nfree--; in zap_leaf_chunk_alloc()
196 ASSERT3U(zap_leaf_phys(l)->l_hdr.lh_nfree, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_chunk_free()
205 zap_leaf_phys(l)->l_hdr.lh_nfree++; in zap_leaf_chunk_free()
304 ASSERT3U(hdr->lh_nfree, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_array_free()
305 hdr->lh_nfree++; in zap_leaf_array_free()
559 if ((int)zap_leaf_phys(l)->l_hdr.lh_nfree < delta_chunks) in zap_entry_update()
645 if (zap_leaf_phys(l)->l_hdr.lh_nfree < numchunks) in zap_entry_create()
[all …]
HDzap.c806 zap_leaf_phys(l)->l_hdr.lh_nfree < ZAP_LEAF_LOW_WATER); in zap_put_leaf_maybe_grow_ptrtbl()
/freebsd-head/usr.sbin/makefs/zfs/
HDzap.c325 leaf->l_hdr.lh_nfree = ZAP_LEAF_NUMCHUNKS(l); in zap_fat_write_leaf_init()
330 assert(leaf->l_hdr.lh_nfree < 0xffff); in zap_fat_write_leaf_init()
440 assert(l.l_phys->l_hdr.lh_nfree >= nchunks); in zap_fat_write()
441 l.l_phys->l_hdr.lh_nfree -= nchunks; in zap_fat_write()
/freebsd-head/sys/contrib/openzfs/include/sys/
HDzap_leaf.h118 uint16_t lh_nfree; /* number free chunks */ member
/freebsd-head/sys/cddl/boot/zfs/
HDzfsimpl.h1695 uint16_t lh_nfree; /* number free chunks */ member