jfs_dirent
static inline struct jfs_dirent *next_jfs_dirent(struct jfs_dirent *dirent)
return (struct jfs_dirent *)
((sizeof (struct jfs_dirent) + dirent->name_len + 1 +
struct jfs_dirent *jfs_dirent;
jfs_dirent = (struct jfs_dirent *) dirent_buf;
if (((long) jfs_dirent + d->namlen + 1) >
name_ptr = jfs_dirent->name;
jfs_dirent->ino = le32_to_cpu(d->inumber);
jfs_dirent->position = le32_to_cpu(d->index);
if ((jfs_dirent->position < 2) ||
(jfs_dirent->position >=
jfs_dirent->position = unique_pos++;
jfs_dirent->position++;
jfs_dirent->position = dtpos;
jfs_dirent->name_len = outlen;
jfs_dirent->name_len += outlen;
jfs_dirent = next_jfs_dirent(jfs_dirent);
jfs_dirent = (struct jfs_dirent *) dirent_buf;
ctx->pos = jfs_dirent->position;
if (!dir_emit(ctx, jfs_dirent->name,
jfs_dirent->name_len,
jfs_dirent->ino, DT_UNKNOWN))
jfs_dirent = next_jfs_dirent(jfs_dirent);