/freebsd-src/sbin/bsdlabel/ |
H A D | bsdlabel.8 | 36 .Nd read and write BSD label 76 .Pa freebsd-bsdlabel 146 To write a standard label, use the form 202 .Bl -tag -width ".Pa /etc/disktab" -compact 217 .Bd -literal -offset 4n 220 # size offset fstype [fsize bsize bps/cpg] 223 c: 1173930 0 unuse [all...] |
/freebsd-src/contrib/bsnmp/snmp_mibII/ |
H A D | BEGEMOT-MIB2-MIB.txt | 1 -- 2 -- Copyright (c) 2006 3 -- Hartmut Brandt 4 -- All rights reserved. 5 -- 6 -- Author: Harti Brandt <harti@freebsd.org> 7 -- 8 -- Redistribution and use in source and binary forms, with or without 9 -- modification, are permitted provided that the following conditions 10 -- are met: [all …]
|
/freebsd-src/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_vnops.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 61 * Enables access to the block cloning feature. If this setting is 0, then even 74 int zfs_bclone_wait_dirty = 0; 77 * Enable Direct I/O. If this setting is 0, then all I/O requests will be 85 static int zfs_dio_enabled = 0; in zfs_fsync() 99 int error = 0; 102 if (zfsvfs->z_os->os_sync != ZFS_SYNC_DISABLED) { 103 if ((error = zfs_enter_verify_zp(zfsvfs, zp, FTAG)) != 0) 105 atomic_inc_32(&zp->z_sync_writes_cn 1066 blkptr_t *bps; zfs_clone_range() local 1464 zfs_clone_range_replay(znode_t * zp,uint64_t off,uint64_t len,uint64_t blksz,const blkptr_t * bps,size_t nbps) zfs_clone_range_replay() argument [all...] |
H A D | zfs_log.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 52 * of 2 contexts depending on zilog->z_replay: 55 * -------- 892 zfs_log_clone_range(zilog_t * zilog,dmu_tx_t * tx,int txtype,znode_t * zp,uint64_t off,uint64_t len,uint64_t blksz,const blkptr_t * bps,size_t nbps) zfs_log_clone_range() argument [all...] |
H A D | bpobj.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 45 ASSERT0(dp->dp_empty_bpobj); in bpobj_alloc_empty() 46 dp->dp_empty_bpobj = in bpobj_alloc_empty() 51 &dp->dp_empty_bpobj, tx) == 0); in bpobj_alloc_empty() 54 ASSERT(dp->dp_empty_bpobj != 0); in bpobj_alloc_empty() 55 return (dp->dp_empty_bpobj); in bpobj_alloc_empty() 69 VERIFY3U(0, ==, zap_remove(dp->dp_meta_objset, in bpobj_decr_empty() 72 VERIFY3U(0, ==, dmu_object_free(os, dp->dp_empty_bpobj, tx)); in bpobj_decr_empty() 73 dp->dp_empty_bpobj = 0; in bpobj_decr_empty() 105 ASSERT(obj != dmu_objset_pool(os)->dp_empty_bpobj); in bpobj_free() [all …]
|
H A D | dmu.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 99 * Override copies= for dedup state objects. 0 means the traditional behaviour 102 uint_t dmu_ddt_copies = 0; 181 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread_by_dnode() 182 blkid = dbuf_whichblock(dn, 0, offset); in dmu_buf_hold_noread_by_dnode() 184 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread_by_dnode() 191 *dbp = &db->db; in dmu_buf_hold_noread() 192 return (0); in dmu_buf_hold_noread() 207 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread() 208 blkid = dbuf_whichblock(dn, 0, offse in dmu_buf_hold_noread() 2219 dmu_read_l0_bps(objset_t * os,uint64_t object,uint64_t offset,uint64_t length,blkptr_t * bps,size_t * nbpsp) dmu_read_l0_bps() argument 2314 dmu_brt_clone(objset_t * os,uint64_t object,uint64_t offset,uint64_t length,dmu_tx_t * tx,const blkptr_t * bps,size_t nbps) dmu_brt_clone() argument [all...] |
H A D | brt.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 54 * - Deduplication is automatic and Block Cloning is not - one has to use a 56 * - Deduplication keeps all data blocks in its table, even those referenced 61 * - Deduplication needs data to work - one needs to pass real data to the 62 * write(2) syscall, so hash can be calculated. Block Cloning doesn't require 64 * neither the cost of reading the data, nor the cost of writing the data - 66 * - If the D (dedup) bit is not set in the block pointer, it means that 74 * - Th [all...] |
/freebsd-src/tools/tools/ioat/ |
H A D | ioatcontrol.c | 1 /*- 50 printf("Usage: %s [-c period] [-EefmVxXz] channel-number num-txns [<bufsize> " in usage() 51 "[<chain-len> [duration]]]\n", getprogname()); in usage() 52 printf(" %s -r [-c period] [-vVwz] channel-number address [<bufsize>]\n\n", in usage() 54 printf(" -c period - Enable interrupt coalescing (us) (default: 0)\n"); in usage() 55 printf(" -E - Test contiguous 8k copy.\n"); in usage() 56 printf(" -e - Test non-contiguous 8k copy.\n"); in usage() 57 printf(" -f - Test block fill.\n"); in usage() 58 printf(" -m - Test memcpy instead of DMA.\n"); in usage() 59 printf(" -r - Issue DMA to or from a specific address.\n"); in usage() [all …]
|
/freebsd-src/contrib/ntp/html/drivers/ |
H A D | driver20.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 3 …<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Generic NMEA GPS Rec… 4 <!-- Changed by: Pearly &, 04-Feb-2019 --> 7 table.dlstable { font-size:85%; } 8 td.ttf{ font-family:Courier; font-weight:bold; } 16 <!-- #BeginDate format:En2m -->17-Oct-2020 16:00<!-- #EndDate --> 25 Serial Port: <tt>/dev/gps<i>u</i></tt>; 4800 - 115200 bps, 8-bits, no parity<br> 46 IDs</a> when using non-GPS or multi-system receivers. 114 <td>Day of the month (1-31)</td> 123 <td>Position Fix Mode (0 = Invalid, >0 = Valid)</td> [all …]
|
H A D | driver40.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 8 <meta http-equiv="Content-Style-Type" content="text/css"> 9 <meta http-equiv="Content-Script-Type" content="text/javascript"> 11 <link rev="made" href="http://www.bea.hi-ho.ne.jp/abetakao/"> 19 <!-- #BeginDate format:En2m -->12-Oct-2017 09:05<!-- #EndDate --> 20 …p; <a href="driver40.html">ENGLISH</a> <a href="driver40-ja.html">JAPANESE</a>… 32 <td width="50%" style="vertical-align:top;"> 33 <a href="#mode-1">Tristate Ltd. TS-JJY01, TS-JJY02</a><br> 34 <a href="#mode-2">C-DEX Co.,Ltd. JST2000</a><br> [all …]
|
/freebsd-src/sys/dev/sound/pci/ |
H A D | cmi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 * by Takuya Shiozaki <AoiMoe@imou.to>. Chen-Li Tien 39 * SPDIF contributed by Gerhard Gonter <gonter@whisky.wu-wien.ac.at>. 41 * This card/code does not always manage to sample at 44100 - actual 42 * rate drifts slightly between recordings (usually 0- 105 u_int32_t fmt, spd, phys_buf, bps; global() member [all...] |
/freebsd-src/sys/contrib/openzfs/include/sys/ |
H A D | dsl_scan.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 76 DSF_VISIT_DS_AGAIN = 1<<0, 99 * in-memory information about the scan and a pointer to the on-disk 101 * is contained on-disk to allow the scan to resume in the event of a reboot 107 * scn_suspending - a scan that cannot be completed in a single txg or 110 * the pool and write out the current state to disk. 112 * scn_restart_txg - directs the scanner to either restart or start a 115 * scn_done_txg - when a scan completes its traversal it will set 158 uint64_t scn_visited_this_txg; /* total bps visite [all...] |
H A D | dmu.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 97 * Allocating a new byteswap type number makes the on-disk format 106 #define DMU_OT_NEWTYPE 0x80 107 #define DMU_OT_METADATA 0x40 108 #define DMU_OT_ENCRYPTED 0x20 109 #define DMU_OT_BYTESWAP_MASK 0x1f 119 ((metadata) ? DMU_OT_METADATA : 0) | \ 120 ((encrypted) ? DMU_OT_ENCRYPTED : 0) | \ 140 (((ot) & DMU_OT_METADATA) != 0) : \ 157 (((ot) & DMU_OT_ENCRYPTED) != 0) [all...] |
H A D | zfs_znode.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 42 #define ZFS_READONLY 0x0000000100000000ull 43 #define ZFS_HIDDEN 0x0000000200000000ull 44 #define ZFS_SYSTEM 0x0000000400000000ull 45 #define ZFS_ARCHIVE 0x0000000800000000ull 46 #define ZFS_IMMUTABLE 0x0000001000000000ull 47 #define ZFS_NOUNLINK 0x0000002000000000ull 48 #define ZFS_APPENDONLY 0x0000004000000000ull 49 #define ZFS_NODUMP 0x0000008000000000ull 50 #define ZFS_OPAQUE 0x0000010000000000ul [all...] |
/freebsd-src/sys/dev/sound/pcm/ |
H A D | buffer.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org> 5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006 49 snprintf(b->name, SNDBUF_NAMELEN, "%s:%s", drv, desc); in sndbuf_create() 50 b->dev = dev; in sndbuf_create() 51 b->channe in sndbuf_create() [all...] |
H A D | feeder_rate.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org> 36 * - http://ccrma.stanford.edu/~jos/resample/ 39 * + all out fixed point integer operations, no soft-float or anything like 48 * - The z, z_, and Z_ . Due to mental block (or maybe just 0x7a6 124 int32_t bps; /* bytes-per-sample */ global() member [all...] |
/freebsd-src/sys/dev/usb/serial/ |
H A D | umcs.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 37 #define MCS7840_RDREQ 0x0d 38 #define MCS7840_WRREQ 0x0e 41 #define MCS7840_EEPROM_RW_WVALUE 0x0900 47 #define MCS7840_DEV_REG_SP1 0x00 /* Options for UART 1, R/W */ 48 #define MCS7840_DEV_REG_CONTROL1 0x01 /* Control bits for UART 1, 50 #define MCS7840_DEV_REG_PINPONGHIGH 0x02 /* High bits of ping-pong 52 #define MCS7840_DEV_REG_PINPONGLOW 0x03 /* Low bits of ping-pong 55 #define MCS7840_DEV_REG_GPIO 0x07 /* GPIO_0 and GPIO_1 bits, [all …]
|
/freebsd-src/sys/arm/ti/ |
H A D | ti_i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 114 { 100000, 23, 13, 15, 0, 0}, 115 { 400000, 9, 5, 7, 0, 0}, 116 { 1000000, 3, 5, 7, 0, [all...] |
/freebsd-src/tools/tools/netmap/ |
H A D | nmreplay.c | 49 * --- Main functions of the program --- 59 * q->cur_pkt points to the buffer containing the packet 60 * q->cur_len packet length, excluding CRC 61 * q->cur_caplen available packet length (may be shorter than cur_len) 62 * q->cur_tt transmission time for the packet, computed from the trace. 66 * q->c_loss (set with the -L command line option) decides 69 * The function is supposed to set q->c_drop = 1 if the 70 * packet should be dropped, or leave it to 0 otherwise. 72 * q->c_bw (set with the -B command line option) is used to 74 * in q->cur_tt the transmission time (in nanoseconds) of [all …]
|
/freebsd-src/contrib/ntp/html/ |
H A D | audio.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 11 <img src="pic/radio2.jpg" alt="jpg" align="left">ICOM R-72 shortwave receiver and Sure audio mixer 13 <!-- #BeginDate format:En2m -->11-Sep-2010 05:55<!-- #EndDate --> 31 and decoding techniques, including maximum-likelihood and soft-decision methods. 32 The documentation page for each driver contains an in-depth discussion on 36 … to cause the AGC to set the gain somewhere in the middle of the range from 0 to 255, as indicated… 38 …e flag 2</tt> command selects the microphone port if set to zero or the line-in port if set to one… 40 …l shortwave radio with the radio output - speaker or headphone jack - connected to either the micr… 41 …- even 15 feet is enough if it is located outside of a metal frame building, preferably on the roo… [all …]
|
/freebsd-src/usr.sbin/lpr/common_source/ |
H A D | common.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 41 #include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ 78 * new-line to null and leaves it in line. 79 * Returns 0 at EOF or the number of characters read. 84 register int linel = 0; in get_line() 90 return(0); in get_line() 95 } while ((linel & 07) != 0 && (size_t)(linel+1) < in get_line() 102 *lp++ = '\0'; in get_line() 122 if ((dirp = opendir(pp->spool_dir)) == NULL) { in getq() [all …]
|
/freebsd-src/sys/cam/nvme/ |
H A D | nvme_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 72 NDA_FLAG_OPEN = 0x0001, 73 NDA_FLAG_DIRTY = 0x0002, 74 NDA_FLAG_SCTX_INIT = 0x0004, 83 NDA_Q_4K = 0x01, 84 NDA_Q_NONE = 0x0 [all...] |
/freebsd-src/contrib/ntp/ntpd/ |
H A D | refclock_chronolog.c | 2 * refclock_chronolog - clock driver for Chronolog K-series WWVB receiver. 26 * This driver supports the Chronolog K-series WWVB receiver. 33 * YY/MM/DD -- what you'd expect. This arrives a few seconds before the 35 * hh:mm:ss -- what you'd expect. We take time on the <cr>. 37 * Our Chronolog writes time out at 2400 bps 8/N/1, but it can be configured 49 #define PRECISION (-13) /* precision assumed (about 100 us) */ 51 #define DESCRIPTION "Chrono-log K" /* WRU */ 56 * Chrono-log unit control structure 62 int year; /* Y2K-adjusted year */ 63 int day; /* day-of-month */ [all …]
|
H A D | refclock_pst.c | 2 * refclock_pst - clock driver for PSTI/Traconex WWV/WWVH receivers 25 * The DIPswitches should be set for 9600 bps line speed, 24-hour day- 26 * of-year format and UTC time zone. Automatic correction for DST should 41 * on-time = first <cr> 43 * a = AM/PM indicator (' ' for 24-hour mode) 46 * s = daylight-saving indicator (' ' for 24-hour mode) 50 * z = time zone (0 = UTC) 76 #define PRECISION (-10) /* precision assumed (about 1 ms) */ 77 #define WWVREFID "WWV\0" /* WWV reference ID */ 80 #define PST_PHI (10e-6) /* max clock oscillator offset */ [all …]
|
/freebsd-src/sys/cam/ata/ |
H A D | ata_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 87 ADA_FLAG_CAN_48BIT = 0x00000002, 88 ADA_FLAG_CAN_FLUSHCACHE = 0x00000004, 89 ADA_FLAG_CAN_NCQ = 0x00000008, 90 ADA_FLAG_CAN_DMA = 0x00000010, 91 ADA_FLAG_NEED_OTAG = 0x0000002 [all...] |