Home
last modified time | relevance | path

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

12345678910>>...27

/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/sys/contrib/openzfs/cmd/zed/zed.d/
H A DMakefile.am12 %D%/deadman-sync-slot_off.sh \
14 %D%/pool_import-sync-led.sh \
18 %D%/statechange-sync-led.sh \
20 %D%/statechange-sync-slot_off.sh \
22 %D%/vdev_attach-sync-led.sh \
23 %D%/vdev_clear-sync-led.sh
33 deadman-sync-slot_off.sh \
35 pool_import-sync-led.sh \
39 statechange-sync-led.sh \
41 statechange-sync-slot_off.sh \
[all …]
/freebsd/usr.sbin/bhyve/
H A Dmevent_test.c119 struct esync *sync = param; in echoer_callback() local
121 pthread_mutex_lock(&sync->e_mt); in echoer_callback()
122 pthread_cond_signal(&sync->e_cond); in echoer_callback()
123 pthread_mutex_unlock(&sync->e_mt); in echoer_callback()
129 struct esync sync; in echoer() local
135 pthread_mutex_init(&sync.e_mt, NULL); in echoer()
136 pthread_cond_init(&sync.e_cond, NULL); in echoer()
138 pthread_mutex_lock(&sync.e_mt); in echoer()
140 mev = mevent_add(fd, EVF_READ, echoer_callback, &sync); in echoer()
146 while (!pthread_cond_wait(&sync.e_cond, &sync.e_mt)) { in echoer()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_synctask.c85 dsl_syncfunc_t *syncfunc, void *arg, boolean_t sync, const char *err_dsname) in zcp_sync_task() argument
91 if (!sync) in zcp_sync_task()
133 zcp_synctask_clone(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_clone() argument
146 dsl_dataset_clone_sync, &ddca, sync, ddca.ddca_origin); in zcp_synctask_clone()
177 zcp_synctask_destroy(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_destroy() argument
201 dsl_destroy_snapshot_sync, &ddsa, sync, dsname); in zcp_synctask_destroy()
207 dsl_destroy_head_sync, &ddha, sync, dsname); in zcp_synctask_destroy()
229 zcp_synctask_promote(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_promote() argument
245 dsl_dataset_promote_sync, &ddpa, sync, dsname); in zcp_synctask_promote()
266 zcp_synctask_rollback(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_rollback() argument
[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
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremoval_nopwrite.ksh43 dd if=/dev/urandom of=$TESTDIR/file_8k bs=1024k count=$MEGS oflag=sync \
46 dd if=/dev/urandom of=$TESTDIR/file_8k_copies bs=1024k count=$MEGS oflag=sync \
51 dd if=/dev/urandom of=$TESTDIR/file_128k bs=1024k count=$MEGS oflag=sync \
55 count=$MEGS oflag=sync conv=notrunc >/dev/null 2>&1 || \
67 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
71 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
77 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
81 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
105 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
109 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh78 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \
87 oflag=sync,direct bs=4k count=1
121 oflag=sync bs=1k count=8
126 oflag=sync bs=1k count=1
128 oflag=sync bs=512 count=1
150 oflag=sync bs=128k count=64
154 oflag=sync,direct bs=4k count=1
158 oflag=sync bs=128k count=8
160 oflag=sync bs=128k count=2
163 oflag=sync bs=128k count=8
[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/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/channel_program/synctask_core/
H A Dtst.snapshot_neg.zcp28 assert(zfs.sync.snapshot("ceci_nest_pas_une_dataset") == EINVAL);
29 assert(zfs.sync.snapshot(fs1) == EINVAL)
30 assert(zfs.sync.snapshot(fs1 .. "@" .. longstring) == ENAMETOOLONG)
32 assert(zfs.sync.snapshot(fs2 .. "@snap1") == 0)
34 assert(zfs.sync.snapshot(fs2 .. "@snap2") == EAGAIN)
36 assert(zfs.sync.snapshot(fs1 .. "@snap1") == EEXIST)
/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/events/
H A Dzed_slow_io.ksh63 zpool sync
96 zpool sync
101 zpool sync
153 zpool sync
190 zpool sync
214 zpool sync
H A Dzed_synchronous_zedlet.ksh63 log_must rm -f $TEST_BASE_DIR/vdev-file-sync-zedlet
72 log_must truncate -s 100M $TEST_BASE_DIR/vdev-file-sync-zedlet
73 log_must zpool create $TESTPOOL2 $TEST_BASE_DIR/vdev-file-sync-zedlet
94 cat << EOF > $ZEDLET_DIR/scrub_finish-sync-slow.sh
/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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/stat/
H A Dstatx_dioalign.ksh93 log_must zpool sync
145 log_must zpool sync
168 log_must zpool sync
175 log_must zpool sync
183 log_must zpool sync
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/dedup/
H A Ddedup_legacy_fdt_upgrade.ksh69 log_must zpool sync
88 log_must zpool sync
102 log_must zpool sync
115 log_must zpool 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.ksh59 for sync in ${sync_prop_vals[@]}; do
61 log_must zfs create -V $VOLSIZE -b 128K -o sync=$sync \

12345678910>>...27