/titanic_41/usr/src/lib/libast/common/disc/ |
H A D | sfdcdos.c | 83 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 …]
|
/titanic_41/usr/src/lib/libbc/libc/sys/common/ |
H A D | lseek.c | 36 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()
|
/titanic_41/usr/src/cmd/sendmail/db/os/ |
H A D | os_seek.c | 31 __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);
|
/titanic_41/usr/src/test/zfs-tests/cmd/getholes/ |
H A D | getholes.c | 119 int c, fd, options = 0, whence = SEEK_DATA; in main() local 160 whence = starts_with_hole(fd); in main() 161 while ((off = lseek(fd, off, whence)) != -1) { in main() 165 seg->seg_type = whence; in main() 172 whence = whence == SEEK_HOLE ? SEEK_DATA : SEEK_HOLE; in main()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 43 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()
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | fseek.c | 79 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 D | smstdio.c | 203 sm_stdioseek(fp, offset, whence) in sm_stdioseek() argument 206 int whence; 213 return fseek(s, offset, whence);
|
H A D | stdio.c | 181 sm_stdseek(fp, offset, whence) in sm_stdseek() argument 184 int whence; 188 ret = lseek(fp->f_file, (off_t) offset, whence);
|
H A D | strio.c | 166 sm_strseek(fp, offset, whence) in sm_strseek() argument 169 int whence; 175 switch (whence)
|
/titanic_41/usr/src/lib/libaio/common/ |
H A D | llib-laio | 34 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,
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_memio.c | 60 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 D | mdb_strio.c | 65 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 D | mdb_io_impl.h | 56 #define IOP_SEEK(io, off, whence) ((io)->io_ops->io_seek((io), (off), (whence))) argument
|
H A D | mdb_fdio.c | 79 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()
|
/titanic_41/usr/src/lib/libshell/common/bltins/ |
H A D | whence.c | 45 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
|
/titanic_41/usr/src/stand/lib/fs/common/ |
H A D | promfs.c | 43 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 D | fsswitch.c | 208 lseek(int filefd, off_t addr, int whence) in lseek() argument 211 return ((*dfl_fsw->fsw_lseek)(filefd, addr, whence)); in lseek()
|
/titanic_41/usr/src/uts/common/krtld/ |
H A D | bootrd.c | 110 BRD_SEEK(struct boot_fs_ops *ops, int fd, off_t addr, int whence) in BRD_SEEK() argument 114 addr, whence)); in BRD_SEEK() 117 return (ops->fsw_lseek(fd, addr, whence)); in BRD_SEEK()
|
/titanic_41/usr/src/stand/sys/ |
H A D | bootvfs.h | 59 off_t (*fsw_lseek)(int filefd, off_t addr, int whence); 76 extern off_t lseek(int filefd, off_t addr, int whence);
|
/titanic_41/usr/src/uts/intel/sys/ |
H A D | bootvfs.h | 56 off_t (*fsw_lseek)(int filefd, off_t addr, int whence); 102 extern off_t lseek(int filefd, off_t addr, int whence);
|
/titanic_41/usr/src/cmd/boot/installgrub/ |
H A D | pcfs_glue.c | 161 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()
|
/titanic_41/usr/src/stand/lib/fs/nfs/ |
H A D | nfsops.c | 307 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()
|
/titanic_41/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promio.c | 79 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()
|
/titanic_41/usr/src/common/fs/ |
H A D | pcfs.c | 104 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 D | hsfs.c | 141 static off_t bhsfs_lseek(int fdesc, off_t addr, int whence); 558 bhsfs_lseek(int fd, off_t addr, int whence) in bhsfs_lseek() argument 568 cf_seek(filep, addr, whence); in bhsfs_lseek() 570 switch (whence) { in bhsfs_lseek() 579 printf("lseek(): invalid whence value %d\n", whence); in bhsfs_lseek()
|