Home
last modified time | relevance | path

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

12345678910>>...40

/freebsd/bin/dd/
H A Ddd.11 .\"-
45 Input data is read and written in 512-byte blocks.
54 .Bl -tag -width "of=file"
67 .Cm sync
89 .Cm sync
99 Read input from
106 .Bl -tag -width "fullblock"
109 When a read returns short, continue reading to fill the block.
113 .Xr read 2
116 .Cm conv=sync .
[all …]
/freebsd/sbin/ipf/libipf/
H A Dinterror.c63 { 35, "copyout failed for resolving function name -> addr" },
64 { 36, "copyout failed for resolving function addr -> name" },
67 { 39, "group map hash-table in/out do not match rule" },
73 { 45, "ipfilter not enabled for sync ioctl" },
168 { 140, "dup-to interface name index incorrect" },
169 { 141, "reply-to interface name index incorrect" },
180 /* -------------------------------------------------------------------------- */
200 /* -------------------------------------------------------------------------- */
204 /* -------------------------------------------------------------------------- */
231 /* -------------------------------------------------------------------------- */
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/io/
H A Dsync.ksh1 #! /bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
32 # Verify basic read(2), write(2) and lseek(2).
35 # 1. Use fio(1) in verify mode to perform write, read,
36 # random read, and random write workloads.
42 command -v fio > /dev/null || log_unsupported "fio missing"
46 log_must rm -f "$mntpnt/rw*"
49 log_assert "Verify basic read(2), write(2) and lseek(2)"
53 ioengine="--ioengine=sync"
55 dir="--directory=$mntpnt"
[all …]
H A Dlibaio.ksh1 #! /bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
35 # 1. Use fio(1) in verify mode to perform write, read,
36 # random read, and random write workloads.
42 command -v fio > /dev/null || log_unsupported "fio missing"
46 log_must rm -f "$mntpnt/rw*"
53 ioengine="--ioengine=libaio"
55 dir="--directory=$mntpnt"
57 set -A fio_arg -- "--sync=0" "--sync=1" "--direct=0" "--direct=1"
64 log_must rm -f "$mntpnt/rw*"
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file.c9 * or https://opensource.org/licenses/CDDL-1.0.
66 error = -zfs_open(ip, filp->f_mode, filp->f_flags, cr); in zpl_open()
82 if (ITOZ(ip)->z_atime_dirty) in zpl_release()
86 error = -zfs_close(ip, filp->f_flags, cr); in zpl_release()
103 error = -zfs_readdir(file_inode(filp), ctx, cr); in zpl_iterate()
114 struct inode *inode = filp->f_mapping->host; in zpl_fsync()
123 * tandem so that sync writes can detect if there are any non-sync in zpl_fsync()
124 * writes going on and vice-versa. The "vice-versa" part to this logic in zpl_fsync()
125 * is located in zfs_putpage() where non-sync writes check if there are in zpl_fsync()
126 * any ongoing sync writes. If any sync and non-sync writes overlap, in zpl_fsync()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A DREADME.md5 does one thing: read statistics from a pool and print them to
6 stdout. In many ways, this is a metrics-friendly output of
18 |---|---|---|
19 | --execd | -e | For use with telegraf's `execd` plugin. When [enter] is pressed, the pools are sam…
20 | --no-histogram | -n | Do not print histogram information |
21 | --signed-int | -i | Use signed integer data type (default=unsigned) |
22 | --sum-histogram-buckets | -s | Sum histogram bucket values |
23 | --tags key=value[,key=value...] | -t | Add tags to data points. No tag sanity checking is perform…
24 | --help | -h | Print a short usage message |
28 This works well out-of-the-box with an influxdb data source and grafana's
[all …]
/freebsd/usr.sbin/bhyve/
H A Dmevent_test.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
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()
128 struct esync sync; in echoer() local
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_remount.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
36 # 2. Verify we can (re)mount the dataset readonly/read-write
38 # 4. Verify we can't remount it read-write
40 # encryption=on and sync=disabled (issue #7753)
41 # 6. Re-import the pool readonly
42 # 7. Verify we can't remount its filesystem read-write
52 [[ -d $MNTPSNAP ]] && log_must rmdir $MNTPSNAP
57 typeset RO="-t zfs -ur"
58 typeset RW="-t zfs -uw"
[all …]
/freebsd/lib/libc/db/man/
H A Ddbopen.349 The flat-file format is a byte stream file with fixed or variable length
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
179 routines return -1 on error (setting
189 .Bl -tag -width indent
[all …]
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dti,gpmc-child.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tony Lindgren <tony@atomide.com>
11 - Roger Quadros <rogerq@kernel.org>
24 gpmc,sync-clk-ps:
28 # Chip-select signal timings corresponding to GPMC_CONFIG2:
29 gpmc,cs-on-ns:
33 gpmc,cs-rd-off-ns:
[all …]
H A Domap-gpmc.txt7 - compatible: Should be set to one of the following:
9 ti,omap2420-gpmc (omap2420)
10 ti,omap2430-gpmc (omap2430)
11 ti,omap3430-gpmc (omap3430 & omap3630)
12 ti,omap4430-gpmc (omap4430 & omap4460 & omap543x)
13 ti,am3352-gpmc (am335x devices)
15 - reg: A resource specifier for the register space
17 - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is
19 - #address-cells: Must be set to 2 to allow memory address translation
20 - #size-cells: Must be set to 1 to allow CS address passing
[all …]
/freebsd/usr.bin/tip/libacu/
H A Dbiz31.c4 /*-
5 * SPDX-License-Identifier: BSD-3-Clause
37 #define MAXRETRY 3 /* sync up retry count */
62 logent(value(HOST), "", "biz", "out of sync"); in biz_dialer()
63 printf("bizcomp out of sync\n"); in biz_dialer()
69 echo("#\rk$\r$\n"); /* disable auto-answer */ in biz_dialer()
120 write(FD, DISCONNECT_CMD, sizeof(DISCONNECT_CMD)-1); in biz31_disconnect()
139 read(FD, &c, 1); in echo()
150 read(FD, &c, 1); in echo()
177 read(FD, &c, 1); in detect()
[all …]
/freebsd/usr.sbin/fifolog/lib/
H A Dfifolog_reader.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2008 Poul-Henning Kamp
44 /*--------------------------------------------------------------------*/
66 retval = fifolog_int_open(&fr->ff, fname, 0); in fifolog_reader_open()
70 fr->obuf = calloc(16, fr->ff->recsize); in fifolog_reader_open()
71 if (fr->obuf == NULL) in fifolog_reader_open()
73 fr->olen = fr->ff->recsize * 16; in fifolog_reader_open()
75 i = inflateInit(fr->ff->zs); in fifolog_reader_open()
78 fr->magic = FIFOLOG_READER_MAGIC; in fifolog_reader_open()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio_random.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
34 # but correctly aligned direct read/writes is mixed with a
35 # concurrent workload of entirely unaligned buffered read/writes.
39 # 2. Start a background fio randomly issuing direct read/writes.
40 # 3. Start a background fio randomly issuing buffered read/writes.
47 log_must rm -f "$tmp_file"
62 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
64 # Direct random read/write page-aligned IO of varying sizes with
66 log_must eval "fio --filename=$tmp_file --name=direct-rwrand \
[all …]
H A Ddio_mmap.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
37 # 2. Start a background Direct I/O random read/write fio to the
39 # 3. Start a background mmap random read/write fio to the file.
47 log_must rm -f "$tmp_file"
64 log_must stride_dd -i /dev/zero -o $tmp_file -b $bs -c $blocks
67 log_must eval "fio --filename=$tmp_file --name=direct-write \
68 --rw=randwrite --size=$size --bs=$bs --direct=1 --numjobs=1 \
69 --ioengine=sync --fallocate=none --group_reporting --minimal \
70 --runtime=$runtime --time_based --norandommap &"
[all …]
/freebsd/contrib/opencsd/decoder/include/opencsd/stm/
H A Dtrc_pkt_proc_stm.h156 // read a nibble from the input data - may read a byte and set spare or return spare.
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
206 void checkSyncNibble(); //!< check current nibble as part of sync.
207 …(); //!< valid packet, so clear sync counters (i.e. a trailing ffff is not part o…
242 m_is_sync = true; //this nibble marks a sync sequence in checkSyncNibble()
243 m_num_F_nibbles = 21; // set the F nibble count - lose any extra as unsynced data. in checkSyncNibble()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dsendfile15.sh4 # SPDX-License-Identifier: BSD-2-Clause
36 # https://people.freebsd.org/~pho/stress/log/sendfile15-2.txt
39 # https://people.freebsd.org/~pho/stress/log/sendfile15-2.txt
43 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1
49 mycc -o sendfile15 -Wall -Wextra -O0 -g sendfile15.c || exit 1
50 rm -f sendfile15.c
53 set -e
54 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
55 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
56 mdconfig -a -t swap -s 2g -u $mdstart
[all …]
H A Dsendfile16.sh34 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1
40 mycc -o sendfile16 -Wall -Wextra -O0 -g sendfile16.c || exit 1
41 rm -f sendfile16.c
44 set -e
45 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
46 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
47 mdconfig -a -t swap -s 2g -u $mdstart
55 (cd $odir/../testcases/swap; ./swap -t 5m -i 20 -l 100 > /dev/null) &
59 while pgrep -q swap; do
63 [ -f sendfile16.core -a $s -eq 0 ] &&
[all …]
H A Dsendmsg.sh40 mycc -o sendmsg -Wall -Wextra -O0 -g sendmsg.c || exit 1
41 rm -f sendmsg.c
44 daemon sh -c "(cd ../testcases/swap; ./swap -t 5m -i 20 -k -h)" > /dev/null
49 while pgrep -q swap; do
50 pkill -9 swap
52 rm -f /tmp/sendmsg sendmsg.core
55 while pgrep -q sendmsg; do
56 pkill -9 sendmsg
58 [ $n -gt 20 ] && { echo "Looping sendmsg"; exit 1; }
85 #define SYNC 0
[all …]
H A Dsendfile17.sh4 # SPDX-License-Identifier: BSD-2-Clause
36 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1
42 mycc -o sendfile17 -Wall -Wextra -O0 -g sendfile17.c || exit 1
43 rm -f sendfile17.c
46 set -e
47 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
48 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
49 mdconfig -a -t swap -s 3g -u $mdstart
56 (cd $odir/../testcases/swap; ./swap -t 5m -i 20 > /dev/null) &
59 while pgrep -q swap; do
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/
H A Dmmap_mixed.ksh1 #!/bin/ksh -p
10 # or https://opensource.org/licenses/CDDL-1.0.
36 # 2. Start a background buffered read/write fio to the file.
37 # 3. Start a background mmap read/write fio to the file.
44 log_must rm -f "$tmp_file"
61 log_must eval "fio --filename=$tmp_file --name=buffer-write \
62 --rw=randwrite --size=$size --bs=$bs --direct=0 --numjobs=1 \
63 --ioengine=sync --fallocate=none --group_reporting --minimal \
64 --runtime=$runtime --time_based --norandommap &"
67 log_must eval "fio --filename=$tmp_file --name=buffer-read \
[all …]
/freebsd/tools/test/stress2/tools/
H A Dbench.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
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()
76 DEFFILEMODE)) == -1) in cr1()
85 if (unlink(file) == -1) in cr1()
97 setproctitle("%s sync", __func__); in cr2()
98 atomic_add_int(&share[SYNC], 1); in cr2()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dl2c2x0.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
16 models (Note 1). Some of the properties that are just prefixed "cache-*" are
22 cache controllers as found in e.g. Cortex-A15/A7/A57/A53. These
28 - $ref: /schemas/cache-controller.yaml#
33 - enum:
34 - arm,pl310-cache
35 - arm,l220-cache
[all …]
/freebsd/sys/contrib/device-tree/Bindings/cache/
H A Dl2c2x0.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
16 models (Note 1). Some of the properties that are just prefixed "cache-*" are
22 cache controllers as found in e.g. Cortex-A15/A7/A57/A53. These
28 - $ref: /schemas/cache-controller.yaml#
33 - enum:
34 - arm,pl310-cache
35 - arm,l220-cache
[all …]
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Domap3-gta04a5one.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com>
6 #include "omap3-gta04a5.dts"
13 gpmc_pins: gpmc-pins {
14 pinctrl-single,pins = <
45 pinctrl-names = "default";
46 pinctrl-0 = <&gpmc_pins>;
48 /delete-node/ nand@0,0;
52 #address-cells = <1>;
53 #size-cells = <1>;
[all …]

12345678910>>...40