Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 74) sorted by relevance

123

/onnv-gate/usr/src/lib/libast/common/disc/
H A Dsfdcdos.c83 static struct map *getmapping(Dosdisc_t *dp, Sfoff_t offset, register int whence) in getmapping() argument
85 static struct map *getmapping(dp, offset, whence) in getmapping()
88 register int whence;
104 while((++mp)->logical && (whence==SEEK_CUR?mp->physical:mp->logical) <= offset);
230 static Sfoff_t cur_offset(Dosdisc_t *dp, Sfoff_t offset,Sfio_t *iop,register int whence) in cur_offset() argument
232 static Sfoff_t cur_offset(dp, offset, iop, whence) in cur_offset()
236 register int whence;
242 if(whence==SEEK_CUR)
244 whence= -1;
251 whence = 1;
[all …]
/onnv-gate/usr/src/lib/libbc/libc/sys/common/
H A Dlseek.c36 lseek(int fd, off_t offset, int whence) in lseek() argument
40 if (whence < 0 || whence > 2) { in lseek()
47 if ((ret = _syscall(SYS_lseek, fd, off, whence)) != -1) in lseek()
52 return (_syscall(SYS_lseek, fd, offset, whence)); in lseek()
/onnv-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);
/onnv-gate/usr/src/lib/libproc/common/
H A Dpr_lseek.c43 pr_lseek(struct ps_prochandle *Pr, int filedes, off_t offset, int whence) in pr_lseek() argument
54 return (lseek(filedes, offset, whence)); in pr_lseek()
90 adp->arg_value = whence; in pr_lseek()
118 pr_llseek(struct ps_prochandle *Pr, int filedes, offset_t offset, int whence) in pr_llseek() argument
129 return (llseek(filedes, offset, whence)); in pr_llseek()
165 adp->arg_value = whence; in pr_llseek()
/onnv-gate/usr/src/cmd/sendmail/libsm/
H A Dfseek.c79 sm_io_seek(fp, timeout, offset, whence) in sm_io_seek() argument
83 int SM_NONVOLATILE whence;
136 switch (whence)
170 whence = SM_IO_SEEK_SET;
217 if (whence == SM_IO_SEEK_SET)
324 (*seekfn)(fp, (off_t) offset, whence) == POS_ERR)
H A Dsmstdio.c203 sm_stdioseek(fp, offset, whence) in sm_stdioseek() argument
206 int whence;
213 return fseek(s, offset, whence);
H A Dstdio.c181 sm_stdseek(fp, offset, whence) in sm_stdseek() argument
184 int whence;
188 ret = lseek(fp->f_file, (off_t) offset, whence);
H A Dstrio.c166 sm_strseek(fp, offset, whence) in sm_strseek() argument
169 int whence;
175 switch (whence)
/onnv-gate/usr/src/lib/libaio/common/
H A Dllib-laio34 int aioread(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
36 int aiowrite(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
39 int aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
41 int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
/onnv-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_memio.c60 memio_seek(mdb_io_t *io, off64_t offset, int whence) in memio_seek() argument
65 switch (whence) { in memio_seek()
84 return (IOP_SEEK(io->io_next, offset, whence)); in memio_seek()
H A Dmdb_strio.c65 strio_seek(mdb_io_t *io, off64_t offset, int whence) in strio_seek() argument
71 return (IOP_SEEK(io->io_next, offset, whence)); in strio_seek()
73 switch (whence) { in strio_seek()
H A Dmdb_io_impl.h56 #define IOP_SEEK(io, off, whence) ((io)->io_ops->io_seek((io), (off), (whence))) argument
H A Dmdb_fdio.c79 fdio_seek(mdb_io_t *io, off64_t offset, int whence) in fdio_seek() argument
84 return (lseek64(fdp->fd_fd, offset, whence)); in fdio_seek()
86 return (IOP_SEEK(io->io_next, offset, whence)); in fdio_seek()
/onnv-gate/usr/src/lib/libshell/common/bltins/
H A Dwhence.c45 static int whence(Shell_t *,char**, int);
89 return(whence(shp,argv, flags)); in b_command()
130 return(whence(shp, argv, flags)); in b_whence()
133 static int whence(Shell_t *shp,char **argv, register int flags) in whence() function
/onnv-gate/usr/src/stand/lib/fs/common/
H A Dpromfs.c43 static off_t promfs_lseek(int fd, off_t offset, int whence);
99 promfs_lseek(int fd, off_t offset, int whence) in promfs_lseek() argument
H A Dfsswitch.c208 lseek(int filefd, off_t addr, int whence) in lseek() argument
211 return ((*dfl_fsw->fsw_lseek)(filefd, addr, whence)); in lseek()
/onnv-gate/usr/src/uts/intel/sys/
H A Dbootvfs.h58 off_t (*fsw_lseek)(int filefd, off_t addr, int whence);
87 extern off_t lseek(int filefd, off_t addr, int whence);
/onnv-gate/usr/src/stand/sys/
H A Dbootvfs.h59 off_t (*fsw_lseek)(int filefd, off_t addr, int whence);
76 extern off_t lseek(int filefd, off_t addr, int whence);
/onnv-gate/usr/src/cmd/boot/installgrub/
H A Dpcfs_glue.c161 pcfs_glue_lseek(int fd, off_t addr, int whence) in pcfs_glue_lseek() argument
163 return (BRD_SEEK(bfs_ops, fd, addr, whence)); in pcfs_glue_lseek()
/onnv-gate/usr/src/cmd/filebench/common/
H A Dfsplug.h103 #define FB_LSEEK(fdesc, amnt, whence) \ argument
104 (*fs_functions_vec->fsp_lseek)(fdesc, amnt, whence)
/onnv-gate/usr/src/stand/lib/fs/nfs/
H A Dnfsops.c307 boot_nfs_lseek(int fd, off_t offset, int whence) in boot_nfs_lseek() argument
313 printf("boot_nfs_lseek(%d, 0x%x, %d)\n", fd, offset, whence); in boot_nfs_lseek()
324 switch (whence) { in boot_nfs_lseek()
/onnv-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()
/onnv-gate/usr/src/lib/libntfs/common/libntfs/
H A Dunix_io.c177 int whence) in ntfs_device_unix_io_seek() argument
179 return lseek(DEV_FD(dev), offset, whence); in ntfs_device_unix_io_seek()
/onnv-gate/usr/src/common/fs/
H A Dpcfs.c104 static off_t bpcfs_lseek(int fdesc, off_t addr, int whence);
356 bpcfs_lseek(int fd, off_t addr, int whence) in bpcfs_lseek() argument
364 switch (whence) { in bpcfs_lseek()
373 printf("lseek(): invalid whence value %d\n", whence); in bpcfs_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()

123