Searched refs:hdr3 (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_da_format.c | 467 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)from; in xfs_dir3_leaf_hdr_from_disk() local 469 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_dir3_leaf_hdr_from_disk() 470 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_dir3_leaf_hdr_from_disk() 471 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_dir3_leaf_hdr_from_disk() 472 to->count = be16_to_cpu(hdr3->count); in xfs_dir3_leaf_hdr_from_disk() 473 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk() 484 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)to; in xfs_dir3_leaf_hdr_to_disk() local 489 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_dir3_leaf_hdr_to_disk() 490 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_dir3_leaf_hdr_to_disk() 491 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk() [all …]
|
| D | xfs_dir2_block.c | 51 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_verify() local 53 if (!xfs_verify_magic(bp, hdr3->magic)) in xfs_dir3_block_verify() 57 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_block_verify() 59 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_block_verify() 61 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_block_verify() 90 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_write_verify() local 103 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_block_write_verify() 140 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init() local 146 memset(hdr3, 0, sizeof(*hdr3)); in xfs_dir3_block_init() 147 hdr3->magic = cpu_to_be32(XFS_DIR3_BLOCK_MAGIC); in xfs_dir3_block_init() [all …]
|
| D | xfs_dir2_data.c | 249 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify() local 251 if (!xfs_verify_magic(bp, hdr3->magic)) in xfs_dir3_data_verify() 255 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_data_verify() 257 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_data_verify() 259 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_data_verify() 316 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify() local 329 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify() 667 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init() local 669 memset(hdr3, 0, sizeof(*hdr3)); in xfs_dir3_data_init() 670 hdr3->magic = cpu_to_be32(XFS_DIR3_DATA_MAGIC); in xfs_dir3_data_init() [all …]
|
| D | xfs_attr_leaf.c | 97 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_from_disk() local 100 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk() 101 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk() 124 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local 142 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk() 143 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk() 161 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)from; in xfs_attr3_leaf_hdr_from_disk() local 163 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk() 164 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk() 165 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk() [all …]
|
| D | xfs_dir2_node.c | 90 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify() local 92 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_free_verify() 94 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_free_verify() 96 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_free_verify() 128 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify() local 141 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify() 171 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check() local 173 if (be32_to_cpu(hdr3->firstdb) != firstdb) in xfs_dir3_free_header_check() 175 if (be32_to_cpu(hdr3->nvalid) > maxbests) in xfs_dir3_free_header_check() 177 if (be32_to_cpu(hdr3->nvalid) < be32_to_cpu(hdr3->nused)) in xfs_dir3_free_header_check() [all …]
|
| D | xfs_da_btree.c | 121 struct xfs_da3_blkinfo *hdr3) in xfs_da3_blkinfo_verify() argument 124 struct xfs_da_blkinfo *hdr = &hdr3->hdr; in xfs_da3_blkinfo_verify() 130 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_da3_blkinfo_verify() 132 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_da3_blkinfo_verify() 134 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_da3_blkinfo_verify() 185 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify() local 198 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_da3_node_write_verify() 354 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create() local 356 memset(hdr3, 0, sizeof(struct xfs_da3_node_hdr)); in xfs_da3_node_create() 358 hdr3->info.blkno = cpu_to_be64(bp->b_bn); in xfs_da3_node_create() [all …]
|
| D | xfs_da_format.h | 873 struct xfs_da3_blkinfo *hdr3);
|
| D | xfs_dir2_leaf.c | 178 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xfs_dir3_leaf_write_verify() local 191 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_leaf_write_verify()
|
| /Linux-v5.4/fs/xfs/scrub/ |
| D | dabtree.c | 335 struct xfs_da3_blkinfo *hdr3; in xchk_da_btree_block() local 381 hdr3 = blk->bp->b_addr; in xchk_da_btree_block() 382 blk->magic = be16_to_cpu(hdr3->hdr.magic); in xchk_da_btree_block() 386 if (xfs_sb_version_hascrc(&ds->sc->mp->m_sb) && hdr3->hdr.pad) in xchk_da_btree_block() 391 owner = be64_to_cpu(hdr3->owner); in xchk_da_btree_block() 397 error = xchk_da_btree_block_check_siblings(ds, level, &hdr3->hdr); in xchk_da_btree_block()
|
| D | dir.c | 508 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xchk_directory_leaf1_bestfree() local 510 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_leaf1_bestfree() 591 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xchk_directory_free_bestfree() local 593 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_free_bestfree()
|
| /Linux-v5.4/arch/arm/kernel/ |
| D | atags_parse.c | 44 struct tag_header hdr3; member
|