| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/stride_dd/ |
| H A D | stride_dd.c | 159 if (lseek(ofd, seek * bsize, SEEK_CUR) == -1) { in main() 198 if (lseek(ifd, (stride - 1) * bsize, SEEK_CUR) == -1) { in main() 202 if (lseek(ofd, (stride - 1) * bsize, SEEK_CUR) == -1) { in main()
|
| /f-stack/freebsd/sys/ |
| H A D | unistd.h | 110 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro 121 #define L_INCR SEEK_CUR
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/os/freebsd/ |
| H A D | mnttab.c | 201 nfs = (int)lseek(fileno(fp), 0, SEEK_CUR); in getmntent() 213 if (lseek(fileno(fp), 1, SEEK_CUR) == -1) in getmntent()
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | gzlib.c | 261 state->start = LSEEK(state->fd, 0, SEEK_CUR); 390 if (whence != SEEK_SET && whence != SEEK_CUR) 403 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); 499 offset = LSEEK(state->fd, 0, SEEK_CUR);
|
| H A D | zconf.h | 505 # define SEEK_CUR 1 /* Seek from current position. */ macro
|
| H A D | zconf.h.in | 499 # define SEEK_CUR 1 /* Seek from current position. */ macro
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/ |
| H A D | gzlib.c | 261 state.state->start = LSEEK(state.state->fd, 0, SEEK_CUR); 390 if (whence != SEEK_SET && whence != SEEK_CUR) 403 ret = LSEEK(state.state->fd, offset - state.state->x.have, SEEK_CUR); 499 offset = LSEEK(state.state->fd, 0, SEEK_CUR);
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/largest_file/ |
| H A D | largest_file.c | 105 llseek_ret = lseek64(fd, offset, SEEK_CUR); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/ |
| H A D | mmapwrite.c | 76 lseek(fd, page_size, SEEK_CUR); in normal_writer()
|
| /f-stack/freebsd/contrib/dev/acpica/include/ |
| H A D | acclib.h | 343 #define SEEK_CUR 1 macro
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | fileio.c | 259 else if (origin == SEEK_CUR) in LONG_SEEK() 1948 if (LONG_SEEK(file, 1 GB, SEEK_CUR) != 0) in FIO_fwriteSparse() 1968 if (LONG_SEEK(file, storedSkips, SEEK_CUR) != 0) in FIO_fwriteSparse() 1991 if (LONG_SEEK(file, storedSkips, SEEK_CUR) != 0) in FIO_fwriteSparse() 2009 if (LONG_SEEK(file, storedSkips-1, SEEK_CUR) != 0) in FIO_fwriteSparseEnd() 2853 ERROR_IF(fseek(srcFile, ((long)headerSize)-((long)numBytesRead), SEEK_CUR) != 0, in FIO_analyzeFrames() 2870 ERROR_IF(fseek(srcFile, blockSize, SEEK_CUR) != 0, in FIO_analyzeFrames() 2881 ERROR_IF(fseek(srcFile, 4, SEEK_CUR) != 0, in FIO_analyzeFrames() 2890 ERROR_IF(LONG_SEEK(srcFile, seek, SEEK_CUR) != 0, in FIO_analyzeFrames()
|
| H A D | dibio.c | 137 fseek(f, (long)(targetChunkSize - toLoad), SEEK_CUR); in DiB_loadFiles()
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/examples/ |
| H A D | example_original.c | 158 gzseek(file, 1L, SEEK_CUR); /* add one zero byte */ 179 pos = gzseek(file, -8L, SEEK_CUR);
|
| H A D | example.c | 166 gzseek(file, 1L, SEEK_CUR); /* add one zero byte */ 187 pos = gzseek(file, -8L, SEEK_CUR);
|
| /f-stack/freebsd/contrib/zlib/test/ |
| H A D | example.c | 141 gzseek(file, 1L, SEEK_CUR); /* add one zero byte */ 162 pos = gzseek(file, -8L, SEEK_CUR);
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | liolib.c | 443 static const int mode[] = {SEEK_SET, SEEK_CUR, SEEK_END}; in f_seek()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 1366 return (lseek(fp->f_fd, SEEK_CUR, 0)); in zfs_file_off()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_lockf.c | 445 case SEEK_CUR: in lf_advlockasync()
|
| H A D | kern_descrip.c | 619 if (flp->l_whence == SEEK_CUR) { in kern_fcntl() 730 if (flp->l_whence == SEEK_CUR) { in kern_fcntl()
|