/src/tools/compat/ |
pread.c | 40 off_t oldoff = lseek(d, offset, SEEK_SET); local in function:pread 44 if (oldoff < 0) 50 lseek(d, oldoff, SEEK_SET);
|
pwrite.c | 40 off_t oldoff = lseek(d, offset, SEEK_SET); local in function:pwrite 44 if (oldoff < 0) 50 lseek(d, oldoff, SEEK_SET);
|
/src/sbin/svhlabel/ |
svhlabel.c | 207 off_t oldoff; local in function:is_efs 209 if ((oldoff = lseek(sd, 0, SEEK_CUR)) == -1) { 225 if (lseek(sd, oldoff, SEEK_SET) == -1) {
|
/src/usr.bin/shmif_dumpbus/ |
shmif_dumpbus.c | 224 uint32_t oldoff; local in function:main 232 oldoff = curbus; 238 &sp, oldoff, sizeof(sp), &wrap); 246 &sp2, oldoff, sizeof(sp2), &wrap);
|
/src/sys/ufs/ext2fs/ |
ext2fs_readwrite.c | 273 off_t oldoff = 0; /* XXX */ local in function:ext2fs_write 308 oldoff = uio->uio_offset; 312 if (vp->v_size < oldoff + bytelen) { 313 uvm_vnp_setwritesize(vp, oldoff + bytelen); 338 if (!async && oldoff >> fshift != uio->uio_offset >> fshift) { 340 error = VOP_PUTPAGES(vp, (oldoff >> fshift) << fshift, 347 error = VOP_PUTPAGES(vp, trunc_page(oldoff),
|
/src/sys/ufs/lfs/ |
ulfs_readwrite.c | 239 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local in function:WRITE 321 oldoff = uio->uio_offset; 350 newoff = oldoff + bytelen;
|
/src/sys/ufs/ufs/ |
ufs_readwrite.c | 247 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local in function:WRITE 359 oldoff = uio->uio_offset; 388 newoff = oldoff + bytelen; 434 if (!async && oldoff >> fshift != uio->uio_offset >> fshift) { 436 error = VOP_PUTPAGES(vp, (oldoff >> fshift) << fshift,
|
/src/sys/nfs/ |
nfs_bio.c | 454 voff_t oldoff, origoff; local in function:nfs_write 506 oldoff = uio->uio_offset; 557 if ((oldoff & ~(nmp->nm_wsize - 1)) != 561 trunc_page(oldoff & ~(nmp->nm_wsize - 1)),
|
/src/sys/kern/ |
vfs_vnops.c | 1156 off_t oldoff, newoff; local in function:vn_seek 1172 oldoff = fp->f_offset; 1178 if (oldoff > 0 && delta > OFF_MAX - oldoff) { 1183 if (oldoff < 0 && delta < OFF_MIN - oldoff) { 1188 newoff = oldoff + delta; 1210 error = VOP_SEEK(vp, oldoff, newoff, cred);
|
/src/sys/ufs/chfs/ |
chfs_vnops.c | 772 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local in function:chfs_write 881 oldoff = uio->uio_offset; 910 newoff = oldoff + bytelen; 957 if (!async && oldoff >> 16 != uio->uio_offset >> 16) { 959 error = VOP_PUTPAGES(vp, (oldoff >> 16) << 16,
|
/src/sys/fs/msdosfs/ |
msdosfs_vnops.c | 555 off_t oldoff; local in function:msdosfs_write 633 oldoff = uio->uio_offset; 646 if (!async && oldoff >> 16 != uio->uio_offset >> 16) { 648 error = VOP_PUTPAGES(vp, (oldoff >> 16) << 16, 658 error = VOP_PUTPAGES(vp, trunc_page(oldoff), 659 round_page(oldoff + bytelen), PGO_CLEANIT | PGO_SYNCIO);
|
/src/sys/fs/puffs/ |
puffs_vnops.c | 2338 off_t oldoff, newoff, origoff; local in function:puffs_vnop_write 2369 oldoff = uio->uio_offset; 2372 newoff = oldoff + bytelen; 2406 if (oldoff >> 16 != uio->uio_offset >> 16) { 2408 error = VOP_PUTPAGES(vp, oldoff & ~0xffff,
|
/src/sys/arch/arm/broadcom/ |
bcm53xx_eth.c | 1508 size_t oldoff = m->m_data - m->m_pktdat; local in function:bcmeth_copy_packet 1511 off = (oldoff + hlen > MHLEN) ? 0 : oldoff; 1516 if (((oldoff ^ off) & arm_dcache_align) != 0 || off < oldoff) {
|