Searched refs:waitfor (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-current/bin/pkill/tests/
H A Dpgrep-f_test.sh8 waitfor() { function
31 if ! waitfor ${flagfile}; then
47 if ! waitfor ${flagfile}; then
/freebsd-current/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) argument
911 return (vn_fsync_buf(vp, waitfor));
/freebsd-current/sys/dev/ppbus/
H A Dpcfclock.c230 char waitfor; local
236 waitfor = 100;
238 /* wait for clock, maximum (waitfor*100) usec */
239 while (!CLOCK_OK && --waitfor > 0)
243 if (!waitfor)
246 waitfor = 100; /* reload */
/freebsd-current/sys/sys/
H A Dbufobj.h75 typedef int b_sync_t(struct bufobj *, int waitfor);
135 int bufsync(struct bufobj *bo, int waitfor);
/freebsd-current/contrib/unbound/util/
H A Dwinsock_event.c106 zero_waitfor(WSAEVENT waitfor[], WSAEVENT x) argument
110 if(waitfor[i] == x)
111 waitfor[i] = 0;
260 base->waitfor[numwait++] = base->items[i]->hEvent;
277 ret = WSAWaitForMultipleEvents(numwait, base->waitfor,
308 if(!base->waitfor[i])
325 if(!base->waitfor[i])
334 base->waitfor[i], /* reset the event handle */
595 zero_waitfor(ev->ev_base->waitfor, ev->hEvent);
H A Dwinsock_event.h164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member in struct:event_base
/freebsd-current/sys/fs/ext2fs/
H A Dext2_vfsops.c1120 ext2_sync(struct mount *mp, int waitfor) argument
1148 waitfor == MNT_LAZY)) {
1160 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0)
1168 if (waitfor != MNT_LAZY) {
1170 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0)
1181 if ((error = ext2_cgupdate(ump, waitfor)) != 0)
1356 ext2_sbupdate(struct ext2mount *mp, int waitfor) argument
1383 if (waitfor == MNT_WAIT)
1396 ext2_cgupdate(struct ext2mount *mp, int waitfor) argument
1402 allerror = ext2_sbupdate(mp, waitfor);
[all...]
H A Dext2_inode.c66 * IN_LAZYMOD to reflect the presumably successful write, and if waitfor is
70 ext2_update(struct vnode *vp, int waitfor) argument
80 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
98 if (waitfor && !DOINGASYNC(vp))
/freebsd-current/sys/ufs/ffs/
H A Dffs_vfsops.c1674 ffs_sync(struct mount *mp, int waitfor) argument
1697 if (waitfor == MNT_LAZY) {
1700 waitfor = MNT_NOWAIT;
1707 if (waitfor == MNT_SUSPEND) {
1709 waitfor = MNT_WAIT;
1711 if (waitfor == MNT_WAIT)
1753 error = ffs_syncvnode(vp, waitfor, 0);
1765 if (waitfor == MNT_WAIT || rebooting) {
1781 error = VOP_FSYNC(devvp, waitfor, td);
1784 error = ffs_sbupdate(ump, waitfor,
2144 int waitfor; member in struct:devfd
2153 ffs_sbupdate(struct ufsmount *ump, int waitfor, int suspended) argument
[all...]
H A Dffs_inode.c90 * reflect the presumably successful write, and if waitfor is set, then wait
94 ffs_update(struct vnode *vp, int waitfor) argument
105 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
126 if (waitfor)
186 softdep_update_inodeblock(ip, bp, waitfor);
207 if (waitfor) {
H A Dffs_extern.h108 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
H A Dffs_vnops.c262 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) argument
285 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT &&
322 if (waitfor == MNT_WAIT && bp->b_lblkno <= -UFS_NDADDR &&
355 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT &&
401 if (waitfor != MNT_WAIT) {
H A Dffs_softdep.c418 int waitfor)
456 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
4837 jwait(struct worklist *wk, int waitfor) argument
4845 if (waitfor == MNT_WAIT) {
4873 softdep_process_journal(wk->wk_mp, wk, waitfor);
4874 if (waitfor != MNT_WAIT)
4878 if (waitfor != MNT_WAIT)
12473 int waitfor) /* nonzero => update must be allowed */
12530 if (waitfor) {
12577 if (waitfor
416 softdep_update_inodeblock(struct inode *ip, struct buf *bp, int waitfor) argument
12470 softdep_update_inodeblock( struct inode *ip, struct buf *bp, int waitfor) argument
12856 sync_cgs(struct mount *mp, int waitfor) argument
12949 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
13105 int error, waitfor; local
13161 flush_deplist( struct allocdirectlst *listhead, int waitfor, int *errorp) argument
14475 getdirtybuf(struct buf *bp, struct rwlock *lock, int waitfor) argument
[all...]
/freebsd-current/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c1072 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) argument
1092 if (waitfor == MNT_WAIT)
1102 msdosfs_sync(struct mount *mp, int waitfor) argument
1136 waitfor == MNT_LAZY)) {
1148 error = VOP_FSYNC(vp, waitfor, td);
1157 if (waitfor != MNT_LAZY) {
1159 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td);
1165 error = msdosfs_fsiflush(pmp, waitfor);
1169 if (allerror == 0 && waitfor == MNT_SUSPEND) {
H A Dmsdosfs_denode.c314 deupdat(struct denode *dep, int waitfor) argument
329 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0)
341 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) {
349 if (waitfor)
H A Ddenode.h292 int deupdat(struct denode *dep, int waitfor);
/freebsd-current/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c659 tmpfs_sync(struct mount *mp, int waitfor) argument
662 if (waitfor == MNT_SUSPEND) {
666 } else if (waitfor == MNT_LAZY) {
/freebsd-current/sys/kern/
H A Dvfs_init.c234 vfs_sync_sigdefer(struct mount *mp, int waitfor) argument
239 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_sync)(mp, waitfor);
H A Dvfs_default.c1366 vfs_stdsync(struct mount *mp, int waitfor) argument
1374 if (waitfor != MNT_WAIT)
1392 error = VOP_FSYNC(vp, waitfor, td);
1401 vfs_stdnosync(struct mount *mp, int waitfor) argument
/freebsd-current/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp295 .waitfor = ZX_SIGNAL_HANDLE_CLOSED,
300 .waitfor = ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED,
/freebsd-current/sys/dev/malo/
H A Dif_malohal.c339 const void *data, size_t dsize, int waitfor)
347 if (waitfor == MALO_NOWAIT)
400 uint16_t seqnum, int waitfor)
410 if (waitfor == MALO_NOWAIT)
338 malo_hal_send_helper(struct malo_hal *mh, int bsize, const void *data, size_t dsize, int waitfor) argument
399 malo_hal_send_main(struct malo_hal *mh, const void *data, size_t dsize, uint16_t seqnum, int waitfor) argument
/freebsd-current/sys/fs/unionfs/
H A Dunion_vfsops.c528 unionfs_sync(struct mount *mp, int waitfor) argument
/freebsd-current/sys/fs/nullfs/
H A Dnull_vfsops.c387 nullfs_sync(struct mount *mp, int waitfor) argument

Completed in 557 milliseconds

12