Lines Matching refs:jfs_dirent
2952 struct jfs_dirent { struct
2962 static inline struct jfs_dirent *next_jfs_dirent(struct jfs_dirent *dirent) in next_jfs_dirent()
2964 return (struct jfs_dirent *) in next_jfs_dirent()
2966 ((sizeof (struct jfs_dirent) + dirent->name_len + 1 + in next_jfs_dirent()
3008 struct jfs_dirent *jfs_dirent; in jfs_readdir() local
3165 jfs_dirent = (struct jfs_dirent *) dirent_buf; in jfs_readdir()
3174 if (((long) jfs_dirent + d->namlen + 1) > in jfs_readdir()
3183 name_ptr = jfs_dirent->name; in jfs_readdir()
3184 jfs_dirent->ino = le32_to_cpu(d->inumber); in jfs_readdir()
3188 jfs_dirent->position = le32_to_cpu(d->index); in jfs_readdir()
3196 if ((jfs_dirent->position < 2) || in jfs_readdir()
3197 (jfs_dirent->position >= in jfs_readdir()
3211 jfs_dirent->position = unique_pos++; in jfs_readdir()
3214 jfs_dirent->position = dtpos; in jfs_readdir()
3221 jfs_dirent->name_len = outlen; in jfs_readdir()
3242 jfs_dirent->name_len += outlen; in jfs_readdir()
3248 jfs_dirent = next_jfs_dirent(jfs_dirent); in jfs_readdir()
3273 jfs_dirent = (struct jfs_dirent *) dirent_buf; in jfs_readdir()
3275 filp->f_pos = jfs_dirent->position; in jfs_readdir()
3276 if (filldir(dirent, jfs_dirent->name, in jfs_readdir()
3277 jfs_dirent->name_len, filp->f_pos, in jfs_readdir()
3278 jfs_dirent->ino, DT_UNKNOWN)) in jfs_readdir()
3280 jfs_dirent = next_jfs_dirent(jfs_dirent); in jfs_readdir()