| /openbsd-src/gnu/usr.bin/perl/dist/Time-HiRes/t/ |
| H A D | Watchdog.pm | 8 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 D | winsock_event.c | 106 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 D | winsock_event.h | 164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member
|
| /openbsd-src/sbin/unwind/libunbound/util/ |
| H A D | winsock_event.c | 106 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 D | winsock_event.h | 164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member
|
| /openbsd-src/sys/ufs/ext2fs/ |
| H A D | ext2fs_vfsops.c | 698 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 D | ext2fs_extern.h | 79 int ext2fs_update(struct inode *ip, int waitfor);
|
| H A D | ext2fs_inode.c | 155 ext2fs_update(struct inode *ip, int waitfor) in ext2fs_update() argument 191 if (waitfor) in ext2fs_update()
|
| /openbsd-src/sys/msdosfs/ |
| H A D | msdosfs_vfsops.c | 636 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 D | msdosfs_denode.c | 341 deupdat(struct denode *dep, int waitfor) in deupdat() argument 363 if (waitfor) in deupdat()
|
| /openbsd-src/sys/arch/macppc/dev/ |
| H A D | pm_direct.c | 506 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 D | ffs_vfsops.c | 1034 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 D | ffs_inode.c | 66 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 D | tlphy.c | 314 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 D | dcphy.c | 389 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 D | mii_physubr.c | 126 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 D | FuzzerUtilFuchsia.cpp | 248 .waitfor = ZX_SIGNAL_HANDLE_CLOSED, in CrashHandler() 253 .waitfor = ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED, in CrashHandler()
|
| /openbsd-src/sys/nfs/ |
| H A D | nfs_vfsops.c | 791 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 D | c_sh.c | 237 while (waitfor(NULL, &sig) >= 0) in c_wait() 242 rv = waitfor(*wp, &sig); in c_wait()
|
| H A D | sh.h | 508 int waitfor(const char *, int *);
|
| /openbsd-src/sys/kern/ |
| H A D | vfs_vops.c | 295 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 D | tmpfs_vfsops.c | 354 tmpfs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, in tmpfs_sync() argument
|
| /openbsd-src/sys/miscfs/fuse/ |
| H A D | fuse_vfsops.c | 259 fusefs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, in fusefs_sync() argument
|
| /openbsd-src/sys/ufs/ufs/ |
| H A D | inode.h | 135 int (* iv_update)(struct inode *, int waitfor);
|
| /openbsd-src/sys/sys/ |
| H A D | mount.h | 416 * waitfor flags to vfs_sync() and getfsstat() 523 int (*vfs_sync)(struct mount *mp, int waitfor, int stall,
|