Home
last modified time | relevance | path

Searched refs:ichdr (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c381 end = (uint32_t)ichdr.freemap[i].base + ichdr.freemap[i].size; in xfs_attr3_leaf_verify()
1306 memset(&ichdr, 0, sizeof(ichdr)); in xfs_attr3_leaf_create()
1323 ichdr.freemap[0].size = ichdr.firstused - ichdr.freemap[0].base; in xfs_attr3_leaf_create()
1435 if (ichdr.freemap[i].base < ichdr.firstused) in xfs_attr3_leaf_add()
1512 ichdr->count++; in xfs_attr3_leaf_add_work()
2067 forward = ichdr.forw < ichdr.back; in xfs_attr3_leaf_toosmall()
2150 ASSERT(ichdr.firstused >= ichdr.count * sizeof(*entry) + in xfs_attr3_leaf_remove()
2178 if (ichdr.freemap[i].base + ichdr.freemap[i].size == in xfs_attr3_leaf_remove()
2197 ichdr.freemap[before].size += ichdr.freemap[after].size; in xfs_attr3_leaf_remove()
2235 ichdr.count--; in xfs_attr3_leaf_remove()
[all …]
H A Dxfs_da_btree.c226 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local
229 xfs_da3_node_hdr_from_disk(mp, &ichdr, hdr); in xfs_da3_node_verify()
235 if (ichdr.level == 0) in xfs_da3_node_verify()
237 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify()
239 if (ichdr.count == 0) in xfs_da3_node_verify()
246 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
247 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
513 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local
532 ichdr.magic = XFS_DA3_NODE_MAGIC; in xfs_da3_node_create()
537 ichdr.magic = XFS_DA_NODE_MAGIC; in xfs_da3_node_create()
[all …]
/linux-6.15/fs/xfs/
H A Dxfs_attr_inactive.c88 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_inactive() local
96 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive()
103 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
142 struct xfs_da3_icnode_hdr ichdr; in xfs_attr3_node_inactive() local
155 xfs_da3_node_hdr_from_disk(dp->i_mount, &ichdr, bp->b_addr); in xfs_attr3_node_inactive()
157 if (!ichdr.count) { in xfs_attr3_node_inactive()
161 child_fsb = be32_to_cpu(ichdr.btree[0].before); in xfs_attr3_node_inactive()
170 for (i = 0; i < ichdr.count; i++) { in xfs_attr3_node_inactive()
225 if (i + 1 < ichdr.count) { in xfs_attr3_node_inactive()
H A Dxfs_attr_list.c439 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_list_int() local
448 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
458 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()
471 if (i == ichdr.count) { in xfs_attr3_leaf_list_int()
484 for (; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()
/linux-6.15/fs/xfs/scrub/
H A Dlistxattr.c61 struct xfs_attr3_icleaf_hdr ichdr; in xchk_xattr_walk_leaf_entries() local
68 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xchk_xattr_walk_leaf_entries()
71 for (i = 0; i < ichdr.count; entry++, i++) { in xchk_xattr_walk_leaf_entries()