Lines Matching refs:cpu_to_be16

437 	new.offset = cpu_to_be16((char *)dup - (char *)hdr);  in xfs_dir2_data_freeinsert()
619 bf[0].offset = cpu_to_be16(dp->d_ops->data_entry_offset); in xfs_dir3_data_init()
629 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir3_data_init()
632 bf[0].length = cpu_to_be16(t); in xfs_dir3_data_init()
633 dup->length = cpu_to_be16(t); in xfs_dir3_data_init()
634 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init()
806 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
841 cpu_to_be16((char *)prevdup - (char *)hdr); in xfs_dir2_data_make_free()
866 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
867 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length)); in xfs_dir2_data_make_free()
869 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_make_free()
893 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_make_free()
894 newdup->length = cpu_to_be16(len); in xfs_dir2_data_make_free()
896 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_make_free()
967 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_use_free()
968 newdup->length = cpu_to_be16(oldlen - len); in xfs_dir2_data_use_free()
970 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_use_free()
996 newdup->length = cpu_to_be16(((char *)hdr + offset) - (char *)newdup); in xfs_dir2_data_use_free()
998 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_use_free()
1024 newdup->length = cpu_to_be16(((char *)hdr + offset) - (char *)newdup); in xfs_dir2_data_use_free()
1026 cpu_to_be16((char *)newdup - (char *)hdr); in xfs_dir2_data_use_free()
1029 newdup2->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG); in xfs_dir2_data_use_free()
1030 newdup2->length = cpu_to_be16(oldlen - len - be16_to_cpu(newdup->length)); in xfs_dir2_data_use_free()
1032 cpu_to_be16((char *)newdup2 - (char *)hdr); in xfs_dir2_data_use_free()