/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-sync.c | 78 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 D | mevent_test.c | 118 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 D | ifconfig2.sh | 47 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 D | truncate3.sh | 57 sync;sync;sync 59 sync;sync;sync
|
H A D | truncate7.sh | 62 sync;sync;sync 64 sync;sync;sync
|
H A D | tmpfs25.sh | 39 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 D | mountro2.sh | 47 sync ; sync ; sync
|
H A D | vunref2.sh | 55 sync;sync;sync
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_synctask.c | 83 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 D | removal_nopwrite.ksh | 42 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 D | pt_sync.c | 130 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 D | pt_packet_decoder.c | 91 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 D | slog_replay_fs_001.ksh | 77 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 D | tsan_rtl_thread.cpp | 24 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 D | tsan_fd.cpp | 31 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 D | bclone_prop_sync.ksh | 43 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 D | tst.snapshot_neg.zcp | 27 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 D | pt_sync.h | 50 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 D | zed_slow_io.ksh | 61 zpool sync 94 zpool sync 99 zpool sync 151 zpool sync 188 zpool sync
|
/freebsd/usr.sbin/apmd/ |
H A D | README | 90 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 D | rc.resume | 50 /bin/sync && /bin/sync && /bin/sync
|
H A D | rc.suspend | 68 /bin/sync && /bin/sync && /bin/sync
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_zil.ksh | 58 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 D | dedup_legacy_fdt_upgrade.ksh | 68 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 D | ntp-wait.in | 42 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...
|