Lines Matching refs:hdr3
470 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)from; in xfs_dir3_leaf_hdr_from_disk() local
472 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_dir3_leaf_hdr_from_disk()
473 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_dir3_leaf_hdr_from_disk()
474 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_dir3_leaf_hdr_from_disk()
475 to->count = be16_to_cpu(hdr3->count); in xfs_dir3_leaf_hdr_from_disk()
476 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk()
487 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)to; in xfs_dir3_leaf_hdr_to_disk() local
492 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_dir3_leaf_hdr_to_disk()
493 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_dir3_leaf_hdr_to_disk()
494 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk()
495 hdr3->count = cpu_to_be16(from->count); in xfs_dir3_leaf_hdr_to_disk()
496 hdr3->stale = cpu_to_be16(from->stale); in xfs_dir3_leaf_hdr_to_disk()
546 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)from; in xfs_da3_node_hdr_from_disk() local
549 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_da3_node_hdr_from_disk()
550 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_da3_node_hdr_from_disk()
551 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_da3_node_hdr_from_disk()
552 to->count = be16_to_cpu(hdr3->__count); in xfs_da3_node_hdr_from_disk()
553 to->level = be16_to_cpu(hdr3->__level); in xfs_da3_node_hdr_from_disk()
561 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)to; in xfs_da3_node_hdr_to_disk() local
564 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_da3_node_hdr_to_disk()
565 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_da3_node_hdr_to_disk()
566 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_da3_node_hdr_to_disk()
567 hdr3->__count = cpu_to_be16(from->count); in xfs_da3_node_hdr_to_disk()
568 hdr3->__level = cpu_to_be16(from->level); in xfs_da3_node_hdr_to_disk()
669 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)from; in xfs_dir3_free_hdr_from_disk() local
671 to->magic = be32_to_cpu(hdr3->hdr.magic); in xfs_dir3_free_hdr_from_disk()
672 to->firstdb = be32_to_cpu(hdr3->firstdb); in xfs_dir3_free_hdr_from_disk()
673 to->nvalid = be32_to_cpu(hdr3->nvalid); in xfs_dir3_free_hdr_from_disk()
674 to->nused = be32_to_cpu(hdr3->nused); in xfs_dir3_free_hdr_from_disk()
684 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)to; in xfs_dir3_free_hdr_to_disk() local
688 hdr3->hdr.magic = cpu_to_be32(from->magic); in xfs_dir3_free_hdr_to_disk()
689 hdr3->firstdb = cpu_to_be32(from->firstdb); in xfs_dir3_free_hdr_to_disk()
690 hdr3->nvalid = cpu_to_be32(from->nvalid); in xfs_dir3_free_hdr_to_disk()
691 hdr3->nused = cpu_to_be32(from->nused); in xfs_dir3_free_hdr_to_disk()