/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/sbin/bsdlabel/ |
H A D | bsdlabel.8 | 10 .\" 1. Redistributions of source code must retain the above copyright 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/cp [all...] |
/freebsd-src/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_vnops.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 65 int zfs_bclone_enabled = 1; 87 static int zfs_dio_enabled = 1; in zfs_fsync() 102 if (zfsvfs->z_os->os_sync != ZFS_SYNC_DISABLED) { 105 atomic_inc_32(&zp->z_sync_writes_cnt); 106 zil_commit(zfsvfs->z_log, zp->z_id); in zfs_holey_common() 107 atomic_dec_32(&zp->z_sync_writes_cnt); in zfs_holey_common() 128 file_sz = zp->z_siz in zfs_holey_common() 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() 50 DMU_POOL_EMPTY_BPOBJ, sizeof (uint64_t), 1, 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() [all …]
|
H A D | dmu.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 68 static int zfs_nopwrite_enabled = 1; 85 static int zfs_dmu_offset_next_sync = 1; 181 rw_enter(&dn->dn_struct_rwlock, RW_READER); 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() 207 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread() 210 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread() 218 *dbp = &db->db; in dmu_buf_hold_by_dnode() 285 if (newsize < 0 || newsize > db_fake->db_siz in dmu_set_bonus() 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 /*- 8 * 1. Redistributions of source code must retain the above copyright 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() [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. 55 1 μs or better relative to the broadcast 63 1 enables its use. [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/arm/broadcom/bcm2835/ |
H A D | vc_vchi_audioserv_defs.h | 7 * 1. Redistributions of source code must retain the above copyright 31 #define VC_AUDIOSERV_MIN_VER 1 42 * All message types supported for HOST->VC direction 54 VC_AUDIO_MSG_TYPE_WRITE, /* write samples */ 77 uint32_t bps; member 121 /* Generic result for a request (VC->HOST) */ 128 /* Generic result for a request (VC->HOST) */ 136 /* Message header for all messages in HOST->VC direction */ 148 VC_AUDIO_WRITE_T write; member
|
/freebsd-src/sys/dev/sound/pci/ |
H A D | cmi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 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, 77 DSF_SCRUB_PAUSED = 1<<1, 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 - direct [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 161 * These object types use bp_fill != 1 for their L0 bp's. Therefore they can't 163 * is repurposed for embedded BPs. 237 * Do not allocate new object types here. Doing so makes the on-disk 284 #define TXG_WAIT (1ULL<<0) 285 #define TXG_NOTHROTTLE (1ULL<<1) 296 #define DS_FIND_SNAPSHOTS (1<<0) 297 #define DS_FIND_CHILDREN (1<< [all...] |
H A D | zfs_znode.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(ZTOZSB(zp)), \ 92 #define SA_ZPL_ATIME(z) z->z_attr_table[ZPL_ATIME] 93 #define SA_ZPL_MTIME(z) z->z_attr_table[ZPL_MTIME] 94 #define SA_ZPL_CTIME(z) z->z_attr_table[ZPL_CTIME] 95 #define SA_ZPL_CRTIME(z) z->z_attr_table[ZPL_CRTIME] 96 #define SA_ZPL_GEN(z) z->z_attr_table[ZPL_GEN] 97 #define SA_ZPL_DACL_ACES(z) z->z_attr_table[ZPL_DACL_ACES] 98 #define SA_ZPL_XATTR(z) z->z_attr_table[ZPL_XATTR] 99 #define SA_ZPL_SYMLINK(z) z->z_attr_tabl [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 12 * 1. Redistributions of source code must retain the above copyright 49 snprintf(b->name, SNDBUF_NAMELEN, "%s:%s", drv, desc); in sndbuf_create() 50 b->de 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> 10 * 1. Redistributions of source code must retain the above copyright 36 * - http://ccrma.stanford.edu/~jos/resample/ 39 * + all out fixed point integer operations, no soft-float or anything like 48 * - Th 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 10 * 1. Redistributions of source code must retain the above copyright 33 #define UMCS7840_READ_LENGTH 1 /* bytes */ 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 67 #define MCS7840_DEV_REG_PLL_DIV_M 0x0e /* Pre-diviedr for PLL, R/W */ 73 #define MCS7840_DEV_REG_CLOCK_SELECT12 0x13 /* Clock source for ports 1 & [all …]
|
/freebsd-src/sys/arm/ti/ |
H A D | ti_i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 109 * OMAP4 i2c bus clock is 96MHz / ((psc + 1) * (scll + 7 + sclh + 5)). 111 * OMAP4 TRM. The table doesn't list 1MHz; these values should give that speed. 117 /* { 3200000, 1, 113, 115, 7, 10}, - H [all...] |
/freebsd-src/tools/tools/netmap/ |
H A D | nmreplay.c | 7 * 1. Redistributions of source code must retain the above copyright 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 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/usr.sbin/lpr/common_source/ |
H A D | common.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 15 * 1. Redistributions of source code must retain the above copyright 41 #include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */ 78 * new-line to null and leaves it in line. 88 while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) { in get_line() 95 } while ((linel & 07) != 0 && (size_t)(linel+1) < in get_line() 122 if ((dirp = opendir(pp->spool_dir)) == NULL) { in getq() 124 return (-1); in getq() 143 if (d->d_name[0] != 'c' || d->d_name[1] != 'f') in getq() [all …]
|
/freebsd-src/sys/cam/nvme/ |
H A D | nvme_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * 1. Redistributions of source code must retain the above copyright 138 TAILQ_HEAD(, bio) bps; 165 #define NDA_DEFAULT_SEND_ORDERED 1 184 static int nda_enable_biospeedup = 1; 185 static int nda_nvd_compat = 1; [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 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… 42 … house wiring, which can also be used to power the radio. A couple of center-tapped audio transfor… [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) 76 #define PRECISION (-10) /* precision assumed (about 1 ms) */ 80 #define PST_PHI (10e-6) /* max clock oscillator offset */ 114 * pst_start - open the devices and initialize data for processing 131 fd = refclock_open(&peer->srcadr, device, SPEED232, LDISC_CLK); in pst_start() [all …]
|