waitfor
while (waitfor((char *) 0, &sig) >= 0)
rv = waitfor(*wp, &sig);
int waitfor ARGS((const char *, int *));
p2k_fs_sync(struct puffs_usermount *pu, int waitfor,
rv = rump_pub_vfs_sync(mp, waitfor, cred);
perfuse_fs_sync(struct puffs_usermount *pu, int waitfor,
return puffs_fsnop_sync(pu, waitfor, pcr);
int puffs_fsnop_sync(struct puffs_usermount *, int waitfor,
int waitfor = 0;
if (fcntl(root_fd, LFCNWRAPSTOP, &waitfor) < 0) {
int waitfor = 0;
fcntl(root_fd, LFCNWRAPGO, &waitfor);
coda_sync(struct mount *vfsp, int waitfor,
tlp_pnic_nway_auto(struct tulip_softc *sc, int waitfor)
if (waitfor) {
adosfs_sync(struct mount *mp, int waitfor, kauth_cred_t uc)
printf("ad_sync(%p, %d)\n", mp, waitfor);
autofs_sync(struct mount *mp, int waitfor, kauth_cred_t uc)
cd9660_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
filecore_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
hfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
msdosfs_deupdat(struct denode *dep, int waitfor)
waitfor ? UPDATE_WAIT : 0));
int waitfor;
if (c->waitfor == MNT_LAZY || vp->v_type == VNON ||
msdosfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
ctx.waitfor = waitfor;
waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0)) != 0)
waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0)) != 0)
nfs_sync(struct mount *mp, int waitfor)
waitfor == MNT_LAZY) {
error = VOP_FSYNC(vp, waitfor, td);
ncl_flush(struct vnode *vp, int waitfor, struct ucred *cred, struct thread *td,
if (waitfor != MNT_WAIT || passone)
if (waitfor == MNT_WAIT) {
if (error == 0 && commit != 0 && waitfor == MNT_WAIT &&
nilfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
ntfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
ptyfs_sync(struct mount *mp, int waitfor,
pageflush(struct mount *mp, kauth_cred_t cred, int waitfor)
fsyncwait = (waitfor == MNT_WAIT) ? FSYNC_WAIT : 0;
if (waitfor == MNT_LAZY) {
if (waitfor == MNT_LAZY) {
puffs_vfsop_sync(struct mount *mp, int waitfor, struct kauth_cred *cred)
error = pageflush(mp, cred, waitfor);
sync_msg->pvfsr_waitfor = waitfor;
sysvbfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
tmpfs_sync(struct mount *mp, int waitfor, kauth_cred_t uc)
int waitfor;
struct long_ad *icb, int waitfor)
args.waitfor = waitfor;
int waitfor = args->waitfor;
if (waitfor) {
int waitfor = args->waitfor;
if (waitfor) {
udf_write_physical_partition_spacetables(struct udf_mount *ump, int waitfor)
udf_write_metadata_partition_spacetable(struct udf_mount *ump, int waitfor)
udf_writeout_node(struct udf_node *udf_node, int waitfor)
error = udf_write_logvol_dscr(udf_node, dscr, loc, waitfor);
int waitfor, flags;
waitfor = 0;
waitfor = updflags & UPDATE_WAIT;
waitfor |= UPDATE_WAIT;
if (waitfor)
udf_do_sync(struct udf_mount *ump, kauth_cred_t cred, int waitfor)
if (waitfor == MNT_LAZY)
if (waitfor == MNT_WAIT) {
int udf_writeout_node(struct udf_node *udf_node, int waitfor);
struct long_ad *icb, int waitfor);
int udf_write_physical_partition_spacetables(struct udf_mount *ump, int waitfor);
int udf_write_metadata_partition_spacetable(struct udf_mount *ump, int waitfor);
void udf_do_sync(struct udf_mount *ump, kauth_cred_t cred, int waitfor);
udf_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
if (ump->syncing && !waitfor) {
udf_do_sync(ump, cred, waitfor);
if (waitfor == MNT_WAIT)
union_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
unionfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
v7fs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
wapbl_flush(struct wapbl *wl, int waitfor)
if (!waitfor) {
if (waitfor) {
fdesc_sync(struct mount *mp, int waitfor,
layerfs_sync(struct mount *mp, int waitfor,
kernfs_sync(struct mount *mp, int waitfor,
int waitfor,
nfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0);
nfs_flush(struct vnode *vp, kauth_cred_t cred, int waitfor, struct lwp *l,
chfs_sync(struct mount *mp, int waitfor,
if (waitfor != MNT_LAZY) {
waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0)) != 0)
if ((error = ext2fs_cgupdate(ump, waitfor)))
ext2fs_sbupdate(struct ufsmount *mp, int waitfor)
if (waitfor == MNT_WAIT)
ext2fs_cgupdate(struct ufsmount *mp, int waitfor)
allerror = ext2fs_sbupdate(mp, waitfor);
if (waitfor == MNT_WAIT)
ext2fs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
if (vp->v_type == VREG && waitfor == MNT_LAZY)
waitfor == MNT_WAIT ? FSYNC_WAIT : 0, 0, 0);
int waitfor, flags;
waitfor = updflags & UPDATE_WAIT;
waitfor |= UPDATE_WAIT;
waitfor = 0;
if (waitfor) {
int waitfor;
(c->waitfor == MNT_LAZY || (LIST_EMPTY(&vp->v_dirtyblkhd) &&
ffs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
ctx.waitfor = waitfor;
LK_EXCLUSIVE | (waitfor == MNT_LAZY ? LK_NOWAIT : 0));
if (waitfor == MNT_LAZY) {
(waitfor == MNT_WAIT ? FSYNC_WAIT : 0), 0, 0);
if (waitfor != MNT_LAZY) {
if (waitfor == MNT_WAIT)
if ((error = ffs_cgupdate(ump, waitfor)))
error = wapbl_flush(mp->mnt_wapbl, (waitfor == MNT_WAIT));
ffs_sbupdate(struct ufsmount *mp, int waitfor)
if (waitfor == MNT_WAIT)
ffs_cgupdate(struct ufsmount *mp, int waitfor)
allerror = ffs_sbupdate(mp, waitfor);
if (waitfor == MNT_WAIT)
lfs_sync(struct mount *mp, int waitfor, kauth_cred_t cred)
DLOG((DLOG_FLUSH, "lfs_sync waitfor=%x at 0x%jx\n", waitfor,
if (waitfor == MNT_LAZY)
else if (waitfor == MNT_NOWAIT)
lfs_wrapgo(struct lfs *fs, struct inode *ip, int waitfor)
if (waitfor) {
waitfor(proc, "inetd");
static void waitfor(pid_t, const char *);