| /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/sys/rump/net/lib/libshmif/ | 
| shmif_busops.c | 52 shmif_advance(uint32_t oldoff, uint32_t delta) 56 	newoff = oldoff + delta;
 135 shmif_nextpktoff(struct shmif_mem *busmem, uint32_t oldoff)
 140 	shmif_busread(busmem, &sp, oldoff, sizeof(sp), &dummy);
 143 	return shmif_advance(oldoff, sizeof(sp) + sp.sp_len);
 
 | 
| /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/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/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,
 
 | 
| ufs_dirhash.c | 712 ufsdirhash_move(struct inode *ip, struct direct *dirp, doff_t oldoff, 727 	KASSERT(oldoff < dh->dh_dirblks * ip->i_ump->um_dirblksiz &&
 730 	slot = ufsdirhash_findslot(dh, dirp->d_name, dirp->d_namlen, oldoff);
 
 | 
| /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);
 
 | 
| vfs_wapbl.c | 1424  * wapbl_advance(size, off, oldoff, delta) 1426  *	Given a byte offset oldoff into a circular queue of size bytes
 1427  *	starting at off, return a new byte offset oldoff + delta into
 1431 wapbl_advance(size_t size, size_t off, off_t oldoff, size_t delta)
 1437 	KASSERT(oldoff == 0 || (size_t)oldoff >= off);
 1438 	KASSERT(oldoff < (off_t)(size + off));
 1440 	if (oldoff == 0 && delta != 0)
 1442 	else if (oldoff + delta < size + off)
 1443 		newoff = oldoff + delta
 [all...]
 | 
| vnode_if.c | 1164     off_t oldoff, 1174 	a.a_oldoff = 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;
 
 | 
| ulfs_dirhash.c | 720 ulfsdirhash_move(struct inode *ip, LFS_DIRHEADER *dirp, doff_t oldoff, 736 	KASSERT(oldoff < dh->dh_dirblks * ip->i_lfs->um_dirblksiz &&
 740 				    lfs_dir_getnamlen(fs, dirp), oldoff);
 
 | 
| /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/rump/librump/rumpvfs/ | 
| rumpvnode_if.c | 370     off_t oldoff, 377 	error = VOP_SEEK(vp, oldoff, newoff, cred);
 
 | 
| /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/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/arch/arm/broadcom/ | 
| bcm53xx_eth.c | 1501 		size_t oldoff = m->m_data - m->m_pktdat;  local in function:bcmeth_copy_packet 1504 			off = (oldoff + hlen > MHLEN) ? 0 : oldoff;
 1509 		if (((oldoff ^ off) & arm_dcache_align) != 0 || off < oldoff) {
 
 | 
| /src/sbin/mount_portal/ | 
| puffs_portal.c | 773 	off_t oldoff, off_t newoff, const struct puffs_cred *pcr) 
 | 
| /src/lib/libp2k/ | 
| p2k.c | 1001 	off_t oldoff, off_t newoff, const struct puffs_cred *pcr) 1009 	rv = RUMP_VOP_SEEK(vp, oldoff, newoff, cred);
 
 | 
| /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,
 
 |