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

12

/freebsd-11-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.c743 fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td) argument
747 .a_waitfor = waitfor,
/freebsd-11-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-11-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-11-stable/sys/sys/
H A Dbufobj.h75 typedef int b_sync_t(struct bufobj *, int waitfor);
137 int bufsync(struct bufobj *bo, int waitfor);
/freebsd-11-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;
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-11-stable/sys/fs/ext2fs/
H A Dext2_vfsops.c862 ext2_sync(struct mount *mp, int waitfor) argument
891 waitfor == MNT_LAZY)) {
903 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0)
912 if (waitfor != MNT_LAZY) {
914 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0)
925 if ((error = ext2_cgupdate(ump, waitfor)) != 0)
1084 ext2_sbupdate(struct ext2mount *mp, int waitfor) argument
1093 if (waitfor == MNT_WAIT)
1106 ext2_cgupdate(struct ext2mount *mp, int waitfor) argument
1112 allerror = ext2_sbupdate(mp, waitfor);
[all...]
H A Dext2_inode.c67 * IN_LAZYMOD to reflect the presumably successful write, and if waitfor is
71 ext2_update(struct vnode *vp, int waitfor) argument
81 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
99 if (waitfor && !DOINGASYNC(vp))
/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_denode.c286 deupdat(struct denode *dep, int waitfor) argument
301 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0)
313 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) {
321 if (waitfor)
H A Dmsdosfs_vfsops.c886 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) argument
907 if (waitfor == MNT_WAIT)
917 msdosfs_sync(struct mount *mp, int waitfor) argument
951 waitfor == MNT_LAZY)) {
961 error = VOP_FSYNC(vp, waitfor, td);
971 if (waitfor != MNT_LAZY) {
973 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td);
979 error = msdosfs_fsiflush(pmp, waitfor);
H A Ddenode.h277 int deupdat(struct denode *dep, int waitfor);
/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_vfsops.c1536 ffs_sync(mp, waitfor)
1538 int waitfor;
1561 if (waitfor == MNT_LAZY) {
1564 waitfor = MNT_NOWAIT;
1571 if (waitfor == MNT_SUSPEND) {
1573 waitfor = MNT_WAIT;
1575 if (waitfor == MNT_WAIT)
1616 if ((error = ffs_syncvnode(vp, waitfor, 0)) != 0)
1623 if (waitfor == MNT_WAIT || rebooting) {
1637 error = VOP_FSYNC(devvp, waitfor, t
[all...]
H A Dffs_inode.c76 * reflect the presumably successful write, and if waitfor is set, then wait
80 ffs_update(vp, waitfor)
82 int waitfor;
92 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
113 if (waitfor)
163 softdep_update_inodeblock(ip, bp, waitfor);
177 if (waitfor && !DOINGASYNC(vp))
H A Dffs_extern.h96 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
H A Dffs_softdep.c468 softdep_update_inodeblock(ip, bp, waitfor)
471 int waitfor;
512 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
4587 jwait(wk, waitfor)
4589 int waitfor;
4597 if (waitfor == MNT_WAIT) {
4625 softdep_process_journal(wk->wk_mp, wk, waitfor);
4626 if (waitfor != MNT_WAIT)
4630 if (waitfor != MNT_WAIT)
12190 softdep_update_inodeblock(ip, bp, waitfor)
12668 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
12822 int error, waitfor; local
[all...]
H A Dffs_vnops.c221 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) argument
238 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT &&
271 if (waitfor == MNT_WAIT && bp->b_lblkno <= -NDADDR &&
326 if (waitfor != MNT_WAIT) {
/freebsd-11-stable/sys/kern/
H A Dvfs_default.c1229 vfs_stdsync(mp, waitfor)
1231 int waitfor;
1239 if (waitfor != MNT_WAIT)
1257 error = VOP_FSYNC(vp, waitfor, td);
1266 vfs_stdnosync (mp, waitfor)
1268 int waitfor;
/freebsd-11-stable/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c681 tmpfs_sync(struct mount *mp, int waitfor) argument
684 if (waitfor == MNT_SUSPEND) {
688 } else if (waitfor == MNT_LAZY) {
/freebsd-11-stable/sys/fs/nullfs/
H A Dnull_vfsops.c346 nullfs_sync(mp, waitfor)
348 int waitfor;
/freebsd-11-stable/sys/dev/malo/
H A Dif_malohal.c344 const void *data, size_t dsize, int waitfor)
352 if (waitfor == MALO_NOWAIT)
405 uint16_t seqnum, int waitfor)
415 if (waitfor == MALO_NOWAIT)
343 malo_hal_send_helper(struct malo_hal *mh, int bsize, const void *data, size_t dsize, int waitfor) argument
404 malo_hal_send_main(struct malo_hal *mh, const void *data, size_t dsize, uint16_t seqnum, int waitfor) argument
/freebsd-11-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-11-stable/sys/fs/nandfs/
H A Dnandfs_vfsops.c1570 nandfs_sync(struct mount *mp, int waitfor) argument
1574 DPRINTF(SYNC, ("%s: mp %p waitfor %d\n", __func__, mp, waitfor));
1579 if (waitfor == MNT_LAZY)
1581 if (waitfor == MNT_SUSPEND)
/freebsd-11-stable/sys/fs/unionfs/
H A Dunion_vfsops.c446 unionfs_sync(struct mount *mp, int waitfor) argument

Completed in 336 milliseconds

12