| /freebsd-12.1/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-sync.c | 78 const uint8_t *sync; in sync_fwd_null() local 95 const uint8_t *sync; in sync_bwd_null() local 112 const uint8_t *sync; in sync_fwd_empty() local 125 const uint8_t *sync; in sync_bwd_empty() local 138 const uint8_t *sync; in sync_fwd_none() local 149 const uint8_t *sync; in sync_bwd_none() local 160 const uint8_t *sync; in sync_fwd_here() local 174 const uint8_t *sync; in sync_bwd_here() local 188 const uint8_t *sync; in sync_fwd() local 202 const uint8_t *sync; in sync_bwd() local [all …]
|
| H A D | ptunit-query.c | 146 uint64_t sync[3], offset, ip; in sync_backward() local 183 ptu_uint_eq(offset, sync[2]); in sync_backward() 190 ptu_uint_eq(offset, sync[1]); in sync_backward() 197 ptu_uint_eq(offset, sync[0]); in sync_backward() 210 uint64_t sync[3], offset, ip; in sync_backward_empty_end() local 248 ptu_uint_eq(offset, sync[1]); in sync_backward_empty_end() 255 ptu_uint_eq(offset, sync[0]); in sync_backward_empty_end() 268 uint64_t sync[3], offset, ip; in sync_backward_empty_mid() local 306 ptu_uint_eq(offset, sync[2]); in sync_backward_empty_mid() 313 ptu_uint_eq(offset, sync[0]); in sync_backward_empty_mid() [all …]
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | mevent_test.c | 122 struct esync *sync = param; in echoer_callback() local 124 pthread_mutex_lock(&sync->e_mt); in echoer_callback() 125 pthread_cond_signal(&sync->e_cond); in echoer_callback() 126 pthread_mutex_unlock(&sync->e_mt); in echoer_callback() 132 struct esync sync; in echoer() local 138 pthread_mutex_init(&sync.e_mt, NULL); in echoer() 141 pthread_mutex_lock(&sync.e_mt); in echoer() 149 while (!pthread_cond_wait(&sync.e_cond, &sync.e_mt)) { in echoer() 161 pthread_mutex_unlock(&sync.e_mt); in echoer() 162 pthread_mutex_destroy(&sync.e_mt); in echoer() [all …]
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | zcp_synctask.c | 74 if (!sync) in zcp_sync_task() 119 zcp_synctask_destroy(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_destroy() argument 142 dsl_destroy_snapshot_sync, &ddsa, sync, dsname); in zcp_synctask_destroy() 148 dsl_destroy_head_sync, &ddha, sync, dsname); in zcp_synctask_destroy() 186 dsl_dataset_promote_sync, &ddpa, sync, dsname); in zcp_synctask_promote() 217 dsl_dataset_rollback_sync, &ddra, sync, dsname); in zcp_synctask_rollback() 270 dsl_dataset_snapshot_sync, &ddsa, sync, dsname); in zcp_synctask_snapshot() 294 boolean_t sync = lua_toboolean(state, lua_upvalueindex(2)); in zcp_synctask_wrapper() local 317 err = info->func(state, sync, err_details); in zcp_synctask_wrapper() 337 zcp_load_synctask_lib(lua_State *state, boolean_t sync) in zcp_load_synctask_lib() argument [all …]
|
| H A D | zvol.c | 1431 else if (sync) 1593 boolean_t sync; local 1639 goto sync; 1754 if (sync) 1764 if (sync) { 1765 sync: 1900 boolean_t sync; local 1954 if (sync) 3172 boolean_t sync; local 3210 sync = FALSE; [all …]
|
| /freebsd-12.1/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() 197 *sync = current; in pt_sync_forward() 202 int pt_sync_backward(const uint8_t **sync, const uint8_t *pos, in pt_sync_backward() argument 207 if (!sync || !pos || !config) in pt_sync_backward() 238 *sync = next; in pt_sync_backward()
|
| H A D | pt_packet_decoder.c | 90 const uint8_t *pos, *sync; in pt_pkt_sync_forward() local 96 sync = decoder->sync; in pt_pkt_sync_forward() 101 if (pos == sync) in pt_pkt_sync_forward() 108 decoder->sync = sync; in pt_pkt_sync_forward() 109 decoder->pos = sync; in pt_pkt_sync_forward() 130 decoder->sync = sync; in pt_pkt_sync_backward() 131 decoder->pos = sync; in pt_pkt_sync_backward() 150 decoder->sync = pos; in pt_pkt_sync_set() 182 sync = decoder->sync; in pt_pkt_get_sync_offset() 184 if (!sync) in pt_pkt_get_sync_offset() [all …]
|
| H A D | pt_query_decoder.c | 319 decoder->sync = pos; in pt_qry_start() 563 const uint8_t *pos, *sync; in pt_qry_sync_forward() local 569 sync = decoder->sync; in pt_qry_sync_forward() 574 if (pos == sync) in pt_qry_sync_forward() 586 const uint8_t *start, *sync; in pt_qry_sync_backward() local 596 sync = start; in pt_qry_sync_backward() 598 errcode = pt_sync_backward(&sync, sync, &decoder->config); in pt_qry_sync_backward() 628 const uint8_t *sync, *pos; in pt_qry_sync_set() local 669 sync = decoder->sync; in pt_qry_get_sync_offset() 671 if (!sync) in pt_qry_get_sync_offset() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_fd.cc | 29 FdSync *sync; member 99 if (d->sync) { in init() 100 unref(thr, pc, d->sync); in init() 101 d->sync = 0; in init() 106 d->sync = s; in init() 109 d->sync = &fdctx.globsync; in init() 164 FdSync *s = d->sync; in FdAcquire() 175 FdSync *s = d->sync; in FdRelease() 212 unref(thr, pc, d->sync); in FdClose() 213 d->sync = 0; in FdClose() [all …]
|
| H A D | tsan_rtl_thread.cc | 28 , sync() in ThreadContext() 39 CHECK_EQ(sync.size(), 0); in OnDead() 44 AcquireImpl(caller_thr, 0, &sync); in OnJoined() 45 sync.Reset(&caller_thr->proc()->clock_cache); in OnJoined() 63 ReleaseImpl(args->thr, 0, &sync); in OnCreated() 70 CHECK_EQ(sync.size(), 0); in OnReset() 78 sync.Reset(&thr1->proc()->clock_cache); in OnDetached() 118 AcquireImpl(thr, 0, &sync); in OnStarted() 120 sync.Reset(&thr->proc()->clock_cache); in OnStarted() 139 ReleaseImpl(thr, 0, &sync); in OnFinished()
|
| /freebsd-12.1/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-12.1/release/sparc64/ |
| H A D | mkisoimages.sh | 56 dd if="$BASEBITSDIR/boot/boot1" of="$BOOTFSIMG" bs=512 conv=notrunc,sync 71 dd if="$NAME.tmp" of="$NAME" bs="${CYLSIZE}b" conv=notrunc,sync 72 dd if="$BOOTFSIMG" of="$NAME" bs="${CYLSIZE}b" seek=$ISOCYLS conv=notrunc,sync 74 dd if=/dev/zero of="$NAME" bs="${CYLSIZE}b" seek=$ENDCYL count=2 conv=notrunc,sync
|
| /freebsd-12.1/libexec/rc/ |
| H A D | rc.suspend | 56 /bin/sync && /bin/sync && /bin/sync
|
| H A D | rc.resume | 56 /bin/sync && /bin/sync && /bin/sync
|
| /freebsd-12.1/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-12.1/contrib/ntp/scripts/ntp-wait/ |
| H A D | ntp-wait.in | 41 my $sync = $info->{status_line}{sync}; 43 if ($leap =~ /(sync|leap)_alarm/) {
|
| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_async.c | 79 hook_p sync; /* Synchronous side */ member 227 hookp = &sc->sync; in nga_newhook() 245 if (hook == sc->sync) in nga_rcvdata() 362 else if (hook == sc->sync) in nga_disconnect() 363 hookp = &sc->sync; in nga_disconnect() 500 NG_FWD_ITEM_HOOK(error, item, sc->sync); in nga_rcv_async() 546 sc->sync, n); in nga_rcv_async() 549 sc->sync ,n); in nga_rcv_async()
|
| /freebsd-12.1/bin/sync/ |
| H A D | Makefile | 5 PROG= sync 6 MAN= sync.8
|
| /freebsd-12.1/contrib/blacklist/bin/ |
| H A D | state.c | 130 (*db->sync)(db, 0); in state_del() 185 (*db->sync)(db, 0); in state_put() 234 return (*db->sync)(db, 0); in state_sync()
|
| /freebsd-12.1/usr.bin/svn/svnsync/ |
| H A D | Makefile | 9 PROG= svn${SVNLITE}sync 11 SRCS= svnsync.c sync.c
|
| /freebsd-12.1/tools/regression/tmpfs/ |
| H A D | t_sizes | 82 sync 85 sync
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | Parallel.h | 56 ~Latch() { sync(); } in ~Latch() 69 void sync() const { in sync() function 81 void sync() const { L.sync(); } in sync() function
|
| /freebsd-12.1/sys/dev/cxgbe/ |
| H A D | t4_l2t.c | 154 t4_write_l2e(struct l2t_entry *e, int sync) in t4_write_l2e() argument 175 V_SYNC_WR(sync) | V_TID_QID(e->iqid))); in t4_write_l2e() 176 req->params = htons(V_L2T_W_PORT(e->lport) | V_L2T_W_NOREPLY(!sync)); in t4_write_l2e() 183 if (sync && e->state != L2T_STATE_SWITCHING) in t4_write_l2e()
|
| /freebsd-12.1/sys/geom/mirror/ |
| H A D | g_mirror.c | 1332 sync = &disk->d_sync; in g_mirror_sync_request() 1398 sync->ds_inflight--; in g_mirror_sync_request() 1400 if (sync->ds_inflight > 0) in g_mirror_sync_request() 1417 sync->ds_consumer->index++; in g_mirror_sync_request() 1433 bp = sync->ds_bios[i]; in g_mirror_sync_request() 2069 sync = &disk->d_sync; in g_mirror_sync_start() 2099 sync->ds_consumer = cp; in g_mirror_sync_start() 2101 sync->ds_consumer->index = 0; in g_mirror_sync_start() 2110 sync->ds_bios[i] = bp; in g_mirror_sync_start() 2127 bp = sync->ds_bios[i]; in g_mirror_sync_start() [all …]
|
| /freebsd-12.1/tools/tools/build_option_survey/ |
| H A D | option_survey.sh | 88 sync ${MNT} 93 sync 95 sync
|