Home
last modified time | relevance | path

Searched refs:l_bs (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzap_leaf.h46 * block size (1<<l->l_bs) - hash entry size (2) * number of hash
53 #define ZAP_LEAF_NUMCHUNKS(l) (ZAP_LEAF_NUMCHUNKS_BS(((l)->l_bs)))
84 #define ZAP_LEAF_HASH_SHIFT(l) (ZAP_LEAF_HASH_SHIFT_BS(((l)->l_bs)))
85 #define ZAP_LEAF_HASH_NUMENTRIES(l) (ZAP_LEAF_HASH_NUMENTRIES_BS(((l)->l_bs)))
166 uint_t l_bs; /* block size shift */ member
/freebsd/usr.sbin/makefs/zfs/
H A Dzap.c275 for (prefixlen = 1; prefixlen < (unsigned int)l->l_bs; prefixlen++) { in zap_fat_write_prefixlen()
308 assert(prefixlen < (unsigned int)l->l_bs); in zap_fat_write_prefixlen()
384 l.l_bs = blkshift; in zap_fat_write()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h1632 (((1<<(l)->l_bs) - 2*ZAP_LEAF_HASH_NUMENTRIES(l)) / \
1659 #define ZAP_LEAF_HASH_SHIFT(l) ((l)->l_bs - 5)
1741 int l_bs; /* block size shift */ member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzap_leaf.c102 l.l_bs = highbit64(size) - 1; in zap_leaf_byteswap()
153 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
H A Dzap.c497 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf()
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c2575 (*lp)->l_bs = bs; in zap_get_leaf_byblk()
2809 zl.l_bs = z.zap_block_shift; in fzap_list()
2815 off_t off = ((off_t)(i + 1)) << zl.l_bs; in fzap_list()
2985 zl.l_bs = z.zap_block_shift; in fzap_rlookup()
2991 off_t off = ((off_t)(i + 1)) << zl.l_bs; in fzap_rlookup()
H A Dzfs.c303 zl.l_bs = ilog2(bsize); in zfs_readdir()