Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 81) sorted by path

1234

/illumos-gate/usr/src/boot/libsa/
H A Ddosfs.c342 dos_seek(struct open_file *fd, off_t offset, int whence) in dos_seek() argument
349 switch (whence) { in dos_seek()
H A Dpkgfs.c331 pkg_seek(struct open_file *f, off_t ofs, int whence) in pkg_seek() argument
345 switch (whence) { in pkg_seek()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptraverse.c748 #define DEV_LSEEK(fd, offset, whence) \ argument
749 lseek((fd), (((off_t)(offset))*DEV_BSIZE), (whence))
751 #define DEV_LSEEK(fd, offset, whence) \ argument
752 llseek((fd), (((offset_t)((offset)))*DEV_BSIZE), (whence))
/illumos-gate/usr/src/cmd/look/
H A Dwords24557 whence
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promio.c79 pio_seek(mdb_io_t *io, off64_t offset, int whence) in pio_seek() argument
84 return (IOP_SEEK(io->io_next, offset, whence)); in pio_seek()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c77 fdio_seek(mdb_io_t *io, off64_t offset, int whence) in fdio_seek() argument
82 return (lseek64(fdp->fd_fd, offset, whence)); in fdio_seek()
84 return (IOP_SEEK(io->io_next, offset, whence)); in fdio_seek()
H A Dmdb_io.c2247 no_io_seek(mdb_io_t *io, off64_t offset, int whence) in no_io_seek() argument
2250 return (IOP_SEEK(io->io_next, offset, whence)); in no_io_seek()
H A Dmdb_io_impl.h54 #define IOP_SEEK(io, off, whence) ((io)->io_ops->io_seek((io), (off), (whence))) argument
H A Dmdb_kproc.c1090 kp_io_seek(mdb_io_t *io, off64_t offset, int whence) in kp_io_seek() argument
1097 return (IOP_SEEK(io->io_next, offset, whence)); in kp_io_seek()
1099 switch (whence) { in kp_io_seek()
H A Dmdb_memio.c58 memio_seek(mdb_io_t *io, off64_t offset, int whence) in memio_seek() argument
63 switch (whence) { in memio_seek()
82 return (IOP_SEEK(io->io_next, offset, whence)); in memio_seek()
H A Dmdb_strio.c63 strio_seek(mdb_io_t *io, off64_t offset, int whence) in strio_seek() argument
69 return (IOP_SEEK(io->io_next, offset, whence)); in strio_seek()
71 switch (whence) { in strio_seek()
H A Dmdb_termio.c568 termio_seek(mdb_io_t *io, off64_t offset, int whence) in termio_seek() argument
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_seek.c31 __os_seek(fd, pgsize, pageno, relative, isrewind, whence) in __os_seek() argument
36 int isrewind, whence;
43 pgsize, pageno, relative, isrewind, whence);
49 ret = lseek(fd, offset, whence);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfseek.c77 sm_io_seek(fp, timeout, offset, whence) in sm_io_seek() argument
81 int SM_NONVOLATILE whence;
134 switch (whence)
168 whence = SM_IO_SEEK_SET;
215 if (whence == SM_IO_SEEK_SET)
322 (*seekfn)(fp, (off_t) offset, whence) == POS_ERR)
H A Dsmstdio.c201 sm_stdioseek(fp, offset, whence) in sm_stdioseek() argument
204 int whence;
211 return fseek(s, offset, whence);
H A Dstdio.c179 sm_stdseek(fp, offset, whence) in sm_stdseek() argument
182 int whence;
186 ret = lseek(fp->f_file, (off_t) offset, whence);
H A Dstrio.c164 sm_strseek(fp, offset, whence) in sm_strseek() argument
167 int whence;
173 switch (whence)
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dbf.c437 sm_bfseek(fp, offset, whence) in sm_bfseek() argument
440 int whence;
448 switch (whence)
/illumos-gate/usr/src/cmd/spell/
H A Dlist24556 whence
/illumos-gate/usr/src/common/ficl/
H A Dloader.c935 int fd, pos, whence; in pfseek() local
939 whence = ficlStackPopInteger(ficlVmGetDataStack(pVM)); in pfseek()
942 ficlStackPushInteger(ficlVmGetDataStack(pVM), lseek(fd, pos, whence)); in pfseek()
/illumos-gate/usr/src/common/fs/
H A Dbootfsops.c256 bbootfs_lseek(int fd, off_t addr, int whence) in bbootfs_lseek() argument
263 switch (whence) { in bbootfs_lseek()
H A Ddecompress.c267 cf_seek(fileid_t *filep, off_t addr, int whence) in cf_seek() argument
275 if (whence == SEEK_CUR) in cf_seek()
H A Dhsfs.c139 static off_t bhsfs_lseek(int fdesc, off_t addr, int whence);
557 bhsfs_lseek(int fd, off_t addr, int whence) in bhsfs_lseek() argument
567 cf_seek(filep, addr, whence); in bhsfs_lseek()
569 switch (whence) { in bhsfs_lseek()
578 printf("lseek(): invalid whence value %d\n", whence); in bhsfs_lseek()
H A Dpcfs.c102 static off_t bpcfs_lseek(int fdesc, off_t addr, int whence);
354 bpcfs_lseek(int fd, off_t addr, int whence) in bpcfs_lseek() argument
362 switch (whence) { in bpcfs_lseek()
371 printf("lseek(): invalid whence value %d\n", whence); in bpcfs_lseek()
H A Dufsops.c667 bufs_lseek(int fd, off_t addr, int whence) in bufs_lseek() argument
676 cf_seek(filep, addr, whence); in bufs_lseek()
678 switch (whence) { in bufs_lseek()
687 printf("lseek(): invalid whence value %d\n", whence); in bufs_lseek()

1234