Lines Matching refs:cpu_to_be16
567 new.offset = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir2_data_freeinsert()
733 bf[0].offset = cpu_to_be16(geo->data_entry_offset); in xfs_dir3_data_init()
734 bf[0].length = cpu_to_be16(geo->blksize - geo->data_entry_offset); in xfs_dir3_data_init()
744 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir3_data_init()
746 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init()
911 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
946 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
971 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
972 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length)); in xfs_dir2_data_make_free()
974 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_make_free()
998 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
999 newdup->length = cpu_to_be16(len); in xfs_dir2_data_make_free()
1001 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_make_free()
1109 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_use_free()
1110 newdup->length = cpu_to_be16(oldlen - len); in xfs_dir2_data_use_free()
1112 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_use_free()
1138 newdup->length = cpu_to_be16(((char *)hdr + offset) - (char *)newdup); in xfs_dir2_data_use_free()
1140 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_use_free()
1166 newdup->length = cpu_to_be16(((char *)hdr + offset) - (char *)newdup); in xfs_dir2_data_use_free()
1168 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_use_free()
1171 newdup2->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_use_free()
1172 newdup2->length = cpu_to_be16(oldlen - len - be16_to_cpu(newdup->length)); in xfs_dir2_data_use_free()
1174 cpu_to_be16((char *)newdup2 - (char *)hdr); in xfs_dir2_data_use_free()