f_offset 44 include/sys/file.h off_t f_offset; /* current position in file */ f_offset 221 usr/server/fs/arfs/arfs_vnops.c file_pos = fp->f_offset; f_offset 261 usr/server/fs/arfs/arfs_vnops.c fp->f_offset = file_pos; f_offset 313 usr/server/fs/arfs/arfs_vnops.c if (i == fp->f_offset) f_offset 331 usr/server/fs/arfs/arfs_vnops.c dir->d_fileno = (uint32_t)fp->f_offset; f_offset 334 usr/server/fs/arfs/arfs_vnops.c fp->f_offset++; f_offset 162 usr/server/fs/devfs/devfs_vnops.c error = device_read((device_t)vp->v_data, buf, &len, fp->f_offset); f_offset 175 usr/server/fs/devfs/devfs_vnops.c error = device_write((device_t)vp->v_data, buf, &len, fp->f_offset); f_offset 234 usr/server/fs/devfs/devfs_vnops.c DPRINTF(("devfs_readdir offset=%d\n", fp->f_offset)); f_offset 243 usr/server/fs/devfs/devfs_vnops.c } while (i++ != fp->f_offset); f_offset 251 usr/server/fs/devfs/devfs_vnops.c dir->d_fileno = (uint32_t)fp->f_offset; f_offset 255 usr/server/fs/devfs/devfs_vnops.c fp->f_offset++; f_offset 182 usr/server/fs/fatfs/fatfs_vnops.c file_pos = fp->f_offset; f_offset 227 usr/server/fs/fatfs/fatfs_vnops.c fp->f_offset = file_pos; f_offset 259 usr/server/fs/fatfs/fatfs_vnops.c file_pos = (fp->f_flags & O_APPEND) ? end_pos : fp->f_offset; f_offset 322 usr/server/fs/fatfs/fatfs_vnops.c fp->f_offset = file_pos; f_offset 349 usr/server/fs/fatfs/fatfs_vnops.c error = fatfs_get_node(vp, fp->f_offset, &np); f_offset 362 usr/server/fs/fatfs/fatfs_vnops.c dir->d_fileno = fp->f_offset; f_offset 365 usr/server/fs/fatfs/fatfs_vnops.c fp->f_offset++; f_offset 432 usr/server/fs/fifofs/fifo_vnops.c if (fp->f_offset == 0) { f_offset 435 usr/server/fs/fifofs/fifo_vnops.c } else if (fp->f_offset == 1) { f_offset 443 usr/server/fs/fifofs/fifo_vnops.c if (i == (fp->f_offset - 2)) { f_offset 456 usr/server/fs/fifofs/fifo_vnops.c dir->d_fileno = fp->f_offset; f_offset 459 usr/server/fs/fifofs/fifo_vnops.c fp->f_offset++; f_offset 345 usr/server/fs/ramfs/ramfs_vnops.c off = fp->f_offset; f_offset 355 usr/server/fs/ramfs/ramfs_vnops.c fp->f_offset += size; f_offset 378 usr/server/fs/ramfs/ramfs_vnops.c file_pos = (fp->f_flags & O_APPEND) ? end_pos : fp->f_offset; f_offset 405 usr/server/fs/ramfs/ramfs_vnops.c fp->f_offset += size; f_offset 459 usr/server/fs/ramfs/ramfs_vnops.c if (fp->f_offset == 0) { f_offset 462 usr/server/fs/ramfs/ramfs_vnops.c } else if (fp->f_offset == 1) { f_offset 473 usr/server/fs/ramfs/ramfs_vnops.c for (i = 0; i != (fp->f_offset - 2); i++) { f_offset 487 usr/server/fs/ramfs/ramfs_vnops.c dir->d_fileno = (uint32_t)fp->f_offset; f_offset 490 usr/server/fs/ramfs/ramfs_vnops.c fp->f_offset++; f_offset 140 usr/server/fs/vfs/vfs_syscalls.c fp->f_offset = 0; f_offset 236 usr/server/fs/vfs/vfs_syscalls.c if (fp->f_offset + off > (off_t)vp->v_size) f_offset 238 usr/server/fs/vfs/vfs_syscalls.c else if (fp->f_offset + off < 0) f_offset 241 usr/server/fs/vfs/vfs_syscalls.c off = fp->f_offset + off; f_offset 256 usr/server/fs/vfs/vfs_syscalls.c if (VOP_SEEK(vp, fp, fp->f_offset, off) != 0) { f_offset 261 usr/server/fs/vfs/vfs_syscalls.c fp->f_offset = off; f_offset 423 usr/server/fs/vfs/vfs_syscalls.c fp->f_offset = 0; f_offset 439 usr/server/fs/vfs/vfs_syscalls.c fp->f_offset = (off_t)loc; f_offset 455 usr/server/fs/vfs/vfs_syscalls.c *loc = (long)fp->f_offset;