• 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.36/fs/xfs/

Lines Matching defs:dup

77 	xfs_dir2_data_unused_t	*dup;		/* block unused entry */
143 dup = enddup = NULL;
148 dup = (xfs_dir2_data_unused_t *)
150 if (dup == enddup) {
155 if (be16_to_cpu(dup->length) < len + (uint)sizeof(*blp)) {
161 dup = (xfs_dir2_data_unused_t *)
165 dup = NULL;
172 if (be16_to_cpu(dup->length) < len) {
173 dup = NULL;
184 dup = (xfs_dir2_data_unused_t *)
199 dup = (xfs_dir2_data_unused_t *)((char *)block + be16_to_cpu(*tagp));
204 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
205 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) *
207 dup = NULL;
209 dup = NULL;
211 dup = (xfs_dir2_data_unused_t *)blp;
222 if (!dup) {
389 dep = (xfs_dir2_data_entry_t *)dup;
400 xfs_dir2_data_use_free(tp, bp, dup,
401 (xfs_dir2_data_aoff_t)((char *)dup - (char *)block),
439 xfs_dir2_data_unused_t *dup; /* block unused entry */
479 * Each object is a real entry (dep) or an unused one (dup).
482 dup = (xfs_dir2_data_unused_t *)ptr;
486 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
487 ptr += be16_to_cpu(dup->length);
883 xfs_dir2_data_unused_t *dup; /* unused data entry */
944 dup = (xfs_dir2_data_unused_t *)((char *)block + be16_to_cpu(*tagp));
948 if (be16_to_cpu(dup->freetag) != XFS_DIR2_DATA_FREE_TAG ||
949 be16_to_cpu(dup->length) < size) {
962 xfs_dir2_data_use_free(tp, dbp, dup, mp->m_dirblksize - size, size,
1031 xfs_dir2_data_unused_t *dup; /* unused entry pointer */
1106 dup = (xfs_dir2_data_unused_t *)block->u;
1108 xfs_dir2_data_use_free(tp, bp, dup, mp->m_dirblksize - i, i, &needlog,
1122 xfs_dir2_data_use_free(tp, bp, dup,
1123 (xfs_dir2_data_aoff_t)((char *)dup - (char *)block),
1124 be16_to_cpu(dup->length), &needlog, &needscan);
1177 dup = (xfs_dir2_data_unused_t *)
1179 dup->freetag = cpu_to_be16(XFS_DIR2_DATA_FREE_TAG);
1180 dup->length = cpu_to_be16(newoffset - offset);
1181 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16(
1182 ((char *)dup - (char *)block));
1183 xfs_dir2_data_log_unused(tp, bp, dup);
1185 dup, &dummy);
1186 offset += be16_to_cpu(dup->length);