Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_attr_leaf.c48 struct xfs_attr3_icleaf_hdr *ichdr,
51 struct xfs_attr3_icleaf_hdr *ichdr,
239 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_verify() local
247 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify()
258 if (!xfs_log_in_recovery(mp) && ichdr.count == 0) in xfs_attr3_leaf_verify()
265 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
267 if (ichdr.firstused < xfs_attr3_leaf_hdr_size(leaf)) in xfs_attr3_leaf_verify()
272 if ((char *)&entries[ichdr.count] > in xfs_attr3_leaf_verify()
273 (char *)bp->b_addr + ichdr.firstused) in xfs_attr3_leaf_verify()
289 if (ichdr.freemap[i].base > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
[all …]
Dxfs_da_btree.c147 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local
153 ops->node_hdr_from_disk(&ichdr, hdr); in xfs_da3_node_verify()
159 if (ichdr.level == 0) in xfs_da3_node_verify()
161 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify()
163 if (ichdr.count == 0) in xfs_da3_node_verify()
170 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
171 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
338 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local
357 ichdr.magic = XFS_DA3_NODE_MAGIC; in xfs_da3_node_create()
362 ichdr.magic = XFS_DA_NODE_MAGIC; in xfs_da3_node_create()
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_attr_inactive.c109 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_inactive() local
122 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive()
129 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
157 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive()
205 struct xfs_da3_icnode_hdr ichdr; in xfs_attr3_node_inactive() local
216 dp->d_ops->node_hdr_from_disk(&ichdr, node); in xfs_attr3_node_inactive()
218 if (!ichdr.count) { in xfs_attr3_node_inactive()
231 for (i = 0; i < ichdr.count; i++) { in xfs_attr3_node_inactive()
281 if (i + 1 < ichdr.count) { in xfs_attr3_node_inactive()
Dxfs_attr_list.c385 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_list_int() local
394 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_list_int()
405 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()
418 if (i == ichdr.count) { in xfs_attr3_leaf_list_int()
431 for (; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_list_int()