/freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/ |
H A D | fixed-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/fixe [all...] |
/freebsd/sys/dev/mmc/ |
H A D | mmcsd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * Group. This Simplified Specification is provided on a non-confidential 38 * Association, SD Group, SD-3C LLC or other third parties. 44 * is provided "AS-IS" without any representations or warranties of any 45 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 47 * right of the SD Group, SD-3C LLC, the SD Card Association or any third 50 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing 51 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC 53 * information, know-how or other confidential information to any third party. [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2015-2017 Ilya Bakulin <kibab@FreeBSD.org> All rights reserved. 106 struct sdda_softc *sc; member 132 char card_sn_string[16];/* Formatted serial # for disk->d_ident */ 141 /* MMC partitions support */ 236 return periph->path->device->mmc_ident_data.card_rca; in get_rca() 241 * Look at both CAM-level errors and on MMC protocol errors. 248 KASSERT(ccb->ccb_h.func_code == XPT_MMC_IO, in mmc_handle_reply() 249 ("ccb %p: cannot handle non-XPT_MMC_IO errors, got func_code=%d", in mmc_handle_reply() [all …]
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_flash.c | 1 /*- 50 * top to present the partitions listed in the fdt. 54 * boundaries, but ERASE is only at flash-block-size block alignments and sizes. 57 * - Reads are on a 512-byte block boundary and size 58 * - Writes and Erases are aligned and sized on flash-block-size bytes. 73 #define OPALFLASH_LOCK(sc) mtx_lock(&(sc)->sc_mtx) argument 74 #define OPALFLASH_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) argument 75 #define OPALFLASH_LOCK_INIT(sc) \ argument 76 mtx_init(&(sc)->sc_mtx, device_get_nameunit((sc)->sc_dev), \ 127 struct opalflash_softc *sc; in opalflash_getattr() local [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | gic_v3_fdt.c | 1 /*- 101 if (!ofw_bus_is_compatible(dev, "arm,gic-v3")) in gic_v3_fdt_probe() 111 struct gic_v3_softc *sc; in gic_v3_fdt_attach() local 118 sc = device_get_softc(dev); in gic_v3_fdt_attach() 119 sc->dev = dev; in gic_v3_fdt_attach() 120 sc->gic_bus = GIC_BUS_FDT; in gic_v3_fdt_attach() 123 * Recover number of the Re-Distributor regions. in gic_v3_fdt_attach() 125 if (OF_getencprop(ofw_bus_get_node(dev), "#redistributor-regions", in gic_v3_fdt_attach() 127 sc->gic_redists.nregions = 1; in gic_v3_fdt_attach() 129 sc->gic_redists.nregions = redist_regions; in gic_v3_fdt_attach() [all …]
|
/freebsd/sys/powerpc/powermac/ |
H A D | smu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 253 /* Partitions */ 274 struct smu_softc *sc = xsc; in smu_phys_callback() local 276 sc->sc_cmd_phys = segs[0].ds_addr; in smu_phys_callback() 282 struct smu_softc *sc; in smu_attach() local 286 sc = device_get_softc(dev); in smu_attach() 288 mtx_init(&sc->sc_mtx, "smu", NULL, MTX_DEF); in smu_attach() 289 sc->sc_cur_cmd = NULL; in smu_attach() 290 sc->sc_doorbellirqid = -1; in smu_attach() [all …]
|
/freebsd/sys/geom/raid/ |
H A D | md_ddf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 134 #define GET8(m, f) ((m)->f) 135 #define GET16(m, f) ((m)->bigendian ? be16dec(&(m)->f) : le16dec(&(m)->f)) 136 #define GET32(m, f) ((m)->bigendian ? be32dec(&(m)->f) : le32dec(&(m)->f)) 137 #define GET64(m, f) ((m)->bigendian ? be64dec(&(m)->f) : le64dec(&(m)->f)) 139 #define GET16D(m, f) ((m)->bigendian ? be16dec(&f) : le16dec(&f)) 140 #define GET32D(m, f) ((m)->bigendian ? be32dec(&f) : le32dec(&f)) 141 #define GET64D(m, f) ((m)->bigendian ? be64dec(&f) : le64dec(&f)) 143 #define GET16P(m, f) ((m)->bigendian ? be16dec(f) : le16dec(f)) [all …]
|
/freebsd/share/doc/papers/devfs/ |
H A D | paper.me | 1 .\" format with ditroff -me 19 .ip \0\s-2\(bu\s+2 29 .i "Poul-Henning Kamp" 43 Starting from a high-level view of devices and the semantics that 45 grand tour of the redesigned FreeBSD device-I/O system, 99 disk-pack with a filesystem: selling pre-initialised and ``quality 100 tested'' disk-packs was quite a profitable business. 112 device would be inode number 5, the paper-tape-punch number 6 and so on, 122 in most UNIX-like systems even to this day. 150 In order to support remote login a ``pseudo-tty'' device driver was implemented, [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | rtree.h | 7 #include "jemalloc/internal/sc.h" 18 #define RTREE_NHIB ((1U << (LG_SIZEOF_PTR+3)) - LG_VADDR) 22 #define RTREE_NSB (LG_VADDR - RTREE_NLIB) 49 * Single pointer-width field containing all three leaf element fields. 50 * For example, on a 64-bit x64 system with 48 significant virtual 91 * Split the bits into one to three partitions depending on number of 106 {RTREE_NSB/3 + RTREE_NSB%3 - RTREE_NSB%3/2, RTREE_NHIB + RTREE_NSB} 134 unsigned cumbits = (rtree_levels[RTREE_HEIGHT-1].cumbits - in rtree_leafkey() 135 rtree_levels[RTREE_HEIGHT-1].bits); in rtree_leafkey() 136 unsigned maskbits = ptrbits - cumbits; in rtree_leafkey() [all …]
|
/freebsd/sys/compat/linux/ |
H A D | linux_ioctl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1994-1995 Søren Schmidt 169 error = fget(td, args->fd, &cap_ioctl_rights, &fp); in linux_ioctl_hdio() 172 switch (args->cmd & 0xffff) { in linux_ioctl_hdio() 176 (caddr_t)&mediasize, td->td_ucred, td); in linux_ioctl_hdio() 179 (caddr_t)§orsize, td->td_ucred, td); in linux_ioctl_hdio() 182 (caddr_t)&fwheads, td->td_ucred, td); in linux_ioctl_hdio() 185 (caddr_t)&fwsectors, td->td_ucred, td); in linux_ioctl_hdio() 189 * for slices or partitions, only the per-disk raw devices. in linux_ioctl_hdio() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 1 //===--- SemaDecl.cpp - Semantic Analysis for Declarations ----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 96 if (!AllowInvalidDecl && ND->isInvalidDecl()) in ValidateCandidate() 109 // An injected-class-name of a class template (specialization) is valid in ValidateCandidate() 110 // as a template or as a non-template. in ValidateCandidate() 113 if (!RD || !RD->isInjectedClassName()) in ValidateCandidate() 115 RD = cast<CXXRecordDecl>(RD->getDeclContext()); in ValidateCandidate() 116 return RD->getDescribedClassTemplate() || in ValidateCandidate() [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | funstack.in | 2 %%% BibTeX-file{ 23 %%% (incompletely) 1970 -- 1979. 50 %%% covering 1958--1996 became too large (about 65 %%% Algorithms 1--492. For Algorithms 493--686, 72 %%% cross-referenced in both directions, so 75 %%% Corrigenda. Cross-referenced entries are 77 %%% that each is completely self-contained. 83 %%% ftp://netlib.bell-labs.com/netlib/toms. 88 %%% http://ciir.cs.umass.edu/cgi-bin/web_query_form/public/cacm2.1. 90 %%% The initial draft of entries for 1981 -- [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 1 //===--- ItaniumMangle.cpp - Itanium C++ Name Mangling ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // ABI-compatible with GCC): 13 // http://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling 15 //===----------------------------------------------------------------------===// 51 if (const FunctionTemplateDecl *ftd = fn->getPrimaryTemplate()) in getStructor() 52 return ftd->getTemplatedDecl(); in getStructor() 67 return Record->isLambda(); in isLambda() 146 if (Tag->getName().empty() && !Tag->getTypedefNameForAnonDecl()) in getNextDiscriminator() [all …]
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 1 /*- 34 * Copyright(c) 2001-2024, Broadcom. All rights reserved. The 71 * * 0x0-0xFFF8 - The function ID 72 * * 0xFFF8-0xFFFC, 0xFFFE - Reserved for internal processors 73 * * 0xFFFD - Reserved for user-space HWRM interface 74 * * 0xFFFF - HWRM 122 /* Engine CKV - The Alias key EC curve and ECC public key information. */ 124 /* Engine CKV - Initialization vector. */ 126 /* Engine CKV - Authentication tag. */ 128 /* Engine CKV - The encrypted data. */ [all …]
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 17 ** language. The code for the "sqlite3" command-line shell is also in a 20 ** The content in this amalgamation comes from Fossil check-in 51 ** NO_TEST - The branches on this line are not 56 ** OPTIMIZATION-IF-TRUE - This branch is allowed to always be false 60 ** OPTIMIZATION-IF-FALSE - This branch is allowed to always be true 64 ** PREVENTS-HARMLESS-OVERREAD - This branch prevents a buffer overread 69 ** slash-asterisk...asterisk-slash comment marks, with no spaces between the 144 ** 2015-03-02 182 ** large file support, or if the OS is windows, these should be no-ops. 188 ** Large file support can be disabled using the -DSQLITE_DISABLE_LFS switch [all …]
|