Lines Matching refs:newdup

549 	xfs_dir2_data_unused_t	*newdup;	/* new unused entry */  in xfs_dir2_data_make_free()  local
673 newdup = (xfs_dir2_data_unused_t *)((char *)d + offset); in xfs_dir2_data_make_free()
674 INT_SET(newdup->freetag, ARCH_CONVERT, XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
675 INT_SET(newdup->length, ARCH_CONVERT, len + INT_GET(postdup->length, ARCH_CONVERT)); in xfs_dir2_data_make_free()
676 INT_SET(*XFS_DIR2_DATA_UNUSED_TAG_P_ARCH(newdup, ARCH_CONVERT), ARCH_CONVERT, in xfs_dir2_data_make_free()
677 (xfs_dir2_data_off_t)((char *)newdup - (char *)d)); in xfs_dir2_data_make_free()
678 xfs_dir2_data_log_unused(tp, bp, newdup); in xfs_dir2_data_make_free()
686 (void)xfs_dir2_data_freeinsert(d, newdup, needlogp); in xfs_dir2_data_make_free()
692 …needscan = INT_GET(newdup->length, ARCH_CONVERT) > INT_GET(d->hdr.bestfree[2].length, ARCH_CONVERT… in xfs_dir2_data_make_free()
698 newdup = (xfs_dir2_data_unused_t *)((char *)d + offset); in xfs_dir2_data_make_free()
699 INT_SET(newdup->freetag, ARCH_CONVERT, XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
700 INT_SET(newdup->length, ARCH_CONVERT, len); in xfs_dir2_data_make_free()
701 INT_SET(*XFS_DIR2_DATA_UNUSED_TAG_P_ARCH(newdup, ARCH_CONVERT), ARCH_CONVERT, in xfs_dir2_data_make_free()
702 (xfs_dir2_data_off_t)((char *)newdup - (char *)d)); in xfs_dir2_data_make_free()
703 xfs_dir2_data_log_unused(tp, bp, newdup); in xfs_dir2_data_make_free()
704 (void)xfs_dir2_data_freeinsert(d, newdup, needlogp); in xfs_dir2_data_make_free()
727 xfs_dir2_data_unused_t *newdup; /* new unused entry */ in xfs_dir2_data_use_free() local
767 newdup = (xfs_dir2_data_unused_t *)((char *)d + offset + len); in xfs_dir2_data_use_free()
768 INT_SET(newdup->freetag, ARCH_CONVERT, XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_use_free()
769 INT_SET(newdup->length, ARCH_CONVERT, oldlen - len); in xfs_dir2_data_use_free()
770 INT_SET(*XFS_DIR2_DATA_UNUSED_TAG_P_ARCH(newdup, ARCH_CONVERT), ARCH_CONVERT, in xfs_dir2_data_use_free()
771 (xfs_dir2_data_off_t)((char *)newdup - (char *)d)); in xfs_dir2_data_use_free()
772 xfs_dir2_data_log_unused(tp, bp, newdup); in xfs_dir2_data_use_free()
778 dfp = xfs_dir2_data_freeinsert(d, newdup, needlogp); in xfs_dir2_data_use_free()
780 ASSERT(INT_GET(dfp->length, ARCH_CONVERT) == INT_GET(newdup->length, ARCH_CONVERT)); in xfs_dir2_data_use_free()
781 ASSERT(INT_GET(dfp->offset, ARCH_CONVERT) == (char *)newdup - (char *)d); in xfs_dir2_data_use_free()
795 newdup = dup; in xfs_dir2_data_use_free()
796 INT_SET(newdup->length, ARCH_CONVERT, (xfs_dir2_data_off_t) in xfs_dir2_data_use_free()
797 (((char *)d + offset) - (char *)newdup)); in xfs_dir2_data_use_free()
798 INT_SET(*XFS_DIR2_DATA_UNUSED_TAG_P_ARCH(newdup, ARCH_CONVERT), ARCH_CONVERT, in xfs_dir2_data_use_free()
799 (xfs_dir2_data_off_t)((char *)newdup - (char *)d)); in xfs_dir2_data_use_free()
800 xfs_dir2_data_log_unused(tp, bp, newdup); in xfs_dir2_data_use_free()
806 dfp = xfs_dir2_data_freeinsert(d, newdup, needlogp); in xfs_dir2_data_use_free()
808 ASSERT(INT_GET(dfp->length, ARCH_CONVERT) == INT_GET(newdup->length, ARCH_CONVERT)); in xfs_dir2_data_use_free()
809 ASSERT(INT_GET(dfp->offset, ARCH_CONVERT) == (char *)newdup - (char *)d); in xfs_dir2_data_use_free()
823 newdup = dup; in xfs_dir2_data_use_free()
824 INT_SET(newdup->length, ARCH_CONVERT, (xfs_dir2_data_off_t) in xfs_dir2_data_use_free()
825 (((char *)d + offset) - (char *)newdup)); in xfs_dir2_data_use_free()
826 INT_SET(*XFS_DIR2_DATA_UNUSED_TAG_P_ARCH(newdup, ARCH_CONVERT), ARCH_CONVERT, in xfs_dir2_data_use_free()
827 (xfs_dir2_data_off_t)((char *)newdup - (char *)d)); in xfs_dir2_data_use_free()
828 xfs_dir2_data_log_unused(tp, bp, newdup); in xfs_dir2_data_use_free()
831 INT_SET(newdup2->length, ARCH_CONVERT, oldlen - len - INT_GET(newdup->length, ARCH_CONVERT)); in xfs_dir2_data_use_free()
847 (void)xfs_dir2_data_freeinsert(d, newdup, in xfs_dir2_data_use_free()