Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
A Dxfs_attr_leaf.c362 end = (uint32_t)ichdr.freemap[i].base + ichdr.freemap[i].size; in xfs_attr3_leaf_verify()
1269 memset(&ichdr, 0, sizeof(ichdr)); in xfs_attr3_leaf_create()
1286 ichdr.freemap[0].size = ichdr.firstused - ichdr.freemap[0].base; in xfs_attr3_leaf_create()
1391 if (ichdr.freemap[i].base < ichdr.firstused) in xfs_attr3_leaf_add()
1468 ichdr->count++; in xfs_attr3_leaf_add_work()
2023 forward = ichdr.forw < ichdr.back; in xfs_attr3_leaf_toosmall()
2106 ASSERT(ichdr.firstused >= ichdr.count * sizeof(*entry) + in xfs_attr3_leaf_remove()
2134 if (ichdr.freemap[i].base + ichdr.freemap[i].size == in xfs_attr3_leaf_remove()
2153 ichdr.freemap[before].size += ichdr.freemap[after].size; in xfs_attr3_leaf_remove()
2191 ichdr.count--; in xfs_attr3_leaf_remove()
[all …]
A 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 …]
/linux/fs/xfs/
A 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()
167 for (i = 0; i < ichdr.count; i++) { in xfs_attr3_node_inactive()
225 if (i + 1 < ichdr.count) { in xfs_attr3_node_inactive()
A 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()

Completed in 14 milliseconds