Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_attr_leaf.c49 struct xfs_attr3_icleaf_hdr *ichdr,
52 struct xfs_attr3_icleaf_hdr *ichdr,
295 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_verify() local
306 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify()
316 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
318 if (ichdr.firstused < xfs_attr3_leaf_hdr_size(leaf)) in xfs_attr3_leaf_verify()
323 if ((char *)&entries[ichdr.count] > in xfs_attr3_leaf_verify()
324 (char *)bp->b_addr + ichdr.firstused) in xfs_attr3_leaf_verify()
335 for (i = 0, ent = entries; i < ichdr.count; ent++, i++) { in xfs_attr3_leaf_verify()
336 fa = xfs_attr3_leaf_verify_entry(mp, buf_end, leaf, &ichdr, in xfs_attr3_leaf_verify()
[all …]
Dxfs_da_btree.c212 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local
215 xfs_da3_node_hdr_from_disk(mp, &ichdr, hdr); in xfs_da3_node_verify()
221 if (ichdr.level == 0) in xfs_da3_node_verify()
223 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify()
225 if (ichdr.count == 0) in xfs_da3_node_verify()
232 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
233 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
430 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local
449 ichdr.magic = XFS_DA3_NODE_MAGIC; in xfs_da3_node_create()
454 ichdr.magic = XFS_DA_NODE_MAGIC; in xfs_da3_node_create()
[all …]
/fs/xfs/
Dxfs_attr_inactive.c87 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_inactive() local
95 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive()
102 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
141 struct xfs_da3_icnode_hdr ichdr; in xfs_attr3_node_inactive() local
153 xfs_da3_node_hdr_from_disk(dp->i_mount, &ichdr, bp->b_addr); in xfs_attr3_node_inactive()
155 if (!ichdr.count) { in xfs_attr3_node_inactive()
159 child_fsb = be32_to_cpu(ichdr.btree[0].before); in xfs_attr3_node_inactive()
168 for (i = 0; i < ichdr.count; i++) { in xfs_attr3_node_inactive()
222 if (i + 1 < ichdr.count) { in xfs_attr3_node_inactive()
Dxfs_attr_list.c393 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_list_int() local
402 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
412 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()
425 if (i == ichdr.count) { in xfs_attr3_leaf_list_int()
438 for (; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()