Lines Matching refs:cpu_to_be16
259 new.offset = cpu_to_be16((char *)dup - (char *)d);
418 d->hdr.bestfree[0].offset = cpu_to_be16(sizeof(d->hdr));
427 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
430 d->hdr.bestfree[0].length = cpu_to_be16(t);
431 dup->length = cpu_to_be16(t);
432 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)d);
593 cpu_to_be16((char *)prevdup - (char *)d);
627 cpu_to_be16((char *)prevdup - (char *)d);
652 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
653 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length));
655 cpu_to_be16((char *)newdup - (char *)d);
679 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
680 newdup->length = cpu_to_be16(len);
682 cpu_to_be16((char *)newdup - (char *)d);
748 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
749 newdup->length = cpu_to_be16(oldlen - len);
751 cpu_to_be16((char *)newdup - (char *)d);
776 newdup->length = cpu_to_be16(((char *)d + offset) - (char *)newdup);
778 cpu_to_be16((char *)newdup - (char *)d);
803 newdup->length = cpu_to_be16(((char *)d + offset) - (char *)newdup);
805 cpu_to_be16((char *)newdup - (char *)d);
808 newdup2->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
809 newdup2->length = cpu_to_be16(oldlen - len - be16_to_cpu(newdup->length));
811 cpu_to_be16((char *)newdup2 - (char *)d);