Searched refs:hdr3 (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_dir2_data.c | 295 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify() local 297 if (!xfs_verify_magic(bp, hdr3->magic)) in xfs_dir3_data_verify() 301 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_data_verify() 303 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_data_verify() 305 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_data_verify() 362 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify() local 375 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify() 405 struct xfs_dir3_data_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_header_check() local 407 if (be64_to_cpu(hdr3->hdr.owner) != dp->i_ino) in xfs_dir3_data_header_check() 721 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init() local [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) != xfs_buf_daddr(bp)) 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() 125 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_header_check() local 127 if (be64_to_cpu(hdr3->owner) != dp->i_ino) in xfs_dir3_block_header_check() 169 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init() local [all …]
|
D | xfs_attr_leaf.c | 99 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_from_disk() local 102 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk() 103 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk() 126 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local 144 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk() 145 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk() 163 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)from; in xfs_attr3_leaf_hdr_from_disk() local 165 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk() 166 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk() 167 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk() [all …]
|
D | xfs_dir2_node.c | 109 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify() local 111 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_free_verify() 113 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_free_verify() 115 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_free_verify() 147 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify() local 160 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify() 189 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check() local 191 if (be32_to_cpu(hdr3->firstdb) != firstdb) in xfs_dir3_free_header_check() 193 if (be32_to_cpu(hdr3->nvalid) > maxbests) in xfs_dir3_free_header_check() 195 if (be32_to_cpu(hdr3->nvalid) < be32_to_cpu(hdr3->nused)) in xfs_dir3_free_header_check() [all …]
|
D | xfs_da_btree.c | 198 struct xfs_da3_blkinfo *hdr3) in xfs_da3_blkinfo_verify() argument 201 struct xfs_da_blkinfo *hdr = &hdr3->hdr; in xfs_da3_blkinfo_verify() 207 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_da3_blkinfo_verify() 209 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_da3_blkinfo_verify() 211 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_da3_blkinfo_verify() 259 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify() local 272 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_da3_node_write_verify() 458 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create() local 460 memset(hdr3, 0, sizeof(struct xfs_da3_node_hdr)); in xfs_da3_node_create() 462 hdr3->info.blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_da3_node_create() [all …]
|
D | xfs_da_format.h | 803 struct xfs_da3_blkinfo *hdr3);
|
D | xfs_dir2_leaf.c | 233 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xfs_dir3_leaf_write_verify() local 246 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_leaf_write_verify()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | dabtree.c | 319 struct xfs_da3_blkinfo *hdr3; in xchk_da_btree_block() local 365 hdr3 = blk->bp->b_addr; in xchk_da_btree_block() 366 blk->magic = be16_to_cpu(hdr3->hdr.magic); in xchk_da_btree_block() 370 if (xfs_has_crc(ds->sc->mp) && hdr3->hdr.pad) in xchk_da_btree_block() 375 owner = be64_to_cpu(hdr3->owner); in xchk_da_btree_block() 381 error = xchk_da_btree_block_check_siblings(ds, level, &hdr3->hdr); in xchk_da_btree_block()
|
D | dir.c | 531 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xchk_directory_leaf1_bestfree() local 533 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_leaf1_bestfree() 632 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xchk_directory_free_bestfree() local 634 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_free_bestfree()
|
/linux-6.1.9/arch/arm/kernel/ |
D | atags_parse.c | 44 struct tag_header hdr3; member
|