Lines Matching refs:hdr3

487 	struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)from;  in xfs_dir3_leaf_hdr_from_disk()  local
489 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_dir3_leaf_hdr_from_disk()
490 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_dir3_leaf_hdr_from_disk()
491 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_dir3_leaf_hdr_from_disk()
492 to->count = be16_to_cpu(hdr3->count); in xfs_dir3_leaf_hdr_from_disk()
493 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk()
504 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)to; in xfs_dir3_leaf_hdr_to_disk() local
509 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_dir3_leaf_hdr_to_disk()
510 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_dir3_leaf_hdr_to_disk()
511 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk()
512 hdr3->count = cpu_to_be16(from->count); in xfs_dir3_leaf_hdr_to_disk()
513 hdr3->stale = cpu_to_be16(from->stale); in xfs_dir3_leaf_hdr_to_disk()
563 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)from; in xfs_da3_node_hdr_from_disk() local
566 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_da3_node_hdr_from_disk()
567 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_da3_node_hdr_from_disk()
568 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_da3_node_hdr_from_disk()
569 to->count = be16_to_cpu(hdr3->__count); in xfs_da3_node_hdr_from_disk()
570 to->level = be16_to_cpu(hdr3->__level); in xfs_da3_node_hdr_from_disk()
578 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)to; in xfs_da3_node_hdr_to_disk() local
581 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_da3_node_hdr_to_disk()
582 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_da3_node_hdr_to_disk()
583 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_da3_node_hdr_to_disk()
584 hdr3->__count = cpu_to_be16(from->count); in xfs_da3_node_hdr_to_disk()
585 hdr3->__level = cpu_to_be16(from->level); in xfs_da3_node_hdr_to_disk()
686 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)from; in xfs_dir3_free_hdr_from_disk() local
688 to->magic = be32_to_cpu(hdr3->hdr.magic); in xfs_dir3_free_hdr_from_disk()
689 to->firstdb = be32_to_cpu(hdr3->firstdb); in xfs_dir3_free_hdr_from_disk()
690 to->nvalid = be32_to_cpu(hdr3->nvalid); in xfs_dir3_free_hdr_from_disk()
691 to->nused = be32_to_cpu(hdr3->nused); in xfs_dir3_free_hdr_from_disk()
701 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)to; in xfs_dir3_free_hdr_to_disk() local
705 hdr3->hdr.magic = cpu_to_be32(from->magic); in xfs_dir3_free_hdr_to_disk()
706 hdr3->firstdb = cpu_to_be32(from->firstdb); in xfs_dir3_free_hdr_to_disk()
707 hdr3->nvalid = cpu_to_be32(from->nvalid); in xfs_dir3_free_hdr_to_disk()
708 hdr3->nused = cpu_to_be32(from->nused); in xfs_dir3_free_hdr_to_disk()