Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 610) sorted by relevance

12345678910>>...25

/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-sync.c78 const uint8_t *sync; in sync_fwd_null() local
84 errcode = pt_sync_forward(&sync, NULL, &sfix->config); in sync_fwd_null()
87 errcode = pt_sync_forward(&sync, sfix->config.begin, NULL); in sync_fwd_null()
95 const uint8_t *sync; in sync_bwd_null() local
101 errcode = pt_sync_backward(&sync, NULL, &sfix->config); in sync_bwd_null()
104 errcode = pt_sync_backward(&sync, sfix->config.begin, NULL); in sync_bwd_null()
112 const uint8_t *sync; in sync_fwd_empty() local
117 errcode = pt_sync_forward(&sync, sfix->config.begin, &sfix->config); in sync_fwd_empty()
125 const uint8_t *sync; in sync_bwd_empty() local
130 errcode = pt_sync_backward(&sync, sfix->config.end, &sfix->config); in sync_bwd_empty()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dmevent_test.c118 struct esync *sync = param; in echoer_callback() local
120 pthread_mutex_lock(&sync->e_mt); in echoer_callback()
121 pthread_cond_signal(&sync->e_cond); in echoer_callback()
122 pthread_mutex_unlock(&sync->e_mt); in echoer_callback()
128 struct esync sync; in echoer() local
134 pthread_mutex_init(&sync.e_mt, NULL); in echoer()
135 pthread_cond_init(&sync.e_cond, NULL); in echoer()
137 pthread_mutex_lock(&sync.e_mt); in echoer()
139 mev = mevent_add(fd, EVF_READ, echoer_callback, &sync); in echoer()
145 while (!pthread_cond_wait(&sync.e_cond, &sync.e_mt)) { in echoer()
[all …]
/freebsd/tools/test/stress2/misc/
H A Difconfig2.sh47 sync=/tmp/`basename $0`.sync
48 rm -f $sync
51 while [ ! -f $sync ]; do
54 while [ -f $sync ]; do
61 touch $sync
63 rm -f $sync
H A Dtruncate3.sh57 sync;sync;sync
59 sync;sync;sync
H A Dtruncate7.sh62 sync;sync;sync
64 sync;sync;sync
H A Dtmpfs25.sh39 sync=/tmp/$prog.sync
63 for n in `jot 300`; do [ -f $sync ] && break; sleep .2; done
73 touch $sync
84 rm -f $cont $sync
H A Dmountro2.sh47 sync ; sync ; sync
H A Dvunref2.sh55 sync;sync;sync
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_synctask.c83 dsl_syncfunc_t *syncfunc, void *arg, boolean_t sync, const char *err_dsname) in zcp_sync_task() argument
89 if (!sync) in zcp_sync_task()
133 zcp_synctask_destroy(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_destroy() argument
157 dsl_destroy_snapshot_sync, &ddsa, sync, dsname); in zcp_synctask_destroy()
163 dsl_destroy_head_sync, &ddha, sync, dsname); in zcp_synctask_destroy()
185 zcp_synctask_promote(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_promote() argument
202 dsl_dataset_promote_sync, &ddpa, sync, dsname); in zcp_synctask_promote()
223 zcp_synctask_rollback(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_rollback() argument
233 dsl_dataset_rollback_sync, &ddra, sync, dsname); in zcp_synctask_rollback()
255 zcp_synctask_snapshot(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_snapshot() argument
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremoval_nopwrite.ksh42 dd if=/dev/urandom of=$TESTDIR/file_8k bs=1024k count=$MEGS oflag=sync \
45 dd if=/dev/urandom of=$TESTDIR/file_8k_copies bs=1024k count=$MEGS oflag=sync \
50 dd if=/dev/urandom of=$TESTDIR/file_128k bs=1024k count=$MEGS oflag=sync \
54 count=$MEGS oflag=sync conv=notrunc >/dev/null 2>&1 || \
66 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
70 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
76 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
80 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
104 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
108 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
[all …]
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_sync.c130 int pt_sync_set(const uint8_t **sync, const uint8_t *pos, in pt_sync_set() argument
136 if (!sync || !pos || !config) in pt_sync_set()
156 *sync = pos; in pt_sync_set()
161 int pt_sync_forward(const uint8_t **sync, const uint8_t *pos, in pt_sync_forward() argument
166 if (!sync || !pos || !config) in pt_sync_forward()
204 *sync = current; in pt_sync_forward()
209 int pt_sync_backward(const uint8_t **sync, const uint8_t *pos, in pt_sync_backward() argument
214 if (!sync || !pos || !config) in pt_sync_backward()
245 *sync = next; in pt_sync_backward()
H A Dpt_packet_decoder.c91 const uint8_t *pos, *sync, *begin; in pt_pkt_sync_forward() local
99 sync = decoder->sync; in pt_pkt_sync_forward()
104 if (pos == sync) in pt_pkt_sync_forward()
119 errcode = pt_sync_forward(&sync, pos, &decoder->config); in pt_pkt_sync_forward()
123 decoder->sync = sync; in pt_pkt_sync_forward()
124 decoder->pos = sync; in pt_pkt_sync_forward()
131 const uint8_t *pos, *sync; in pt_pkt_sync_backward() local
141 errcode = pt_sync_backward(&sync, pos, &decoder->config); in pt_pkt_sync_backward()
145 decoder->sync = sync; in pt_pkt_sync_backward()
146 decoder->pos = sync; in pt_pkt_sync_backward()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh77 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \
86 oflag=sync,direct bs=4k count=1
120 oflag=sync bs=1k count=8
125 oflag=sync bs=1k count=1
127 oflag=sync bs=512 count=1
149 oflag=sync bs=128k count=64
153 oflag=sync,direct bs=4k count=1
157 oflag=sync bs=128k count=8
159 oflag=sync bs=128k count=2
162 oflag=sync bs=128k count=8
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext()
31 void ThreadContext::OnReset() { CHECK(!sync); } in OnReset()
111 VectorClock *sync; member
125 thr->clock.ReleaseStore(&arg.sync); in ThreadCreate()
137 sync = args->sync; in OnCreated()
158 thr->clock.Acquire(thr->tctx->sync); in ThreadStart()
161 Free(thr->tctx->sync); in ThreadStart()
233 thr->clock.ReleaseStore(&thr->tctx->sync); in ThreadFinish()
289 VectorClock *sync; member
301 thr->clock.Acquire(arg.sync); in ThreadJoin()
[all …]
H A Dtsan_fd.cpp31 FdSync *sync; member
106 if (d->sync) { in init()
107 unref(thr, pc, d->sync); in init()
108 d->sync = 0; in init()
117 d->sync = s; in init()
120 d->sync = &fdctx.globsync; in init()
182 FdSync *s = d->sync; in FdAcquire()
193 FdSync *s = d->sync; in FdRelease()
242 unref(thr, pc, d->sync); in FdClose()
243 d->sync = 0; in FdClose()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bclone/
H A Dbclone_prop_sync.ksh43 log_must zfs set sync=$prop $TESTSRCFS
54 log_must zfs set sync=$srcprop $TESTSRCFS
56 log_must zfs set sync=$dstprop $TESTDSTFS
67 log_must zfs inherit sync $TESTSRCFS
68 log_must zfs inherit sync $TESTDSTFS
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.snapshot_neg.zcp27 assert(zfs.sync.snapshot("ceci_nest_pas_une_dataset") == EINVAL);
28 assert(zfs.sync.snapshot(fs1) == EINVAL)
29 assert(zfs.sync.snapshot(fs1 .. "@" .. longstring) == ENAMETOOLONG)
31 assert(zfs.sync.snapshot(fs2 .. "@snap1") == 0)
33 assert(zfs.sync.snapshot(fs2 .. "@snap2") == EAGAIN)
35 assert(zfs.sync.snapshot(fs1 .. "@snap1") == EEXIST)
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_sync.h50 extern int pt_sync_forward(const uint8_t **sync, const uint8_t *pos,
52 extern int pt_sync_backward(const uint8_t **sync, const uint8_t *pos,
68 extern int pt_sync_set(const uint8_t **sync, const uint8_t *pos,
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/
H A Dzed_slow_io.ksh61 zpool sync
94 zpool sync
99 zpool sync
151 zpool sync
188 zpool sync
/freebsd/usr.sbin/apmd/
H A DREADME90 exec "sync && sync && sync";
96 posted by an LCD close), run the sync command 3 times and wait for a
168 exec "sync && sync && sync";
189 # exec "sync && sync && sync";
/freebsd/libexec/rc/
H A Drc.resume50 /bin/sync && /bin/sync && /bin/sync
H A Drc.suspend68 /bin/sync && /bin/sync && /bin/sync
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_zil.ksh58 for sync in ${sync_prop_vals[@]}; do
60 log_must zfs create -V $VOLSIZE -b 128K -o sync=$sync \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/dedup/
H A Ddedup_legacy_fdt_upgrade.ksh68 log_must zpool sync
87 log_must zpool sync
101 log_must zpool sync
114 log_must zpool sync
/freebsd/contrib/ntp/scripts/ntp-wait/
H A Dntp-wait.in42 my $sync = $info->{status_line}{sync};
44 if ($leap =~ /(sync|leap)_alarm/) {
51 # We could check $sync here to make sure we like the source...

12345678910>>...25