Home
last modified time | relevance | path

Searched refs:hdr3 (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/libxfs/
A Dxfs_dir2_data.c317 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify() local
319 if (!xfs_verify_magic(bp, hdr3->magic)) in xfs_dir3_data_verify()
384 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify() local
397 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify()
427 struct xfs_dir3_data_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_header_check() local
432 if (be64_to_cpu(hdr3->hdr.owner) != owner) in xfs_dir3_data_header_check()
748 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init() local
750 memset(hdr3, 0, sizeof(*hdr3)); in xfs_dir3_data_init()
751 hdr3->magic = cpu_to_be32(XFS_DIR3_DATA_MAGIC); in xfs_dir3_data_init()
752 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_data_init()
[all …]
A Dxfs_dir2_block.c52 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_verify() local
54 if (!xfs_verify_magic(bp, hdr3->magic)) in xfs_dir3_block_verify()
91 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_write_verify() local
104 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_block_write_verify()
126 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_header_check() local
131 if (be64_to_cpu(hdr3->owner) != owner) in xfs_dir3_block_header_check()
176 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init() local
182 memset(hdr3, 0, sizeof(*hdr3)); in xfs_dir3_block_init()
184 hdr3->blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_dir3_block_init()
185 hdr3->owner = cpu_to_be64(args->owner); in xfs_dir3_block_init()
[all …]
A Dxfs_attr_leaf.c100 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_from_disk() local
103 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk()
127 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local
145 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk()
146 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk()
169 to->count = be16_to_cpu(hdr3->count); in xfs_attr3_leaf_hdr_from_disk()
172 to->holes = hdr3->holes; in xfs_attr3_leaf_hdr_from_disk()
211 hdr3->count = cpu_to_be16(from->count); in xfs_attr3_leaf_hdr_to_disk()
214 hdr3->holes = from->holes; in xfs_attr3_leaf_hdr_to_disk()
215 hdr3->pad1 = 0; in xfs_attr3_leaf_hdr_to_disk()
[all …]
A Dxfs_dir2_node.c110 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify() local
114 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_free_verify()
148 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify() local
161 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify()
190 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_header_check() local
192 if (be32_to_cpu(hdr3->firstdb) != firstdb) in xfs_dir3_free_header_check()
194 if (be32_to_cpu(hdr3->nvalid) > maxbests) in xfs_dir3_free_header_check()
196 if (be32_to_cpu(hdr3->nvalid) < be32_to_cpu(hdr3->nused)) in xfs_dir3_free_header_check()
198 if (be64_to_cpu(hdr3->hdr.owner) != owner) in xfs_dir3_free_header_check()
351 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf() local
[all …]
A Dxfs_da_btree.c200 struct xfs_da3_blkinfo *hdr3) in xfs_da3_blkinfo_verify() argument
203 struct xfs_da_blkinfo *hdr = &hdr3->hdr; in xfs_da3_blkinfo_verify()
211 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_da3_blkinfo_verify()
213 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_da3_blkinfo_verify()
263 struct xfs_da3_blkinfo *hdr3 = bp->b_addr; in xfs_da3_node_header_check() local
268 if (be64_to_cpu(hdr3->owner) != owner) in xfs_da3_node_header_check()
306 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify() local
529 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create() local
531 memset(hdr3, 0, sizeof(struct xfs_da3_node_hdr)); in xfs_da3_node_create()
533 hdr3->info.blkno = cpu_to_be64(xfs_buf_daddr(bp)); in xfs_da3_node_create()
[all …]
A Dxfs_dir2_leaf.c219 struct xfs_dir3_leaf *hdr3 = bp->b_addr; in xfs_dir3_leaf_header_check() local
221 if (hdr3->hdr.info.hdr.magic != in xfs_dir3_leaf_header_check()
223 hdr3->hdr.info.hdr.magic != in xfs_dir3_leaf_header_check()
227 if (be64_to_cpu(hdr3->hdr.info.owner) != owner) in xfs_dir3_leaf_header_check()
257 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xfs_dir3_leaf_write_verify() local
270 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_leaf_write_verify()
A Dxfs_da_format.h892 struct xfs_da3_blkinfo *hdr3);
/fs/xfs/scrub/
A Ddabtree.c336 struct xfs_da3_blkinfo *hdr3; in xchk_da_btree_block() local
383 hdr3 = blk->bp->b_addr; in xchk_da_btree_block()
384 blk->magic = be16_to_cpu(hdr3->hdr.magic); in xchk_da_btree_block()
388 if (xfs_has_crc(ds->sc->mp) && hdr3->hdr.pad) in xchk_da_btree_block()
393 owner = be64_to_cpu(hdr3->owner); in xchk_da_btree_block()
399 error = xchk_da_btree_block_check_siblings(ds, level, &hdr3->hdr); in xchk_da_btree_block()
A Ddir.c653 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xchk_directory_leaf1_bestfree() local
655 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_leaf1_bestfree()
753 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xchk_directory_free_bestfree() local
755 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_free_bestfree()

Completed in 32 milliseconds