Lines Matching refs:dirent
58 struct hpux_dirent * dirent; in filldir() local
60 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); in filldir()
65 dirent = buf->previous; in filldir()
66 if (dirent) in filldir()
67 put_user(offset, &dirent->d_off); in filldir()
68 dirent = buf->current_dir; in filldir()
69 buf->previous = dirent; in filldir()
70 put_user(ino, &dirent->d_ino); in filldir()
71 put_user(reclen, &dirent->d_reclen); in filldir()
72 put_user(namlen, &dirent->d_namlen); in filldir()
73 copy_to_user(dirent->d_name, name, namlen); in filldir()
74 put_user(0, dirent->d_name + namlen); in filldir()
75 ((char *) dirent) += reclen; in filldir()
76 buf->current_dir = dirent; in filldir()
84 int hpux_getdents(unsigned int fd, struct hpux_dirent *dirent, unsigned int count) in hpux_getdents() argument
96 buf.current_dir = dirent; in hpux_getdents()