• Home
  • Raw
  • Download

Lines Matching refs:to

139 	xfs_dir2_inou_t		*to,  in xfs_dir2_sf_put_ino()  argument
145 put_unaligned_be64(ino, &to->i8.i); in xfs_dir2_sf_put_ino()
147 put_unaligned_be32(ino, &to->i4.i); in xfs_dir2_sf_put_ino()
454 struct xfs_dir3_icleaf_hdr *to, in xfs_dir2_leaf_hdr_from_disk() argument
457 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_dir2_leaf_hdr_from_disk()
458 to->back = be32_to_cpu(from->hdr.info.back); in xfs_dir2_leaf_hdr_from_disk()
459 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_dir2_leaf_hdr_from_disk()
460 to->count = be16_to_cpu(from->hdr.count); in xfs_dir2_leaf_hdr_from_disk()
461 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
463 ASSERT(to->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_hdr_from_disk()
464 to->magic == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leaf_hdr_from_disk()
469 struct xfs_dir2_leaf *to, in xfs_dir2_leaf_hdr_to_disk() argument
475 to->hdr.info.forw = cpu_to_be32(from->forw); in xfs_dir2_leaf_hdr_to_disk()
476 to->hdr.info.back = cpu_to_be32(from->back); in xfs_dir2_leaf_hdr_to_disk()
477 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_dir2_leaf_hdr_to_disk()
478 to->hdr.count = cpu_to_be16(from->count); in xfs_dir2_leaf_hdr_to_disk()
479 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
484 struct xfs_dir3_icleaf_hdr *to, in xfs_dir3_leaf_hdr_from_disk() argument
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()
495 ASSERT(to->magic == XFS_DIR3_LEAF1_MAGIC || in xfs_dir3_leaf_hdr_from_disk()
496 to->magic == XFS_DIR3_LEAFN_MAGIC); in xfs_dir3_leaf_hdr_from_disk()
501 struct xfs_dir2_leaf *to, in xfs_dir3_leaf_hdr_to_disk() argument
504 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)to; in xfs_dir3_leaf_hdr_to_disk()
534 struct xfs_da3_icnode_hdr *to, in xfs_da2_node_hdr_from_disk() argument
538 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_da2_node_hdr_from_disk()
539 to->back = be32_to_cpu(from->hdr.info.back); in xfs_da2_node_hdr_from_disk()
540 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_da2_node_hdr_from_disk()
541 to->count = be16_to_cpu(from->hdr.__count); in xfs_da2_node_hdr_from_disk()
542 to->level = be16_to_cpu(from->hdr.__level); in xfs_da2_node_hdr_from_disk()
547 struct xfs_da_intnode *to, in xfs_da2_node_hdr_to_disk() argument
551 to->hdr.info.forw = cpu_to_be32(from->forw); in xfs_da2_node_hdr_to_disk()
552 to->hdr.info.back = cpu_to_be32(from->back); in xfs_da2_node_hdr_to_disk()
553 to->hdr.info.magic = cpu_to_be16(from->magic); in xfs_da2_node_hdr_to_disk()
554 to->hdr.__count = cpu_to_be16(from->count); in xfs_da2_node_hdr_to_disk()
555 to->hdr.__level = cpu_to_be16(from->level); in xfs_da2_node_hdr_to_disk()
560 struct xfs_da3_icnode_hdr *to, in xfs_da3_node_hdr_from_disk() argument
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()
575 struct xfs_da_intnode *to, in xfs_da3_node_hdr_to_disk() argument
578 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)to; in xfs_da3_node_hdr_to_disk()
658 struct xfs_dir3_icfree_hdr *to, in xfs_dir2_free_hdr_from_disk() argument
661 to->magic = be32_to_cpu(from->hdr.magic); in xfs_dir2_free_hdr_from_disk()
662 to->firstdb = be32_to_cpu(from->hdr.firstdb); in xfs_dir2_free_hdr_from_disk()
663 to->nvalid = be32_to_cpu(from->hdr.nvalid); in xfs_dir2_free_hdr_from_disk()
664 to->nused = be32_to_cpu(from->hdr.nused); in xfs_dir2_free_hdr_from_disk()
665 ASSERT(to->magic == XFS_DIR2_FREE_MAGIC); in xfs_dir2_free_hdr_from_disk()
670 struct xfs_dir2_free *to, in xfs_dir2_free_hdr_to_disk() argument
675 to->hdr.magic = cpu_to_be32(from->magic); in xfs_dir2_free_hdr_to_disk()
676 to->hdr.firstdb = cpu_to_be32(from->firstdb); in xfs_dir2_free_hdr_to_disk()
677 to->hdr.nvalid = cpu_to_be32(from->nvalid); in xfs_dir2_free_hdr_to_disk()
678 to->hdr.nused = cpu_to_be32(from->nused); in xfs_dir2_free_hdr_to_disk()
683 struct xfs_dir3_icfree_hdr *to, in xfs_dir3_free_hdr_from_disk() argument
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()
693 ASSERT(to->magic == XFS_DIR3_FREE_MAGIC); in xfs_dir3_free_hdr_from_disk()
698 struct xfs_dir2_free *to, in xfs_dir3_free_hdr_to_disk() argument
701 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)to; in xfs_dir3_free_hdr_to_disk()