• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/xfs/

Lines Matching defs:dup

56 	xfs_dir2_data_unused_t	*dup;		/* unused entry */
102 dup = (xfs_dir2_data_unused_t *)p;
108 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
110 ASSERT(be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) ==
111 (char *)dup - (char *)d);
112 dfp = xfs_dir2_data_freefind(d, dup);
118 ASSERT(be16_to_cpu(dup->length) <=
121 p += be16_to_cpu(dup->length);
178 xfs_dir2_data_unused_t *dup) /* data unused entry */
187 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)d);
207 ASSERT(dfp->length == dup->length);
209 ASSERT(off + be16_to_cpu(dup->length) <= be16_to_cpu(dfp->offset));
212 ASSERT(matched || be16_to_cpu(dfp->length) >= be16_to_cpu(dup->length));
221 if (be16_to_cpu(dup->length) <
247 xfs_dir2_data_unused_t *dup, /* unused space */
258 new.length = dup->length;
259 new.offset = cpu_to_be16((char *)dup - (char *)d);
333 xfs_dir2_data_unused_t *dup; /* unused data entry */
359 dup = (xfs_dir2_data_unused_t *)p;
363 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
364 ASSERT((char *)dup - (char *)d ==
365 be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)));
366 xfs_dir2_data_freeinsert(d, dup, loghead);
367 p += be16_to_cpu(dup->length);
394 xfs_dir2_data_unused_t *dup; /* unused entry pointer */
426 dup = &d->u[0].unused;
427 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
431 dup->length = cpu_to_be16(t);
432 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)d);
437 xfs_dir2_data_log_unused(tp, bp, dup);
485 xfs_dir2_data_unused_t *dup) /* data unused pointer */
495 xfs_da_log_buf(tp, bp, (uint)((char *)dup - (char *)d),
496 (uint)((char *)&dup->length + sizeof(dup->length) -
502 (uint)((char *)xfs_dir2_data_unused_tag_p(dup) - (char *)d),
503 (uint)((char *)xfs_dir2_data_unused_tag_p(dup) - (char *)d +
696 xfs_dir2_data_unused_t *dup, /* unused entry */
714 ASSERT(be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG);
715 ASSERT(offset >= (char *)dup - (char *)d);
716 ASSERT(offset + len <= (char *)dup + be16_to_cpu(dup->length) - (char *)d);
717 ASSERT((char *)dup - (char *)d == be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)));
721 dfp = xfs_dir2_data_freefind(d, dup);
722 oldlen = be16_to_cpu(dup->length);
727 matchfront = (char *)dup - (char *)d == offset;
728 matchback = (char *)dup + oldlen - (char *)d == offset + len;
775 newdup = dup;
802 newdup = dup;