Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c380 end = (uint32_t)ichdr.freemap[i].base + ichdr.freemap[i].size; in xfs_attr3_leaf_verify()
1313 memset(&ichdr, 0, sizeof(ichdr)); in xfs_attr3_leaf_create()
1330 ichdr.freemap[0].size = ichdr.firstused - ichdr.freemap[0].base; in xfs_attr3_leaf_create()
1435 if (ichdr.freemap[i].base < ichdr.firstused) in xfs_attr3_leaf_add()
1512 ichdr->count++; in xfs_attr3_leaf_add_work()
2068 forward = ichdr.forw < ichdr.back; in xfs_attr3_leaf_toosmall()
2151 ASSERT(ichdr.firstused >= ichdr.count * sizeof(*entry) + in xfs_attr3_leaf_remove()
2179 if (ichdr.freemap[i].base + ichdr.freemap[i].size == in xfs_attr3_leaf_remove()
2198 ichdr.freemap[before].size += ichdr.freemap[after].size; in xfs_attr3_leaf_remove()
2236 ichdr.count--; in xfs_attr3_leaf_remove()
[all …]
H A Dxfs_da_btree.c224 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local
227 xfs_da3_node_hdr_from_disk(mp, &ichdr, hdr); in xfs_da3_node_verify()
233 if (ichdr.level == 0) in xfs_da3_node_verify()
235 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify()
237 if (ichdr.count == 0) in xfs_da3_node_verify()
244 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify()
245 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify()
442 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local
461 ichdr.magic = XFS_DA3_NODE_MAGIC; in xfs_da3_node_create()
466 ichdr.magic = XFS_DA_NODE_MAGIC; in xfs_da3_node_create()
[all …]
/openbmc/linux/fs/xfs/
H 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()
168 for (i = 0; i < ichdr.count; i++) { in xfs_attr3_node_inactive()
222 if (i + 1 < ichdr.count) { in xfs_attr3_node_inactive()
H 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()