Searched refs:whence (Results 51 - 75 of 89) sorted by relevance

1234

/freebsd-current/stand/libsa/
H A Dpkgfs.c341 pkg_seek(struct open_file *f, off_t ofs, int whence) argument
356 switch (whence) {
H A Ddosfs.c54 static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
424 dos_seek(struct open_file *fd, off_t offset, int whence) argument
431 switch (whence) {
/freebsd-current/sys/fs/fuse/
H A Dfuse_vnops.c375 pid_t pid, off_t *offp, int whence)
394 flsi->whence = whence;
1296 int whence; local
1300 whence = SEEK_DATA;
1302 whence = SEEK_HOLE;
1306 whence);
374 fuse_vnop_do_lseek(struct vnode *vp, struct thread *td, struct ucred *cred, pid_t pid, off_t *offp, int whence) argument
H A Dfuse_kernel.h869 uint32_t whence; member in struct:fuse_lseek_in
/freebsd-current/sys/dev/vt/
H A Dvt.h284 int vthistory_seek(struct vt_buf *, int offset, int whence);
H A Dvt_buf.c70 vthistory_seek(struct vt_buf *vb, int offset, int whence) argument
90 switch (whence) {
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dstore.c162 * @param whence relateive searching, SEEK_CUR from the current
171 krb5_storage_seek(krb5_storage *sp, off_t offset, int whence) argument
173 return (*sp->seek)(sp, offset, whence);
/freebsd-current/tests/sys/fs/fusefs/
H A Dmockfs.cc255 switch (in.body.lseek.whence) {
265 printf(" whence=%u offset=%jd",
266 in.body.lseek.whence, in.body.lseek.offset);
/freebsd-current/lib/libsysdecode/
H A Dflags.c855 sysdecode_whence(int whence) argument
858 return (lookup_value(seekwhence, whence));
/freebsd-current/contrib/libarchive/tar/
H A Dwrite.c122 seek_file(int fd, int64_t offset, int whence) argument
125 (void)whence; /* UNUSED */
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c1308 * whence - see man pages for standard lseek whence values
1313 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) argument
1317 rc = lseek(fp->f_fd, *offp, whence);
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h129 #define __sanitizer_syscall_pre_compat_43_olseek(fd, offset, whence) \
131 (long long)(fd), (long long)(offset), (long long)(whence))
132 #define __sanitizer_syscall_post_compat_43_olseek(res, fd, offset, whence) \
134 res, (long long)(fd), (long long)(offset), (long long)(whence))
1064 #define __sanitizer_syscall_pre_lseek(fd, PAD, offset, whence) \
1066 (long long)(offset), (long long)(whence))
1067 #define __sanitizer_syscall_post_lseek(res, fd, PAD, offset, whence) \
1070 (long long)(whence))
2944 long long whence);
2947 long long whence);
[all...]
/freebsd-current/sys/kern/
H A Dvfs_syscalls.c2026 int whence; member in struct:lseek_args
2033 return (kern_lseek(td, uap->fd, uap->offset, uap->whence));
2037 kern_lseek(struct thread *td, int fd, off_t offset, int whence) argument
2047 fo_seek(fp, offset, whence, td) : ESPIPE;
2060 int whence; member in struct:olseek_args
2067 return (kern_lseek(td, uap->fd, uap->offset, uap->whence));
2077 return (kern_lseek(td, uap->fd, uap->offset, uap->whence));
H A Duipc_shm.c414 shm_seek(struct file *fp, off_t offset, int whence, struct thread *td) argument
423 switch (whence) {
H A Dvfs_vnops.c2652 vn_seek(struct file *fp, off_t offset, int whence, struct thread *td) argument
2665 if (whence == L_INCR && offset == 0) {
2675 switch (whence) {
/freebsd-current/sys/compat/freebsd32/
H A Dfreebsd32_proto.h452 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member in struct:freebsd32_lseek_args
820 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member in struct:ofreebsd32_lseek_args
986 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member in struct:freebsd6_freebsd32_lseek_args
H A Dfreebsd32_misc.c1979 return (kern_lseek(td, uap->fd, uap->offset, uap->whence));
1990 uap->whence);
2096 uap->whence);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp795 uptr internal_lseek(fd_t fd, OFF_T offset, int whence) { argument
796 return internal_syscall(SYSCALL(lseek), fd, offset, whence);
H A Dsanitizer_platform_limits_posix.h934 int whence);
H A Dsanitizer_common_interceptors.inc6467 static int wrapped_seek(void *cookie, u64 *offset, int whence) {
6472 return real_seek ? real_seek(wrapped_cookie->real_cookie, offset, whence)
8890 INTERCEPTOR(int, fseek, __sanitizer_FILE *stream, long int offset, int whence) {
8892 COMMON_INTERCEPTOR_ENTER(ctx, fseek, stream, offset, whence);
8893 return REAL(fseek)(stream, offset, whence);
8895 INTERCEPTOR(int, fseeko, __sanitizer_FILE *stream, OFF_T offset, int whence) {
8897 COMMON_INTERCEPTOR_ENTER(ctx, fseeko, stream, offset, whence);
8898 return REAL(fseeko)(stream, offset, whence);
9705 typedef OFF_T (*funopen_seekfn)(void *cookie, OFF_T offset, int whence);
9730 static OFF_T wrapped_funopen_seek(void *cookie, OFF_T offset, int whence) {
[all...]
/freebsd-current/sys/compat/linux/
H A Dlinux_file.c316 return (kern_lseek(td, args->fdes, args->off, args->whence));
328 error = kern_lseek(td, args->fd, off, args->whence);
/freebsd-current/lib/libfetch/
H A Dftp.c552 ftp_seekfn(void *v, fpos_t pos __unused, int whence __unused)
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive.h238 void *_client_data, la_int64_t offset, int whence);
/freebsd-current/sys/sys/
H A Dsyscallsubr.h228 int kern_lseek(struct thread *td, int fd, off_t offset, int whence);
H A Dsysproto.h1356 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member in struct:lseek_args
2289 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member in struct:olseek_args
2560 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; member in struct:freebsd6_lseek_args

Completed in 509 milliseconds

1234