Home
last modified time | relevance | path

Searched refs:waitfor (Results 1 – 25 of 38) sorted by relevance

12

/openbsd-src/gnu/usr.bin/perl/dist/Time-HiRes/t/
H A DWatchdog.pm8 my $waitfor = 360; # 30-45 seconds is normal (load affects this).
18 note ("I am the watchdog process $$, sleeping for $waitfor seconds...");
19 sleep($waitfor - 2); # Workaround for perlbug #49073
22 warn "\n$0: overall time allowed for tests (${waitfor}s) exceeded!\n";
30 $TheEnd = time() + $waitfor;
42 …_pid before it terminates me in %d seconds (testing took %d seconds).\n", $left, $waitfor - $left);
/openbsd-src/usr.sbin/unbound/util/
H A Dwinsock_event.c106 zero_waitfor(WSAEVENT waitfor[], WSAEVENT x) in zero_waitfor() argument
110 if(waitfor[i] == x) in zero_waitfor()
111 waitfor[i] = 0; in zero_waitfor()
260 base->waitfor[numwait++] = base->items[i]->hEvent; in handle_select()
277 ret = WSAWaitForMultipleEvents(numwait, base->waitfor, in handle_select()
308 if(!base->waitfor[i]) in handle_select()
325 if(!base->waitfor[i]) in handle_select()
334 base->waitfor[i], /* reset the event handle */ in handle_select()
595 zero_waitfor(ev->ev_base->waitfor, ev->hEvent); in event_del()
H A Dwinsock_event.h164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member
/openbsd-src/sbin/unwind/libunbound/util/
H A Dwinsock_event.c106 zero_waitfor(WSAEVENT waitfor[], WSAEVENT x) in zero_waitfor() argument
110 if(waitfor[i] == x) in zero_waitfor()
111 waitfor[i] = 0; in zero_waitfor()
260 base->waitfor[numwait++] = base->items[i]->hEvent; in handle_select()
277 ret = WSAWaitForMultipleEvents(numwait, base->waitfor, in handle_select()
308 if(!base->waitfor[i]) in handle_select()
325 if(!base->waitfor[i]) in handle_select()
334 base->waitfor[i], /* reset the event handle */ in handle_select()
595 zero_waitfor(ev->ev_base->waitfor, ev->hEvent); in event_del()
H A Dwinsock_event.h164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member
/openbsd-src/sys/ufs/ext2fs/
H A Dext2fs_vfsops.c698 int waitfor; member
736 if ((error = VOP_FSYNC(vp, esa->cred, esa->waitfor, esa->p)) != 0) in ext2fs_sync_vnode()
752 ext2fs_sync(struct mount *mp, int waitfor, int stall, in ext2fs_sync() argument
772 esa.waitfor = waitfor; in ext2fs_sync()
783 if (waitfor != MNT_LAZY) { in ext2fs_sync()
785 if ((error = VOP_FSYNC(ump->um_devvp, cred, waitfor, p)) != 0) in ext2fs_sync()
814 if ((error = ext2fs_cgupdate(ump, waitfor))) in ext2fs_sync()
1030 ext2fs_sbupdate(struct ufsmount *mp, int waitfor) in ext2fs_sbupdate() argument
1038 if (waitfor in ext2fs_sbupdate()
1047 ext2fs_cgupdate(struct ufsmount * mp,int waitfor) ext2fs_cgupdate() argument
[all...]
H A Dext2fs_extern.h79 int ext2fs_update(struct inode *ip, int waitfor);
H A Dext2fs_inode.c155 ext2fs_update(struct inode *ip, int waitfor) in ext2fs_update() argument
191 if (waitfor) in ext2fs_update()
/openbsd-src/sys/msdosfs/
H A Dmsdosfs_vfsops.c636 int waitfor; member
652 msa->waitfor == MNT_LAZY) { in msdosfs_sync_vnode()
663 if ((error = VOP_FSYNC(vp, msa->cred, msa->waitfor, msa->p)) != 0) in msdosfs_sync_vnode()
673 msdosfs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, in msdosfs_sync() argument
683 msa.waitfor = waitfor; in msdosfs_sync()
704 if (waitfor != MNT_LAZY) { in msdosfs_sync()
706 if ((error = VOP_FSYNC(pmp->pm_devvp, cred, waitfor, p)) != 0) in msdosfs_sync()
H A Dmsdosfs_denode.c341 deupdat(struct denode *dep, int waitfor) in deupdat() argument
363 if (waitfor) in deupdat()
/openbsd-src/sys/arch/macppc/dev/
H A Dpm_direct.c506 int waitfor; /* interrupts to poll for */ in pm_adb_op() local
550 waitfor = PMU_INT_ADB_AUTO | PMU_INT_ADB; in pm_adb_op()
552 waitfor |= PMU_INT_SNDBRT; in pm_adb_op()
554 waitfor = PMU_INT_ALL; in pm_adb_op()
606 if (ifr & waitfor) { in pm_adb_op()
616 (u_int)ifr, (u_int)waitfor); in pm_adb_op()
/openbsd-src/sys/ufs/ffs/
H A Dffs_vfsops.c1034 int waitfor; member
1057 if (fsa->waitfor == MNT_WAIT && (ip->i_flag & IN_LAZYMOD)) { in ffs_sync_vnode()
1081 if ((error = VOP_FSYNC(vp, fsa->cred, fsa->waitfor, fsa->p))) in ffs_sync_vnode()
1099 ffs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, struct proc *p) in ffs_sync() argument
1123 fsa.waitfor = waitfor; in ffs_sync()
1130 if (waitfor != MNT_LAZY) { in ffs_sync()
1138 if (waitfor != MNT_LAZY) { in ffs_sync()
1140 if ((error = VOP_FSYNC(ump->um_devvp, cred, waitfor, p)) != 0) in ffs_sync()
1166 if (fs->fs_fmod != 0 && (error = ffs_sbupdate(ump, waitfor)) != 0) in ffs_sync()
1357 ffs_sbupdate(struct ufsmount *mp, int waitfor) in ffs_sbupdate() argument
[all …]
H A Dffs_inode.c66 ffs_update(struct inode *ip, int waitfor) in ffs_update() argument
76 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ffs_update()
110 if (waitfor && !DOINGASYNC(vp)) { in ffs_update()
/openbsd-src/sys/dev/mii/
H A Dtlphy.c314 tlphy_mii_phy_auto(struct tlphy_softc *sc, int waitfor) in tlphy_mii_phy_auto() argument
318 switch ((error = mii_phy_auto(&sc->sc_mii, waitfor))) { in tlphy_mii_phy_auto()
H A Ddcphy.c389 dcphy_mii_phy_auto(struct mii_softc *mii, int waitfor) in dcphy_mii_phy_auto() argument
409 if (waitfor) { in dcphy_mii_phy_auto()
H A Dmii_physubr.c126 mii_phy_auto(struct mii_softc *sc, int waitfor) in mii_phy_auto() argument
179 if (waitfor) { in mii_phy_auto()
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp248 .waitfor = ZX_SIGNAL_HANDLE_CLOSED, in CrashHandler()
253 .waitfor = ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED, in CrashHandler()
/openbsd-src/sys/nfs/
H A Dnfs_vfsops.c791 nfs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, struct proc *p) in nfs_sync() argument
800 if (waitfor == MNT_LAZY) in nfs_sync()
823 error = VOP_FSYNC(vp, cred, waitfor, p); in nfs_sync()
/openbsd-src/bin/ksh/
H A Dc_sh.c237 while (waitfor(NULL, &sig) >= 0) in c_wait()
242 rv = waitfor(*wp, &sig); in c_wait()
H A Dsh.h508 int waitfor(const char *, int *);
/openbsd-src/sys/kern/
H A Dvfs_vops.c295 VOP_FSYNC(struct vnode *vp, struct ucred *cred, int waitfor, in VOP_FSYNC() argument
302 a.a_waitfor = waitfor; in VOP_FSYNC()
/openbsd-src/sys/tmpfs/
H A Dtmpfs_vfsops.c354 tmpfs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, in tmpfs_sync() argument
/openbsd-src/sys/miscfs/fuse/
H A Dfuse_vfsops.c259 fusefs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, in fusefs_sync() argument
/openbsd-src/sys/ufs/ufs/
H A Dinode.h135 int (* iv_update)(struct inode *, int waitfor);
/openbsd-src/sys/sys/
H A Dmount.h416 * waitfor flags to vfs_sync() and getfsstat()
523 int (*vfs_sync)(struct mount *mp, int waitfor, int stall,

12