Lines Matching refs:cpu_to_be16
257 new.offset = cpu_to_be16((char *)dup - (char *)d);
416 d->hdr.bestfree[0].offset = cpu_to_be16(sizeof(d->hdr));
425 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
428 d->hdr.bestfree[0].length = cpu_to_be16(t);
429 dup->length = cpu_to_be16(t);
430 *XFS_DIR2_DATA_UNUSED_TAG_P(dup) = cpu_to_be16((char *)dup - (char *)d);
591 cpu_to_be16((char *)prevdup - (char *)d);
625 cpu_to_be16((char *)prevdup - (char *)d);
650 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
651 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length));
653 cpu_to_be16((char *)newdup - (char *)d);
677 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
678 newdup->length = cpu_to_be16(len);
680 cpu_to_be16((char *)newdup - (char *)d);
746 newdup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
747 newdup->length = cpu_to_be16(oldlen - len);
749 cpu_to_be16((char *)newdup - (char *)d);
774 newdup->length = cpu_to_be16(((char *)d + offset) - (char *)newdup);
776 cpu_to_be16((char *)newdup - (char *)d);
801 newdup->length = cpu_to_be16(((char *)d + offset) - (char *)newdup);
803 cpu_to_be16((char *)newdup - (char *)d);
806 newdup2->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
807 newdup2->length = cpu_to_be16(oldlen - len - be16_to_cpu(newdup->length));
809 cpu_to_be16((char *)newdup2 - (char *)d);