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

12

/freebsd-9.3-release/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-9.3-release/sys/sys/
H A Dbufobj.h74 typedef int b_sync_t(struct bufobj *, int waitfor);
127 int bufsync(struct bufobj *bo, int waitfor);
/freebsd-9.3-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-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_mountops.c340 _xfs_sync(mp, waitfor)
342 int waitfor;
347 if (waitfor == MNT_WAIT)
349 else if (waitfor == MNT_LAZY)
482 xfs_geom_bufsync(struct bufobj *bo, int waitfor) argument
485 return (bufsync(bo, waitfor));
/freebsd-9.3-release/sys/fs/msdosfs/
H A Dmsdosfs_denode.c293 deupdat(dep, waitfor)
295 int waitfor;
310 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0)
322 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) {
330 if (waitfor)
H A Dmsdosfs_vfsops.c904 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) argument
925 if (waitfor == MNT_WAIT)
935 msdosfs_sync(struct mount *mp, int waitfor) argument
969 waitfor == MNT_LAZY)) {
979 error = VOP_FSYNC(vp, waitfor, td);
989 if (waitfor != MNT_LAZY) {
991 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td);
997 error = msdosfs_fsiflush(pmp, waitfor);
H A Ddenode.h277 int deupdat(struct denode *dep, int waitfor);
/freebsd-9.3-release/sys/fs/ext2fs/
H A Dext2_vfsops.c823 ext2_sync(struct mount *mp, int waitfor) argument
852 waitfor == MNT_LAZY)) {
864 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0)
873 if (waitfor != MNT_LAZY) {
875 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0)
886 if ((error = ext2_cgupdate(ump, waitfor)) != 0)
1064 ext2_sbupdate(struct ext2mount *mp, int waitfor) argument
1073 if (waitfor == MNT_WAIT)
1086 ext2_cgupdate(struct ext2mount *mp, int waitfor) argument
1092 allerror = ext2_sbupdate(mp, waitfor);
[all...]
H A Dext2_inode.c65 * IN_LAZYMOD to reflect the presumably successful write, and if waitfor is
69 ext2_update(struct vnode *vp, int waitfor) argument
79 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
93 if (waitfor && !DOINGASYNC(vp))
/freebsd-9.3-release/sys/fs/nullfs/
H A Dnull_vfsops.c327 nullfs_sync(mp, waitfor)
329 int waitfor;
/freebsd-9.3-release/sys/kern/
H A Dvfs_default.c1165 vfs_stdsync(mp, waitfor)
1167 int waitfor;
1175 if (waitfor != MNT_WAIT)
1193 error = VOP_FSYNC(vp, waitfor, td);
1202 vfs_stdnosync (mp, waitfor)
1204 int waitfor;
/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_vfsops.c1518 ffs_sync(mp, waitfor)
1520 int waitfor;
1544 if (waitfor == MNT_LAZY)
1551 if (waitfor == MNT_SUSPEND) {
1553 waitfor = MNT_WAIT;
1555 if (waitfor == MNT_WAIT) {
1595 if ((error = ffs_syncvnode(vp, waitfor, 0)) != 0)
1602 if (waitfor == MNT_WAIT) {
1619 if ((error = VOP_FSYNC(devvp, waitfor, td)) != 0)
1622 if (allerror == 0 && waitfor
[all...]
H A Dffs_inode.c73 * reflect the presumably successful write, and if waitfor is set, then wait
77 ffs_update(vp, waitfor)
79 int waitfor;
89 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
142 softdep_update_inodeblock(ip, bp, waitfor);
151 if (waitfor && !DOINGASYNC(vp))
H A Dffs_extern.h97 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
H A Dffs_softdep.c465 softdep_update_inodeblock(ip, bp, waitfor)
468 int waitfor;
509 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
4423 jwait(wk, waitfor)
4425 int waitfor;
4432 if (waitfor == MNT_WAIT) {
4460 softdep_process_journal(wk->wk_mp, wk, waitfor);
4461 if (waitfor != MNT_WAIT)
4465 if (waitfor != MNT_WAIT)
11789 softdep_update_inodeblock(ip, bp, waitfor)
12269 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
12418 int error, waitfor; local
[all...]
H A Dffs_vnops.c213 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) argument
230 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT &&
256 if (waitfor == MNT_WAIT && bp->b_lblkno <= -NDADDR &&
302 if (waitfor != MNT_WAIT) {
H A Dffs_snapshot.c129 ffs_sync_snap(mp, waitfor)
131 int waitfor;
2450 ffs_sync_snap(mp, waitfor)
2452 int waitfor;
2476 ffs_syncvnode(vp, waitfor, NO_INO_UPDT);
/freebsd-9.3-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-9.3-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-9.3-release/sys/fs/coda/
H A Dcoda_vfsops.c382 coda_sync(struct mount *vfsp, int waitfor) argument
/freebsd-9.3-release/sys/fs/unionfs/
H A Dunion_vfsops.c444 unionfs_sync(struct mount *mp, int waitfor) argument
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clvfsops.c1503 nfs_sync(struct mount *mp, int waitfor) argument
1530 waitfor == MNT_LAZY) {
1538 error = VOP_FSYNC(vp, waitfor, td);
/freebsd-9.3-release/sys/nfsclient/
H A Dnfs_vfsops.c1445 nfs_sync(struct mount *mp, int waitfor) argument
1472 waitfor == MNT_LAZY) {
1480 error = VOP_FSYNC(vp, waitfor, td);
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vfsops.c97 static int zfs_sync(vfs_t *vfsp, int waitfor);
126 zfs_sync(vfs_t *vfsp, int waitfor) argument
144 error = vfs_stdsync(vfsp, waitfor);

Completed in 198 milliseconds

12