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

12

/freebsd-13-stable/sys/fs/fuse/
H A Dfuse_io.h71 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
H A Dfuse_internal.h230 int fuse_internal_fsync(struct vnode *vp, struct thread *td, int waitfor,
H A Dfuse_io.c1062 fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td) argument
1065 return (vn_fsync_buf(vp, waitfor));
/freebsd-13-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-13-stable/sys/dev/ppbus/
H A Dpcfclock.c234 char waitfor; local
240 waitfor = 100;
242 /* wait for clock, maximum (waitfor*100) usec */
243 while (!CLOCK_OK && --waitfor > 0)
247 if (!waitfor)
250 waitfor = 100; /* reload */
/freebsd-13-stable/sys/sys/
H A Dbufobj.h77 typedef int b_sync_t(struct bufobj *, int waitfor);
137 int bufsync(struct bufobj *bo, int waitfor);
/freebsd-13-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-13-stable/sys/fs/msdosfs/
H A Dmsdosfs_denode.c288 deupdat(struct denode *dep, int waitfor) argument
303 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0)
315 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) {
323 if (waitfor)
H A Dmsdosfs_vfsops.c877 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) argument
897 if (waitfor == MNT_WAIT)
907 msdosfs_sync(struct mount *mp, int waitfor) argument
941 waitfor == MNT_LAZY)) {
953 error = VOP_FSYNC(vp, waitfor, td);
963 if (waitfor != MNT_LAZY) {
965 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td);
971 error = msdosfs_fsiflush(pmp, waitfor);
975 if (allerror == 0 && waitfor == MNT_SUSPEND) {
H A Ddenode.h284 int deupdat(struct denode *dep, int waitfor);
/freebsd-13-stable/sys/fs/ext2fs/
H A Dext2_vfsops.c1127 ext2_sync(struct mount *mp, int waitfor) argument
1155 waitfor == MNT_LAZY)) {
1167 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0)
1176 if (waitfor != MNT_LAZY) {
1178 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0)
1189 if ((error = ext2_cgupdate(ump, waitfor)) != 0)
1355 ext2_sbupdate(struct ext2mount *mp, int waitfor) argument
1378 if (waitfor == MNT_WAIT)
1391 ext2_cgupdate(struct ext2mount *mp, int waitfor) argument
1397 allerror = ext2_sbupdate(mp, waitfor);
[all...]
H A Dext2_inode.c69 * IN_LAZYMOD to reflect the presumably successful write, and if waitfor is
73 ext2_update(struct vnode *vp, int waitfor) argument
83 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
101 if (waitfor && !DOINGASYNC(vp))
/freebsd-13-stable/sys/ufs/ffs/
H A Dffs_vfsops.c1785 ffs_sync(mp, waitfor)
1787 int waitfor;
1810 if (waitfor == MNT_LAZY) {
1813 waitfor = MNT_NOWAIT;
1820 if (waitfor == MNT_SUSPEND) {
1822 waitfor = MNT_WAIT;
1824 if (waitfor == MNT_WAIT)
1866 error = ffs_syncvnode(vp, waitfor, 0);
1878 if (waitfor == MNT_WAIT || rebooting) {
1894 error = VOP_FSYNC(devvp, waitfor, t
2256 int waitfor; member in struct:devfd
[all...]
H A Dffs_inode.c94 * reflect the presumably successful write, and if waitfor is set, then wait
98 ffs_update(vp, waitfor)
100 int waitfor;
111 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
132 if (waitfor)
182 softdep_update_inodeblock(ip, bp, waitfor);
203 if (waitfor) {
H A Dffs_extern.h108 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
H A Dffs_softdep.c464 softdep_update_inodeblock(ip, bp, waitfor)
467 int waitfor;
508 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
4940 jwait(wk, waitfor)
4942 int waitfor;
4950 if (waitfor == MNT_WAIT) {
4978 softdep_process_journal(wk->wk_mp, wk, waitfor);
4979 if (waitfor != MNT_WAIT)
4983 if (waitfor != MNT_WAIT)
12658 softdep_update_inodeblock(ip, bp, waitfor)
13130 softdep_sync_buf(struct vnode *vp, struct buf *bp, int waitfor) argument
13284 int error, waitfor; local
[all...]
H A Dffs_vnops.c257 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) argument
275 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT &&
312 if (waitfor == MNT_WAIT && bp->b_lblkno <= -UFS_NDADDR &&
346 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT &&
392 if (waitfor != MNT_WAIT) {
/freebsd-13-stable/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c651 tmpfs_sync(struct mount *mp, int waitfor) argument
654 if (waitfor == MNT_SUSPEND) {
658 } else if (waitfor == MNT_LAZY) {
/freebsd-13-stable/sys/kern/
H A Dvfs_default.c1364 vfs_stdsync(mp, waitfor)
1366 int waitfor;
1374 if (waitfor != MNT_WAIT)
1392 error = VOP_FSYNC(vp, waitfor, td);
1401 vfs_stdnosync (mp, waitfor)
1403 int waitfor;
H A Dvfs_init.c237 vfs_sync_sigdefer(struct mount *mp, int waitfor) argument
242 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_sync)(mp, waitfor);
/freebsd-13-stable/sys/fs/nullfs/
H A Dnull_vfsops.c344 nullfs_sync(mp, waitfor)
346 int waitfor;
/freebsd-13-stable/sys/dev/malo/
H A Dif_malohal.c346 const void *data, size_t dsize, int waitfor)
354 if (waitfor == MALO_NOWAIT)
407 uint16_t seqnum, int waitfor)
417 if (waitfor == MALO_NOWAIT)
345 malo_hal_send_helper(struct malo_hal *mh, int bsize, const void *data, size_t dsize, int waitfor) argument
406 malo_hal_send_main(struct malo_hal *mh, const void *data, size_t dsize, uint16_t seqnum, int waitfor) argument
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c116 static int zfs_sync(vfs_t *vfsp, int waitfor);
404 zfs_sync(vfs_t *vfsp, int waitfor) argument
418 if (waitfor == MNT_LAZY)
429 error = vfs_stdsync(vfsp, waitfor);
/freebsd-13-stable/sys/fs/unionfs/
H A Dunion_vfsops.c443 unionfs_sync(struct mount *mp, int waitfor) argument

Completed in 180 milliseconds

12