Lines Matching refs:st
79 struct stat st;
84 if (fstat(fd, &st) == -1)
87 if (!S_ISCHR(st.st_mode) && !S_ISBLK(st.st_mode) && !S_ISREG(st.st_mode))
99 struct stat st;
113 if (fstat(fd, &st) == -1)
116 if (!S_ISCHR(st.st_mode) && !S_ISBLK(st.st_mode) && !S_ISREG(st.st_mode))
165 struct stat st;
171 if (fstat(fd, &st) == -1)
173 if (!S_ISREG(st.st_mode) || S_ISBLK(st.st_mode)) {
186 size = st.st_size / sector_size;