Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 19 of 19) sorted by relevance

/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/stride_dd/
H A Dstride_dd.c159 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 Dunistd.h110 #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 Dmnttab.c201 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 Dgzlib.c261 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 Dzconf.h505 # define SEEK_CUR 1 /* Seek from current position. */ macro
H A Dzconf.h.in499 # define SEEK_CUR 1 /* Seek from current position. */ macro
/f-stack/freebsd/contrib/zstd/zlibWrapper/
H A Dgzlib.c261 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 Dlargest_file.c105 llseek_ret = lseek64(fd, offset, SEEK_CUR); in main()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/
H A Dmmapwrite.c76 lseek(fd, page_size, SEEK_CUR); in normal_writer()
/f-stack/freebsd/contrib/dev/acpica/include/
H A Dacclib.h343 #define SEEK_CUR 1 macro
/f-stack/freebsd/contrib/zstd/programs/
H A Dfileio.c259 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 Ddibio.c137 fseek(f, (long)(targetChunkSize - toLoad), SEEK_CUR); in DiB_loadFiles()
/f-stack/freebsd/contrib/zstd/zlibWrapper/examples/
H A Dexample_original.c158 gzseek(file, 1L, SEEK_CUR); /* add one zero byte */
179 pos = gzseek(file, -8L, SEEK_CUR);
H A Dexample.c166 gzseek(file, 1L, SEEK_CUR); /* add one zero byte */
187 pos = gzseek(file, -8L, SEEK_CUR);
/f-stack/freebsd/contrib/zlib/test/
H A Dexample.c141 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 Dliolib.c443 static const int mode[] = {SEEK_SET, SEEK_CUR, SEEK_END}; in f_seek()
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c1366 return (lseek(fp->f_fd, SEEK_CUR, 0)); in zfs_file_off()
/f-stack/freebsd/kern/
H A Dkern_lockf.c445 case SEEK_CUR: in lf_advlockasync()
H A Dkern_descrip.c619 if (flp->l_whence == SEEK_CUR) { in kern_fcntl()
730 if (flp->l_whence == SEEK_CUR) { in kern_fcntl()