Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_attr_leaf.c62 struct xfs_attr3_icleaf_hdr *ichdr,
65 struct xfs_attr3_icleaf_hdr *ichdr,
255 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_verify() local
257 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify()
262 if (ichdr.magic != XFS_ATTR3_LEAF_MAGIC) in xfs_attr3_leaf_verify()
270 if (ichdr.magic != XFS_ATTR_LEAF_MAGIC) in xfs_attr3_leaf_verify()
273 if (ichdr.count == 0) in xfs_attr3_leaf_verify()
874 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_to_shortform() local
892 xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); in xfs_attr3_leaf_to_shortform()
927 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_to_shortform()
[all …]
Dxfs_da_btree.c136 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local
141 ops->node_hdr_from_disk(&ichdr, hdr); in xfs_da3_node_verify()
146 if (ichdr.magic != XFS_DA3_NODE_MAGIC) in xfs_da3_node_verify()
154 if (ichdr.magic != XFS_DA_NODE_MAGIC) in xfs_da3_node_verify()
157 if (ichdr.level == 0) in xfs_da3_node_verify()
159 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify()
161 if (ichdr.count == 0) in xfs_da3_node_verify()
168 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
169 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
306 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local
[all …]
/linux-4.1.27/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()