Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H 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()
323 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) in xfs_dir3_data_verify()
325 if (be64_to_cpu(hdr3->blkno) != xfs_buf_daddr(bp)) in xfs_dir3_data_verify()
327 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_data_verify()
384 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify() local
398 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify()
433 struct xfs_dir3_data_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_header_check() local
435 if (hdr3->hdr.magic != cpu_to_be32(XFS_DIR3_DATA_MAGIC)) in xfs_dir3_data_header_check()
438 if (be64_to_cpu(hdr3->hdr.owner) != owner) in xfs_dir3_data_header_check()
[all …]
H A Dxfs_attr_leaf.c153 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_from_disk() local
156 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk()
157 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk()
180 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local
198 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk()
199 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk()
217 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)from; in xfs_attr3_leaf_hdr_from_disk() local
219 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk()
220 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk()
221 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
[all …]
H 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()
209 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_meta_uuid)) 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
265 if (hdr3->hdr.magic != cpu_to_be16(XFS_DA3_NODE_MAGIC)) in xfs_da3_node_header_check()
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
319 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_da3_node_write_verify()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Defuse_be.c210 #define invalid_efuse_header_be(hdr1, hdr2, hdr3) \ argument
211 ((hdr1) == 0xff || (hdr2) == 0xff || (hdr3) == 0xff)
214 #define get_efuse_blk_idx_be(hdr1, hdr2, hdr3) \ argument
215 (((hdr1) << 16) | ((hdr2) << 8) | (hdr3))
233 u8 hdr1, hdr2, hdr3; in rtw89_eeprom_parser_be() local
266 hdr3 = phy_map[phy_idx + 2]; in rtw89_eeprom_parser_be()
267 if (invalid_efuse_header_be(hdr1, hdr2, hdr3)) in rtw89_eeprom_parser_be()
272 hdr = get_efuse_blk_idx_be(hdr1, hdr2, hdr3); in rtw89_eeprom_parser_be()
/linux/fs/xfs/scrub/
H A Ddir.c496 struct xfs_dir3_data_hdr *hdr3 = bp->b_addr; in xchk_directory_data_bestfree() local
498 if (hdr3->pad) in xchk_directory_data_bestfree()
658 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in xchk_directory_leaf1_bestfree() local
660 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_leaf1_bestfree()
758 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xchk_directory_free_bestfree() local
760 if (hdr3->pad != cpu_to_be32(0)) in xchk_directory_free_bestfree()
/linux/arch/arm/kernel/
H A Datags_parse.c44 struct tag_header hdr3; member