Home
last modified time | relevance | path

Searched +full:cpu +full:- +full:type (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/freebsd/lib/libmemstat/
H A Dlibmemstat.339 .Ss Memory Type List Management Functions
67 .Ss Memory Type Accessor Methods
115 .Fn memstat_get_percpu_memalloced "const struct memory_type *mtp" "int cpu"
117 .Fn memstat_get_percpu_memfreed "const struct memory_type *mtp" "int cpu"
119 .Fn memstat_get_percpu_numallocs "const struct memory_type *mtp" "int cpu"
121 .Fn memstat_get_percpu_numfrees "const struct memory_type *mtp" "int cpu"
123 .Fn memstat_get_percpu_sizemask "const struct memory_type *mtp" "int cpu"
126 .Fa "const struct memory_type *mtp" "int cpu" "int index"
130 .Fa "struct memory_type *mtp" "int cpu" "int index" "void *value"
134 .Fa "const struct memory_type *mtp" "int cpu" "int index"
[all …]
H A Dmemstat_internal.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
34 * type, common across UMA and kernel malloc. Some fields are straight from
36 * kernel. A struct memory_type will describe each type supported by an
41 * Static properties of type.
44 char mt_name[MEMTYPE_MAXNAME]; /* name of memory type. */
57 * Zone or type information that includes all caches and any central
73 * Caller-owned memory.
79 * For allocators making use of per-CPU caches, we also provide raw
80 * statistics from the central allocator and each per-CPU cache,
[all …]
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos5422-odroidxu3-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source
12 #include <dt-bindings/input/input.h>
13 #include "exynos5422-odroid-core.dtsi"
20 gpio-keys {
21 compatible = "gpio-keys";
22 pinctrl-names = "default";
23 pinctrl-0 = <&power_key>;
25 power-key {
36 debounce-interval = <0>;
[all …]
H A Dexynos5422-odroidhc1.dts1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include <dt-bindings/leds/common.h>
12 #include "exynos5422-odroid-core.dtsi"
16 compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \
19 led-controller {
20 compatible = "pwm-leds";
22 led-1 {
26 pwm-names = "pwm2";
27 max-brightness = <255>;
[all …]
/freebsd/sys/x86/x86/
H A Dmp_x86.c1 /*-
71 #include <machine/cpu.h>
87 static MALLOC_DEFINE(M_CPUS, "cpus", "CPU items");
90 int boot_cpu_id = -1; /* designated BSP */
145 static void cpustop_handler_post(u_int cpu);
156 static int intr_apic_id_limit = -1;
159 "Maximum permitted APIC ID for interrupt delivery (-1 is unlimited)");
175 "Use MONITOR/MWAIT when stopping CPU, if available");
181 if (mem_range_softc.mr_op && mem_range_softc.mr_op->initAP) in mem_range_AP_init()
182 mem_range_softc.mr_op->initAP(&mem_range_softc); in mem_range_AP_init()
[all …]
/freebsd/share/man/man9/
H A Ddpcpu.91 .\"-
31 .Nd Kernel Dynamic Per-CPU Memory Allocator
34 .Ss Per-CPU Variable Definition and Declaration
35 .Fn DPCPU_DEFINE "type" "name"
36 .Fn DPCPU_DEFINE_STATIC "type" "name"
37 .Fn DPCPU_DECLARE "type" "name"
38 .Ss Current CPU Accessor Functions
42 .Ss Named CPU Accessor Functions
43 .Fn DPCPU_ID_PTR "cpu" "name"
44 .Fn DPCPU_ID_GET "cpu" "name"
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/
H A Dx86.c1 //===-- cpu_model/x86.c - Support for __cpu_model builtin --------*- C -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
19 #error This file is intended only for x86-based targets
145 // has some not one-to-one mapped in llvm.
156 // a cpu string with no X86_FEATURE_COMPAT features, which is required in
264 /// getX86CpuIDAndInfo - Execute the specified cpuid and return the 4 values in
302 /// getX86CpuIDAndInfoEx - Execute the specified cpuid with subleaf and return
361 *Family = (EAX >> 8) & 0xf; // Bits 8 - 11 in detectX86FamilyModel()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt)
9 ibm,powerpc-cpu-features binding
12 This device tree binding describes CPU features available to software, with
19 /cpus/ibm,powerpc-cpu-features node binding
20 -------------------------------------------
22 Node: ibm,powerpc-cpu-features
24 Description: Container of CPU feature nodes.
26 The node name must be "ibm,powerpc-cpu-features".
35 - compatible
37 Value type: string
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/exynos/
H A Dexynos7-trip-points.dtsi1 // SPDX-License-Identifier: GPL-2.0
10 cpu-alert-0 {
13 type = "passive";
15 cpu-alert-1 {
18 type = "passive";
20 cpu-alert-2 {
23 type = "passive";
25 cpu-alert-3 {
28 type = "passive";
30 cpu-alert-4 {
[all …]
/freebsd/sys/contrib/device-tree/Bindings/thermal/
H A Dthermal.txt15 - thermal sensors: devices which may be used to take temperature
17 - cooling devices: devices which may be used to dissipate heat.
18 - trip points: describe key temperatures at which cooling is recommended. The
20 - cooling maps: used to describe links between trip points and cooling devices;
21 - thermal zones: used to describe thermal data within the hardware;
33 - #thermal-sensor-cells: Used to provide sensor device specific information
34 Type: unsigned while referring to it. Typically 0 on thermal sensor
46 cooling. A typical passive cooling is a CPU that has dynamic voltage and
62 - #cooling-cells: Used to provide cooling device specific information
63 Type: unsigned while referring to it. Must be at least 2, in order
[all …]
H A Dbrcm,sr-thermal.txt6 - compatible : Must be "brcm,sr-thermal"
7 - reg : Memory where tmon data will be available.
8 - brcm,tmon-mask: A one cell bit mask of valid TMON sources.
10 - #thermal-sensor-cells : Thermal sensor phandler
11 - polling-delay: Max number of milliseconds to wait between polls.
12 - thermal-sensors: A list of thermal sensor phandles and specifier.
14 in correspond with brcm,tmon-mask.
15 - temperature: trip temperature threshold in millicelsius.
19 compatible = "simple-bus";
20 #address-cells = <1>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/csky/
H A Dcpus.txt2 C-SKY CPU Bindings
6 the "cpus" node, which in turn contains a number of subnodes (ie "cpu")
7 defining properties for every cpu.
13 cpus and cpu node bindings definition
16 - cpus node
18 Description: Container of cpu nodes
24 - #address-cells
26 Value type: <u32>
28 - #size-cells
30 Value type: <u32>
[all …]
/freebsd/sys/kern/
H A Dsubr_smp.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 #include <machine/cpu.h>
77 /* Array of CPU contexts saved during a panic. */
85 "Max CPU ID.");
98 int smp_cpus = 1; /* how many cpu's running */
106 int mp_ncores = -1; /* how many physical cores running */
140 KASSERT(mp_ncpus >= 1, ("%s: CPU count < 1", __func__)); in mp_setmaxid()
142 ("%s: one CPU but mp_maxid is not zero", __func__)); in mp_setmaxid()
143 KASSERT(mp_maxid >= mp_ncpus - 1, in mp_setmaxid()
[all …]
H A Dsubr_lock.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
79 const char *type, int flags) in lock_init() argument
83 /* Check for double-init and zero object. */ in lock_init()
90 lock->lo_flags = i << LO_CLASSSHIFT; in lock_init()
96 lock->lo_name = name; in lock_init()
97 lock->lo_flags |= flags | LO_INITIALIZED; in lock_init()
99 WITNESS_INIT(lock, (type != NULL) ? type : name); in lock_init()
109 lock->lo_flags &= ~LO_INITIALIZED; in lock_destroy()
121 struct lock_delay_config *lc = la->config; in lock_delay()
[all …]
/freebsd/sys/contrib/ncsw/user/env/
H A Dxx.c1 /*-
76 (((x) + MALLOCSMART_SLICE_SIZE - 1) / MALLOCSMART_SLICE_SIZE)
102 int cpu; member
108 /* Portal type identifiers */
171 XX_MallocSmartMap[i] = ((i == start) ? slices : -1); in XX_MallocSmartMapSet()
246 start = MALLOCSMART_SIZE_TO_SLICE((vm_offset_t)(p) - in XX_FreeSmart()
253 ("XX_FreeSmart: Double or mid-block free!\n")); in XX_FreeSmart()
287 int cpu, type; in XX_IsPortalIntr() local
289 for (type = 0; type < 2; type++) in XX_IsPortalIntr()
290 for (cpu = 0; cpu < MAXCPU; cpu++) in XX_IsPortalIntr()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,sdm845.txt5 - compatible:
7 Value type: <stringlist>
9 "qcom,sdm845-sndcard"
10 "qcom,db845c-sndcard"
11 "lenovo,yoga-c630-sndcard"
13 - audio-routing:
15 Value type: <stringlist>
22 - model:
24 Value type: <stringlist>
25 Definition: The user-visible name of this sound card.
[all …]
H A Dqcom,apq8096.txt5 - compatible:
7 Value type: <stringlist>
8 Definition: must be "qcom,apq8096-sndcard"
10 - audio-routing:
12 Value type: <stringlist>
53 - model:
55 Value type: <stringlist>
56 Definition: The user-visible name of this sound card.
58 - aux-devs
60 Value type: <array of phandles>
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp1 //===-- Host.cpp - Implement OS Host Detection ------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
18 #include "llvm/Config/llvm-config.h"
25 // Include the platform-specific parts of this class.
54 #define DEBUG_TYPE "host-detection"
56 //===----------------------------------------------------------------------===//
58 // Implementations of the CPU detection routines
60 //===----------------------------------------------------------------------===//
[all …]
/freebsd/sys/contrib/device-tree/Bindings/cpufreq/
H A Dcpufreq-qcom-hw.txt8 - compatible
10 Value type: <string>
11 Definition: must be "qcom,cpufreq-hw" or "qcom,cpufreq-epss".
13 - clocks
15 Value type: <phandle> From common clock binding.
18 - clock-names
20 Value type: <string> From common clock binding.
23 - reg
25 Value type: <prop-encoded-array>
28 - reg-names
[all …]
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dcci.txt5 ARM multi-cluster systems maintain intra-cluster coherency through a
24 - compatible
26 Value type: <string>
28 "arm,cci-400"
29 "arm,cci-500"
30 "arm,cci-550"
32 - reg
34 Value type: Integer cells. A register entry, expressed as a pair
40 - ranges:
42 Value type: Integer cells. An array of range entries, expressed
[all …]
/freebsd/sys/arm64/apple/
H A Dapple_aic.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
54 #include <dt-bindings/interrupt-controller/apple-aic.h>
142 u_int *sc_cpuids; /* cpu index to AIC CPU ID */
175 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) in apple_aic_probe()
190 u_int i, cpu, j, info; in apple_aic_attach() local
193 sc->sc_dev = dev; in apple_aic_attach()
196 sc->sc_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in apple_aic_attach()
198 if (sc->sc_mem == NULL) { in apple_aic_attach()
203 info = bus_read_4(sc->sc_mem, AIC_INFO); in apple_aic_attach()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/riscv/
H A Dcpus.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RISC-V CPUs
10 - Paul Walmsley <paul.walmsley@sifive.com>
11 - Palmer Dabbelt <palmer@sifive.com>
12 - Conor Dooley <conor@kernel.org>
15 This document uses some terminology common to the RISC-V community
19 mandated by the RISC-V ISA: a PC and some registers. This
27 - $ref: /schemas/cpu.yaml#
[all …]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/
H A Ddcsr.txt21 - compatible
23 Value type: <string>
24 Definition: Must include "fsl,dcsr" and "simple-bus".
25 The DCSR space exists in the memory-mapped bus.
27 - #address-cells
29 Value type: <u32>
33 - #size-cells
35 Value type
[all...]
/freebsd/sys/riscv/riscv/
H A Dplic.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * and Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of
52 #include <dt-bindings/interrupt-controller/irq.h>
70 (_sc->contexts[_cpu].enable_offset + ((_irq) / 32) * sizeof(uint32_t))
72 (_sc->contexts[_cpu].context_offset + PLIC_CONTEXT_THRESHOLD)
74 (_sc->contexts[_cpu].context_offset + PLIC_CONTEXT_CLAIM)
107 { "sifive,plic-1.0.0", 1 },
108 { "thead,c900-plic", 1 },
113 bus_read_4(sc->mem_res, (reg))
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp1 //===-- xray_basic_logging.cpp ----------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // Implementation of a simple in-memory log of XRay events. This defines a
15 //===----------------------------------------------------------------------===//
45 // We use elements of this type to record the entry TSC of every function ID we
49 uint16_t Type; member
50 uint8_t CPU; member
105 Header.Type = FileTypes::NAIVE_LOG; in getLog()
112 LW->WriteAll(reinterpret_cast<char *>(&Header), in getLog()
[all …]

12345678910>>...43