| /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); 136 int bufsync(struct bufobj *bo, int waitfor);
|
| /freebsd/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 1540 ffs_sync(struct mount *mp, int waitfor) in ffs_sync() argument 1563 if (waitfor == MNT_LAZY) { in ffs_sync() 1566 waitfor = MNT_NOWAIT; in ffs_sync() 1573 if (waitfor == MNT_SUSPEND) { in ffs_sync() 1575 waitfor = MNT_WAIT; in ffs_sync() 1577 if (waitfor == MNT_WAIT) in ffs_sync() 1619 error = ffs_syncvnode(vp, waitfor, 0); in ffs_sync() 1631 if (waitfor == MNT_WAIT || rebooting) { in ffs_sync() 1647 error = VOP_FSYNC(devvp, waitfor, td); in ffs_sync() 1650 error = ffs_sbupdate(ump, waitfor, 0); in ffs_sync() [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 456 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) in softdep_sync_buf() argument 4850 jwait(struct worklist *wk, int waitfor) in jwait() argument 4858 if (waitfor == MNT_WAIT) { in jwait() 4886 softdep_process_journal(wk->wk_mp, wk, waitfor); in jwait() 4887 if (waitfor != MNT_WAIT) in jwait() 4891 if (waitfor != MNT_WAIT) in jwait() 12484 int waitfor) /* nonzero => update must be allowed */ in softdep_update_inodeblock() argument 12541 if (waitfor) { in softdep_update_inodeblock() 12588 if (waitfor == 0) { in softdep_update_inodeblock() [all …]
|
| H A D | ffs_extern.h | 109 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/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/fs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 1071 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) in msdosfs_fsiflush() argument 1091 if (waitfor == MNT_WAIT) in msdosfs_fsiflush() 1101 msdosfs_sync(struct mount *mp, int waitfor) in msdosfs_sync() argument 1135 waitfor == MNT_LAZY)) { in msdosfs_sync() 1147 error = VOP_FSYNC(vp, waitfor, td); in msdosfs_sync() 1156 if (waitfor != MNT_LAZY) { in msdosfs_sync() 1158 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td); in msdosfs_sync() 1164 error = msdosfs_fsiflush(pmp, waitfor); in msdosfs_sync() 1168 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 | 655 tmpfs_sync(struct mount *mp, int waitfor) in tmpfs_sync() argument 658 if (waitfor == MNT_SUSPEND) { in tmpfs_sync() 662 } else if (waitfor == MNT_LAZY) { in tmpfs_sync()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtilFuchsia.cpp | 295 .waitfor = ZX_USER_SIGNAL_1, in CrashHandler() 300 .waitfor = ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED, in CrashHandler()
|
| /freebsd/sys/kern/ |
| H A D | vfs_init.c | 246 vfs_sync_sigdefer(struct mount *mp, int waitfor) in vfs_sync_sigdefer() argument 251 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_sync)(mp, waitfor); in vfs_sync_sigdefer()
|
| H A D | vfs_default.c | 1387 vfs_stdsync(struct mount *mp, int waitfor) in vfs_stdsync() argument 1395 if (waitfor != MNT_WAIT) in vfs_stdsync() 1413 error = VOP_FSYNC(vp, waitfor, td); in vfs_stdsync() 1422 vfs_stdnosync(struct mount *mp, int waitfor) in vfs_stdnosync() argument
|
| /freebsd/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 394 nullfs_sync(struct mount *mp, int waitfor) in nullfs_sync() argument
|