Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_da_btree.c656 struct xfs_da3_icnode_hdr nodehdr; in xfs_da3_root_split() local
748 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_root_split()
749 btree = nodehdr.btree; in xfs_da3_root_split()
754 nodehdr.count = 2; in xfs_da3_root_split()
755 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &nodehdr); in xfs_da3_root_split()
787 struct xfs_da3_icnode_hdr nodehdr; in xfs_da3_node_split() local
797 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
807 if (nodehdr.count + newcount > state->args->geo->node_ents) { in xfs_da3_node_split()
844 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
845 if (oldblk->index <= nodehdr.count) { in xfs_da3_node_split()
[all …]
/linux-6.1.9/fs/xfs/
Dxfs_attr_list.c206 struct xfs_da3_icnode_hdr nodehdr; in xfs_attr_node_list_lookup() local
237 xfs_da3_node_hdr_from_disk(mp, &nodehdr, node); in xfs_attr_node_list_lookup()
240 if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) in xfs_attr_node_list_lookup()
245 expected_level = nodehdr.level - 1; in xfs_attr_node_list_lookup()
246 else if (expected_level != nodehdr.level) in xfs_attr_node_list_lookup()
251 btree = nodehdr.btree; in xfs_attr_node_list_lookup()
252 for (i = 0; i < nodehdr.count; btree++, i++) { in xfs_attr_node_list_lookup()
262 if (i == nodehdr.count) in xfs_attr_node_list_lookup()
/linux-6.1.9/fs/xfs/scrub/
Ddabtree.c324 struct xfs_da3_icnode_hdr nodehdr; in xchk_da_btree_block() local
420 xfs_da3_node_hdr_from_disk(ip->i_mount, &nodehdr, node); in xchk_da_btree_block()
421 btree = nodehdr.btree; in xchk_da_btree_block()
422 *pmaxrecs = nodehdr.count; in xchk_da_btree_block()
425 if (nodehdr.level >= XFS_DA_NODE_MAXDEPTH) { in xchk_da_btree_block()
429 ds->tree_level = nodehdr.level; in xchk_da_btree_block()
431 if (ds->tree_level != nodehdr.level) { in xchk_da_btree_block()
/linux-6.1.9/fs/btrfs/
Dcheck-integrity.c1029 struct btrfs_node *const nodehdr = (struct btrfs_node *)sf->hdr; in btrfsic_process_metablock() local
1032 sf->nr = btrfs_stack_header_nritems(&nodehdr->header); in btrfsic_process_metablock()
1037 nodehdr->header.level, sf->nr, in btrfsic_process_metablock()
1039 &nodehdr->header), in btrfsic_process_metablock()
1041 &nodehdr->header)); in btrfsic_process_metablock()
1055 key_ptr_offset = (uintptr_t)(nodehdr->ptrs + sf->i) - in btrfsic_process_metablock()
1056 (uintptr_t)nodehdr; in btrfsic_process_metablock()