Searched refs:ichdr (Results 1 – 3 of 3) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_attr_leaf.c | 51 struct xfs_attr3_icleaf_hdr *ichdr, 54 struct xfs_attr3_icleaf_hdr *ichdr, 90 const struct xfs_attr3_icleaf_hdr *ichdr, in ichdr_freemaps_overlap() argument 95 ichdr->freemap[x].base + ichdr->freemap[x].size; in ichdr_freemaps_overlap() 97 ichdr->freemap[y].base + ichdr->freemap[y].size; in ichdr_freemaps_overlap() 100 if (!ichdr->freemap[x].size || !ichdr->freemap[y].size) in ichdr_freemaps_overlap() 103 return ichdr->freemap[x].base < yend && xend > ichdr->freemap[y].base; in ichdr_freemaps_overlap() 108 const struct xfs_attr3_icleaf_hdr *ichdr, in xfs_attr_leaf_ichdr_freemaps_verify() argument 112 xfs_attr_leaf_entries_end(ichdr->count, leaf); in xfs_attr_leaf_ichdr_freemaps_verify() 115 if (ichdr_freemaps_overlap(ichdr, 0, 1)) in xfs_attr_leaf_ichdr_freemaps_verify() [all …]
|
| H A D | xfs_da_btree.c | 226 struct xfs_da3_icnode_hdr ichdr; in xfs_da3_node_verify() local 229 xfs_da3_node_hdr_from_disk(mp, &ichdr, hdr); in xfs_da3_node_verify() 235 if (ichdr.level == 0) in xfs_da3_node_verify() 237 if (ichdr.level > XFS_DA_NODE_MAXDEPTH) in xfs_da3_node_verify() 239 if (ichdr.count == 0) in xfs_da3_node_verify() 246 if (ichdr.count > mp->m_dir_geo->node_ents && in xfs_da3_node_verify() 247 ichdr.count > mp->m_attr_geo->node_ents) in xfs_da3_node_verify() 513 struct xfs_da3_icnode_hdr ichdr = {0}; in xfs_da3_node_create() local 532 ichdr.magic = XFS_DA3_NODE_MAGIC; in xfs_da3_node_create() 537 ichdr.magic = XFS_DA_NODE_MAGIC; in xfs_da3_node_create() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_attr_inactive.c | 88 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_inactive() local 96 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_inactive() 103 for (i = 0; i < ichdr.count; entry++, i++) { in xfs_attr3_leaf_inactive() 142 struct xfs_da3_icnode_hdr ichdr; in xfs_attr3_node_inactive() local 155 xfs_da3_node_hdr_from_disk(mp, &ichdr, bp->b_addr); in xfs_attr3_node_inactive() 157 if (!ichdr.count) { in xfs_attr3_node_inactive() 161 child_fsb = be32_to_cpu(ichdr.btree[0].before); in xfs_attr3_node_inactive() 170 while (ichdr.count > 0) { in xfs_attr3_node_inactive() 231 xfs_da3_node_hdr_from_disk(mp, &ichdr, bp->b_addr); in xfs_attr3_node_inactive() 234 if (ichdr.count > 0) { in xfs_attr3_node_inactive() [all …]
|