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

12

/freebsd-10.0-release/sys/fs/fuse/
H A Dfuse_io.h64 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
H A Dfuse_io.c741 fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td) argument
745 .a_waitfor = waitfor,
/freebsd-10.0-release/sys/dev/ppbus/
H A Dpcfclock.c232 char waitfor; local
238 waitfor = 100;
240 /* wait for clock, maximum (waitfor*100) usec */
241 while (!CLOCK_OK && --waitfor > 0)
245 if (!waitfor)
248 waitfor = 100; /* reload */
/freebsd-10.0-release/sys/sys/
H A Dbufobj.h75 typedef int b_sync_t(struct bufobj *, int waitfor);
130 int bufsync(struct bufobj *bo, int waitfor);
/freebsd-10.0-release/contrib/unbound/util/
H A Dwinsock_event.h149 WSAEVENT waitfor[WSK_MAX_ITEMS]; member in struct:event_base
H A Dwinsock_event.c102 zero_waitfor(WSAEVENT waitfor[], WSAEVENT x) argument
106 if(waitfor[i] == x)
107 waitfor[i] = 0;
256 base->waitfor[numwait++] = base->items[i]->hEvent;
272 ret = WSAWaitForMultipleEvents(numwait, base->waitfor,
303 if(!base->waitfor[i])
320 if(!base->waitfor[i])
329 base->waitfor[i], /* reset the event handle */
593 zero_waitfor(ev->ev_base->waitfor, ev->hEvent);
/freebsd-10.0-release/sys/fs/msdosfs/
H A Dmsdosfs_denode.c287 deupdat(dep, waitfor)
289 int waitfor;
304 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0)
316 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) {
324 if (waitfor)
H A Dmsdosfs_vfsops.c903 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) argument
924 if (waitfor == MNT_WAIT)
934 msdosfs_sync(struct mount *mp, int waitfor) argument
968 waitfor == MNT_LAZY)) {
978 error = VOP_FSYNC(vp, waitfor, td);
988 if (waitfor != MNT_LAZY) {
990 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td);
996 error = msdosfs_fsiflush(pmp, waitfor);
H A Ddenode.h277 int deupdat(struct denode *dep, int waitfor);
/freebsd-10.0-release/sys/fs/ext2fs/
H A Dext2_vfsops.c821 ext2_sync(struct mount *mp, int waitfor) argument
850 waitfor == MNT_LAZY)) {
862 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0)
871 if (waitfor != MNT_LAZY) {
873 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0)
884 if ((error = ext2_cgupdate(ump, waitfor)) != 0)
1054 ext2_sbupdate(struct ext2mount *mp, int waitfor) argument
1063 if (waitfor == MNT_WAIT)
1076 ext2_cgupdate(struct ext2mount *mp, int waitfor) argument
1082 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)
94 if (waitfor && !DOINGASYNC(vp))
/freebsd-10.0-release/sys/fs/nullfs/
H A Dnull_vfsops.c328 nullfs_sync(mp, waitfor)
330 int waitfor;
/freebsd-10.0-release/sys/kern/
H A Dvfs_default.c1162 vfs_stdsync(mp, waitfor)
1164 int waitfor;
1172 if (waitfor != MNT_WAIT)
1190 error = VOP_FSYNC(vp, waitfor, td);
1199 vfs_stdnosync (mp, waitfor)
1201 int waitfor;
/freebsd-10.0-release/sys/ufs/ffs/
H A Dffs_vfsops.c1515 ffs_sync(mp, waitfor)
1517 int waitfor;
1541 if (waitfor == MNT_LAZY)
1548 if (waitfor == MNT_SUSPEND) {
1550 waitfor = MNT_WAIT;
1552 if (waitfor == MNT_WAIT) {
1592 if ((error = ffs_syncvnode(vp, waitfor, 0)) != 0)
1599 if (waitfor == MNT_WAIT) {
1616 if ((error = VOP_FSYNC(devvp, waitfor, td)) != 0)
1619 if (allerror == 0 && waitfor
[all...]
H A Dffs_inode.c74 * reflect the presumably successful write, and if waitfor is set, then wait
78 ffs_update(vp, waitfor)
80 int waitfor;
90 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
143 softdep_update_inodeblock(ip, bp, waitfor);
152 if (waitfor && !DOINGASYNC(vp))
H A Dffs_extern.h97 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
H A Dffs_softdep.c466 softdep_update_inodeblock(ip, bp, waitfor)
469 int waitfor;
510 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
4416 jwait(wk, waitfor)
4418 int waitfor;
4425 if (waitfor == MNT_WAIT) {
4453 softdep_process_journal(wk->wk_mp, wk, waitfor);
4454 if (waitfor != MNT_WAIT)
4458 if (waitfor != MNT_WAIT)
11787 softdep_update_inodeblock(ip, bp, waitfor)
12267 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
12416 int error, waitfor; local
[all...]
H A Dffs_vnops.c214 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) argument
231 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT &&
257 if (waitfor == MNT_WAIT && bp->b_lblkno <= -NDADDR &&
303 if (waitfor != MNT_WAIT) {
H A Dffs_snapshot.c130 ffs_sync_snap(mp, waitfor)
132 int waitfor;
2452 ffs_sync_snap(mp, waitfor)
2454 int waitfor;
2478 ffs_syncvnode(vp, waitfor, NO_INO_UPDT);
/freebsd-10.0-release/sys/dev/malo/
H A Dif_malohal.c352 const void *data, size_t dsize, int waitfor)
360 if (waitfor == MALO_NOWAIT)
413 uint16_t seqnum, int waitfor)
423 if (waitfor == MALO_NOWAIT)
351 malo_hal_send_helper(struct malo_hal *mh, int bsize, const void *data, size_t dsize, int waitfor) argument
412 malo_hal_send_main(struct malo_hal *mh, const void *data, size_t dsize, uint16_t seqnum, int waitfor) argument
/freebsd-10.0-release/release/picobsd/tinyware/msh/
H A Dsh.h207 _PROTOTYPE(int waitfor , (int lastpid , int canintr ));
H A Dsh3.c282 return(pout==NULL? setstatus(waitfor(i,0)): 0);
503 waitfor(lastpid, canintr) function
808 setstatus(waitfor(i, 1));
/freebsd-10.0-release/sys/fs/nandfs/
H A Dnandfs_vfsops.c1561 nandfs_sync(struct mount *mp, int waitfor) argument
1565 DPRINTF(SYNC, ("%s: mp %p waitfor %d\n", __func__, mp, waitfor));
1570 if (waitfor == MNT_LAZY)
1572 if (waitfor == MNT_SUSPEND)
H A Dnandfs_subr.c67 int nandfs_bufsync(struct bufobj *bo, int waitfor);
78 nandfs_bufsync(struct bufobj *bo, int waitfor) argument
/freebsd-10.0-release/sys/fs/unionfs/
H A Dunion_vfsops.c439 unionfs_sync(struct mount *mp, int waitfor) argument

Completed in 426 milliseconds

12