Searched refs:ichdr (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_attr_leaf.c | 50 struct xfs_attr3_icleaf_hdr *ichdr, 53 struct xfs_attr3_icleaf_hdr *ichdr, 313 struct xfs_attr3_icleaf_hdr ichdr; in xfs_attr3_leaf_verify() local 324 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &ichdr, leaf); in xfs_attr3_leaf_verify() 334 if (ichdr.firstused > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify() 336 if (ichdr.firstused < xfs_attr3_leaf_hdr_size(leaf)) in xfs_attr3_leaf_verify() 341 if ((char *)&entries[ichdr.count] > in xfs_attr3_leaf_verify() 342 (char *)bp->b_addr + ichdr.firstused) in xfs_attr3_leaf_verify() 353 for (i = 0, ent = entries; i < ichdr.count; ent++, i++) { in xfs_attr3_leaf_verify() 354 fa = xfs_attr3_leaf_verify_entry(mp, buf_end, leaf, &ichdr, in xfs_attr3_leaf_verify() [all …]
|
D | xfs_da_btree.c | 224 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 …]
|
/linux-6.6.21/fs/xfs/ |
D | xfs_attr_inactive.c | 87 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()
|
D | xfs_attr_list.c | 393 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()
|