Searched refs:leafhdr (Results 1 – 8 of 8) sorted by relevance
/fs/xfs/ |
D | xfs_dir2_leaf.c | 66 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir3_leaf1_check() local 68 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leaf1_check() 70 if (leafhdr.magic == XFS_DIR3_LEAF1_MAGIC) { in xfs_dir3_leaf1_check() 74 } else if (leafhdr.magic != XFS_DIR2_LEAF1_MAGIC) in xfs_dir3_leaf1_check() 77 return xfs_dir3_leaf_check_int(mp, &leafhdr, leaf); in xfs_dir3_leaf1_check() 189 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir3_leaf_verify() local 193 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leaf_verify() 198 leafhdr.magic != XFS_DIR3_LEAF1_MAGIC) || in xfs_dir3_leaf_verify() 200 leafhdr.magic != XFS_DIR3_LEAFN_MAGIC)) in xfs_dir3_leaf_verify() 208 if (leafhdr.magic != magic) in xfs_dir3_leaf_verify() [all …]
|
D | xfs_dir2_node.c | 69 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir3_leafn_check() local 71 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leafn_check() 73 if (leafhdr.magic == XFS_DIR3_LEAFN_MAGIC) { in xfs_dir3_leafn_check() 77 } else if (leafhdr.magic != XFS_DIR2_LEAFN_MAGIC) in xfs_dir3_leafn_check() 80 return xfs_dir3_leaf_check_int(mp, &leafhdr, leaf); in xfs_dir3_leafn_check() 434 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_leafn_add() local 443 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_add() 460 if (leafhdr.count == xfs_dir3_max_leaf_ents(mp, leaf)) { in xfs_dir2_leafn_add() 461 if (!leafhdr.stale) in xfs_dir2_leafn_add() 463 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add() [all …]
|
D | xfs_dir2_priv.h | 90 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp); 91 extern void xfs_dir3_leaf_compact_x1(struct xfs_dir3_icleaf_hdr *leafhdr, 110 xfs_dir3_leaf_find_entry(struct xfs_dir3_icleaf_hdr *leafhdr,
|
D | xfs_dir2_block.c | 1023 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_leaf_to_block() local 1031 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leaf_to_block() 1035 ASSERT(leafhdr.magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_to_block() 1036 leafhdr.magic == XFS_DIR3_LEAF1_MAGIC); in xfs_dir2_leaf_to_block() 1073 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block() 1102 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block() 1109 for (from = to = 0; from < leafhdr.count; from++) { in xfs_dir2_leaf_to_block()
|
D | xfs_attr.c | 1790 struct xfs_attr3_icleaf_hdr leafhdr; in xfs_attr_node_list() local 1826 xfs_attr3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_attr_node_list() 1829 entries[leafhdr.count - 1].hashval)) { in xfs_attr_node_list() 1910 xfs_attr3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_attr_node_list() 1911 if (context->seen_enough || leafhdr.forw == 0) in xfs_attr_node_list() 1913 cursor->blkno = leafhdr.forw; in xfs_attr_node_list()
|
D | xfs_da_btree.c | 603 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_root_split() local 607 xfs_dir3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_da3_root_split() 610 ASSERT(leafhdr.magic == XFS_DIR2_LEAFN_MAGIC || in xfs_da3_root_split() 611 leafhdr.magic == XFS_DIR3_LEAFN_MAGIC); in xfs_da3_root_split() 612 size = (int)((char *)&ents[leafhdr.count] - (char *)leaf); in xfs_da3_root_split() 2219 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_swap_lastblock() local 2223 xfs_dir3_leaf_hdr_from_disk(&leafhdr, dead_leaf2); in xfs_da3_swap_lastblock() 2226 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
|
D | xfs_attr_leaf.c | 940 struct xfs_attr3_icleaf_hdr leafhdr; in xfs_attr_shortform_allfit() local 945 xfs_attr3_leaf_hdr_from_disk(&leafhdr, leaf); in xfs_attr_shortform_allfit() 949 for (i = 0; i < leafhdr.count; entry++, i++) { in xfs_attr_shortform_allfit()
|
/fs/btrfs/ |
D | check-integrity.c | 1002 struct btrfs_leaf *const leafhdr = in btrfsic_process_metablock() local 1006 sf->nr = le32_to_cpu(leafhdr->header.nritems); in btrfsic_process_metablock() 1016 le64_to_cpu(leafhdr->header.generation), in btrfsic_process_metablock() 1018 le64_to_cpu(leafhdr->header.owner)); in btrfsic_process_metablock() 1030 (uintptr_t)(leafhdr->items + sf->i) - in btrfsic_process_metablock() 1031 (uintptr_t)leafhdr; in btrfsic_process_metablock()
|