Lines Matching refs:jfs_dirent
2672 struct jfs_dirent { struct
2682 static inline struct jfs_dirent *next_jfs_dirent(struct jfs_dirent *dirent) in next_jfs_dirent()
2684 return (struct jfs_dirent *) in next_jfs_dirent()
2686 ((sizeof (struct jfs_dirent) + dirent->name_len + 1 + in next_jfs_dirent()
2728 struct jfs_dirent *jfs_dirent; in jfs_readdir() local
2887 jfs_dirent = (struct jfs_dirent *) dirent_buf; in jfs_readdir()
2896 if (((long) jfs_dirent + d->namlen + 1) > in jfs_readdir()
2905 name_ptr = jfs_dirent->name; in jfs_readdir()
2906 jfs_dirent->ino = le32_to_cpu(d->inumber); in jfs_readdir()
2910 jfs_dirent->position = le32_to_cpu(d->index); in jfs_readdir()
2918 if ((jfs_dirent->position < 2) || in jfs_readdir()
2919 (jfs_dirent->position >= in jfs_readdir()
2933 jfs_dirent->position = unique_pos++; in jfs_readdir()
2940 jfs_dirent->position++; in jfs_readdir()
2942 jfs_dirent->position = dtpos; in jfs_readdir()
2949 jfs_dirent->name_len = outlen; in jfs_readdir()
2969 jfs_dirent->name_len += outlen; in jfs_readdir()
2975 jfs_dirent = next_jfs_dirent(jfs_dirent); in jfs_readdir()
3000 jfs_dirent = (struct jfs_dirent *) dirent_buf; in jfs_readdir()
3002 ctx->pos = jfs_dirent->position; in jfs_readdir()
3003 if (!dir_emit(ctx, jfs_dirent->name, in jfs_readdir()
3004 jfs_dirent->name_len, in jfs_readdir()
3005 jfs_dirent->ino, DT_UNKNOWN)) in jfs_readdir()
3007 jfs_dirent = next_jfs_dirent(jfs_dirent); in jfs_readdir()