Home
last modified time | relevance | path

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

12

/freebsd-14.2/bin/pkill/tests/
H A Dpgrep-f_test.sh8 waitfor() { function
31 if ! waitfor ${flagfile}; then
47 if ! waitfor ${flagfile}; then
/freebsd-14.2/sys/dev/ppbus/
H A Dpcfclock.c230 char waitfor; in pcfclock_read_data() local
236 waitfor = 100; in pcfclock_read_data()
239 while (!CLOCK_OK && --waitfor > 0) in pcfclock_read_data()
243 if (!waitfor) in pcfclock_read_data()
246 waitfor = 100; /* reload */ in pcfclock_read_data()
/freebsd-14.2/contrib/unbound/util/
H A Dwinsock_event.c106 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 Dwinsock_event.h164 WSAEVENT waitfor[WSK_MAX_ITEMS]; member
/freebsd-14.2/sys/sys/
H A Dbufobj.h75 typedef int b_sync_t(struct bufobj *, int waitfor);
135 int bufsync(struct bufobj *bo, int waitfor);
/freebsd-14.2/sys/fs/ext2fs/
H A Dext2_vfsops.c1122 ext2_sync(struct mount *mp, int waitfor) in ext2_sync() argument
1150 waitfor == MNT_LAZY)) { in ext2_sync()
1162 if ((error = VOP_FSYNC(vp, waitfor, td)) != 0) in ext2_sync()
1170 if (waitfor != MNT_LAZY) { in ext2_sync()
1172 if ((error = VOP_FSYNC(ump->um_devvp, waitfor, td)) != 0) in ext2_sync()
1183 if ((error = ext2_cgupdate(ump, waitfor)) != 0) in ext2_sync()
1358 ext2_sbupdate(struct ext2mount *mp, int waitfor) in ext2_sbupdate() argument
1385 if (waitfor == MNT_WAIT) in ext2_sbupdate()
1398 ext2_cgupdate(struct ext2mount *mp, int waitfor) in ext2_cgupdate() argument
1404 allerror = ext2_sbupdate(mp, waitfor); in ext2_cgupdate()
[all …]
H A Dext2_inode.c72 ext2_update(struct vnode *vp, int waitfor) in ext2_update() argument
82 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ext2_update()
100 if (waitfor && !DOINGASYNC(vp)) in ext2_update()
/freebsd-14.2/sys/ufs/ffs/
H A Dffs_vfsops.c1676 ffs_sync(struct mount *mp, int waitfor) in ffs_sync() argument
1699 if (waitfor == MNT_LAZY) { in ffs_sync()
1702 waitfor = MNT_NOWAIT; in ffs_sync()
1709 if (waitfor == MNT_SUSPEND) { in ffs_sync()
1711 waitfor = MNT_WAIT; in ffs_sync()
1713 if (waitfor == MNT_WAIT) in ffs_sync()
1767 if (waitfor == MNT_WAIT || rebooting) { in ffs_sync()
2146 int waitfor; member
2176 devfd.waitfor = waitfor; in ffs_sbupdate()
2205 if (devfdp->waitfor != MNT_WAIT) in ffs_use_bwrite()
[all …]
H A Dffs_inode.c96 ffs_update(struct vnode *vp, int waitfor) in ffs_update() argument
107 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ffs_update()
128 if (waitfor) in ffs_update()
188 softdep_update_inodeblock(ip, bp, waitfor); in ffs_update()
209 if (waitfor) { in ffs_update()
H A Dffs_softdep.c420 int waitfor) in softdep_update_inodeblock() argument
4885 if (waitfor != MNT_WAIT) in jwait()
4889 if (waitfor != MNT_WAIT) in jwait()
12541 if (waitfor) { in softdep_update_inodeblock()
12588 if (waitfor == 0) { in softdep_update_inodeblock()
12962 int waitfor) in softdep_sync_buf() argument
13034 waitfor); in softdep_sync_buf()
13116 int error, waitfor; in flush_inodedep_deps() local
13158 waitfor = MNT_WAIT; in flush_inodedep_deps()
13174 int waitfor, in flush_deplist() argument
[all …]
H A Dffs_extern.h110 int ffs_syncvnode(struct vnode *vp, int waitfor, int flags);
H A Dffs_vnops.c265 ffs_syncvnode(struct vnode *vp, int waitfor, int flags) in ffs_syncvnode() argument
288 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT && in ffs_syncvnode()
325 if (waitfor == MNT_WAIT && bp->b_lblkno <= -UFS_NDADDR && in ffs_syncvnode()
358 if (DOINGSOFTDEP(vp) && waitfor == MNT_WAIT && in ffs_syncvnode()
404 if (waitfor != MNT_WAIT) { in ffs_syncvnode()
/freebsd-14.2/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c1074 msdosfs_fsiflush(struct msdosfsmount *pmp, int waitfor) in msdosfs_fsiflush() argument
1094 if (waitfor == MNT_WAIT) in msdosfs_fsiflush()
1104 msdosfs_sync(struct mount *mp, int waitfor) in msdosfs_sync() argument
1138 waitfor == MNT_LAZY)) { in msdosfs_sync()
1150 error = VOP_FSYNC(vp, waitfor, td); in msdosfs_sync()
1159 if (waitfor != MNT_LAZY) { in msdosfs_sync()
1161 error = VOP_FSYNC(pmp->pm_devvp, waitfor, td); in msdosfs_sync()
1167 error = msdosfs_fsiflush(pmp, waitfor); in msdosfs_sync()
1171 if (allerror == 0 && waitfor == MNT_SUSPEND) { in msdosfs_sync()
H A Dmsdosfs_denode.c314 deupdat(struct denode *dep, int waitfor) in deupdat() argument
329 if ((dep->de_flag & DE_MODIFIED) == 0 && waitfor == 0) in deupdat()
341 if (waitfor == 0 || (bp->b_flags & B_DELWRI) == 0) { in deupdat()
349 if (waitfor) in deupdat()
H A Ddenode.h292 int deupdat(struct denode *dep, int waitfor);
/freebsd-14.2/sys/fs/fuse/
H A Dfuse_io.h67 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td);
H A Dfuse_internal.h229 int fuse_internal_fsync(struct vnode *vp, struct thread *td, int waitfor,
H A Dfuse_io.c909 fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td) in fuse_io_flushbuf() argument
912 return (vn_fsync_buf(vp, waitfor)); in fuse_io_flushbuf()
H A Dfuse_internal.c370 int waitfor, in fuse_internal_fsync() argument
409 if (waitfor == MNT_WAIT) { in fuse_internal_fsync()
/freebsd-14.2/sys/dev/malo/
H A Dif_malohal.c343 const void *data, size_t dsize, int waitfor) in malo_hal_send_helper() argument
351 if (waitfor == MALO_NOWAIT) in malo_hal_send_helper()
404 uint16_t seqnum, int waitfor) in malo_hal_send_main() argument
414 if (waitfor == MALO_NOWAIT) in malo_hal_send_main()
/freebsd-14.2/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c660 tmpfs_sync(struct mount *mp, int waitfor) in tmpfs_sync() argument
663 if (waitfor == MNT_SUSPEND) { in tmpfs_sync()
667 } else if (waitfor == MNT_LAZY) { in tmpfs_sync()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp295 .waitfor = ZX_SIGNAL_HANDLE_CLOSED, in CrashHandler()
300 .waitfor = ZX_CHANNEL_READABLE | ZX_CHANNEL_PEER_CLOSED, in CrashHandler()
/freebsd-14.2/sys/kern/
H A Dvfs_init.c239 vfs_sync_sigdefer(struct mount *mp, int waitfor) in vfs_sync_sigdefer() argument
244 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_sync)(mp, waitfor); in vfs_sync_sigdefer()
H A Dvfs_default.c1369 vfs_stdsync(struct mount *mp, int waitfor) in vfs_stdsync() argument
1377 if (waitfor != MNT_WAIT) in vfs_stdsync()
1395 error = VOP_FSYNC(vp, waitfor, td); in vfs_stdsync()
1404 vfs_stdnosync(struct mount *mp, int waitfor) in vfs_stdnosync() argument
/freebsd-14.2/sys/fs/nullfs/
H A Dnull_vfsops.c391 nullfs_sync(struct mount *mp, int waitfor) in nullfs_sync() argument

12