/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ |
H A D | fsl,qe-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-tsa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PowerQUICC QE Time-slot assigner (TSA) controller 10 - Herve Codina <herve.codina@bootlin.com> 13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. 14 Its purpose is to route some TDM time-slots to other internal serial 20 - enum: 21 - fsl,mpc8321-tsa [all …]
|
H A D | fsl,cpm1-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PowerQUICC CPM Time-slot assigner (TSA) controller 10 - Herve Codina <herve.codina@bootlin.com> 13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. 14 Its purpose is to route some TDM time-slots to other internal serial 20 - enum: 21 - fsl,mpc885-tsa [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_synctask.c | 1 // SPDX-License-Identifier: CDDL-1.0 54 const zcp_arg_t kwargs[2]; 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 90 err = checkfunc(arg, ri->zri_tx); in zcp_sync_task() 91 if (!sync) in zcp_sync_task() 94 if (!ri->zri_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() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | qcom,q6dsp-lpass-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 18 - qcom,q6afe-dais 20 '#sound-dai-cells': 23 '#address-cells': 26 '#size-cells': 31 '^dai@[0-9]+$': [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/ |
H A D | removal_nopwrite.ksh | 1 #! /bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 43 dd if=/dev/urandom of=$TESTDIR/file_8k bs=1024k count=$MEGS oflag=sync \ 44 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed." 46 dd if=/dev/urandom of=$TESTDIR/file_8k_copies bs=1024k count=$MEGS oflag=sync \ 47 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed." 51 dd if=/dev/urandom of=$TESTDIR/file_128k bs=1024k count=$MEGS oflag=sync \ 52 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed." 55 count=$MEGS oflag=sync conv=notrunc >/dev/null 2>&1 || \ 67 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed." [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_fs_001.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 43 # "freeze" command is required to flush the in-flight transactions; 50 # 2. Freeze TESTFS 78 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \ 87 oflag=sync,direct bs=4k count=1 90 # 2. Freeze TESTFS 106 log_must ln -s /$TESTPOOL/$TESTFS/c /$TESTPOOL/$TESTFS/d 119 log_must mkdir -p $TESTDIR [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station 43 * kHz and mu-law companding. This is the same standard as used by the 53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available 61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the 68 * port, where 0 is the mike port (default) and 1 is the line-in port. 74 * CEVNT_PROP propagation failure - no stations heard 82 #define PRECISION (-10) /* precision assumed (about 1 ms) */ 99 #define AUDIO_PHI 5e-6 /* dispersion growth factor */ 120 * on signal loss. SSYNC is set when the second sync puls 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...] |
H A D | refclock_ulink.c | 2 * refclock_ulink - clock driver for Ultralink WWVB receiver 59 * on the Ultralink model 33X decoder Dip switch 2 controls 62 * dont set fudge flag1 if dip switch 2 is set on model 33x decoder 71 #define PRECISION (-10) /* precision assumed (about 10 ms) */ 112 * ulink_start - open the devices and initialize data for processing 129 fd = refclock_open(&peer->srcadr, device, SPEED232, LDISC_CLK); in ulink_start() 138 pp = peer->procptr; in ulink_start() 139 pp->io.clock_recv = ulink_receive; in ulink_start() 140 pp->io.srcclock = peer; in ulink_start() 141 pp->i in ulink_start() [all...] |
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_sync.ksh | 2 # SPDX-License-Identifier: CDDL-1.0 24 # Verify that nopwrite works for sync writes 28 # 2. Clone origin such that it inherits the properties. 29 # 3. Use dd with the sync flag to test the sync write path. 38 datasetexists $origin && destroy_dataset $origin -R 39 log_must zfs create -o mountpoint=$TESTDIR $origin 42 log_assert "nopwrite works for sync writes" 46 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS oflag=sync \ 47 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed." 52 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed." [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_sync/ |
H A D | zpool_sync_001_pos.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 24 # Verify 'zpool sync' can sync txgs to the pool(s) main vdevs. 28 # 2. Use zdb to obtain current txg 29 # 3. Create a file in the pool if we're not using force sync 30 # 4. Use zpool sync to sync pool 37 typeset -i txg=$(zdb -u $1 | sed -n 's/^[ ][ ]*txg = \(.*\)$/\1/p') 41 set -A args "sync $TESTPOOL" "sync -f $TESTPOOL" "sync" "sync -f" 43 log_assert "Verify 'zpool sync' can sync a pool" 45 typeset -i i=0 [all …]
|
H A D | zpool_sync_002_neg.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 24 # A badly formed parameter passed to 'zpool sync' should 28 # 1. Create an array containing bad 'zpool sync' parameters. 29 # 2. For each element, execute the sub-command. 35 set -A args "1" "-a" "-?" "--%" "-123456" "0.5" "-o" "-b" "-b no" "-z 2" 37 log_assert "Execute 'zpool sync' using invalid parameters." 39 typeset -i i=0 40 while [[ $i -lt ${#args[*]} ]]; do 41 log_mustnot zpool sync ${args[i]} [all …]
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_syslog.h | 32 #define LOG_CRIT 2 /* critical conditions */ 37 #define LOG_DEBUG 7 /* debug-level messages */ 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) */ [all …]
|
/freebsd/sys/powerpc/aim/ |
H A D | mp_cpudep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 13 * 2. Redistributions in binary form must reproduce the above copyright 76 mtspr(SPR_HID4, bsp_state[2]); powerpc_sync(); isync(); in cpudep_ap_early_bootstrap() 79 __asm __volatile("ld %0, 16(%2); sync; isync; \ in cpudep_ap_early_bootstrap() 80 mtspr %1, %0; sync; isync;" in cpudep_ap_early_bootstrap() 82 __asm __volatile("ld %0, 24(%2); sync; isync; \ in cpudep_ap_early_bootstrap() 83 mtspr %1, %0; sync; isync;" in cpudep_ap_early_bootstrap() 106 * Nuke FSCR, to be managed on a per-process basis in cpudep_ap_early_bootstrap() 127 pcpup->pc_curthread = pcpup->pc_idlethread; in cpudep_ap_bootstrap() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | advlock.sh | 12 # 2. Redistributions in binary form must reproduce the above copyright 36 # The second change closes a race where a read-only open() with O_SHLOCK or 37 # O_EXLOCK may return successfully while the write count is non-zero due to 51 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 57 mycc -o advlock -Wall -Wextra -O0 -g advlock.c || exit 1 58 rm -f advlock.c 60 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 61 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 62 mdconfig -a -t swap -s 512m -u $mdstart || exit 1 72 while mount | grep "on $mntpoint " | grep -q /dev/md; do [all …]
|
H A D | ifconfig2.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 13 # 2. Redistributions in binary form must reproduce the above copyright 37 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 38 if=`ifconfig | grep -w mtu | grep -v RUNNING | sed 's/:.*//' | head -1` 39 [ -z "$if" ] && 41 awk '/^[a-z].*: / {gsub(":", ""); ifn = $1}; /no car/{print ifn; exit}'` 43 [ -z "$if" ] && exit 0 45 ifconfig $if | grep -q RUNNING && running=1 47 sync=/tmp/`basename $0`.sync 48 rm -f $sync [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | mevent_test.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 33 * cc mevent_test.c mevent.c -lpthread 80 diff = (tevbuf[j] - tevbuf[j-1]) * 1000000 / tsc_freq; in timer_print() 89 sum/(TEVSZ - 1)); in timer_print() 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() [all …]
|
/freebsd/release/tools/ |
H A D | mkami.sh | 1 #!/bin/sh -e 5 # SPDX-License-Identifier: BSD-2-Clause 13 if [ -z "$NAME" ]; then 17 DESC=$2 18 if ! [ -z "$DESC" ]; then 19 DESCOPT="--description '$DESC'" 23 # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html 25 fetch -qo $TMPFILE http://169.254.169.254/latest/dynamic/instance-identity/document 26 INST=`awk -F \" '/"instanceId"/ { print $4 }' $TMPFILE` 27 REGION=`awk -F \" '/"region"/ { print $4 }' $TMPFILE` [all …]
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zfs-program.8 | 1 .\" SPDX-License-Identifier: CDDL-1.0 22 .Nm zfs-program 28 .Op Fl t Ar instruction-limit 29 .Op Fl m Ar memory-limit 54 .Bl -tag -width "-t" 55 .It Fl j , -json 57 When this flag is specified and standard output is empty - 61 Executes a read-only channel program, which runs faster. 62 The program cannot change on-disk state by calling functions from the 63 zfs.sync submodule. [all …]
|
/freebsd/crypto/krb5/src/tests/ |
H A D | unlockiter.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2 /* tests/unlockiter.c - test program for unlocked iteration */ 57 /* Helper function for cb(): read a sync byte (with possible timeout), then 58 * write a sync byte. */ 67 FD_SET(arg->inpipe, &rset); in syncpair_rw() 71 printf("cb: waiting for %s sync pair\n", name); in syncpair_rw() 72 nfds = select(arg->inpipe + 1, &rset, in syncpair_rw() 75 return -1; in syncpair_rw() 78 return -1; in syncpair_rw() 80 if (read(arg->inpipe, cp, 1) < 0) in syncpair_rw() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/perf/ |
H A D | perf.shlib | 1 # SPDX-License-Identifier: CDDL-1.0 21 export PERF_RUNTIME=${PERF_RUNTIME:-'180'} 22 export PERF_RANDSEED=${PERF_RANDSEED:-'1234'} 23 export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'} 24 export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'} 27 export PERF_FIO_FORMAT=${PERF_FIO_FORMAT:-'json'} 30 export PERF_FS_OPTS=${PERF_FS_OPTS:-'-o recsize=8k -o compress=lz4' \ 31 ' -o checksum=sha256 -o redundant_metadata=most'} 35 typeset sync=$1 38 [[ $sync -eq 0 ]] && sync_str='async' [all …]
|
/freebsd/usr.sbin/apmd/ |
H A D | apmd.8 | 12 .\" 2. Redistributions in binary form must reproduce the above copyright 61 built-in functions in the configuration file. 66 .Bl -tag -width f_file 109 .Xr ioctl 2 143 .Bd -literal 145 exec "sync && sync && sync"; 156 .Ql sync 160 .Bl -bullet 163 .Bd -ragged -offset indent 170 .Bd -ragged -offset indent [all …]
|
/freebsd/contrib/opencsd/decoder/include/opencsd/stm/ |
H A D | trc_pkt_proc_stm.h | 15 * 2. Redistributions in binary form must reproduce the above copyright notice, 110 // 2 nibble opcodes 0xFn 156 // read a nibble from the input data - may read a byte and set spare or return spare. 175 uint8_t m_nibble_2nd; //!< 2nd unused nibble from a processed byte. 176 bool m_nibble_2nd_valid; //!< 2nd nibble is valid; 184 …std::vector<uint8_t> m_packet_data; //!< current packet data (bytes) - only saved if needed to… 200 // sync handling - need to spot sync mid other packet in case of wrap / discontinuity 202 bool m_sync_start; //!< possible start of sync 203 bool m_is_sync; //!< true if found sync at current nibble 204 ocsd_trc_index_t m_sync_index; //!< index of start of possible sync packet [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/imu/ |
H A D | adi,adis16475.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16475.pdf 19 - adi,adis16475-1 20 - adi,adis16475-2 21 - adi,adis16475-3 22 - adi,adis16477-1 23 - adi,adis16477-2 [all …]
|
/freebsd/lib/libc/db/man/ |
H A D | dbopen.3 | 9 .\" 2. Redistributions in binary form must reproduce the above copyright 49 The flat-file format is a byte stream file with fixed or variable length 76 .Xr open 2 91 .\".Bl -tag -width indent 94 .\"If concurrent access is not needed or the database is read-only this 147 .Bd -literal 156 int (*sync)(const DB *db, u_int flags); 166 .Bl -tag -width indent 172 Since key/data pairs may be cached in memory, failing to sync the file 176 .Va sync [all …]
|
/freebsd/sys/dev/ic/ |
H A D | z8530.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 13 * 2. Redistributions in binary form must reproduce the above copyright 38 * Channel A control: 2 16 48 #define WR_IV 2 /* Interrupt Vector (shared). */ 52 #define WR_SCAF 6 /* Sync Character or (SDLC) Address Field. */ 53 #define WR_SCF 7 /* Sync Character or (SDCL) Flag. */ 57 #define WR_MCB1 10 /* Miscellaneous Control Bits (part 1 :-). */ 61 #define WR_MCB2 14 /* Miscellaneous Control Bits (part 2 :-). */ 67 #define RR_IV 2 /* Interrupt Vector. */ [all …]
|