Searched refs:l_hdr (Results 1 – 7 of 7) sorted by relevance
105 buf->l_hdr.lh_block_type = BSWAP_64(buf->l_hdr.lh_block_type); in zap_leaf_byteswap()106 buf->l_hdr.lh_prefix = BSWAP_64(buf->l_hdr.lh_prefix); in zap_leaf_byteswap()107 buf->l_hdr.lh_magic = BSWAP_32(buf->l_hdr.lh_magic); in zap_leaf_byteswap()108 buf->l_hdr.lh_nfree = BSWAP_16(buf->l_hdr.lh_nfree); in zap_leaf_byteswap()109 buf->l_hdr.lh_nentries = BSWAP_16(buf->l_hdr.lh_nentries); in zap_leaf_byteswap()110 buf->l_hdr.lh_prefix_len = BSWAP_16(buf->l_hdr.lh_prefix_len); in zap_leaf_byteswap()111 buf->l_hdr.lh_freelist = BSWAP_16(buf->l_hdr.lh_freelist); in zap_leaf_byteswap()154 memset(&zap_leaf_phys(l)->l_hdr, 0, in zap_leaf_init()183 zap_leaf_phys(l)->l_hdr.lh_freelist = in zap_leaf_chunk_alloc()186 zap_leaf_phys(l)->l_hdr.lh_nfree--; in zap_leaf_chunk_alloc()[all …]
515 ASSERT0(zap_leaf_phys(l)->l_hdr.lh_pad1); in zap_open_leaf()704 zap_leaf_phys(*lp)->l_hdr.lh_prefix); in zap_deref_leaf()721 zap_leaf_phys(l)->l_hdr.lh_prefix); in zap_expand_leaf()759 zap_leaf_phys(l)->l_hdr.lh_prefix); in zap_expand_leaf()1055 if (zap_leaf_phys(l)->l_hdr.lh_nentries == 0 && in fzap_remove()1589 zap_leaf_phys(sl)->l_hdr.lh_nentries != 0) { in zap_shrink()1637 if (zap_leaf_phys(l)->l_hdr.lh_nentries != 0 || in zap_shrink()1651 if (zap_leaf_phys(sl)->l_hdr.lh_nentries != 0 || in zap_shrink()1687 zap_leaf_phys(l)->l_hdr.lh_prefix >>= 1; in zap_shrink()1688 zap_leaf_phys(l)->l_hdr.lh_prefix_len--; in zap_shrink()[all …]
1494 if (l_hdr != NULL && l_hdr->bth_count > min_count) { in zfs_btree_remove_from_node()1496 ASSERT(zfs_btree_is_core(l_hdr)); in zfs_btree_remove_from_node()1520 (l_hdr->bth_count - 1) * size; in zfs_btree_remove_from_node()1522 l_hdr->bth_count--; in zfs_btree_remove_from_node()1523 zfs_btree_poison_node_at(tree, l_hdr, l_hdr->bth_count, 1); in zfs_btree_remove_from_node()1583 if (l_hdr != NULL) { in zfs_btree_remove_from_node()1584 keep_hdr = l_hdr; in zfs_btree_remove_from_node()1744 if (l_hdr != NULL && l_hdr->bth_count > min_count) { in zfs_btree_remove_idx()1762 (l_hdr->bth_first + l_hdr->bth_count - 1) * size; in zfs_btree_remove_idx()1813 if (l_hdr != NULL) { in zfs_btree_remove_idx()[all …]
323 leaf->l_hdr.lh_block_type = ZBT_LEAF; in zap_fat_write_leaf_init()324 leaf->l_hdr.lh_magic = ZAP_LEAF_MAGIC; in zap_fat_write_leaf_init()326 leaf->l_hdr.lh_prefix = prefix; in zap_fat_write_leaf_init()327 leaf->l_hdr.lh_prefix_len = prefixlen; in zap_fat_write_leaf_init()330 assert(leaf->l_hdr.lh_nfree < 0xffff); in zap_fat_write_leaf_init()441 l.l_phys->l_hdr.lh_nfree -= nchunks; in zap_fat_write()442 l.l_phys->l_hdr.lh_nentries++; in zap_fat_write()451 *lptr = l.l_phys->l_hdr.lh_freelist; in zap_fat_write()453 assert(l.l_phys->l_hdr.lh_freelist <= in zap_fat_write()455 if (l.l_phys->l_hdr.lh_freelist == in zap_fat_write()[all …]
125 } l_hdr; /* 2 24-byte chunks */ member
1675 (64 - ZAP_LEAF_HASH_SHIFT(l) - (l)->l_phys->l_hdr.lh_prefix_len)))1703 } l_hdr; /* 2 24-byte chunks */ member
2641 (64 - ZAP_LEAF_HASH_SHIFT(l) - (l)->l_phys->l_hdr.lh_prefix_len)))2655 if (zl->l_phys->l_hdr.lh_prefix_len > 0 && in zap_leaf_lookup()2656 zl->l_phys->l_hdr.lh_prefix != in zap_leaf_lookup()2657 hash >> (64 - zl->l_phys->l_hdr.lh_prefix_len)) in zap_leaf_lookup()