Searched refs:oldoff (Results 1 - 21 of 21) sorted by relevance

/netbsd-6-1-5-RELEASE/tools/compat/
H A Dpread.c40 off_t oldoff = lseek(d, offset, SEEK_SET); local
44 if (oldoff < 0)
50 lseek(d, oldoff, SEEK_SET);
H A Dpwrite.c40 off_t oldoff = lseek(d, offset, SEEK_SET); local
44 if (oldoff < 0)
50 lseek(d, oldoff, SEEK_SET);
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/
H A Dbuffer.c108 size_t oldoff = inbuf->off; local
117 * buffer if necessary of the changes. oldoff is the amount
120 if (inbuf->off != oldoff && inbuf->cb != NULL)
121 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg);
122 if (oldoff && outbuf->cb != NULL)
123 (*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg);
142 size_t oldoff = buf->off; local
168 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
305 size_t oldoff = buf->off; local
316 (*buf->cb)(buf, oldoff, bu
324 size_t oldoff = buf->off; local
355 size_t oldoff = buf->off; local
[all...]
/netbsd-6-1-5-RELEASE/sys/rump/net/lib/libshmif/
H A Dshmif_busops.c49 shmif_advance(uint32_t oldoff, uint32_t delta) argument
53 newoff = oldoff + delta;
132 shmif_nextpktoff(struct shmif_mem *busmem, uint32_t oldoff) argument
137 shmif_busread(busmem, &sp, oldoff, sizeof(sp), &dummy);
140 return shmif_advance(oldoff, sizeof(sp) + sp.sp_len);
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/
H A Dext2fs_readwrite.c232 off_t oldoff = 0; /* XXX */ local
281 oldoff = uio->uio_offset;
286 if (vp->v_size < oldoff + bytelen) {
287 uvm_vnp_setwritesize(vp, oldoff + bytelen);
313 if (!async && oldoff >> 16 != uio->uio_offset >> 16) {
315 error = VOP_PUTPAGES(vp, (oldoff >> 16) << 16,
322 error = VOP_PUTPAGES(vp, trunc_page(oldoff),
/netbsd-6-1-5-RELEASE/usr.bin/shmif_dumpbus/
H A Dshmif_dumpbus.c155 uint32_t oldoff; local
162 oldoff = curbus;
163 curbus = shmif_busread(bmem, &sp, oldoff, sizeof(sp), &wrap);
/netbsd-6-1-5-RELEASE/sbin/svhlabel/
H A Dsvhlabel.c206 off_t oldoff; local
208 if ((oldoff = lseek(sd, 0, SEEK_CUR)) == -1) {
224 if (lseek(sd, oldoff, SEEK_SET) == -1) {
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dufs_readwrite.c221 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local
340 oldoff = uio->uio_offset;
369 newoff = oldoff + bytelen;
417 if (!async && oldoff >> 16 != uio->uio_offset >> 16) {
419 error = VOP_PUTPAGES(vp, (oldoff >> 16) << 16,
H A Dufs_dirhash.c702 ufsdirhash_move(struct inode *ip, struct direct *dirp, doff_t oldoff, argument
717 KASSERT(oldoff < dh->dh_dirblks * ip->i_ump->um_dirblksiz &&
720 slot = ufsdirhash_findslot(dh, dirp->d_name, dirp->d_namlen, oldoff);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dlog.c866 off_t off, oldoff; local
869 oldoff = krb5_storage_seek(sp, 0, SEEK_CUR);
886 krb5_storage_seek(sp, oldoff, SEEK_SET);
907 krb5_storage_seek(sp, oldoff, SEEK_SET);
916 krb5_storage_seek(sp, oldoff, SEEK_SET);
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpvfs/
H A Drumpvnode_if.c313 off_t oldoff,
320 error = VOP_SEEK(vp, oldoff, newoff, cred);
312 RUMP_VOP_SEEK(struct vnode *vp, off_t oldoff, off_t newoff, struct kauth_cred *cred) argument
/netbsd-6-1-5-RELEASE/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c560 off_t oldoff; local
640 oldoff = uio->uio_offset;
653 if (!async && oldoff >> 16 != uio->uio_offset >> 16) {
655 error = VOP_PUTPAGES(vp, (oldoff >> 16) << 16,
665 error = VOP_PUTPAGES(vp, trunc_page(oldoff),
666 round_page(oldoff + bytelen), PGO_CLEANIT | PGO_SYNCIO);
/netbsd-6-1-5-RELEASE/sys/nfs/
H A Dnfs_bio.c454 voff_t oldoff, origoff; local
507 oldoff = uio->uio_offset;
560 if ((oldoff & ~(nmp->nm_wsize - 1)) !=
564 trunc_page(oldoff & ~(nmp->nm_wsize - 1)),
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/
H A Dchfs_vnops.c746 off_t osize, origoff, oldoff, preallocoff, endallocoff, nsize; local
871 oldoff = uio->uio_offset;
900 newoff = oldoff + bytelen;
948 if (!async && oldoff >> 16 != uio->uio_offset >> 16) {
950 error = VOP_PUTPAGES(vp, (oldoff >> 16) << 16,
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/
H A Dwrite.c2504 addressT oldoff, newoff; local
2506 oldoff = relax_align (was_address + fragP->fr_fix,
2513 if (oldoff > fragP->fr_subtype)
2514 oldoff = 0;
2519 growth = newoff - oldoff;
/netbsd-6-1-5-RELEASE/sbin/mount_portal/
H A Dpuffs_portal.c714 off_t oldoff, off_t newoff, const struct puffs_cred *pcr)
713 portal_node_seek(struct puffs_usermount *pu, puffs_cookie_t opc, off_t oldoff, off_t newoff, const struct puffs_cred *pcr) argument
/netbsd-6-1-5-RELEASE/lib/libp2k/
H A Dp2k.c998 off_t oldoff, off_t newoff, const struct puffs_cred *pcr)
1006 rv = RUMP_VOP_SEEK(vp, oldoff, newoff, cred);
997 p2k_node_seek(struct puffs_usermount *pu, puffs_cookie_t opc, off_t oldoff, off_t newoff, const struct puffs_cred *pcr) argument
/netbsd-6-1-5-RELEASE/sys/fs/puffs/
H A Dpuffs_vnops.c2278 off_t oldoff, newoff, origoff; local
2304 oldoff = uio->uio_offset;
2307 newoff = oldoff + bytelen;
2341 if (oldoff >> 16 != uio->uio_offset >> 16) {
2343 error = VOP_PUTPAGES(vp, oldoff & ~0xffff,
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dvnode_if.c680 off_t oldoff,
689 a.a_oldoff = oldoff;
679 VOP_SEEK(struct vnode *vp, off_t oldoff, off_t newoff, kauth_cred_t cred) argument
H A Dvfs_wapbl.c2656 wapbl_replay_process_inodes(struct wapbl_replay *wr, off_t oldoff, off_t newoff) argument
2670 wr->wr_inodestail = oldoff;
/netbsd-6-1-5-RELEASE/lib/libperfuse/
H A Dops.c2035 off_t oldoff, off_t newoff, const struct puffs_cred *pcr)
2034 perfuse_node_seek(struct puffs_usermount *pu, puffs_cookie_t opc, off_t oldoff, off_t newoff, const struct puffs_cred *pcr) argument

Completed in 331 milliseconds