/freebsd/sys/dev/usb/serial/ |
H A D | uipaq.c | 159 /* Socket USB Sync */ 161 /* USB Sync 0301 */ 163 /* USB Sync 0302 */ 165 /* USB Sync 0303 */ 167 /* GPS Pocket PC USB Sync */ 173 /* Linkup Systems USB Sync */ 175 /* BCOM USB Sync 0065 */ 177 /* BCOM USB Sync 0066 */ 179 /* BCOM USB Sync 0067 */ 181 /* Portatec USB Sync */ [all …]
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-sync.c | 37 /* A test fixture for sync tests. */ 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 [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_sync/ |
H A D | zpool_sync_001_pos.ksh | 23 # Verify 'zpool sync' can sync txgs to the pool(s) main vdevs. 28 # 3. Create a file in the pool if we're not using force sync 29 # 4. Use zpool sync to sync pool 40 set -A args "sync $TESTPOOL" "sync -f $TESTPOOL" "sync" "sync -f" 42 log_assert "Verify 'zpool sync' can sync a pool" 60 # sync_pool is implemented using 'zpool sync' so let's test it as well 62 # make sure we can use sync_pool with force sync explicitly not used 71 # make sure we can use sync_pool with force sync explicitly enabled 79 # make sure we can use sync_pool with force sync implicitly not used 88 log_pass "'zpool sync' syncs pool as expected."
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.parse_args_neg.ksh | 21 # Try calling zfs.sync.destroy with various arguments that are not 27 set -A progs "zfs.sync.destroy(\"foo\", \"bar\")" \ 28 "zfs.sync.destroy(\"foo\", 12345)" \ 29 "zfs.sync.destroy(12345)" \ 30 "zfs.sync.destroy()" \ 31 "zfs.sync.destroy{\"foo\", bar=true}" \ 32 "zfs.sync.destroy{\"foo\", defer=12345}" \ 33 "zfs.sync.destroy{\"foo\", defer=true, 12345}" \ 34 "zfs.sync.destroy{\"foo\", defer=true, bar=12345}" \ 35 "zfs.sync.destroy{\"foo\", bar=true, defer=true}" \ [all …]
|
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/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_synctask.c | 71 * If 'sync' is false, executes a dry run and returns the error code. 74 * (meaning we are running a zfs.sync function in open-context) then we 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() 93 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task() 94 "submodule requires passing sync=TRUE to " 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 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ |
H A D | fsl,qe-tsa.yaml | 59 The hardware can use four dedicated pins for Tx clock, Tx sync, Rx 60 clock and Rx sync or use only two pins, Tx/Rx clock and Tx/Rx sync. 67 - description: Receive sync clock 69 - description: Transmit sync clock 80 fsl,rx-frame-sync-delay-bits: 84 Receive frame sync delay in number of bits. 85 Indicates the delay between the Rx sync and the first bit of the Rx 88 fsl,tx-frame-sync-delay-bits: 92 Transmit frame sync delay in number of bits. 93 Indicates the delay between the Tx sync and the first bit of the Tx [all …]
|
H A D | fsl,cpm1-tsa.yaml | 59 The hardware can use four dedicated pins for Tx clock, Tx sync, Rx 60 clock and Rx sync or use only two pins, Tx/Rx clock and Tx/Rx sync. 80 fsl,rx-frame-sync-delay-bits: 84 Receive frame sync delay in number of bits. 85 Indicates the delay between the Rx sync and the first bit of the Rx 88 fsl,tx-frame-sync-delay-bits: 92 Transmit frame sync delay in number of bits. 93 Indicates the delay between the Tx sync and the first bit of the Tx 106 Frame sync pulses are sampled with the rising edge of the channel
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_syslog.h | 52 #define NLOG_SYSSTATUS 0x00000004 /* system status (sync/unsync) */ 59 #define NLOG_PEERSTATUS 0x00000040 /* peer status (sync/unsync) */ 66 #define NLOG_CLOCKSTATUS 0x00000400 /* clock status (sync/unsync) */ 69 #define NLOG_OSYNC 12 /* offset for sync flags */ 70 #define NLOG_SYNCMASK 0x0000F000 /* sync log events */ 71 #define NLOG_SYNCINFO 0x00001000 /* sync info log events */ 72 #define NLOG_SYNCEVENT 0x00002000 /* sync events */ 73 #define NLOG_SYNCSTATUS 0x00004000 /* sync status (sync/unsync) */ 74 #define NLOG_SYNCSTATIST 0x00008000 /* sync statistics output */
|
/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/sys/contrib/device-tree/Bindings/sound/ |
H A D | qcom,q6dsp-lpass-ports.yaml | 52 qcom,tdm-sync-mode: 57 0 = Short sync bit mode 58 1 = Long sync mode 59 2 = Short sync slot mode 61 qcom,tdm-sync-src: 77 qcom,tdm-invert-sync: 81 TDM Invert the sync 99 width in case of sample bit width is 24TDM Invert the sync. 117 - qcom,tdm-sync-mode 118 - qcom,tdm-sync-src [all …]
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zfs-program.8 | 61 zfs.sync submodule. 236 .Dl Sy zfs.sync.destroy Ns Pq \&"rpool@snap" 241 .Dl Sy zfs.sync.destroy Ns Pq {1="rpool@snap", defer=true} 245 .Dl Sy zfs.sync.snapshot Ns {"rpool@snap", defer=true} 261 .Dl errno = Sy zfs.sync.promote Ns Pq dataset 265 .No errno, details = Sy zfs.sync.promote Ns Pq dataset 343 .It Sy zfs.sync submodule 344 The sync submodule contains functions that modify the on-disk state. 347 The available sync submodule functions are as follows: 349 .It Sy zfs.sync.destroy Ns Pq Ar dataset , Op Ar defer Ns = Ns Sy true Ns | Ns Sy false [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/usr.sbin/apmd/ |
H A D | apmd.8 | 145 exec "sync && sync && sync"; 156 .Ql sync 185 should include sync in the command list, 187 should include sync in the command list, 269 exec "sync && sync && sync"; 294 # exec "sync && sync && sync";
|
H A D | apmd.conf | 10 exec "sync && sync && sync"; 35 # exec "sync && sync && sync";
|
/freebsd/tools/test/stress2/tools/ |
H A D | bench.c | 46 #define SYNC 0 macro 66 setproctitle("%s sync", __func__); in cr1() 67 atomic_add_int(&share[SYNC], 1); in cr1() 68 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in cr1() 97 setproctitle("%s sync", __func__); in cr2() 98 atomic_add_int(&share[SYNC], 1); in cr2() 99 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in cr2() 125 setproctitle("%s sync", __func__); in cr3() 126 atomic_add_int(&share[SYNC], 1); in cr3() 127 while (share[SYNC] != (volatile u_int)tests * PARALLEL) in cr3() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_sync.ksh | 23 # Verify that nopwrite works for sync writes 28 # 3. Use dd with the sync flag to test the sync write path. 41 log_assert "nopwrite works for sync writes" 45 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS oflag=sync \ 51 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed." 55 log_pass "nopwrite works for sync writes"
|
/freebsd/lib/libsys/ |
H A D | sync.2 | 32 .Nm sync 39 .Fn sync void 42 .Fn sync 49 .Fn sync 64 .Xr sync 8 67 .Fn sync 72 .Fn sync
|
/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 …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
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/processor-trace/libipt/internal/include/ |
H A D | pt_sync.h | 42 * On success, stores a pointer to the next synchronization point in @sync. 46 * Returns -pte_internal if @sync, @pos, or @config is NULL. 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, 60 * On success, stores @pos in @sync. 65 * Returns -pte_internal if @sync, @pos, or @config is NULL. 68 extern int pt_sync_set(const uint8_t **sync, const uint8_t *pos,
|
/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
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 120 * on signal loss. SSYNC is set when the second sync pulse has been 122 * sync pulse has been acquired. DSYNC is set when the units digit has 131 * and the minute sync slips a second. 133 #define MSYNC 0x0001 /* minute epoch sync */ 134 #define SSYNC 0x0002 /* second epoch sync */ 135 #define DSYNC 0x0004 /* minute units sync */ 161 #define SYNERR 0x8 /* not tracking second sync */ 172 #define SYNCH 40 /* station sync timeout */ 181 #define MTHR 13. /* minute sync gate (percent) */ 182 #define TTHR 50. /* minute sync threshol 480 struct sync { global() struct 482 maxengsync global() argument 483 noiengsync global() argument 486 mepochsync global() argument 488 ampsync global() argument 489 synengsync global() argument 490 synmaxsync global() argument 491 synsnrsync global() argument 504 refidsync global() argument [all...] |
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | time-sync.c | 7 #include "time-sync.h" 39 * in the queue, they did not get a time sync notification and are in iwl_mvm_time_sync_find_skb() 72 IWL_DEBUG_INFO(mvm, "Time sync event but no pending skb\n"); in iwl_mvm_time_sync_msmt_event() 87 "Time sync: RX event - report frame t2=%llu t3=%llu\n", in iwl_mvm_time_sync_msmt_event() 107 IWL_DEBUG_INFO(mvm, "Time sync confirm but no pending skb\n"); in iwl_mvm_time_sync_msmt_confirm_event() 122 "Time sync: TX event - report frame t1=%llu t4=%llu\n", in iwl_mvm_time_sync_msmt_confirm_event() 144 IWL_DEBUG_INFO(mvm, "Time sync: reject config for peer: %pM\n", in iwl_mvm_time_sync_config() 162 IWL_ERR(mvm, "Failed to send time sync cfg cmd: %d\n", err); in iwl_mvm_time_sync_config() 166 IWL_DEBUG_INFO(mvm, "Time sync: set peer addr=%pM\n", addr); in iwl_mvm_time_sync_config()
|