| /dflybsd-src/sys/dev/misc/pcfclock/ |
| H A D | pcfclock.c | 228 char waitfor; in pcfclock_read_data() local 234 waitfor = 100; in pcfclock_read_data() 237 while(!CLOCK_OK && --waitfor > 0) in pcfclock_read_data() 241 if (!waitfor) in pcfclock_read_data() 244 waitfor = 100; /* reload */ in pcfclock_read_data()
|
| /dflybsd-src/sys/vfs/ufs/ |
| H A D | ffs_vfsops.c | 442 int waitfor; member 955 ffs_sync(struct mount *mp, int waitfor) in ffs_sync() argument 973 scaninfo.waitfor = waitfor; in ffs_sync() 983 if ((waitfor & MNT_LAZY) == 0) { in ffs_sync() 985 waitfor = MNT_NOWAIT; in ffs_sync() 987 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, 0)) != 0) in ffs_sync() 997 if (fs->fs_fmod != 0 && (error = ffs_sbupdate(ump, waitfor)) != 0) in ffs_sync() 1043 if ((error = VOP_FSYNC(vp, info->waitfor, 0)) != 0) in ffs_sync_scan2() 1254 ffs_sbupdate(struct ufsmount *mp, int waitfor) in ffs_sbupdate() argument 1278 if (waitfor != MNT_WAIT) in ffs_sbupdate() [all …]
|
| H A D | ffs_softdep.c | 3878 int waitfor) in softdep_update_inodeblock() argument 3935 if (waitfor == 0) { in softdep_update_inodeblock() 4165 int waitfor; member 4174 int error, waitfor; in softdep_sync_metadata() local 4212 waitfor = MNT_NOWAIT; in softdep_sync_metadata() 4221 info.waitfor = waitfor; in softdep_sync_metadata() 4235 if (waitfor & MNT_NOWAIT) { in softdep_sync_metadata() 4236 waitfor = MNT_WAIT; in softdep_sync_metadata() 4306 if (getdirtybuf(&nbp, info->waitfor) == 0) in softdep_sync_metadata_bp() 4309 if (info->waitfor & MNT_NOWAIT) { in softdep_sync_metadata_bp() [all …]
|
| H A D | ffs_inode.c | 73 ffs_update(struct vnode *vp, int waitfor) in ffs_update() argument 82 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ffs_update() 112 softdep_update_inodeblock(ip, bp, waitfor); in ffs_update() 117 if (waitfor && !DOINGASYNC(vp)) { in ffs_update()
|
| H A D | ffs_softdep_stub.c | 165 softdep_update_inodeblock(struct inode *ip, struct buf *bp, int waitfor) in softdep_update_inodeblock() argument
|
| /dflybsd-src/sys/vfs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 743 int waitfor; member 752 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) in msdosfs_fsiflush() argument 774 if (waitfor == MNT_WAIT) in msdosfs_fsiflush() 784 msdosfs_sync(struct mount *mp, int waitfor) in msdosfs_sync() argument 815 if ((waitfor & MNT_LAZY) == 0) { in msdosfs_sync() 817 if ((error = VOP_FSYNC(pmp->pm_devvp, waitfor, 0)) != 0) in msdosfs_sync() 822 error = msdosfs_fsiflush(pmp, waitfor); in msdosfs_sync() 839 (RB_EMPTY(&vp->v_rbdirty_tree) || (info->waitfor & MNT_LAZY)))) { in msdosfs_sync_scan() 842 if ((error = VOP_FSYNC(vp, info->waitfor, 0)) != 0) in msdosfs_sync_scan()
|
| H A D | msdosfs_denode.c | 431 deupdat(struct denode *dep, int waitfor) in deupdat() argument 446 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0) in deupdat() 458 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) { in deupdat() 466 if (waitfor) in deupdat()
|
| H A D | denode.h | 294 int deupdat(struct denode *dep, int waitfor);
|
| /dflybsd-src/sys/vfs/fuse/ |
| H A D | fuse_vfsops.c | 320 int waitfor; member 326 fuse_sync(struct mount *mp, int waitfor) in fuse_sync() argument 332 scaninfo.waitfor = waitfor; in fuse_sync() 361 if ((error = VOP_FSYNC(vp, info->waitfor, 0)) != 0) in fuse_sync_scan2()
|
| /dflybsd-src/sys/vfs/ext2fs/ |
| H A D | ext2_vfsops.c | 724 int waitfor; member 1198 (RB_EMPTY(&vp->v_rbdirty_tree) || (info->waitfor & MNT_LAZY)))) { in ext2_sync_scan() 1201 if ((error = VOP_FSYNC(vp, info->waitfor, 0)) != 0) in ext2_sync_scan() 1214 ext2_sync(struct mount *mp, int waitfor) in ext2_sync() argument 1231 scaninfo.waitfor = waitfor; in ext2_sync() 1241 if ((waitfor & MNT_LAZY) == 0) { in ext2_sync() 1243 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, 0)) != 0) in ext2_sync() 1254 if ((error = ext2_cgupdate(ump, waitfor)) != 0) in ext2_sync() 1523 ext2_sbupdate(struct ext2mount *mp, int waitfor) in ext2_sbupdate() argument 1546 if (waitfor == MNT_WAIT) in ext2_sbupdate() [all …]
|
| H A D | ext2_inode.c | 69 ext2_update(struct vnode *vp, int waitfor) in ext2_update() argument 79 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ext2_update() 97 if (waitfor && !DOINGASYNC(vp)) in ext2_update()
|
| /dflybsd-src/sys/sys/ |
| H A D | vfsops.h | 803 int vop_fsync(struct vop_ops *ops, struct vnode *vp, int waitfor, int flags, 805 int vop_fdatasync(struct vop_ops *ops, struct vnode *vp, int waitfor, int flags, 1072 #define VOP_FSYNC_FP(vp, waitfor, flags, fp) \ argument 1073 vop_fsync(*(vp)->v_ops, vp, waitfor, flags, fp) /* FUSE*/ 1074 #define VOP_FSYNC(vp, waitfor, flags) \ argument 1075 VOP_FSYNC_FP(vp, waitfor, flags, NULL) 1076 #define VOP_FDATASYNC_FP(vp, waitfor, flags, fp) \ argument 1077 vop_fdatasync(*(vp)->v_ops, vp, waitfor, flags, fp) /* FUSE*/ 1078 #define VOP_FDATASYNC(vp, waitfor, flags) \ argument 1079 VOP_FDATASYNC_FP(*(vp)->v_ops, vp, waitfor, flags, NULL)
|
| H A D | mount.h | 560 typedef int vfs_sync_t(struct mount *mp, int waitfor); 589 int vfs_sync(struct mount *mp, int waitfor);
|
| /dflybsd-src/sys/vfs/smbfs/ |
| H A D | smbfs_vfsops.c | 355 smbfs_sync(struct mount *mp, int waitfor) in smbfs_sync() argument 373 (waitfor & MNT_LAZY)) in smbfs_sync() 377 error = VOP_FSYNC(vp, waitfor, 0); in smbfs_sync()
|
| /dflybsd-src/sys/kern/ |
| H A D | vfs_vfsops.c | 205 vfs_sync(struct mount *mp, int waitfor) in vfs_sync() argument 211 error = (mp->mnt_op->vfs_sync)(mp, waitfor); in vfs_sync()
|
| H A D | vfs_vopops.c | 603 vop_fsync(struct vop_ops *ops, struct vnode *vp, int waitfor, int flags, in vop_fsync() argument 613 ap.a_waitfor = waitfor; in vop_fsync() 628 vop_fdatasync(struct vop_ops *ops, struct vnode *vp, int waitfor, int flags, in vop_fdatasync() argument 638 ap.a_waitfor = waitfor; in vop_fdatasync()
|
| /dflybsd-src/sys/dev/netif/mii_layer/ |
| H A D | xmphy.c | 325 xmphy_mii_phy_auto(struct mii_softc *sc, int waitfor) in xmphy_mii_phy_auto() argument 336 if (waitfor) { in xmphy_mii_phy_auto()
|
| H A D | tlphy.c | 386 tlphy_auto(struct tlphy_softc *sc, int waitfor) in tlphy_auto() argument 390 switch ((error = mii_phy_auto(&sc->sc_mii, waitfor))) { in tlphy_auto()
|
| H A D | mii_physubr.c | 123 mii_phy_auto(struct mii_softc *sc, int waitfor) in mii_phy_auto() argument 168 if (waitfor) { in mii_phy_auto()
|
| /dflybsd-src/sys/vfs/nfs/ |
| H A D | nfs_vfsops.c | 122 static int nfs_sync ( struct mount *mp, int waitfor); 1324 int waitfor; member 1335 nfs_sync(struct mount *mp, int waitfor) in nfs_sync() argument 1342 scaninfo.waitfor = waitfor; in nfs_sync() 1350 if ((waitfor & MNT_LAZY) == 0) { in nfs_sync() 1369 error = VOP_FSYNC(vp, info->waitfor, 0); in nfs_sync_scan2()
|
| H A D | nfs_vnops.c | 3310 int waitfor; member 3324 nfs_flush(struct vnode *vp, int waitfor, struct thread *td, int commit) in nfs_flush() argument 3334 info.waitfor = waitfor; in nfs_flush() 3364 while (waitfor == MNT_WAIT && in nfs_flush() 3396 } while (waitfor == MNT_WAIT && commit && in nfs_flush() 3430 if (error && info->loops && info->waitfor == MNT_WAIT) { in nfs_flush_bp()
|
| /dflybsd-src/sys/vfs/hammer/ |
| H A D | hammer_ondisk.c | 1699 hammer_queue_inodes_flusher(hammer_mount_t hmp, int waitfor) in hammer_queue_inodes_flusher() argument 1704 if (waitfor == MNT_WAIT) { in hammer_queue_inodes_flusher() 1724 hammer_sync_hmp(hammer_mount_t hmp, int waitfor) in hammer_sync_hmp() argument 1730 if (waitfor & MNT_LAZY) in hammer_sync_hmp() 1736 if (info.error == 0 && (waitfor & MNT_WAIT)) { in hammer_sync_hmp() 1739 if (waitfor == MNT_WAIT) { in hammer_sync_hmp()
|
| H A D | hammer_vnops.c | 183 int waitfor = ap->a_waitfor; in hammer_vop_fsync() local 201 if (waitfor == MNT_WAIT) in hammer_vop_fsync() 202 waitfor = MNT_NOWAIT; in hammer_vop_fsync() 215 if (waitfor == MNT_WAIT) in hammer_vop_fsync() 216 waitfor = MNT_NOWAIT; in hammer_vop_fsync() 225 if (waitfor == MNT_WAIT) in hammer_vop_fsync() 226 waitfor = MNT_NOWAIT; in hammer_vop_fsync() 275 vfsync(ap->a_vp, waitfor, 1, NULL, NULL); in hammer_vop_fsync() 277 if (waitfor == MNT_WAIT) { in hammer_vop_fsync() 900 int waitfor; in hammer_vop_close() [all …]
|
| H A D | hammer_vfsops.c | 243 static int hammer_vfs_sync(struct mount *mp, int waitfor); 1062 hammer_vfs_sync(struct mount *mp, int waitfor) in hammer_vfs_sync() argument 1069 error = hammer_sync_hmp(hmp, waitfor); in hammer_vfs_sync()
|
| /dflybsd-src/usr.sbin/makefs/hammer2/ |
| H A D | hammer2_compat.h | 67 #define VOP_FSYNC(vp, waitfor, flags) (0) argument 675 vfsync(struct m_vnode *vp, int waitfor, int passes, in vfsync() argument
|