Home
last modified time | relevance | path

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

12

/freebsd/bin/pkill/tests/
H A Dpgrep-f_test.sh8 waitfor() { function
31 if ! waitfor ${flagfile}; then
47 if ! waitfor ${flagfile}; then
/freebsd/sys/dev/ppbus/
H A Dpcfclock.c230 char waitfor; in pcfclock_read_data() local
236 waitfor = 100; in pcfclock_read_data()
238 /* wait for clock, maximum (waitfor*100) usec */ 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 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
/freebsd/sys/sys/
H A Dbufobj.h75 typedef int b_sync_t(struct bufobj *, int waitfor);
136 int bufsync(struct bufobj *bo, int waitfor);
/freebsd/sys/ufs/ffs/
H A Dffs_vfsops.c1543 ffs_sync(struct mount *mp, int waitfor) in ffs_sync() argument
1566 if (waitfor == MNT_LAZY) { in ffs_sync()
1569 waitfor = MNT_NOWAIT; in ffs_sync()
1576 if (waitfor == MNT_SUSPEND) { in ffs_sync()
1578 waitfor = MNT_WAIT; in ffs_sync()
1580 if (waitfor == MNT_WAIT) in ffs_sync()
1622 error = ffs_syncvnode(vp, waitfor, 0); in ffs_sync()
1634 if (waitfor == MNT_WAIT || rebooting) { in ffs_sync()
1650 error = VOP_FSYNC(devvp, waitfor, td); in ffs_sync()
1653 error = ffs_sbupdate(ump, waitfor, in ffs_sync()
2013 int waitfor; global() member
2022 ffs_sbupdate(struct ufsmount * ump,int waitfor,int suspended) ffs_sbupdate() argument
[all...]
H A Dffs_inode.c94 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 Dffs_softdep.c418 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 in softdep_update_inodeblock()
12867 sync_cgs(struct mount * mp,int waitfor) sync_cgs() argument
12962 softdep_sync_buf(struct vnode * vp,struct buf * bp,int waitfor) softdep_sync_buf() argument
13116 int error, waitfor; flush_inodedep_deps() local
13174 flush_deplist(struct allocdirectlst * listhead,int waitfor,int * errorp) flush_deplist() argument
14488 getdirtybuf(struct buf * bp,struct rwlock * lock,int waitfor) getdirtybuf() argument
[all...]
H A Dffs_extern.h109 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
H A Dffs_vnops.c262 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 Dmsdosfs_vfsops.c1074 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) in msdosfs_fsiflush() argument
1094 if (waitfor == MNT_WAIT) in msdosfs_fsiflush()
1104 msdosfs_sync(struct mount *mp, int waitfor) in msdosfs_sync() argument
1138 waitfor == MNT_LAZY)) { in msdosfs_sync()
1150 error = VOP_FSYNC(vp, waitfor, td); in msdosfs_sync()
1159 if (waitfor != MNT_LAZY) { in msdosfs_sync()
1161 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td); in msdosfs_sync()
1167 error = msdosfs_fsiflush(pmp, waitfor); in msdosfs_sync()
1171 if (allerror == 0 && waitfor == MNT_SUSPEND) { in msdosfs_sync()
H A Dmsdosfs_denode.c314 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 Ddenode.h292 int deupdat(struct denode *dep, int waitfor);
/freebsd/sys/fs/fuse/
H A Dfuse_io.h67 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
H A Dfuse_internal.h229 int fuse_internal_fsync(struct vnode *vp, struct thread *td, int waitfor,
H A Dfuse_io.c908 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 Dfuse_internal.c369 int waitfor, in fuse_internal_fsync() argument
408 if (waitfor == MNT_WAIT) { in fuse_internal_fsync()
/freebsd/sys/dev/malo/
H A Dif_malohal.c339 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/ext2fs/
H A Dext2_inode.c70 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/tmpfs/
H A Dtmpfs_vfsops.c655 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 DFuzzerUtilFuchsia.cpp295 .waitfor = ZX_USER_SIGNAL_1, in CrashHandler()
300 .waitfor = ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED, in CrashHandler()
/freebsd/sys/kern/
H A Dvfs_init.c234 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 Dvfs_default.c1366 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 Dnull_vfsops.c382 nullfs_sync(struct mount *mp, int waitfor) in nullfs_sync() argument
/freebsd/sys/fs/unionfs/
H A Dunion_vfsops.c525 unionfs_sync(struct mount *mp, int waitfor) in unionfs_sync() argument

12