• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/

Lines Matching refs:be16_to_cpu

96 	ASSERT(be16_to_cpu(bf[0].length) >= be16_to_cpu(bf[1].length));
97 ASSERT(be16_to_cpu(bf[1].length) >= be16_to_cpu(bf[2].length));
108 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
110 ASSERT(be16_to_cpu(*XFS_DIR2_DATA_UNUSED_TAG_P(dup)) ==
118 ASSERT(be16_to_cpu(dup->length) <=
119 be16_to_cpu(bf[2].length));
121 p += be16_to_cpu(dup->length);
134 ASSERT(be16_to_cpu(*XFS_DIR2_DATA_ENTRY_TAG_P(dep)) ==
203 if (be16_to_cpu(dfp->offset) == off) {
206 } else if (off < be16_to_cpu(dfp->offset))
207 ASSERT(off + be16_to_cpu(dup->length) <= be16_to_cpu(dfp->offset));
209 ASSERT(be16_to_cpu(dfp->offset) + be16_to_cpu(dfp->length) <= off);
210 ASSERT(matched || be16_to_cpu(dfp->length) >= be16_to_cpu(dup->length));
212 ASSERT(be16_to_cpu(dfp[-1].length) >= be16_to_cpu(dfp[0].length));
219 if (be16_to_cpu(dup->length) <
220 be16_to_cpu(d->hdr.bestfree[XFS_DIR2_DATA_FD_COUNT - 1].length))
230 if (be16_to_cpu(dfp->offset) == off)
261 if (be16_to_cpu(new.length) > be16_to_cpu(dfp[0].length)) {
268 if (be16_to_cpu(new.length) > be16_to_cpu(dfp[1].length)) {
274 if (be16_to_cpu(new.length) > be16_to_cpu(dfp[2].length)) {
361 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
363 be16_to_cpu(*XFS_DIR2_DATA_UNUSED_TAG_P(dup)));
365 p += be16_to_cpu(dup->length);
373 be16_to_cpu(*XFS_DIR2_DATA_ENTRY_TAG_P(dep)));
549 prevdup = (xfs_dir2_data_unused_t *)((char *)d + be16_to_cpu(*tagp));
550 if (be16_to_cpu(prevdup->freetag) != XFS_DIR2_DATA_FREE_TAG)
561 if (be16_to_cpu(postdup->freetag) != XFS_DIR2_DATA_FREE_TAG)
589 be16_add(&prevdup->length, len + be16_to_cpu(postdup->length));
640 needscan = be16_to_cpu(prevdup->length) >
641 be16_to_cpu(d->hdr.bestfree[2].length);
651 newdup->length = cpu_to_be16(len + be16_to_cpu(postdup->length));
668 needscan = be16_to_cpu(newdup->length) >
669 be16_to_cpu(d->hdr.bestfree[2].length);
712 ASSERT(be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG);
714 ASSERT(offset + len <= (char *)dup + be16_to_cpu(dup->length) - (char *)d);
715 ASSERT((char *)dup - (char *)d == be16_to_cpu(*XFS_DIR2_DATA_UNUSED_TAG_P(dup)));
720 oldlen = be16_to_cpu(dup->length);
721 ASSERT(dfp || oldlen <= be16_to_cpu(d->hdr.bestfree[2].length));
759 ASSERT(be16_to_cpu(dfp->offset) == (char *)newdup - (char *)d);
786 ASSERT(be16_to_cpu(dfp->offset) == (char *)newdup - (char *)d);
807 newdup2->length = cpu_to_be16(oldlen - len - be16_to_cpu(newdup->length));