/freebsd/bin/pkill/tests/ |
H A D | pgrep-f_test.sh | 8 waitfor() { function 31 if ! waitfor ${flagfile}; then 47 if ! waitfor ${flagfile}; then
|
/freebsd/sys/dev/ppbus/ |
H A D | pcfclock.c | 230 char waitfor; in pcfclock_read_data() local 236 waitfor = 100; in pcfclock_read_data() 239 while (!CLOCK_OK && --waitfor > 0) in pcfclock_read_data() 243 if (!waitfor) in pcfclock_read_data() 246 waitfor = 100; /* reload */ in pcfclock_read_data()
|
/freebsd/contrib/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
|
/freebsd/sys/sys/ |
H A D | bufobj.h | 75 typedef int b_sync_t(struct bufobj *, int waitfor); 135 int bufsync(struct bufobj *bo, int waitfor);
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_vfsops.c | 1120 ext2_sync(struct mount *mp, int waitfor) in ext2_sync() argument 1148 waitfor == MNT_LAZY)) { in ext2_sync() 1160 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0) in ext2_sync() 1168 if (waitfor != MNT_LAZY) { in ext2_sync() 1170 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0) in ext2_sync() 1181 if ((error = ext2_cgupdate(ump, waitfor)) != 0) in ext2_sync() 1356 ext2_sbupdate(struct ext2mount *mp, int waitfor) in ext2_sbupdate() argument 1383 if (waitfor == MNT_WAIT) in ext2_sbupdate() 1396 ext2_cgupdate(struct ext2mount *mp, int waitfor) in ext2_cgupdate() argument 1402 allerror = ext2_sbupdate(mp, waitfor); in ext2_cgupdate() [all …]
|
H A D | ext2_inode.c | 70 ext2_update(struct vnode *vp, int waitfor) in ext2_update() argument 80 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ext2_update() 98 if (waitfor && !DOINGASYNC(vp)) in ext2_update()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 1674 ffs_sync(struct mount *mp, int waitfor) in ffs_sync() argument 1697 if (waitfor == MNT_LAZY) { in ffs_sync() 1700 waitfor = MNT_NOWAIT; in ffs_sync() 1707 if (waitfor == MNT_SUSPEND) { in ffs_sync() 1709 waitfor = MNT_WAIT; in ffs_sync() 1711 if (waitfor == MNT_WAIT) in ffs_sync() 1765 if (waitfor == MNT_WAIT || rebooting) { in ffs_sync() 2144 int waitfor; member 2174 devfd.waitfor = waitfor; in ffs_sbupdate() 2203 if (devfdp->waitfor != MNT_WAIT) in ffs_use_bwrite() [all …]
|
H A D | ffs_inode.c | 94 ffs_update(struct vnode *vp, int waitfor) in ffs_update() argument 105 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ffs_update() 126 if (waitfor) in ffs_update() 186 softdep_update_inodeblock(ip, bp, waitfor); in ffs_update() 207 if (waitfor) { in ffs_update()
|
H A D | ffs_softdep.c | 418 int waitfor) in softdep_update_inodeblock() argument 4874 if (waitfor != MNT_WAIT) in jwait() 4878 if (waitfor != MNT_WAIT) in jwait() 12530 if (waitfor) { in softdep_update_inodeblock() 12577 if (waitfor == 0) { in softdep_update_inodeblock() 12951 int waitfor) in softdep_sync_buf() argument 13023 waitfor); in softdep_sync_buf() 13105 int error, waitfor; in flush_inodedep_deps() local 13147 waitfor = MNT_WAIT; in flush_inodedep_deps() 13163 int waitfor, in flush_deplist() argument [all …]
|
H A D | ffs_extern.h | 108 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
|
H A D | ffs_vnops.c | 262 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) in ffs_syncvnode() argument 285 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT && in ffs_syncvnode() 322 if (waitfor == MNT_WAIT && bp->b_lblkno <= -UFS_NDADDR && in ffs_syncvnode() 355 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT && in ffs_syncvnode() 401 if (waitfor != MNT_WAIT) { in ffs_syncvnode()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 1072 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) in msdosfs_fsiflush() argument 1092 if (waitfor == MNT_WAIT) in msdosfs_fsiflush() 1102 msdosfs_sync(struct mount *mp, int waitfor) in msdosfs_sync() argument 1136 waitfor == MNT_LAZY)) { in msdosfs_sync() 1148 error = VOP_FSYNC(vp, waitfor, td); in msdosfs_sync() 1157 if (waitfor != MNT_LAZY) { in msdosfs_sync() 1159 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td); in msdosfs_sync() 1165 error = msdosfs_fsiflush(pmp, waitfor); in msdosfs_sync() 1169 if (allerror == 0 && waitfor == MNT_SUSPEND) { in msdosfs_sync()
|
H A D | msdosfs_denode.c | 314 deupdat(struct denode *dep, int waitfor) in deupdat() argument 329 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0) in deupdat() 341 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) { in deupdat() 349 if (waitfor) in deupdat()
|
H A D | denode.h | 292 int deupdat(struct denode *dep, int waitfor);
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_io.h | 67 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
|
H A D | fuse_internal.h | 229 int fuse_internal_fsync(struct vnode *vp, struct thread *td, int waitfor,
|
H A D | fuse_io.c | 908 fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td) in fuse_io_flushbuf() argument 911 return (vn_fsync_buf(vp, waitfor)); in fuse_io_flushbuf()
|
H A D | fuse_internal.c | 369 int waitfor, in fuse_internal_fsync() argument 408 if (waitfor == MNT_WAIT) { in fuse_internal_fsync()
|
/freebsd/sys/dev/malo/ |
H A D | if_malohal.c | 339 const void *data, size_t dsize, int waitfor) in malo_hal_send_helper() argument 347 if (waitfor == MALO_NOWAIT) in malo_hal_send_helper() 400 uint16_t seqnum, int waitfor) in malo_hal_send_main() argument 410 if (waitfor == MALO_NOWAIT) in malo_hal_send_main()
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 659 tmpfs_sync(struct mount *mp, int waitfor) in tmpfs_sync() argument 662 if (waitfor == MNT_SUSPEND) { in tmpfs_sync() 666 } else if (waitfor == MNT_LAZY) { in tmpfs_sync()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilFuchsia.cpp | 295 .waitfor = ZX_SIGNAL_HANDLE_CLOSED, in CrashHandler() 300 .waitfor = ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED, in CrashHandler()
|
/freebsd/sys/kern/ |
H A D | vfs_init.c | 234 vfs_sync_sigdefer(struct mount *mp, int waitfor) in vfs_sync_sigdefer() argument 239 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_sync)(mp, waitfor); in vfs_sync_sigdefer()
|
H A D | vfs_default.c | 1366 vfs_stdsync(struct mount *mp, int waitfor) in vfs_stdsync() argument 1374 if (waitfor != MNT_WAIT) in vfs_stdsync() 1392 error = VOP_FSYNC(vp, waitfor, td); in vfs_stdsync() 1401 vfs_stdnosync(struct mount *mp, int waitfor) in vfs_stdnosync() argument
|
/freebsd/sys/fs/nullfs/ |
H A D | null_vfsops.c | 387 nullfs_sync(struct mount *mp, int waitfor) in nullfs_sync() argument
|