Home
last modified time | relevance | path

Searched +full:sync +full:- +full:2 (Results 1 – 25 of 1072) sorted by relevance

12345678910>>...43

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_synctask.c52 const zcp_arg_t kwargs[2];
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
88 err = checkfunc(arg, ri->zri_tx); in zcp_sync_task()
89 if (!sync) in zcp_sync_task()
92 if (!ri->zri_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()
95 "lzc_channel_program() (i.e. do not specify the \"-n\" " in zcp_sync_task()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,q6dsp-lpass-ports.yaml1 # 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/device-tree/Bindings/soc/fsl/cpm_qe/
H A Dfsl,cpm1-tsa.yaml1 # 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/tests/zfs-tests/tests/functional/removal/
H A Dremoval_nopwrite.ksh1 #! /bin/ksh -p
42 dd if=/dev/urandom of=$TESTDIR/file_8k bs=1024k count=$MEGS oflag=sync \
43 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
45 dd if=/dev/urandom of=$TESTDIR/file_8k_copies bs=1024k count=$MEGS oflag=sync \
46 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
50 dd if=/dev/urandom of=$TESTDIR/file_128k bs=1024k count=$MEGS oflag=sync \
51 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
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."
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
42 # "freeze" command is required to flush the in-flight transactions;
49 # 2. Freeze TESTFS
77 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \
86 oflag=sync,direct bs=4k count=1
89 # 2. Freeze TESTFS
105 log_must ln -s /$TESTPOOL/$TESTFS/c /$TESTPOOL/$TESTFS/d
118 log_must mkdir -p $TESTDIR
120 oflag=sync bs=1k count=8
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_sync/
H A Dzpool_sync_001_pos.ksh1 #!/bin/ksh -p
23 # Verify 'zpool sync' can sync txgs to the pool(s) main vdevs.
27 # 2. Use zdb to obtain current txg
28 # 3. Create a file in the pool if we're not using force sync
29 # 4. Use zpool sync to sync pool
36 typeset -i txg=$(zdb -u $1 | sed -n 's/^[ ][ ]*txg = \(.*\)$/\1/p')
40 set -A args "sync $TESTPOOL" "sync -f $TESTPOOL" "sync" "sync -f"
42 log_assert "Verify 'zpool sync' can sync a pool"
44 typeset -i i=0
45 typeset -i orig_txg=0
[all …]
H A Dzpool_sync_002_neg.ksh1 #!/bin/ksh -p
23 # A badly formed parameter passed to 'zpool sync' should
27 # 1. Create an array containing bad 'zpool sync' parameters.
28 # 2. For each element, execute the sub-command.
34 set -A args "1" "-a" "-?" "--%" "-123456" "0.5" "-o" "-b" "-b no" "-z 2"
36 log_assert "Execute 'zpool sync' using invalid parameters."
38 typeset -i i=0
39 while [[ $i -lt ${#args[*]} ]]; do
40 log_mustnot zpool sync ${args[i]}
44 log_pass "Invalid parameters to 'zpool sync' fail as expected."
/freebsd/contrib/ntp/include/
H A Dntp_syslog.h32 #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/contrib/ntp/ntpd/
H A Drefclock_wwv.c2 * 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...]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_sync.ksh23 # Verify that nopwrite works for sync writes
27 # 2. Clone origin such that it inherits the properties.
28 # 3. Use dd with the sync flag to test the sync write path.
37 datasetexists $origin && destroy_dataset $origin -R
38 log_must zfs create -o mountpoint=$TESTDIR $origin
41 log_assert "nopwrite works for sync writes"
45 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS oflag=sync \
46 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
51 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
55 log_pass "nopwrite works for sync writes"
/freebsd/sys/powerpc/aim/
H A Dmp_cpudep.c1 /*-
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 Difconfig2.sh4 # 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 …]
H A Dadvlock.sh12 # 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 Dtruncate7.sh12 # 2. Redistributions in binary form must reproduce the above copyright
32 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
36 mount | grep -q "$mntpoint" && umount $mntpoint
37 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart
39 mdconfig -a -t swap -s 400m -u $mdstart
41 if [ `jot -r 1 0 1` -eq 0 ]; then
52 mycc -o truncate7 -Wall -O2 truncate7.c
53 rm -f truncate7.c
54 [ -d $RUNDIR ] || mkdir -p $RUNDIR
60 rm -f /tmp/truncate7
[all …]
H A Dtruncate3.sh12 # 2. Redistributions in binary form must reproduce the above copyright
31 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
35 mount | grep -q "$mntpoint" && umount $mntpoint
36 mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart
38 mdconfig -a -t swap -s 400m -u $mdstart
47 mycc -o truncate3 -Wall -O2 truncate3.c
48 rm -f truncate3.c
49 [ -d $RUNDIR ] || mkdir -p $RUNDIR
55 rm -f /tmp/truncate3
57 sync;sync;sync
[all …]
/freebsd/usr.sbin/bhyve/
H A Dmevent_test.c1 /*-
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/sys/contrib/openzfs/man/man8/
H A Dzfs-program.820 .Nm zfs-program
26 .Op Fl t Ar instruction-limit
27 .Op Fl m Ar memory-limit
52 .Bl -tag -width "-t"
53 .It Fl j , -json
55 When this flag is specified and standard output is empty -
59 Executes a read-only channel program, which runs faster.
60 The program cannot change on-disk state by calling functions from the
61 zfs.sync submodule.
66 .It Fl t Ar instruction-limit
[all …]
/freebsd/usr.sbin/apmd/
H A Dapmd.812 .\" 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/sys/contrib/openzfs/tests/zfs-tests/tests/perf/
H A Dperf.shlib20 export PERF_RUNTIME=${PERF_RUNTIME:-'180'}
21 export PERF_RANDSEED=${PERF_RANDSEED:-'1234'}
22 export PERF_COMPPERCENT=${PERF_COMPPERCENT:-'66'}
23 export PERF_COMPCHUNK=${PERF_COMPCHUNK:-'4096'}
26 export PERF_FIO_FORMAT=${PERF_FIO_FORMAT:-'json'}
29 export PERF_FS_OPTS=${PERF_FS_OPTS:-'-o recsize=8k -o compress=lz4' \
30 ' -o checksum=sha256 -o redundant_metadata=most'}
34 typeset sync=$1
37 [[ $sync -eq 0 ]] && sync_str='async'
38 [[ $sync -eq 1 ]] && sync_str='sync'
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/imu/
H A Dadi,adis16475.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
[all...]
/freebsd/contrib/opencsd/decoder/include/opencsd/stm/
H A Dtrc_pkt_proc_stm.h15 * 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/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.snapshot_neg.zcp1 --
2 -- This file and its contents are supplied under the terms of the
3 -- Common Development and Distribution License ("CDDL"), version 1.0.
4 -- You may only use this file in accordance with the terms of version
5 -- 1.0 of the CDDL.
6 --
7 -- A full copy of the text of the CDDL should have accompanied this
8 -- source. A copy of the CDDL is also available via the Internet at
9 -- http://www.illumos.org/license/CDDL.
10 --
[all …]
/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Dsprd,gpio-eic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/gpio/sprd,gpio-eic.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Orson Zhai <orsonzhai@gmail.com>
12 - Baolin Wang <baolin.wang7@gmail.com>
13 - Chunyan Zhang <zhang.lyra@gmail.com>
17 be used only in input mode. The Spreadtrum platform has 2 EIC controllers,
19 controller contains 4 sub-modules, i.e. EIC-debounce, EIC-latch, EIC-async and
20 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
[all …]
/freebsd/lib/libc/db/man/
H A Ddbopen.39 .\" 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/contrib/processor-trace/libipt/src/
H A Dpt_sync.c2 * Copyright (c) 2013-2019, Intel Corporation
33 #include "intel-pt.h"
36 /* A psb packet contains a unique 2-byte repeating pattern.
59 return truncate(pointer + alignment - 1, alignment); in align()
76 begin = config->begin; in pt_find_psb()
77 end = config->end; in pt_find_psb()
87 for (; (pos + 1) < end; pos += 2) { in pt_find_psb()
103 pos -= ptps_psb; in pt_find_psb()
125 * This will result in -pte_eos when we actually try to read from @pos. in pt_sync_within_bounds()
130 int pt_sync_set(const uint8_t **sync, const uint8_t *pos, in pt_sync_set() argument
[all …]

12345678910>>...43