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

12

/freebsd-10-stable/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-stable/contrib/ntp/lib/isc/tests/
H A Dsocket_test.c60 waitfor(completion_t *completion) { function
127 waitfor(&completion);
136 waitfor(&completion);
201 waitfor(&completion);
213 waitfor(&completion);
222 waitfor(&completion);
232 waitfor(&completion);
/freebsd-10-stable/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-stable/sys/sys/
H A Dbufobj.h75 typedef int b_sync_t(struct bufobj *, int waitfor);
131 int bufsync(struct bufobj *bo, int waitfor);
/freebsd-10-stable/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;
276 ret = WSAWaitForMultipleEvents(numwait, base->waitfor,
307 if(!base->waitfor[i])
324 if(!base->waitfor[i])
333 base->waitfor[i], /* reset the event handle */
597 zero_waitfor(ev->ev_base->waitfor, ev->hEvent);
H A Dwinsock_event.h164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member in struct:event_base
/freebsd-10-stable/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.c891 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) argument
912 if (waitfor == MNT_WAIT)
922 msdosfs_sync(struct mount *mp, int waitfor) argument
956 waitfor == MNT_LAZY)) {
966 error = VOP_FSYNC(vp, waitfor, td);
976 if (waitfor != MNT_LAZY) {
978 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td);
984 error = msdosfs_fsiflush(pmp, waitfor);
H A Ddenode.h277 int deupdat(struct denode *dep, int waitfor);
/freebsd-10-stable/sys/fs/ext2fs/
H A Dext2_vfsops.c826 ext2_sync(struct mount *mp, int waitfor) argument
855 waitfor == MNT_LAZY)) {
867 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0)
876 if (waitfor != MNT_LAZY) {
878 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0)
889 if ((error = ext2_cgupdate(ump, waitfor)) != 0)
1057 ext2_sbupdate(struct ext2mount *mp, int waitfor) argument
1066 if (waitfor == MNT_WAIT)
1079 ext2_cgupdate(struct ext2mount *mp, int waitfor) argument
1085 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-stable/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c433 tmpfs_sync(struct mount *mp, int waitfor) argument
438 if (waitfor == MNT_SUSPEND) {
442 } else if (waitfor == MNT_LAZY) {
/freebsd-10-stable/sys/ufs/ffs/
H A Dffs_vfsops.c1532 ffs_sync(mp, waitfor)
1534 int waitfor;
1557 if (waitfor == MNT_LAZY) {
1560 waitfor = MNT_NOWAIT;
1567 if (waitfor == MNT_SUSPEND) {
1569 waitfor = MNT_WAIT;
1571 if (waitfor == MNT_WAIT)
1609 if ((error = ffs_syncvnode(vp, waitfor, 0)) != 0)
1616 if (waitfor == MNT_WAIT || rebooting) {
1633 error = VOP_FSYNC(devvp, waitfor, t
[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.c467 softdep_update_inodeblock(ip, bp, waitfor)
470 int waitfor;
511 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
4585 jwait(wk, waitfor)
4587 int waitfor;
4595 if (waitfor == MNT_WAIT) {
4623 softdep_process_journal(wk->wk_mp, wk, waitfor);
4624 if (waitfor != MNT_WAIT)
4628 if (waitfor != MNT_WAIT)
12134 softdep_update_inodeblock(ip, bp, waitfor)
12623 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
12777 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 &&
311 if (waitfor != MNT_WAIT) {
/freebsd-10-stable/sys/fs/nullfs/
H A Dnull_vfsops.c331 nullfs_sync(mp, waitfor)
333 int waitfor;
/freebsd-10-stable/sys/kern/
H A Dvfs_default.c1182 vfs_stdsync(mp, waitfor)
1184 int waitfor;
1192 if (waitfor != MNT_WAIT)
1210 error = VOP_FSYNC(vp, waitfor, td);
1219 vfs_stdnosync (mp, waitfor)
1221 int waitfor;
/freebsd-10-stable/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-stable/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-stable/sys/fs/nandfs/
H A Dnandfs_vfsops.c1564 nandfs_sync(struct mount *mp, int waitfor) argument
1568 DPRINTF(SYNC, ("%s: mp %p waitfor %d\n", __func__, mp, waitfor));
1573 if (waitfor == MNT_LAZY)
1575 if (waitfor == MNT_SUSPEND)
/freebsd-10-stable/sys/fs/unionfs/
H A Dunion_vfsops.c439 unionfs_sync(struct mount *mp, int waitfor) argument

Completed in 478 milliseconds

12