Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_attr_leaf.c51 struct xfs_attr3_icleaf_hdr *ichdr,
54 struct xfs_attr3_icleaf_hdr *ichdr,
242 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_verify() local
249 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify()
254 if (ichdr.magic != XFS_ATTR3_LEAF_MAGIC) in xfs_attr3_leaf_verify()
264 if (ichdr.magic != XFS_ATTR_LEAF_MAGIC) in xfs_attr3_leaf_verify()
272 if (!xfs_log_in_recovery(mp) && ichdr.count == 0) in xfs_attr3_leaf_verify()
279 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
281 if (ichdr.firstused < xfs_attr3_leaf_hdr_size(leaf)) in xfs_attr3_leaf_verify()
286 if ((char *)&entries[ichdr.count] > in xfs_attr3_leaf_verify()
[all …]
Dxfs_da_btree.c125 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local
130 ops->node_hdr_from_disk(&ichdr, hdr); in xfs_da3_node_verify()
135 if (ichdr.magic != XFS_DA3_NODE_MAGIC) in xfs_da3_node_verify()
145 if (ichdr.magic != XFS_DA_NODE_MAGIC) in xfs_da3_node_verify()
148 if (ichdr.level == 0) in xfs_da3_node_verify()
150 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify()
152 if (ichdr.count == 0) in xfs_da3_node_verify()
159 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
160 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
325 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_attr_inactive.c114 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_inactive() local
127 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive()
134 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
162 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
210 struct xfs_da3_icnode_hdr ichdr; in xfs_attr3_node_inactive() local
221 dp->d_ops->node_hdr_from_disk(&ichdr, node); in xfs_attr3_node_inactive()
223 if (!ichdr.count) { in xfs_attr3_node_inactive()
236 for (i = 0; i < ichdr.count; i++) { in xfs_attr3_node_inactive()
286 if (i + 1 < ichdr.count) { in xfs_attr3_node_inactive()
Dxfs_attr_list.c390 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_list_int() local
399 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
410 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()
423 if (i == ichdr.count) { in xfs_attr3_leaf_list_int()
436 for (; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()