Lines Matching defs:jfs_dirent
2670 struct jfs_dirent {
2678 * function to determine next variable-sized jfs_dirent in buffer
2680 static inline struct jfs_dirent *next_jfs_dirent(struct jfs_dirent *dirent)
2682 return (struct jfs_dirent *)
2684 ((sizeof (struct jfs_dirent) + dirent->name_len + 1 +
2726 struct jfs_dirent *jfs_dirent;
2885 jfs_dirent = (struct jfs_dirent *) dirent_buf;
2894 if (((long) jfs_dirent + d->namlen + 1) >
2903 name_ptr = jfs_dirent->name;
2904 jfs_dirent->ino = le32_to_cpu(d->inumber);
2908 jfs_dirent->position = le32_to_cpu(d->index);
2916 if ((jfs_dirent->position < 2) ||
2917 (jfs_dirent->position >=
2931 jfs_dirent->position = unique_pos++;
2938 jfs_dirent->position++;
2940 jfs_dirent->position = dtpos;
2947 jfs_dirent->name_len = outlen;
2967 jfs_dirent->name_len += outlen;
2973 jfs_dirent = next_jfs_dirent(jfs_dirent);
2998 jfs_dirent = (struct jfs_dirent *) dirent_buf;
3000 ctx->pos = jfs_dirent->position;
3001 if (!dir_emit(ctx, jfs_dirent->name,
3002 jfs_dirent->name_len,
3003 jfs_dirent->ino, DT_UNKNOWN))
3005 jfs_dirent = next_jfs_dirent(jfs_dirent);