Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_da_btree.c730 struct xfs_da3_icnode_hdr nodehdr; in xfs_da3_root_split() local
802 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_root_split()
803 btree = nodehdr.btree; in xfs_da3_root_split()
808 nodehdr.count = 2; in xfs_da3_root_split()
809 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &nodehdr); in xfs_da3_root_split()
841 struct xfs_da3_icnode_hdr nodehdr; in xfs_da3_node_split() local
851 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
861 if (nodehdr.count + newcount > state->args->geo->node_ents) { in xfs_da3_node_split()
898 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
899 if (oldblk->index <= nodehdr.count) { in xfs_da3_node_split()
[all …]
/linux-6.12.1/fs/xfs/scrub/
Dlistxattr.c135 struct xfs_da3_icnode_hdr nodehdr; in xchk_xattr_find_leftmost_leaf() local
173 xfs_da3_node_hdr_from_disk(mp, &nodehdr, node); in xchk_xattr_find_leftmost_leaf()
175 if (nodehdr.count == 0 || nodehdr.level >= XFS_DA_NODE_MAXDEPTH) in xchk_xattr_find_leftmost_leaf()
180 expected_level = nodehdr.level - 1; in xchk_xattr_find_leftmost_leaf()
181 else if (expected_level != nodehdr.level) in xchk_xattr_find_leftmost_leaf()
192 btree = nodehdr.btree; in xchk_xattr_find_leftmost_leaf()
Ddabtree.c342 struct xfs_da3_icnode_hdr nodehdr; in xchk_da_btree_block() local
438 xfs_da3_node_hdr_from_disk(ip->i_mount, &nodehdr, node); in xchk_da_btree_block()
439 btree = nodehdr.btree; in xchk_da_btree_block()
440 *pmaxrecs = nodehdr.count; in xchk_da_btree_block()
443 if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) { in xchk_da_btree_block()
447 ds->tree_level = nodehdr.level; in xchk_da_btree_block()
449 if (ds->tree_level != nodehdr.level) { in xchk_da_btree_block()
/linux-6.12.1/fs/xfs/
Dxfs_attr_list.c218 struct xfs_da3_icnode_hdr nodehdr; in xfs_attr_node_list_lookup() local
254 xfs_da3_node_hdr_from_disk(mp, &nodehdr, node); in xfs_attr_node_list_lookup()
257 if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) in xfs_attr_node_list_lookup()
262 expected_level = nodehdr.level - 1; in xfs_attr_node_list_lookup()
263 else if (expected_level != nodehdr.level) in xfs_attr_node_list_lookup()
268 btree = nodehdr.btree; in xfs_attr_node_list_lookup()
269 for (i = 0; i < nodehdr.count; btree++, i++) { in xfs_attr_node_list_lookup()
279 if (i == nodehdr.count) in xfs_attr_node_list_lookup()