Lines Matching refs:gotlen
133 Dword gotlen; in floppyd_reader() local
148 gotlen = read_dword(fd); in floppyd_reader()
151 if (gotlen != (Dword) -1) { in floppyd_reader()
154 if (read_dword(fd) != gotlen) { in floppyd_reader()
158 for (start = 0, l = 0; start < gotlen; start += l) { in floppyd_reader()
159 ssize_t ret = read(fd, buffer+start, gotlen-start); in floppyd_reader()
171 return gotlen; in floppyd_reader()
177 Dword gotlen; in floppyd_writer() local
196 gotlen = read_dword(fd); in floppyd_writer()
200 if(errno != 0 && gotlen == 0) { in floppyd_writer()
203 gotlen = -1; in floppyd_writer()
206 return gotlen; in floppyd_writer()
212 Dword gotlen; in floppyd_lseek() local
230 gotlen = read_dword(fd); in floppyd_lseek()
235 return gotlen; in floppyd_lseek()
241 Qword gotlen; in floppyd_lseek64() local
259 gotlen = read_qword(fd); in floppyd_lseek64()
264 return gotlen; in floppyd_lseek64()
270 Dword gotlen; in floppyd_open() local
294 gotlen = read_dword(This->fd); in floppyd_open()
299 return gotlen; in floppyd_open()
377 unsigned int gotlen; in floppyd_free() local
392 gotlen = read_dword(This->fd); in floppyd_free()
398 return gotlen; in floppyd_free()