Home
last modified time | relevance | path

Searched refs:nodehdr (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c657 struct xfs_da3_icnode_hdr nodehdr; in xfs_da3_root_split() local
749 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_root_split()
750 btree = nodehdr.btree; in xfs_da3_root_split()
755 nodehdr.count = 2; in xfs_da3_root_split()
756 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &nodehdr); in xfs_da3_root_split()
788 struct xfs_da3_icnode_hdr nodehdr; in xfs_da3_node_split() local
798 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
808 if (nodehdr.count + newcount > state->args->geo->node_ents) { in xfs_da3_node_split()
845 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
846 if (oldblk->index <= nodehdr.count) { in xfs_da3_node_split()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_attr_list.c208 struct xfs_da3_icnode_hdr nodehdr; in xfs_attr_node_list_lookup() local
239 xfs_da3_node_hdr_from_disk(mp, &nodehdr, node); in xfs_attr_node_list_lookup()
242 if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) in xfs_attr_node_list_lookup()
247 expected_level = nodehdr.level - 1; in xfs_attr_node_list_lookup()
248 else if (expected_level != nodehdr.level) in xfs_attr_node_list_lookup()
253 btree = nodehdr.btree; in xfs_attr_node_list_lookup()
254 for (i = 0; i < nodehdr.count; btree++, i++) { in xfs_attr_node_list_lookup()
264 if (i == nodehdr.count) in xfs_attr_node_list_lookup()
/openbmc/linux/fs/xfs/scrub/
H A Ddabtree.c325 struct xfs_da3_icnode_hdr nodehdr; in xchk_da_btree_block() local
421 xfs_da3_node_hdr_from_disk(ip->i_mount, &nodehdr, node); in xchk_da_btree_block()
422 btree = nodehdr.btree; in xchk_da_btree_block()
423 *pmaxrecs = nodehdr.count; in xchk_da_btree_block()
426 if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) { in xchk_da_btree_block()
430 ds->tree_level = nodehdr.level; in xchk_da_btree_block()
432 if (ds->tree_level != nodehdr.level) { in xchk_da_btree_block()
/openbmc/linux/fs/btrfs/
H A Dcheck-integrity.c1031 struct btrfs_node *const nodehdr = (struct btrfs_node *)sf->hdr; in btrfsic_process_metablock() local
1034 sf->nr = btrfs_stack_header_nritems(&nodehdr->header); in btrfsic_process_metablock()
1039 nodehdr->header.level, sf->nr, in btrfsic_process_metablock()
1041 &nodehdr->header), in btrfsic_process_metablock()
1043 &nodehdr->header)); in btrfsic_process_metablock()
1057 key_ptr_offset = (uintptr_t)(nodehdr->ptrs + sf->i) - in btrfsic_process_metablock()
1058 (uintptr_t)nodehdr; in btrfsic_process_metablock()