Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_attr_leaf.c63 struct xfs_attr3_icleaf_hdr *ichdr,
66 struct xfs_attr3_icleaf_hdr *ichdr,
256 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_verify() local
258 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify()
263 if (ichdr.magic != XFS_ATTR3_LEAF_MAGIC) in xfs_attr3_leaf_verify()
273 if (ichdr.magic != XFS_ATTR_LEAF_MAGIC) in xfs_attr3_leaf_verify()
276 if (ichdr.count == 0) in xfs_attr3_leaf_verify()
878 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_to_shortform() local
896 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); in xfs_attr3_leaf_to_shortform()
931 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_to_shortform()
[all …]
Dxfs_da_btree.c137 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local
142 ops->node_hdr_from_disk(&ichdr, hdr); in xfs_da3_node_verify()
147 if (ichdr.magic != XFS_DA3_NODE_MAGIC) in xfs_da3_node_verify()
157 if (ichdr.magic != XFS_DA_NODE_MAGIC) in xfs_da3_node_verify()
160 if (ichdr.level == 0) in xfs_da3_node_verify()
162 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify()
164 if (ichdr.count == 0) in xfs_da3_node_verify()
171 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
172 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
311 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local
[all …]
/linux-4.4.14/fs/xfs/
Dxfs_attr_inactive.c125 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_inactive() local
138 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive()
145 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
173 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
221 struct xfs_da3_icnode_hdr ichdr; in xfs_attr3_node_inactive() local
232 dp->d_ops->node_hdr_from_disk(&ichdr, node); in xfs_attr3_node_inactive()
234 if (!ichdr.count) { in xfs_attr3_node_inactive()
247 for (i = 0; i < ichdr.count; i++) { in xfs_attr3_node_inactive()
300 if (i + 1 < ichdr.count) { in xfs_attr3_node_inactive()
Dxfs_attr_list.c370 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_list_int() local
380 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
391 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()
404 if (i == ichdr.count) { in xfs_attr3_leaf_list_int()
418 for (; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()