| /freebsd-13.1/contrib/ntp/lib/isc/tests/ |
| H A D | socket_test.c | 60 waitfor(completion_t *completion) { in waitfor() function 127 waitfor(&completion); in ATF_TC_BODY() 136 waitfor(&completion); in ATF_TC_BODY() 201 waitfor(&completion); in ATF_TC_BODY() 213 waitfor(&completion); in ATF_TC_BODY() 222 waitfor(&completion); in ATF_TC_BODY() 232 waitfor(&completion); in ATF_TC_BODY()
|
| /freebsd-13.1/sys/dev/ppbus/ |
| H A D | pcfclock.c | 234 char waitfor; in pcfclock_read_data() local 240 waitfor = 100; in pcfclock_read_data() 243 while (!CLOCK_OK && --waitfor > 0) in pcfclock_read_data() 247 if (!waitfor) in pcfclock_read_data() 250 waitfor = 100; /* reload */ in pcfclock_read_data()
|
| /freebsd-13.1/contrib/unbound/util/ |
| H A D | winsock_event.c | 106 zero_waitfor(WSAEVENT waitfor[], WSAEVENT x) in zero_waitfor() argument 110 if(waitfor[i] == x) in zero_waitfor() 111 waitfor[i] = 0; in zero_waitfor() 260 base->waitfor[numwait++] = base->items[i]->hEvent; in handle_select() 277 ret = WSAWaitForMultipleEvents(numwait, base->waitfor, in handle_select() 308 if(!base->waitfor[i]) in handle_select() 325 if(!base->waitfor[i]) in handle_select() 334 base->waitfor[i], /* reset the event handle */ in handle_select() 595 zero_waitfor(ev->ev_base->waitfor, ev->hEvent); in event_del()
|
| H A D | winsock_event.h | 164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member
|
| /freebsd-13.1/sys/sys/ |
| H A D | bufobj.h | 77 typedef int b_sync_t(struct bufobj *, int waitfor); 137 int bufsync(struct bufobj *bo, int waitfor);
|
| /freebsd-13.1/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 1709 ffs_sync(mp, waitfor) in ffs_sync() argument 1711 int waitfor; 1734 if (waitfor == MNT_LAZY) { 1737 waitfor = MNT_NOWAIT; 1744 if (waitfor == MNT_SUSPEND) { 1746 waitfor = MNT_WAIT; 1748 if (waitfor == MNT_WAIT) 2181 int waitfor; member 2192 int waitfor; 2214 devfd.waitfor = waitfor; [all …]
|
| H A D | ffs_inode.c | 98 ffs_update(vp, waitfor) in ffs_update() argument 100 int waitfor; 111 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) 132 if (waitfor) 192 softdep_update_inodeblock(ip, bp, waitfor); 213 if (waitfor) {
|
| H A D | ffs_softdep.c | 467 int waitfor; 4987 jwait(wk, waitfor) in jwait() argument 4989 int waitfor; 12758 if (waitfor) { 12805 if (waitfor == 0) { 13079 sync_cgs(mp, waitfor) in sync_cgs() argument 13081 int waitfor; 13246 waitfor); in softdep_sync_buf() 13328 int error, waitfor; local 13386 int waitfor; [all …]
|
| H A D | ffs_extern.h | 108 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
|
| H A D | ffs_vnops.c | 257 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) in ffs_syncvnode() argument 280 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT && in ffs_syncvnode() 317 if (waitfor == MNT_WAIT && bp->b_lblkno <= -UFS_NDADDR && in ffs_syncvnode() 350 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT && in ffs_syncvnode() 396 if (waitfor != MNT_WAIT) { in ffs_syncvnode()
|
| /freebsd-13.1/sys/fs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 965 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) in msdosfs_fsiflush() argument 985 if (waitfor == MNT_WAIT) in msdosfs_fsiflush() 995 msdosfs_sync(struct mount *mp, int waitfor) in msdosfs_sync() argument 1029 waitfor == MNT_LAZY)) { in msdosfs_sync() 1041 error = VOP_FSYNC(vp, waitfor, td); in msdosfs_sync() 1051 if (waitfor != MNT_LAZY) { in msdosfs_sync() 1053 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td); in msdosfs_sync() 1059 error = msdosfs_fsiflush(pmp, waitfor); in msdosfs_sync() 1063 if (allerror == 0 && waitfor == MNT_SUSPEND) { in msdosfs_sync()
|
| H A D | msdosfs_denode.c | 307 deupdat(struct denode *dep, int waitfor) in deupdat() argument 322 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0) in deupdat() 334 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) { in deupdat() 342 if (waitfor) in deupdat()
|
| H A D | denode.h | 285 int deupdat(struct denode *dep, int waitfor);
|
| /freebsd-13.1/sys/fs/ext2fs/ |
| H A D | ext2_vfsops.c | 1135 ext2_sync(struct mount *mp, int waitfor) in ext2_sync() argument 1163 waitfor == MNT_LAZY)) { in ext2_sync() 1175 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0) in ext2_sync() 1184 if (waitfor != MNT_LAZY) { in ext2_sync() 1186 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0) in ext2_sync() 1197 if ((error = ext2_cgupdate(ump, waitfor)) != 0) in ext2_sync() 1363 ext2_sbupdate(struct ext2mount *mp, int waitfor) in ext2_sbupdate() argument 1386 if (waitfor == MNT_WAIT) in ext2_sbupdate() 1399 ext2_cgupdate(struct ext2mount *mp, int waitfor) in ext2_cgupdate() argument 1405 allerror = ext2_sbupdate(mp, waitfor); in ext2_cgupdate() [all …]
|
| H A D | ext2_inode.c | 73 ext2_update(struct vnode *vp, int waitfor) in ext2_update() argument 83 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ext2_update() 101 if (waitfor && !DOINGASYNC(vp)) in ext2_update()
|
| /freebsd-13.1/sys/fs/fuse/ |
| H A D | fuse_io.h | 69 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
|
| H A D | fuse_internal.h | 231 int fuse_internal_fsync(struct vnode *vp, struct thread *td, int waitfor,
|
| H A D | fuse_io.c | 893 fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td) in fuse_io_flushbuf() argument 896 return (vn_fsync_buf(vp, waitfor)); in fuse_io_flushbuf()
|
| /freebsd-13.1/sys/dev/malo/ |
| H A D | if_malohal.c | 346 const void *data, size_t dsize, int waitfor) in malo_hal_send_helper() argument 354 if (waitfor == MALO_NOWAIT) in malo_hal_send_helper() 407 uint16_t seqnum, int waitfor) in malo_hal_send_main() argument 417 if (waitfor == MALO_NOWAIT) in malo_hal_send_main()
|
| /freebsd-13.1/sys/kern/ |
| H A D | vfs_default.c | 1364 vfs_stdsync(mp, waitfor) in vfs_stdsync() argument 1366 int waitfor; 1374 if (waitfor != MNT_WAIT) 1392 error = VOP_FSYNC(vp, waitfor, td); 1401 vfs_stdnosync (mp, waitfor) in vfs_stdnosync() argument 1403 int waitfor;
|
| H A D | vfs_init.c | 237 vfs_sync_sigdefer(struct mount *mp, int waitfor) in vfs_sync_sigdefer() argument 242 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_sync)(mp, waitfor); in vfs_sync_sigdefer()
|
| /freebsd-13.1/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 651 tmpfs_sync(struct mount *mp, int waitfor) in tmpfs_sync() argument 654 if (waitfor == MNT_SUSPEND) { in tmpfs_sync() 658 } else if (waitfor == MNT_LAZY) { in tmpfs_sync()
|
| /freebsd-13.1/sys/fs/nullfs/ |
| H A D | null_vfsops.c | 344 nullfs_sync(mp, waitfor) in nullfs_sync() argument 346 int waitfor;
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vfsops.c | 116 static int zfs_sync(vfs_t *vfsp, int waitfor); 404 zfs_sync(vfs_t *vfsp, int waitfor) in zfs_sync() argument 418 if (waitfor == MNT_LAZY) in zfs_sync() 429 error = vfs_stdsync(vfsp, waitfor); in zfs_sync()
|
| /freebsd-13.1/sys/fs/unionfs/ |
| H A D | union_vfsops.c | 443 unionfs_sync(struct mount *mp, int waitfor) in unionfs_sync() argument
|