Searched refs:leafhdr (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_dir2_leaf.c | 65 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir3_leaf1_check() local 67 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leaf1_check() 69 if (leafhdr.magic == XFS_DIR3_LEAF1_MAGIC) { in xfs_dir3_leaf1_check() 73 } else if (leafhdr.magic != XFS_DIR2_LEAF1_MAGIC) in xfs_dir3_leaf1_check() 76 return xfs_dir3_leaf_check_int(dp->i_mount, dp, &leafhdr, leaf); in xfs_dir3_leaf1_check() 94 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir3_leaf_check_int() local 104 ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leaf_check_int() 105 hdr = &leafhdr; in xfs_dir3_leaf_check_int() 395 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_block_to_leaf() local 429 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_block_to_leaf() [all …]
|
D | xfs_dir2_node.c | 68 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir3_leafn_check() local 70 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leafn_check() 72 if (leafhdr.magic == XFS_DIR3_LEAFN_MAGIC) { in xfs_dir3_leafn_check() 76 } else if (leafhdr.magic != XFS_DIR2_LEAFN_MAGIC) in xfs_dir3_leafn_check() 79 return xfs_dir3_leaf_check_int(dp->i_mount, dp, &leafhdr, leaf); in xfs_dir3_leafn_check() 390 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_leafn_add() local 397 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_add() 414 if (leafhdr.count == dp->d_ops->leaf_max_ents(args->geo)) { in xfs_dir2_leafn_add() 415 if (!leafhdr.stale) in xfs_dir2_leafn_add() 417 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add() [all …]
|
D | xfs_dir2_priv.h | 68 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp); 69 extern void xfs_dir3_leaf_compact_x1(struct xfs_dir3_icleaf_hdr *leafhdr, 86 xfs_dir3_leaf_find_entry(struct xfs_dir3_icleaf_hdr *leafhdr,
|
D | xfs_dir2_block.c | 926 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_dir2_leaf_to_block() local 934 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leaf_to_block() 938 ASSERT(leafhdr.magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_to_block() 939 leafhdr.magic == XFS_DIR3_LEAF1_MAGIC); in xfs_dir2_leaf_to_block() 976 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block() 1005 btp->count = cpu_to_be32(leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block() 1012 for (from = to = 0; from < leafhdr.count; from++) { in xfs_dir2_leaf_to_block()
|
D | xfs_da_btree.c | 560 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_root_split() local 564 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_da3_root_split() 567 ASSERT(leafhdr.magic == XFS_DIR2_LEAFN_MAGIC || in xfs_da3_root_split() 568 leafhdr.magic == XFS_DIR3_LEAFN_MAGIC); in xfs_da3_root_split() 569 size = (int)((char *)&ents[leafhdr.count] - (char *)leaf); in xfs_da3_root_split() 2188 struct xfs_dir3_icleaf_hdr leafhdr; in xfs_da3_swap_lastblock() local 2192 dp->d_ops->leaf_hdr_from_disk(&leafhdr, dead_leaf2); in xfs_da3_swap_lastblock() 2195 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
|
D | xfs_attr_leaf.c | 837 struct xfs_attr3_icleaf_hdr leafhdr; in xfs_attr_shortform_allfit() local 843 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_shortform_allfit() 847 for (i = 0; i < leafhdr.count; entry++, i++) { in xfs_attr_shortform_allfit()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_attr_list.c | 224 struct xfs_attr3_icleaf_hdr leafhdr; in xfs_attr_node_list() local 263 &leafhdr, leaf); in xfs_attr_node_list() 266 entries[leafhdr.count - 1].hashval)) { in xfs_attr_node_list() 347 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xfs_attr_node_list() 348 if (context->seen_enough || leafhdr.forw == 0) in xfs_attr_node_list() 350 cursor->blkno = leafhdr.forw; in xfs_attr_node_list()
|
/linux-4.4.14/fs/btrfs/ |
D | check-integrity.c | 1000 struct btrfs_leaf *const leafhdr = in btrfsic_process_metablock() local 1004 sf->nr = btrfs_stack_header_nritems(&leafhdr->header); in btrfsic_process_metablock() 1012 &leafhdr->header), in btrfsic_process_metablock() 1014 &leafhdr->header)); in btrfsic_process_metablock() 1026 (uintptr_t)(leafhdr->items + sf->i) - in btrfsic_process_metablock() 1027 (uintptr_t)leafhdr; in btrfsic_process_metablock()
|