off_t 115 include/sys/fcntl.h off_t l_start; /* starting offset */ off_t 116 include/sys/fcntl.h off_t l_len; /* len = 0 means until end of file */ off_t 44 include/sys/file.h off_t f_offset; /* current position in file */ off_t 50 include/sys/stat.h off_t st_size; /* file size, in bytes */ off_t 108 include/sys/vnode.h int (*vop_seek) (vnode_t, file_t, off_t, off_t); off_t 121 include/sys/vnode.h int (*vop_truncate) (vnode_t, off_t); off_t 363 usr/bin/test/test.c return s.st_size > (off_t)0; off_t 56 usr/include/stdio.h typedef off_t fpos_t; off_t 77 usr/include/unistd.h off_t lseek(int, off_t, int); off_t 111 usr/include/unistd.h int ftruncate(int, off_t); off_t 149 usr/include/unistd.h int truncate(const char *, off_t); off_t 58 usr/lib/libc/stdio/stdio.c (void) lseek(fp->_file, (off_t)0, SEEK_END); off_t 68 usr/lib/libc/stdio/stdio.c return (lseek(fp->_file, (off_t)offset, whence)); off_t 36 usr/lib/posix/file/ftruncate.c ftruncate(int fd, off_t length) off_t 38 usr/lib/posix/file/lseek.c off_t off_t 39 usr/lib/posix/file/lseek.c lseek(int fd, off_t offset, int whence) off_t 49 usr/lib/posix/file/lseek.c return (off_t)m.data[0]; off_t 38 usr/lib/posix/file/truncate.c truncate(const char *path, off_t length) off_t 85 usr/server/exec/exec_elf.c if (lseek(fd, (off_t)phdr->p_offset, SEEK_SET) off_t 86 usr/server/exec/exec_elf.c == -(off_t)1) off_t 68 usr/server/fs/arfs/arfs_vnops.c static int arfs_seek (vnode_t, file_t, off_t, off_t); off_t 148 usr/server/fs/arfs/arfs_vnops.c off_t off; off_t 208 usr/server/fs/arfs/arfs_vnops.c off_t off, file_pos, buf_pos; off_t 222 usr/server/fs/arfs/arfs_vnops.c if (file_pos >= (off_t)vp->v_size) { off_t 231 usr/server/fs/arfs/arfs_vnops.c off = (off_t)vp->v_data; off_t 274 usr/server/fs/arfs/arfs_vnops.c arfs_seek(vnode_t vp, file_t fp, off_t oldoff, off_t newoff) off_t 277 usr/server/fs/arfs/arfs_vnops.c if (newoff > (off_t)vp->v_size) off_t 288 usr/server/fs/arfs/arfs_vnops.c off_t off; off_t 71 usr/server/fs/fatfs/fatfs_vnops.c static int fatfs_truncate(vnode_t, off_t); off_t 678 usr/server/fs/fatfs/fatfs_vnops.c fatfs_truncate(vnode_t vp, off_t length) off_t 67 usr/server/fs/ramfs/ramfs_vnops.c static int ramfs_truncate(vnode_t, off_t); off_t 282 usr/server/fs/ramfs/ramfs_vnops.c ramfs_truncate(vnode_t vp, off_t length) off_t 337 usr/server/fs/ramfs/ramfs_vnops.c off_t off; off_t 346 usr/server/fs/ramfs/ramfs_vnops.c if (off >= (off_t)vp->v_size) off_t 364 usr/server/fs/ramfs/ramfs_vnops.c off_t file_pos, end_pos; off_t 382 usr/server/fs/ramfs/ramfs_vnops.c if (end_pos > (off_t)np->rn_bufsize) { off_t 200 usr/server/fs/vfs/main.c off_t offset, org; off_t 205 usr/server/fs/vfs/main.c offset = (off_t)msg->data[1]; off_t 98 usr/server/fs/vfs/vfs.h int sys_lseek(file_t fp, off_t off, int type, off_t * cur_off); off_t 102 usr/server/fs/vfs/vfs.h int sys_ftruncate(file_t fp, off_t length); off_t 119 usr/server/fs/vfs/vfs.h int sys_truncate(char *path, off_t length); off_t 219 usr/server/fs/vfs/vfs_syscalls.c sys_lseek(file_t fp, off_t off, int type, off_t *origin) off_t 232 usr/server/fs/vfs/vfs_syscalls.c if (off > (off_t)vp->v_size) off_t 236 usr/server/fs/vfs/vfs_syscalls.c if (fp->f_offset + off > (off_t)vp->v_size) off_t 439 usr/server/fs/vfs/vfs_syscalls.c fp->f_offset = (off_t)loc; off_t 732 usr/server/fs/vfs/vfs_syscalls.c sys_truncate(char *path, off_t length) off_t 738 usr/server/fs/vfs/vfs_syscalls.c sys_ftruncate(file_t fp, off_t length)