Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zlib/
H A Dgzlib.c369 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument
372 int whence;
390 if (whence != SEEK_SET && whence != SEEK_CUR)
394 if (whence == SEEK_SET)
446 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument
449 int whence;
453 ret = gzseek64(file, (z_off64_t)offset, whence);
/f-stack/freebsd/contrib/zstd/zlibWrapper/
H A Dgzlib.c369 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument
372 int whence;
390 if (whence != SEEK_SET && whence != SEEK_CUR)
394 if (whence == SEEK_SET)
446 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument
449 int whence;
453 ret = gzseek64(file, (z_off64_t)offset, whence);
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c245 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument
252 rc = vfs_llseek(fp, *offp, whence); in zfs_file_seek()
H A Dzpl_file.c498 zpl_llseek(struct file *filp, loff_t offset, int whence) in zpl_llseek() argument
503 if (whence == SEEK_DATA || whence == SEEK_HOLE) { in zpl_llseek()
510 error = -zfs_holey(ITOZ(ip), whence, &offset); in zpl_llseek()
520 return (generic_file_llseek(filp, offset, whence)); in zpl_llseek()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_file.h51 int zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence);
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c187 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument
195 rc = fo_seek(fp, *offp, whence, td); in zfs_file_seek()
/f-stack/freebsd/sys/
H A Dfile.h120 typedef int fo_seek_t(struct file *fp, off_t offset, int whence,
414 fo_seek(struct file *fp, off_t offset, int whence, struct thread *td) in fo_seek() argument
417 return ((*fp->f_ops->fo_seek)(fp, offset, whence, td)); in fo_seek()
H A Dsyscallsubr.h189 int kern_lseek(struct thread *td, int fd, off_t offset, int whence);
H A Dsysproto.h1369 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member
2254 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member
2512 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c1279 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument
1283 rc = lseek(fp->f_fd, *offp, whence); in zfs_file_seek()
/f-stack/freebsd/kern/
H A Dvfs_syscalls.c1952 int whence; member
1959 return (kern_lseek(td, uap->fd, uap->offset, uap->whence)); in sys_lseek()
1963 kern_lseek(struct thread *td, int fd, off_t offset, int whence) in kern_lseek() argument
1973 fo_seek(fp, offset, whence, td) : ESPIPE; in kern_lseek()
1986 int whence; member
1993 return (kern_lseek(td, uap->fd, uap->offset, uap->whence)); in olseek()
2003 return (kern_lseek(td, uap->fd, uap->offset, uap->whence)); in freebsd6_lseek()
H A Duipc_shm.c344 shm_seek(struct file *fp, off_t offset, int whence, struct thread *td) in shm_seek() argument
353 switch (whence) { in shm_seek()
H A Dvfs_vnops.c2403 vn_seek(struct file *fp, off_t offset, int whence, struct thread *td) in vn_seek() argument
2416 switch (whence) { in vn_seek()
H A Dsystrace_args.c2549 iarg[2] = p->whence; /* int */ in systrace_args()
/f-stack/freebsd/arm/linux/
H A Dlinux_systrace_args.c131 iarg[2] = p->whence; /* l_int */ in systrace_args()
771 iarg[4] = p->whence; /* l_uint */ in systrace_args()
H A Dlinux_proto.h85 char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)]; member
352 char whence_l_[PADL_(l_uint)]; l_uint whence; char whence_r_[PADR_(l_uint)]; member
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_systrace_args.c155 iarg[2] = p->whence; /* l_int */ in systrace_args()
928 iarg[4] = p->whence; /* l_uint */ in systrace_args()
H A Dlinux32_proto.h97 char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)]; member
437 char whence_l_[PADL_(l_uint)]; l_uint whence; char whence_r_[PADR_(l_uint)]; member
/f-stack/freebsd/i386/linux/
H A Dlinux_systrace_args.c155 iarg[2] = p->whence; /* l_int */ in systrace_args()
966 iarg[4] = p->whence; /* l_uint */ in systrace_args()
H A Dlinux_proto.h97 char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)]; member
445 char whence_l_[PADL_(l_uint)]; l_uint whence; char whence_r_[PADR_(l_uint)]; member
/f-stack/freebsd/arm64/linux/
H A Dlinux_systrace_args.c475 iarg[2] = p->whence; /* l_int */ in systrace_args()
H A Dlinux_proto.h269 char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)]; member
/f-stack/freebsd/amd64/linux/
H A Dlinux_systrace_args.c87 iarg[2] = p->whence; /* l_int */ in systrace_args()
H A Dlinux_proto.h58 char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)]; member