/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/cmd/zed/zed.d/ |
H A D | Makefile.am | 12 %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/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/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/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/openzfs/tests/zfs-tests/tests/functional/failmode/ |
H A D | failmode.kshlib | 33 ["osync"]='dd if=/dev/urandom of=DATAFILE bs=128k count=1 oflag=sync' 38 ["syncalways"]="-o sync=always" 51 # run a failmode sync test: 71 # try to ensure that the sync write never involves the main device 80 log_must zpool sync 89 # suspend, and the sync op block or fail based on the failmode 91 log_note "running failmode sync helper: $helper_cmd" 132 # - the ZIL saw an error, and fell back to a txg sync 133 # - sync op blocked when the pool suspended 134 # - after resume, sync op succeeded, helper returned success [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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/ |
H A D | zed_synchronous_zedlet.ksh | 50 OUR_ZEDLETS="scrub_start-async.sh scrub_start-slow.sh scrub_finish-sync-slow.sh trim_start-async.sh" 63 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 116 # with the slow 'scrub_finish-sync-slow.sh' zedlet still running. 123 # At a minimum, scrub_start-slow.sh + scrub_finish-sync-slow.sh will take a 127 # If our zedlets were run in the right order, with sync correctly honored, you 132 # Fri May 16 12:04:31 PDT 2025 scrub_finish-sync-slow.sh 145 scrub_finish-sync-slow.sh \
|
/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/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/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,
|