/freebsd/contrib/unbound/contrib/ |
H A D | metrics.awk | 1 # read output of unbound-control stats 4 # server: extended-statistics: yes 5 # statistics-cumulative: no 6 # statistics-interval: 0 7 # remote-control: control-enable: yes 8 # Can use it like unbound-control stats | awk -f "metrics.awk" 20 print "# TYPE unbound_hits_queries gauge" 21 print "unbound_hits_queries{type=\"total.num.queries\"} " val["total.num.queries"]; 24 print "unbound_hits_queries{type=\"thread" $x ".num.queries\"} " val["thread" $x ".num.queries"]; 27 print "unbound_hits_queries{type=\"total.num.cachehits\"} " val["total.num.cachehits"]; [all …]
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_bo.c | 3 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 57 return -EINVAL; in ttm_mem_type_from_flags() 62 struct ttm_mem_type_manager *man = &bdev->man[mem_type]; in ttm_mem_type_debug() 64 printf(" has_type: %d\n", man->has_type); in ttm_mem_type_debug() 65 printf(" use_type: %d\n", man->use_type); in ttm_mem_type_debug() 66 printf(" flags: 0x%08X\n", man->flags); in ttm_mem_type_debug() 67 printf(" gpu_offset: 0x%08lX\n", man->gpu_offset); in ttm_mem_type_debug() 68 printf(" size: %ju\n", (uintmax_t)man->size); in ttm_mem_type_debug() [all …]
|
/freebsd/sys/dev/pms/freebsd/driver/common/ |
H A D | lxutil.c | 2 *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 23 This program is part of PMC-Sierra initiator/target device driver. 24 The functions here are commonly used by different type of drivers that support 25 PMC-Sierra storage network initiator hardware. 37 Busy wait for number of mili-seconds 39 U32 MiliSeconds (IN) Number of mili-seconds to delay 57 AGTIAPI_SUCCESS - success 58 AGTIAPI_FAIL - fail 62 struct agtiapi_softc *pmsc = thisCardInst->pCard; in agtiapi_typhAlloc() 65 if( bus_dma_tag_create( bus_get_dma_tag(pmsc->my_dev), // parent in agtiapi_typhAlloc() [all …]
|
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/ |
H A D | tdinit.c | 2 *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 169 tdsaRoot_t *tdsaRoot = (tdsaRoot_t *) tiRoot->tdData; in tdsaGetCardIDString() 170 tdsaContext_t *tdsaAllShared = (tdsaContext_t *)&(tdsaRoot->tdsaAllShared); in tdsaGetCardIDString() 187 tdsaAllShared->CardID = thisCardID; in tdsaGetCardIDString() 190 osti_strcpy(tdsaAllShared->CardIDString, CardNum); in tdsaGetCardIDString() 191 …TI_DBG3(("tdsaGetCardIDString: tdsaAllShared->CardIDString is %s\n", tdsaAllShared->CardIDString))… in tdsaGetCardIDString() 216 * \note - This function only return the memory requirement in the tiMem_t 288 * \return: tiSuccess - if successful 289 * tiError - if failed 376 tdsaRoot = tdSharedMem->tdSharedCachedMem1.virtPtr; in tiCOMInit() [all …]
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 49 * iavf_dmamap_cb - DMA mapping callback function 63 *(bus_addr_t *) arg = segs->ds_addr; in iavf_dmamap_cb() 68 * iavf_allocate_virt_mem - Allocate virtual memory 70 * @mem: structure describing the memory allocation 78 iavf_allocate_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem, in iavf_allocate_virt_mem() argument 81 mem->va = malloc(size, M_IAVF, M_NOWAIT | M_ZERO); in iavf_allocate_virt_mem() 82 return(mem->va == NULL); in iavf_allocate_virt_mem() 86 * iavf_free_virt_mem - Free virtual memory 88 * @mem: structure describing the memory to free [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 48 * @brief OS compatibility layer allocation type 50 * malloc(9) allocation type used by the OS compatibility layer for 54 MALLOC_DEFINE(M_ICE_OSDEP, "ice-osdep", "Intel(R) 100Gb Network Driver osdep allocations"); 69 * ice_hw_to_dev - Given a hw private struct, find the associated device_t 84 return sc->dev; in ice_hw_to_dev() 88 * ice_debug - Lo 370 ice_alloc_dma_mem(struct ice_hw * hw,struct ice_dma_mem * mem,u64 size) ice_alloc_dma_mem() argument 435 ice_free_dma_mem(struct ice_hw __unused * hw,struct ice_dma_mem * mem) ice_free_dma_mem() argument [all...] |
/freebsd/sys/dev/exca/ |
H A D | exca.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause AND BSD-2-Clause 4 * Copyright (c) 2002-2005 M. Warner Losh <imp@FreeBSD.org> 91 "Intel i82365SL-A/B or clone", 92 "Intel i82365sl-D 179 struct pccard_mem_handle *mem; exca_do_mem_map() local [all...] |
/freebsd/sys/dev/agp/ |
H A D | agp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 153 gatt->ag_entries = entries; in agp_alloc_gatt() 154 gatt->ag_virtual = kmem_alloc_contig(entries * sizeof(uint32_t), in agp_alloc_gatt() 156 if (!gatt->ag_virtual) { in agp_alloc_gatt() 162 gatt->ag_physical = vtophys((vm_offset_t) gatt->ag_virtual); in agp_alloc_gatt() 170 kmem_free(gatt->ag_virtual, gatt->ag_entries * sizeof(uint32_t)); in agp_free_gatt() 198 sc->as_aperture_rid = rid; in agp_set_aperture_resource() 214 if (sc->as_aperture_rid != -1) { in agp_generic_attach() 215 if (sc->as_aperture_rid == 0) in agp_generic_attach() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | rockchip,rk816.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk816 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 34 clock-output-names: 37 gpio-controller: true [all …]
|
H A D | rockchip,rk818.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 20 - rockchip,rk818 28 '#clock-cells': 30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 33 clock-output-names: 38 rockchip,system-power-controller: [all …]
|
H A D | rockchip,rk809.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk809 22 - rockchip,rk817 30 '#clock-cells': 32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 39 clock-names: [all …]
|
H A D | rockchip,rk806.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | rockchip,rk805.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 20 - rockchip,rk805 28 '#clock-cells': 30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 34 clock-output-names: 38 gpio-controller: true [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/ |
H A D | zfs_zstd.c | 2 * BSD 3-Clause New License (https://spdx.org/licenses/BSD-3-Clause.html) 32 * Copyright (c) 2016-2018, Klara Inc. 33 * Copyright (c) 2016-2018, Allan Jude 34 * Copyright (c) 2018-2020, Sebastian Gottschall 35 * Copyright (c) 2019-2020, Michael Niewöhner 76 * LZ4 first-pass early abort verdict 81 * zstd-1 second-pass early abort verdict 142 /* Enums describing the allocator type specified by kmem_type in zstd_kmem */ 145 /* Allocation type using kmem_vmalloc */ 156 void *mem; member [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | richtek,rtq2208.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alina Yu <alina_yu@richtek.com> 14 multi-configurable synchronous buck converters and two LDOs. 16 Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted 25 0 - Auto mode for power saving, which reducing the switching frequency at light load condition 27 …1 - FCCM to meet the strict voltage regulation accuracy, which keeping constant switching frequenc… 35 - richtek,rtq2208 43 richtek,mtp-sel-high: [all …]
|
H A D | active-semi,act8945a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945a regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8945a 19 system-power-controller: 23 type: boolean 25 active-semi,vsel-high: [all …]
|
/freebsd/sys/sys/ |
H A D | memdesc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 52 union { /* type specific data. */ 59 uint32_t md_type; /* Type of memory. */ 73 struct memdesc mem; in memdesc_vaddr() local 75 mem.u.md_vaddr = vaddr; in memdesc_vaddr() 76 mem.md_len = len; in memdesc_vaddr() 77 mem.md_type = MEMDESC_VADDR; in memdesc_vaddr() 79 return (mem); in memdesc_vaddr() 85 struct memdesc mem; in memdesc_paddr() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | OpenACCClause.cpp | 1 //===---- OpenACCClause.cpp - Classes for OpenACC Clauses ----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 53 void *Mem = in Create() local 56 return new (Mem) OpenACCDefaultClause(K, BeginLoc, LParenLoc, EndLoc); in Create() 64 void *Mem = C.Allocate(sizeof(OpenACCIfClause), alignof(OpenACCIfClause)); in Create() local 65 return new (Mem) OpenACCIfClause(BeginLoc, LParenLoc, ConditionExpr, EndLoc); in Create() 74 assert((ConditionExpr->isInstantiationDependent() || in OpenACCIfClause() 75 ConditionExpr->getType()->isScalarType()) && in OpenACCIfClause() [all …]
|
H A D | ExprCXX.cpp | 1 //===- ExprCXX.cpp - (C++) Expression AST Node Implementation -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 28 #include "clang/AST/Type.h" 45 //===----------------------------------------------------------------------===// 47 //===----------------------------------------------------------------------===// 68 const Expr *E = getSemanticForm()->IgnoreImplicit(); in getDecomposedForm() 73 assert(NotEq->getOpcode() == UO_LNot); in getDecomposedForm() 74 E = NotEq->getSubExpr()->IgnoreImplicit(); in getDecomposedForm() [all …]
|
H A D | Stmt.cpp | 1 //===- Stmt.cpp - Statement AST Node Implementation -----------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 28 #include "clang/AST/Type.h" 91 // Check that no statement / expression class has a non-trival destructor. 150 return getLikelihood(AS->getAttrs()); in getLikelihood() 195 /// Skip no-op (attributed, compound) container stmts and skip captured 201 S = CapS->getCapturedStmt(); in IgnoreContainers() 204 S = AS->getSubStmt(); in IgnoreContainers() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_platform.h | 1 //===-- dfsan_platform.h ----------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 30 enum Type { enum 36 } type; member 46 // The mapping assumes 48-bit VMA. AArch64 maps: 47 // - 0x0000000000000-0x0100000000000: 39/42/48-bits program own segments 48 // - 0x0a00000000000-0x0b00000000000: 48-bits PIE program segments 49 // Ideally, this would extend to 0x0c00000000000 (2^45 bytes - the [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos5420-arndale-octa.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos5420-cpus.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/clock/samsung,s2mps11.h> 19 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5"; 32 stdout-path = "serial3:115200n8"; 36 compatible = "samsung,secure-firmware"; [all …]
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_puda.c | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2015 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 52 * irdma_puda_get_listbuf - get buffer from puda list 61 buf = (struct irdma_puda_buf *)(list)->next; in irdma_puda_get_listbuf() 62 list_del((struct list_head *)&buf->list); in irdma_puda_get_listbuf() 69 * irdma_puda_get_bufpool - return buffer from resource 76 struct list_head *list = &rsrc->bufpool; in irdma_puda_get_bufpool() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan.h | 1 //===-- msan.h -------- 35 enum Type { global() enum 37 } type; global() member 63 MEM_TO_SHADOW(mem) global() argument 89 MEM_TO_SHADOW(mem) global() argument 110 MEM_TO_SHADOW(mem) global() argument 131 LINEARIZE_MEM(mem) global() argument 133 MEM_TO_SHADOW(mem) global() argument 146 MEM_TO_SHADOW(mem) global() argument 166 LINEARIZE_MEM(mem) global() argument 168 MEM_TO_SHADOW(mem) global() argument 187 LINEARIZE_MEM(mem) global() argument 189 MEM_TO_SHADOW(mem) global() argument 212 MEM_TO_SHADOW(mem) global() argument 213 SHADOW_TO_ORIGIN(mem) global() argument 221 MEM_TO_ORIGIN(mem) global() argument 239 MEM_IS_APP(mem) global() argument 240 MEM_IS_SHADOW(mem) global() argument 241 MEM_IS_ORIGIN(mem) global() argument [all...] |