/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | lseek.c | 36 lseek(int fd, off_t offset, int whence) argument 40 if (whence < 0 || whence > 2) { 47 if ((ret = _syscall(SYS_lseek, fd, off, whence)) != -1) 52 return (_syscall(SYS_lseek, fd, offset, whence));
|
/illumos-gate/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) argument 54 return (lseek(filedes, offset, whence)); 89 adp++; /* whence argument */ 90 adp->arg_value = whence; 118 pr_llseek(struct ps_prochandle *Pr, int filedes, offset_t offset, int whence) argument 129 return (llseek(filedes, offset, whence)); 164 adp++; /* whence argument */ 165 adp->arg_value = whence;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_memio.c | 60 memio_seek(mdb_io_t *io, off64_t offset, int whence) argument 65 switch (whence) { 84 return (IOP_SEEK(io->io_next, offset, whence));
|
H A D | mdb_strio.c | 65 strio_seek(mdb_io_t *io, off64_t offset, int whence) argument 71 return (IOP_SEEK(io->io_next, offset, whence)); 73 switch (whence) {
|
H A D | mdb_fdio.c | 79 fdio_seek(mdb_io_t *io, off64_t offset, int whence) argument 84 return (lseek64(fdp->fd_fd, offset, whence)); 86 return (IOP_SEEK(io->io_next, offset, whence));
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | zopen.c | 33 xgzseek(void *cookie, fpos_t offset, int whence) argument 35 return gzseek(cookie, (z_off_t)offset, whence);
|
/illumos-gate/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) argument
|
H A D | fsswitch.c | 208 lseek(int filefd, off_t addr, int whence) argument 211 return ((*dfl_fsw->fsw_lseek)(filefd, addr, whence));
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | whence.c | 23 * whence [-afvp] name... 45 static int whence(Shell_t *,char**, int); 89 return(whence(shp,argv, flags)); 93 * for the whence command 130 return(whence(shp, argv, flags)); 133 static int whence(Shell_t *shp,char **argv, register int flags) function
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promio.c | 79 pio_seek(mdb_io_t *io, off64_t offset, int whence) argument 84 return (IOP_SEEK(io->io_next, offset, whence));
|
/illumos-gate/usr/src/common/fs/ |
H A D | decompress.c | 267 cf_seek(fileid_t *filep, off_t addr, int whence) argument 275 if (whence == SEEK_CUR)
|
H A D | bootfsops.c | 256 bbootfs_lseek(int fd, off_t addr, int whence) argument 263 switch (whence) {
|
H A D | pcfs.c | 104 static off_t bpcfs_lseek(int fdesc, off_t addr, int whence); 353 * This version of seek() only performs absolute seeks (whence == 0). 356 bpcfs_lseek(int fd, off_t addr, int whence) argument 364 switch (whence) { 373 printf("lseek(): invalid whence value %d\n", whence);
|
H A D | ufsops.c | 660 bufs_lseek(int fd, off_t addr, int whence) argument 669 cf_seek(filep, addr, whence); 671 switch (whence) { 680 printf("lseek(): invalid whence value %d\n", whence);
|
H A D | hsfs.c | 141 static off_t bhsfs_lseek(int fdesc, off_t addr, int whence); 555 * This version of seek() only performs absolute seeks (whence == 0). 558 bhsfs_lseek(int fd, off_t addr, int whence) argument 568 cf_seek(filep, addr, whence); 570 switch (whence) { 579 printf("lseek(): invalid whence value %d\n", whence);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 142 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) argument 148 lock.l_whence = whence;
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | nfsops.c | 307 boot_nfs_lseek(int fd, off_t offset, int whence) argument 313 printf("boot_nfs_lseek(%d, 0x%x, %d)\n", fd, offset, whence); 324 switch (whence) { 347 dprintf("boot_nfs_lseek: invalid whence value.\n");
|
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/ |
H A D | getholes.c | 50 * Return an appropriate whence value, depending on whether the file begins 119 int c, fd, options = 0, whence = SEEK_DATA; local 160 whence = starts_with_hole(fd); 161 while ((off = lseek(fd, off, whence)) != -1) { 165 seg->seg_type = whence; 172 whence = whence == SEEK_HOLE ? SEEK_DATA : SEEK_HOLE;
|
/illumos-gate/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) argument 114 addr, whence)); 117 return (ops->fsw_lseek(fd, addr, whence));
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdio.c | 281 fseek(FILE *stream, long offset, int whence) argument 288 switch (whence) {
|
/illumos-gate/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) argument 85 static struct map *getmapping(dp, offset, whence) 88 register int whence; 104 while((++mp)->logical && (whence==SEEK_CUR?mp->physical:mp->logical) <= offset); 226 * if <whence> is SEEK_CUR, physical offset converted to logical offset 230 static Sfoff_t cur_offset(Dosdisc_t *dp, Sfoff_t offset,Sfio_t *iop,register int whence) argument 232 static Sfoff_t cur_offset(dp, offset, iop, whence) 236 register int whence; 242 if(whence==SEEK_CUR) 244 whence 276 dos_seek(Sfio_t *iop, Sfoff_t offset, register int whence, Sfdisc_t* disc) argument [all...] |
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 718 boot_ufs_lseek(int fd, off_t addr, int whence) argument 726 switch (whence) { 735 printf("ufs_lseek(): invalid whence value %d\n", whence);
|
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 698 * fseek ( fd ofs whence -- pos ) 703 int fd, pos, whence; local 707 whence = ficlStackPopInteger(ficlVmGetDataStack(pVM)); 710 ficlStackPushInteger(ficlVmGetDataStack(pVM), lseek(fd, pos, whence));
|
/illumos-gate/usr/src/boot/sys/boot/userboot/test/ |
H A D | test.c | 214 test_seek(void *arg, void *h, uint64_t offset, int whence) argument 220 if (lseek(tf->tf_u.fd, offset, whence) < 0)
|
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/ |
H A D | mpapi.c | 88 static int lock_register(int fd, int cmd, int type, off_t offset, int whence, 3331 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) argument 3337 lock.l_whence = whence;
|