| /freebsd/contrib/llvm-project/lldb/bindings/interface/ |
| H A D | SBDataExtensions.i | 22 …key = key * self.item_size # SBData uses byte-based indexes, but we want to use itemsize-based ind… 58 elif value < -2147483648: 137 …y(_make_helper_uint8, None, doc='''A read only property that returns an array-like object out of w… 138 …(_make_helper_uint16, None, doc='''A read only property that returns an array-like object out of w… 139 …(_make_helper_uint32, None, doc='''A read only property that returns an array-like object out of w… 140 …(_make_helper_uint64, None, doc='''A read only property that returns an array-like object out of w… 141 …y(_make_helper_sint8, None, doc='''A read only property that returns an array-like object out of w… 142 …(_make_helper_sint16, None, doc='''A read only property that returns an array-like object out of w… 143 …(_make_helper_sint32, None, doc='''A read only property that returns an array-like object out of w… 144 …(_make_helper_sint64, None, doc='''A read only property that returns an array-like object out of w… [all …]
|
| /freebsd/usr.sbin/bsnmpd/modules/snmp_pf/ |
| H A D | BEGEMOT-PF-MIB.txt | 1 -- 2 -- ---------------------------------------------------------------------------- 3 -- "THE BEER-WARE LICENSE" (Revision 42): 4 -- <philip@FreeBSD.org> wrote this file. As long as you retain this notice you 5 -- can do whatever you want with this stuff. If we meet some day, and you think 6 -- this stuff is worth it, you can buy me a beer in return. -Philip Paeps 7 -- ---------------------------------------------------------------------------- 8 -- 10 BEGEMOT-PF-MIB DEFINITIONS ::= BEGIN 13 MODULE-IDENTITY, OBJECT-TYPE, Counter64, Integer32, [all …]
|
| /freebsd/tests/sys/fs/fusefs/ |
| H A D | read.cc | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 51 class Read: public FuseTest { class 60 class RofsRead: public Read { 64 Read::SetUp(); in SetUp() 81 class AioRead: public Read { 98 class ReadAhead: public Read, 110 Read::SetUp(); in SetUp() 114 class ReadMaxRead: public Read { [all …]
|
| H A D | bmap.cc | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 63 ).WillOnce(Invoke(ReturnImmediate([=](auto i __unused, auto& out) { in expect_bmap() argument 64 SET_OUT_HEADER_LEN(out, bmap); in expect_bmap() 65 out.body.bmap.block = pbn; in expect_bmap() 102 arg.runp = -1; in TEST_F() 103 arg.runb = -1; in TEST_F() 108 * so those must be guessed in-kernel. There's no "right" answer, so in TEST_F() 115 EXPECT_LE(arg.runp, filesize / m_maxbcachebuf - lbn); in TEST_F() [all …]
|
| /freebsd/lib/libpmc/ |
| H A D | pmc.corei7uc.3 | 21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 .Bl -tag -width "Li PMC_CLASS_UCP" 46 Fixed-function counters that count only one hardware event per counter. 58 .%B "Intel(R) 64 and IA-32 Architectures Software Developes Manual" 60 .%N "Order Number: 253669-033US" 69 .Bl -column "PMC_CAP_INTERRUPT" "Support" 86 .Bl -tag -width indent 92 Configure the PMC to count the number of de-asserted to asserted 107 .Bl -tag -width indent 110 Uncore cycles Global Queue read tracker is full. [all …]
|
| H A D | pmc.westmereuc.3 | 21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 .Bl -tag -width "Li PMC_CLASS_UCP" 46 Fixed-function counters that count only one hardware event per counter. 58 .%B "Intel(R) 64 and IA-32 Architectures Software Developes Manual" 60 .%N "Order Number: 253669-033US" 67 Not all CPUs in this family implement fixed-function counters. 70 .Bl -column "PMC_CAP_INTERRUPT" "Support" 87 .Bl -tag -width indent 93 Configure the PMC to count the number of de-asserted to asserted 108 .Bl -tag -width indent [all …]
|
| /freebsd/secure/lib/libcrypto/man/man3/ |
| H A D | SSL_read.3 | 1 .\" -*- mode: troff; coding: utf-8 -*- 58 .TH SSL_READ 3ossl 2025-09-30 3.5.4 OpenSSL 65 \&\- read bytes from a TLS/SSL connection 79 \&\fBSSL_read_ex()\fR and \fBSSL_read()\fR try to read \fBnum\fR bytes from the specified \fBssl\fR 81 actually read in \fB*readbytes\fR. 85 the read, so that a subsequent call to \fBSSL_read_ex()\fR or \fBSSL_read()\fR will yield 89 In the paragraphs below a "read function" is defined as one of \fBSSL_read_ex()\fR, 92 If necessary, a read function will negotiate a TLS/SSL session, if not already 94 peer requests a re-negotiation, it will be performed transparently during 95 the read function operation. The behaviour of the read functions depends on the [all …]
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | SSL_read.pod | 6 - read bytes from a TLS/SSL connection 20 SSL_read_ex() and SSL_read() try to read B<num> bytes from the specified B<ssl> 22 actually read in B<*readbytes>. 26 the read, so that a subsequent call to SSL_read_ex() or SSL_read() will yield 31 In the paragraphs below a "read function" is defined as one of SSL_read_ex(), 34 If necessary, a read function will negotiate a TLS/SSL session, if not already 36 peer requests a re-negotiation, it will be performed transparently during 37 the read function operation. The behaviour of the read functions depends on the 43 invocation of a read function. 45 The read functions work based on the SSL/TLS records. The data are received in [all …]
|
| /freebsd/contrib/unbound/sldns/ |
| H A D | parse.h | 6 * (c) NLnet Labs, 2005-2006 29 * Contains some low-level parsing functions, mostly used in the _frm_str 50 * \param[in] *f the file to read from 51 * \param[out] *token the read token is put here 53 * \param[in] *limit how much to read. If 0 the builtin maximum is used 54 * \return 0 on error of EOF of the stream F. Otherwise return the length of what is read 62 * \param[in] *f the file to read from 63 * \param[out] *token the token is put here 65 * \param[in] *limit how much to read. If 0 use builtin maximum 67 * \return 0 on error of EOF of F otherwise return the length of what is read [all …]
|
| /freebsd/bin/dd/ |
| H A D | position.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 55 n = io->offset; in seek_offset() 56 sz = io->dbsz; in seek_offset() 58 _Static_assert(sizeof(io->offset) == sizeof(int64_t), "64-bit off_t"); in seek_offset() 65 * Bail out if the calculation of a file offset would overflow. in seek_offset() 67 if ((io->flags & ISCHR) == 0 && (n < 0 || n > OFF_MAX / (ssize_t)sz)) in seek_offset() 70 else if ((io->flags & ISCHR) != 0 && (uint64_t)n > UINT64_MAX / sz) in seek_offset() 94 if (lseek(in.fd, seek_offset(&in), SEEK_CUR) == -1 && in pos_in() [all …]
|
| /freebsd/contrib/ldns/ldns/ |
| H A D | parse.h | 6 * (c) NLnet Labs, 2005-2006 30 * Contains some low-level parsing functions, mostly used in the _frm_str 51 * \param[in] *f the file to read from 52 * \param[out] *token the read token is put here 54 * \param[in] *limit how much to read. If 0 the builtin maximum is used 55 * \return 0 on error of EOF of the stream F. Otherwise return the length of what is read 63 * \param[in] *f the file to read from 64 * \param[out] *token the token is put here 66 * \param[in] *limit how much to read. If 0 use builtin maximum 68 * \return 0 on error of EOF of F otherwise return the length of what is read [all …]
|
| /freebsd/sys/contrib/edk2/Include/Protocol/ |
| H A D | DebugPort.h | 7 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> 8 SPDX-License-Identifier: BSD-2-Clause-Patent 16 /// DebugPortIo protocol {EBA4E8D2-3858-41EC-A281-2647BA9660D0} 50 …@param Timeout The number of microseconds to wait before timing out a write operati… 65 IN OUT UINTN *BufferSize, 73 …@param Timeout The number of microseconds to wait before timing out a read operatio… 74 …@param BufferSize On input, the requested number of bytes of data to read. On output, … 76 of data read and returned in Buffer. 77 @param Buffer A pointer to a buffer into which the data read will be saved. 79 @retval EFI_SUCCESS The data was read. [all …]
|
| /freebsd/sys/dev/jedec_dimm/ |
| H A D | jedec_dimm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Copyright (c) 2018-2023 Panasas 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * This driver is a super-set of the now-deleted jedec_ts(4), and most of the 82 * http://www.analog.com/media/en/technical-documentation/data-sheets/ADT7408.pdf 88 * http://www.atmel.com/images/atmel-8868-dts-at30tse004a-datasheet.pdf 99 * https://www.idt.com/document/dst/tse2004gb2b0-datasheet 106 * Document 19-3837; Rev 0; 10/05 has 0x3e00 while 107 * 19-3837; Rev 3; 10/11 has 0x5400. [all …]
|
| /freebsd/sys/dev/e1000/ |
| H A D | e1000_i210.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 30 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 46 * e1000_acquire_nvm_i210 - Request for access to EEPROM 52 * EEPROM access and return -E1000_ERR_NVM (-1). 66 * e1000_release_nvm_i210 - Release exclusive access to EEPROM 80 * e1000_read_nvm_srrd_i210 - Reads Shadow Ram using EERD register 82 * @offset: offset of word in the Shadow Ram to read 83 * @words: number of words to read 84 * @data: word read from the Shadow Ram [all …]
|
| H A D | e1000_82575.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 30 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 121 * e1000_sgmii_uses_mdio_82575 - Determine if I2C pins are for external MDIO 134 switch (hw->mac.type) { in e1000_sgmii_uses_mdio_82575() 155 * e1000_init_phy_params_82575 - Initialize PHY function ptrs 160 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82575() 166 phy->ops.read_i2c_byte = e1000_read_i2c_byte_generic; in e1000_init_phy_params_82575() 167 phy->ops.write_i2c_byte = e1000_write_i2c_byte_generic; in e1000_init_phy_params_82575() 169 if (hw->phy.media_type != e1000_media_type_copper) { in e1000_init_phy_params_82575() [all …]
|
| /freebsd/bin/pax/ |
| H A D | buf_subs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 50 #define MAXFLT 10 /* default media read error limit */ 60 static char *bufpt; /* read/write point in i/o buffer */ 64 int rdblksz; /* first read blksize (tapes only) */ 67 off_t rdcnt; /* # of bytes read on current vol */ 73 * 0 if ok, -1 if the user specified write block size violates pax spec 84 * archive that might be hard to read elsewhere. If all ok, we then in wr_start() 88 wrblksz = frmt->bsz; in wr_start() [all …]
|
| /freebsd/usr.bin/dpv/ |
| H A D | dpv.c | 1 /*- 2 * Copyright (c) 2013-2016 Devin Teske <dteske@FreeBSD.org> 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 static int fd = -1; 64 static uint8_t multiple = FALSE; /* `-m' */ 71 static int operate_common(struct dpv_file_node *file, int out); 72 static int operate_on_bytes(struct dpv_file_node *file, int out); 73 static int operate_on_lines(struct dpv_file_node *file, int out); 76 operate_common(struct dpv_file_node *file, int out) in operate_common() argument 84 if (realpath(file->path, rpath) == 0 || in operate_common() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ELFHeader.h | 1 //===-- ELFHeader.h ------------------------------------------- -*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 //===----------------------------------------------------------------------===// 25 #include "lldb/lldb-enumerations.h" 26 #include "lldb/lldb-types.h" 117 /// \param[in,out] data 118 /// The DataExtractor to read from. Updated with the address size and 121 /// \param[in,out] offset 123 /// advanced by the number of bytes read. [all …]
|
| /freebsd/lib/libc/net/ |
| H A D | sockatmark.3 | 21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 .Nd determine whether the read pointer is at the OOB mark 37 To find out if the read pointer is currently pointing at 43 returns 1, the next read will return data 45 Otherwise (assuming out of band data has arrived), 46 the next read will provide data sent by the client prior 47 to transmission of the out of band signal. 52 then reads the out-of-band byte. 53 .Bd -literal -offset indent 58 int out = FWRITE, mark; [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/skylakex/ |
| H A D | uncore-memory.json | 3 "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd", 13 "BriefDescription": "read requests to memory controller", 70 "BriefDescription": "Pre-charges due to page misses", 79 "BriefDescription": "Pre-charge for reads", 93 …mmands are issued to open up a page on the DRAM devices so that it can be read or written to with … 103 …read or write on DRAM, so this event increments for every read and write. This event counts whethe… 108 "BriefDescription": "All DRAM Read CAS Commands issued (does not include underfills)", 113 …read commands issued to DRAM on a per channel basis. CAS commands are issued to specify the addre… 118 "BriefDescription": "DRAM Underfill Read CAS Commands issued", 123 …underfill read commands issued to DRAM due to a partial write, on a per channel basis. CAS comman… [all …]
|
| /freebsd/lib/libdpv/ |
| H A D | dpv.3 | 1 .\" Copyright (c) 2013-2018 Devin Teske 22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 62 .Bd -literal -offset indent 68 int display_limit; /* Files/page. Default -1 */ 70 int pbar_size; /* Mini-progress size */ 82 const char *status_solo; /* dialog(3) solo-status format. 84 const char *status_many; /* dialog(3) many-status format. 90 int (*action)(struct dpv_file_node *file, int out); 102 DPV_OUTPUT_FILE, /* Read `output' member as file path */ 103 DPV_OUTPUT_SHELL, /* Read `output' member as shell cmd */ [all …]
|
| /freebsd/sys/dev/ixgbe/ |
| H A D | ixgbe_common.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 30 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 64 * ixgbe_init_ops_generic - Inits function ptrs 71 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_generic() 72 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_generic() 78 eeprom->ops.init_params = ixgbe_init_eeprom_params_generic; in ixgbe_init_ops_generic() 81 eeprom->ops.read = ixgbe_read_eerd_generic; in ixgbe_init_ops_generic() 82 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_generic; in ixgbe_init_ops_generic() 84 eeprom->ops.read = ixgbe_read_eeprom_bit_bang_generic; in ixgbe_init_ops_generic() [all …]
|
| /freebsd/sys/contrib/zlib/ |
| H A D | gzread.c | 1 /* gzread.c -- zlib functions for reading gzip files 2 * Copyright (C) 2004-2017 Mark Adler 9 /* Use read() to load a buffer -- return -1 on error, otherwise 0. Read from 10 state->fd, and update state->eof, state->err, and state->msg as appropriate. 11 This function needs to loop on read(), since read() is not guaranteed to 12 read the number of bytes requested, depending on the type of descriptor. */ 16 unsigned get, max = ((unsigned)-1 >> 2) + 1; in gz_load() 20 get = len - *have; in gz_load() 23 ret = read(state->fd, buf + *have, get); in gz_load() 30 return -1; in gz_load() [all …]
|
| /freebsd/usr.sbin/bluetooth/bcmfw/ |
| H A D | bcmfw.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * Based on Linux BlueZ BlueFW-0.9 package 75 while ((x = getopt(argc, argv, "f:hn:m:")) != -1) { in main() 85 case 'm': /* Mini-driver */ in main() 122 int fd = -1, error = -1; in bcmfw_check_device() 129 goto out; in bcmfw_check_device() 136 goto out; in bcmfw_check_device() 144 error = -1; in bcmfw_check_device() [all …]
|
| /freebsd/lib/libpmc/pmu-events/arch/x86/tremontx/ |
| H A D | uncore-memory.json | 3 "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd", 14 "BriefDescription": "read requests to memory controller", 55 "BriefDescription": "Pre-charge for reads", 65 "BriefDescription": "Pre-charge for writes", 81 …mmands are issued to open up a page on the DRAM devices so that it can be read or written to with … 162 "BriefDescription": "Read Pending Queue Allocations", 168 …Read Pending Queue Allocations : Counts the number of allocations into the Read Pending Queue. Th… 173 "BriefDescription": "Read Pending Queue Allocations", 179 …Read Pending Queue Allocations : Counts the number of allocations into the Read Pending Queue. Th… 184 "BriefDescription": "Read Pending Queue Occupancy", [all …]
|