/freebsd-src/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-src/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 …]
|
H A D | ttm_bo_driver.h | 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> 48 * memory type and location for binding. 106 * This is a structure holding the pages, caching- and aperture binding 118 struct sg_table *sg; /* for SG objects via dma-buf */ 136 * This is a structure holding the pages, caching- and aperture binding 146 #define TTM_MEMTYPE_FLAG_FIXED (1 << 0) /* Fixed (on-card) PCI memory */ 156 * @man: Pointer to a memory type manager. 169 * @man: Pointer to a memory type manager. [all …]
|
/freebsd-src/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-src/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-src/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_platform.h | 1 //===-- dfsan_platform.h -------- 30 enum Type { INVALID, APP, SHADOW, ORIGIN } type; global() member 58 MEM_TO_SHADOW(mem) global() argument 80 MEM_TO_SHADOW(mem) global() argument 81 SHADOW_TO_ORIGIN(mem) global() argument 90 MEM_TO_ORIGIN(mem) global() argument 109 MEM_IS_APP(mem) global() argument 110 MEM_IS_SHADOW(mem) global() argument 111 MEM_IS_ORIGIN(mem) global() argument [all...] |
/freebsd-src/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-src/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 - Log a debug message if the type is enabled 90 * @mask: the debug message type 93 * Check if hw->debug_mask has enabled the given message type. If so, log the 103 if (!(mask & hw->debug_mask)) in ice_debug() [all …]
|
/freebsd-src/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-src/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-pas 152 void *mem; global() member 168 void *mem; global() member 325 struct zstd_kmem *mem = NULL; zstd_mempool_alloc() local 718 enum zstd_kmem_type type = ZSTD_KMEM_DEFAULT; zstd_dctx_alloc() local 762 enum zstd_kmem_type type; zstd_free() local 785 create_fallback_mem(struct zstd_fallback_mem * mem,size_t size) create_fallback_mem() argument [all...] |
/freebsd-src/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-schema [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-src/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_virtua in agp_alloc_gatt() 492 agp_generic_alloc_memory(device_t dev,int type,vm_size_t size) agp_generic_alloc_memory() argument 495 struct agp_memory *mem; agp_generic_alloc_memory() local 524 agp_generic_free_memory(device_t dev,struct agp_memory * mem) agp_generic_free_memory() argument 539 agp_generic_bind_memory(device_t dev,struct agp_memory * mem,vm_offset_t offset) agp_generic_bind_memory() argument 645 agp_generic_unbind_memory(device_t dev,struct agp_memory * mem) agp_generic_unbind_memory() argument 716 struct agp_memory *mem; agp_find_memory() local 758 struct agp_memory *mem; agp_allocate_user() local 775 struct agp_memory *mem = agp_find_memory(dev, id); agp_deallocate_user() local 788 struct agp_memory *mem = agp_find_memory(dev, bind->key); agp_bind_user() local 799 struct agp_memory *mem = agp_find_memory(dev, unbind->key); agp_unbind_user() local 833 struct agp_memory *mem; agp_close() local 967 agp_alloc_memory(device_t dev,int type,vm_size_t bytes) agp_alloc_memory() argument 974 struct agp_memory *mem = (struct agp_memory *) handle; agp_free_memory() local 980 struct agp_memory *mem = (struct agp_memory *) handle; agp_bind_memory() local 986 struct agp_memory *mem = (struct agp_memory *) handle; agp_unbind_memory() local 993 struct agp_memory *mem = (struct agp_memory *) handle; agp_memory_info() local [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/ |
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-schema [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-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 20 - rockchip,rk809 28 '#clock-cells': 30 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 34 clock-output-names: 38 rockchip,system-power-controller: [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-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-schema [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-schemas/core.yaml# 10 - Sebastian Reichel <sebastian.reichel@collabora.com> 19 - rockchip,rk806 27 gpio-controller: true 29 '#gpio-cells': 32 system-power-controller: true 34 vcc1-supply: 36 The input supply for dcdc-reg1. [all …]
|
/freebsd-src/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-src/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-src/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 1 //===- ExprCXX.cpp - (C++) Expression AST Node Implementation -------- 257 void *Mem = Create() local 271 void *Mem = CreateEmpty() local 381 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); Create() local 399 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); Create() local 412 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); CreateEmpty() local 491 void *Mem = Context.Allocate(Size); Create() local 504 void *Mem = Context.Allocate(Size); CreateEmpty() local 571 void *Mem = Ctx.Allocate(sizeof(CXXOperatorCallExpr) + SizeOfTrailingObjects, Create() local 584 void *Mem = Ctx.Allocate(sizeof(CXXOperatorCallExpr) + SizeOfTrailingObjects, CreateEmpty() local 636 void *Mem = Ctx.Allocate(sizeof(CXXMemberCallExpr) + SizeOfTrailingObjects, Create() local 649 void *Mem = Ctx.Allocate(sizeof(CXXMemberCallExpr) + SizeOfTrailingObjects, CreateEmpty() local 910 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, Create() local 923 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, CreateEmpty() local 965 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); CreateEmpty() local 975 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); Create() local 1019 auto *Mem = C.Allocate(Size, alignof(CXXDefaultInitExpr)); CreateEmpty() local 1030 auto *Mem = Ctx.Allocate(Size, alignof(CXXDefaultInitExpr)); Create() local 1082 void *Mem = Create() local 1093 void *Mem = CreateEmpty() local 1117 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, Create() local 1128 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, CreateEmpty() local 1257 void *Mem = Context.Allocate(Size); Create() local 1267 void *Mem = C.Allocate(Size); CreateDeserialized() local 1426 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(Args.size())); Create() local 1434 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(NumArgs)); CreateEmpty() local 1499 void *Mem = Ctx.Allocate(Size, alignof(CXXDependentScopeMemberExpr)); Create() local 1514 void *Mem = Ctx.Allocate(Size, alignof(CXXDependentScopeMemberExpr)); CreateEmpty() local 1599 void *Mem = Context.Allocate(Size, alignof(UnresolvedMemberExpr)); Create() local 1612 void *Mem = Context.Allocate(Size, alignof(UnresolvedMemberExpr)); CreateEmpty() local 1798 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(Args.size())); Create() local 1804 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(NumArgs)); CreateDeserialized() local 1830 void *Mem = Ctx.Allocate(sizeof(CUDAKernelCallExpr) + SizeOfTrailingObjects, Create() local 1843 void *Mem = Ctx.Allocate(sizeof(CUDAKernelCallExpr) + SizeOfTrailingObjects, CreateEmpty() local 1853 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Args.size())); Create() local 1861 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumExprs), CreateEmpty() local [all...] |
H A D | Stmt.cpp | 1 //===- Stmt.cpp - Statement AST Node Implementation -------- 265 ASSERT_IMPLEMENTS_children(type) global() argument 267 ASSERT_IMPLEMENTS_getBeginLoc(type) global() argument 269 ASSERT_IMPLEMENTS_getEndLoc(type) global() argument 278 ABSTRACT_STMT(type) check_implementations() argument 279 STMT(type,base) check_implementations() argument 289 ABSTRACT_STMT(type) children() argument 290 STMT(type,base) children() argument 328 ABSTRACT_STMT(type) getSourceRange() argument 329 STMT(type,base) getSourceRange() argument 340 ABSTRACT_STMT(type) getBeginLoc() argument 341 STMT(type,base) getBeginLoc() argument 352 ABSTRACT_STMT(type) getEndLoc() argument 353 STMT(type,base) getEndLoc() argument 385 void *Mem = Create() local 394 void *Mem = C.Allocate( CreateEmpty() local 428 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()), Create() local 436 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), CreateEmpty() local 964 void *Mem = Ctx.Allocate( Create() local 974 void *Mem = Ctx.Allocate( CreateEmpty() local 1085 void *Mem = Ctx.Allocate( Create() local 1093 void *Mem = Ctx.Allocate( CreateEmpty() local 1147 void *Mem = Create() local 1154 void *Mem = CreateEmpty() local 1206 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate), Create() local 1213 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate), CreateEmpty() local 1223 void *Mem = Ctx.Allocate( Create() local 1232 void *Mem = Ctx.Allocate( CreateEmpty() local 1380 void *Mem = Context.Allocate(Size); Create() local 1393 void *Mem = Context.Allocate(Size); CreateDeserialized() local [all...] |
/freebsd-src/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 …]
|
H A D | irdma_hmc.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 42 * irdma_find_sd_index_limit - finds segment descriptor index limit 44 * @type: type of HMC resources we're searching 55 irdma_find_sd_index_limit(struct irdma_hmc_info *hmc_info, u32 type, in irdma_find_sd_index_limit() argument 61 fpm_addr = hmc_info->hmc_obj[(type)].base + in irdma_find_sd_index_limit() 62 hmc_info->hmc_obj[type].size * idx; in irdma_find_sd_index_limit() [all …]
|
/freebsd-src/sys/dev/usb/wlan/ |
H A D | if_upgt.c | 64 * - MONITOR mode test. 65 * - Add HOSTAP mode. 66 * - Add IBSS mode. 67 * - Support the USB 1.0 devices (NET2280, ISL3880, ISL3886 chipsets). 70 * written by Jean-Baptiste Note <jean-baptiste.note@m4x.org> and 94 if (sc->sc_debug & (m)) \ 171 static const char *upgt_fwname = "upgt-gw3887"; 201 .type = UE_BULK, 213 .type 394 struct upgt_lmac_mem *mem; upgt_get_stats() local 475 struct upgt_lmac_mem *mem; upgt_set_led() local 583 struct upgt_lmac_mem *mem; upgt_set_macfilter() local 884 struct upgt_lmac_mem *mem; upgt_set_chan() local 1267 struct upgt_lmac_mem *mem; upgt_eeprom_read() local 2112 struct upgt_lmac_mem *mem; upgt_tx_start() local [all...] |