Home
last modified time | relevance | path

Searched refs:waitfor (Results 1 – 25 of 35) sorted by relevance

12

/dflybsd-src/sys/dev/misc/pcfclock/
H A Dpcfclock.c228 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 Dffs_vfsops.c442 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 Dffs_softdep.c3878 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 Dffs_inode.c73 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 Dffs_softdep_stub.c165 softdep_update_inodeblock(struct inode *ip, struct buf *bp, int waitfor) in softdep_update_inodeblock() argument
/dflybsd-src/sys/vfs/msdosfs/
H A Dmsdosfs_vfsops.c743 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 Dmsdosfs_denode.c431 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 Ddenode.h294 int deupdat(struct denode *dep, int waitfor);
/dflybsd-src/sys/vfs/fuse/
H A Dfuse_vfsops.c320 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 Dext2_vfsops.c724 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 Dext2_inode.c69 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 Dvfsops.h803 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 Dmount.h560 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 Dsmbfs_vfsops.c355 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 Dvfs_vfsops.c205 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 Dvfs_vopops.c603 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 Dxmphy.c325 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 Dtlphy.c386 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 Dmii_physubr.c123 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 Dnfs_vfsops.c122 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 Dnfs_vnops.c3310 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 Dhammer_ondisk.c1699 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 Dhammer_vnops.c183 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 Dhammer_vfsops.c243 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 Dhammer2_compat.h67 #define VOP_FSYNC(vp, waitfor, flags) (0) argument
675 vfsync(struct m_vnode *vp, int waitfor, int passes, in vfsync() argument

12