/freebsd/sys/dev/usb/serial/ |
H A D | uipaq.c | 158 /* Socket USB Sync */ 160 /* USB Sync 0301 */ 162 /* USB Sync 0302 */ 164 /* USB Sync 0303 */ 166 /* GPS Pocket PC USB Sync */ 172 /* Linkup Systems USB Sync */ 174 /* BCOM USB Sync 0065 */ 176 /* BCOM USB Sync 0066 */ 178 /* BCOM USB Sync 0067 */ 180 /* 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 | 24 # Verify 'zpool sync' can sync txgs to the pool(s) main vdevs. 29 # 3. Create a file in the pool if we're not using force sync 30 # 4. Use zpool sync to sync pool 41 set -A args "sync $TESTPOOL" "sync -f $TESTPOOL" "sync" "sync -f" 43 log_assert "Verify 'zpool sync' can sync a pool" 61 # sync_pool is implemented using 'zpool sync' so let's test it as well 63 # make sure we can use sync_pool with force sync explicitly not used 72 # make sure we can use sync_pool with force sync explicitly enabled 80 # make sure we can use sync_pool with force sync implicitly not used 89 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 | 22 # Try calling zfs.sync.destroy with various arguments that are not 28 set -A progs "zfs.sync.destroy(\"foo\", \"bar\")" \ 29 "zfs.sync.destroy(\"foo\", 12345)" \ 30 "zfs.sync.destroy(12345)" \ 31 "zfs.sync.destroy()" \ 32 "zfs.sync.destroy{\"foo\", bar=true}" \ 33 "zfs.sync.destroy{\"foo\", defer=12345}" \ 34 "zfs.sync.destroy{\"foo\", defer=true, 12345}" \ 35 "zfs.sync.destroy{\"foo\", defer=true, bar=12345}" \ 36 "zfs.sync.destroy{\"foo\", bar=true, defer=true}" \ [all …]
|
H A D | tst.snapshot_neg.zcp | 28 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/module/zfs/ |
H A D | zcp_synctask.c | 73 * If 'sync' is false, executes a dry run and returns the error code. 76 * (meaning we are running a zfs.sync function in open-context) then we 85 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() 95 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task() 96 "submodule requires passing sync=TRUE to " 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() [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 | 63 zfs.sync submodule. 238 .Dl Sy zfs.sync.destroy Ns Pq \&"rpool@snap" 243 .Dl Sy zfs.sync.destroy Ns Pq {1="rpool@snap", defer=true} 247 .Dl Sy zfs.sync.snapshot Ns {"rpool@snap", defer=true} 263 .Dl errno = Sy zfs.sync.promote Ns Pq dataset 267 .No errno, details = Sy zfs.sync.promote Ns Pq dataset 345 .It Sy zfs.sync submodule 346 The sync submodule contains functions that modify the on-disk state. 349 The available sync submodule functions are as follows: 351 .It Fn zfs.sync.clone snapshot newdataset [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/ |
H A D | removal_nopwrite.ksh | 43 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/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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_sync.ksh | 24 # Verify that nopwrite works for sync writes 29 # 3. Use dd with the sync flag to test the sync write path. 42 log_assert "nopwrite works for sync writes" 46 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS oflag=sync \ 52 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed." 56 log_pass "nopwrite works for sync writes"
|
/freebsd/crypto/krb5/src/tests/ |
H A D | unlockiter.c | 57 /* Helper function for cb(): read a sync byte (with possible timeout), then 58 * write a sync byte. */ 71 printf("cb: waiting for %s sync pair\n", name); in syncpair_rw() 82 printf("cb: writing %s sync pair\n", name); in syncpair_rw() 88 /* On the first iteration only, receive and send sync bytes to the locking 100 com_err("cb", errno, "first sync pair"); in cb() 104 com_err("cb", errno, "second sync pair"); in cb() 107 printf("cb: waiting for final sync byte\n"); in cb() 109 com_err("cb", errno, "final sync byte"); in cb() 149 /* Helper function for locker(): write, then receive a sync byte. */ [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 …]
|
/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 | 78 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/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/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
|