| /src/tools/compat/ |
| pread.c | 40 off_t oldoff = lseek(d, offset, SEEK_SET); local 44 if (oldoff < 0) 50 lseek(d, oldoff, SEEK_SET);
|
| pwrite.c | 40 off_t oldoff = lseek(d, offset, SEEK_SET); local 44 if (oldoff < 0) 50 lseek(d, oldoff, SEEK_SET);
|
| /src/sbin/svhlabel/ |
| svhlabel.c | 208 off_t oldoff; local 210 if ((oldoff = lseek(sd, 0, SEEK_CUR)) == -1) { 226 if (lseek(sd, oldoff, SEEK_SET) == -1) {
|
| /src/sys/ufs/ext2fs/ |
| ext2fs_readwrite.c | 273 off_t oldoff = 0; /* XXX */ local 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/usr.bin/shmif_dumpbus/ |
| shmif_dumpbus.c | 224 uint32_t oldoff; local 232 oldoff = curbus; 238 &sp, oldoff, sizeof(sp), &wrap); 246 &sp2, oldoff, sizeof(sp2), &wrap);
|
| /src/sys/ufs/lfs/ |
| ulfs_readwrite.c | 239 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local 321 oldoff = uio->uio_offset; 350 newoff = oldoff + bytelen;
|
| /src/sys/ufs/ufs/ |
| ufs_readwrite.c | 248 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local 360 oldoff = uio->uio_offset; 389 newoff = oldoff + bytelen; 435 if (!async && oldoff >> fshift != uio->uio_offset >> fshift) { 437 error = VOP_PUTPAGES(vp, (oldoff >> fshift) << fshift,
|
| /src/sys/kern/ |
| vfs_vnops.c | 1156 off_t oldoff, newoff; local 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/nfs/ |
| nfs_bio.c | 454 voff_t oldoff, origoff; local 506 oldoff = uio->uio_offset; 557 if ((oldoff & ~(nmp->nm_wsize - 1)) != 561 trunc_page(oldoff & ~(nmp->nm_wsize - 1)),
|
| /src/sys/fs/msdosfs/ |
| msdosfs_vnops.c | 555 off_t oldoff; local 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/ufs/chfs/ |
| chfs_vnops.c | 772 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local 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/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| log.c | 2215 off_t oldoff; local 2219 oldoff = krb5_storage_seek(sp, 0, SEEK_CUR); 2220 if (oldoff == -1) 2229 (void) krb5_storage_seek(sp, oldoff, SEEK_SET); 2240 (void) krb5_storage_seek(sp, oldoff, SEEK_SET);
|
| /src/sys/arch/arm/broadcom/ |
| bcm53xx_eth.c | 1501 size_t oldoff = m->m_data - m->m_pktdat; local 1504 off = (oldoff + hlen > MHLEN) ? 0 : oldoff; 1509 if (((oldoff ^ off) & arm_dcache_align) != 0 || off < oldoff) {
|
| /src/sys/fs/puffs/ |
| puffs_vnops.c | 2338 off_t oldoff, newoff, origoff; local 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/external/gpl3/binutils/dist/gas/ |
| write.c | 2938 addressT oldoff, newoff; local 2940 oldoff = relax_align (was_address + fragP->fr_fix, 2947 if (oldoff > fragP->fr_subtype) 2948 oldoff = 0; 2953 growth = newoff - oldoff;
|
| /src/external/gpl3/binutils.old/dist/gas/ |
| write.c | 2936 addressT oldoff, newoff; local 2938 oldoff = relax_align (was_address + fragP->fr_fix, 2945 if (oldoff > fragP->fr_subtype) 2946 oldoff = 0; 2951 growth = newoff - oldoff;
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| s_client.c | 4041 size_t oldoff; local 4097 oldoff = user_data->bufoff; 4099 user_data->buflen -= user_data->bufoff - oldoff;
|