Lines Matching defs:jfs_dirent
2968 struct jfs_dirent {
2976 * function to determine next variable-sized jfs_dirent in buffer
2978 static inline struct jfs_dirent *next_jfs_dirent(struct jfs_dirent *dirent)
2980 return (struct jfs_dirent *)
2982 ((sizeof (struct jfs_dirent) + dirent->name_len + 1 +
3024 struct jfs_dirent *jfs_dirent;
3183 jfs_dirent = (struct jfs_dirent *) dirent_buf;
3192 if (((long) jfs_dirent + d->namlen + 1) >
3201 name_ptr = jfs_dirent->name;
3202 jfs_dirent->ino = le32_to_cpu(d->inumber);
3206 jfs_dirent->position = le32_to_cpu(d->index);
3214 if ((jfs_dirent->position < 2) ||
3215 (jfs_dirent->position >=
3229 jfs_dirent->position = unique_pos++;
3236 jfs_dirent->position++;
3238 jfs_dirent->position = dtpos;
3245 jfs_dirent->name_len = outlen;
3265 jfs_dirent->name_len += outlen;
3271 jfs_dirent = next_jfs_dirent(jfs_dirent);
3296 jfs_dirent = (struct jfs_dirent *) dirent_buf;
3298 ctx->pos = jfs_dirent->position;
3299 if (!dir_emit(ctx, jfs_dirent->name,
3300 jfs_dirent->name_len,
3301 jfs_dirent->ino, DT_UNKNOWN))
3303 jfs_dirent = next_jfs_dirent(jfs_dirent);