Lines Matching refs:hdr3

467 	struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)from;  in xfs_dir3_leaf_hdr_from_disk()  local
469 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_dir3_leaf_hdr_from_disk()
470 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_dir3_leaf_hdr_from_disk()
471 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_dir3_leaf_hdr_from_disk()
472 to->count = be16_to_cpu(hdr3->count); in xfs_dir3_leaf_hdr_from_disk()
473 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk()
484 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)to; in xfs_dir3_leaf_hdr_to_disk() local
489 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_dir3_leaf_hdr_to_disk()
490 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_dir3_leaf_hdr_to_disk()
491 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk()
492 hdr3->count = cpu_to_be16(from->count); in xfs_dir3_leaf_hdr_to_disk()
493 hdr3->stale = cpu_to_be16(from->stale); in xfs_dir3_leaf_hdr_to_disk()
543 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)from; in xfs_da3_node_hdr_from_disk() local
546 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_da3_node_hdr_from_disk()
547 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_da3_node_hdr_from_disk()
548 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_da3_node_hdr_from_disk()
549 to->count = be16_to_cpu(hdr3->__count); in xfs_da3_node_hdr_from_disk()
550 to->level = be16_to_cpu(hdr3->__level); in xfs_da3_node_hdr_from_disk()
558 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)to; in xfs_da3_node_hdr_to_disk() local
561 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_da3_node_hdr_to_disk()
562 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_da3_node_hdr_to_disk()
563 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_da3_node_hdr_to_disk()
564 hdr3->__count = cpu_to_be16(from->count); in xfs_da3_node_hdr_to_disk()
565 hdr3->__level = cpu_to_be16(from->level); in xfs_da3_node_hdr_to_disk()
666 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)from; in xfs_dir3_free_hdr_from_disk() local
668 to->magic = be32_to_cpu(hdr3->hdr.magic); in xfs_dir3_free_hdr_from_disk()
669 to->firstdb = be32_to_cpu(hdr3->firstdb); in xfs_dir3_free_hdr_from_disk()
670 to->nvalid = be32_to_cpu(hdr3->nvalid); in xfs_dir3_free_hdr_from_disk()
671 to->nused = be32_to_cpu(hdr3->nused); in xfs_dir3_free_hdr_from_disk()
681 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)to; in xfs_dir3_free_hdr_to_disk() local
685 hdr3->hdr.magic = cpu_to_be32(from->magic); in xfs_dir3_free_hdr_to_disk()
686 hdr3->firstdb = cpu_to_be32(from->firstdb); in xfs_dir3_free_hdr_to_disk()
687 hdr3->nvalid = cpu_to_be32(from->nvalid); in xfs_dir3_free_hdr_to_disk()
688 hdr3->nused = cpu_to_be32(from->nused); in xfs_dir3_free_hdr_to_disk()