| /freebsd-src/sys/contrib/device-tree/src/riscv/sophgo/ |
| H A D | sg2042-cpus.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #address-cells = <1>; 9 #size-cells = <0>; 10 timebase-frequency = <50000000>; 12 cpu-map { 260 riscv,isa-base = "rv64i"; 261 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 265 i-cache-block-size = <64>; 266 i-cache-size = <65536>; 267 i-cache-sets = <512>; [all …]
|
| /freebsd-src/sys/contrib/device-tree/src/riscv/sifive/ |
| H A D | fu540-c000.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 /dts-v1/; 6 #include <dt-bindings/clock/sifive-fu540-prci.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 11 compatible = "sifive,fu540-c000", "sifive,fu540"; 23 #address-cells = <1>; 24 #size-cells = <0>; 28 i-cache-block-size = <64>; [all …]
|
| H A D | fu740-c000.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 /dts-v1/; 6 #include <dt-bindings/clock/sifive-fu740-prci.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 11 compatible = "sifive,fu740-c000", "sifive,fu740"; 23 #address-cells = <1>; 24 #size-cells = <0>; 28 i-cache-block-size = <64>; 29 i-cache-sets = <128>; [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/riscv/ |
| H A D | cpus.yaml | 1 # 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 - Palme [all...] |
| /freebsd-src/sys/contrib/device-tree/src/riscv/microchip/ |
| H A D | microchip-mpfs.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 4 /dts-v1/; 5 #include "dt-bindings/clock/microchip,mpfs-clock.h" 6 #include "microchip-mpfs-fabric.dtsi" 9 #address-cells = <2>; 10 #size-cells = <2>; 15 #address-cells = <1>; 16 #size-cells = <0>; 21 i-cache-block-size = <64>; [all …]
|
| H A D | mpfs.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 4 /dts-v1/; 5 #include "dt-bindings/clock/microchip,mpfs-clock.h" 8 #address-cells = <2>; 9 #size-cell [all...] |
| /freebsd-src/sys/contrib/device-tree/src/riscv/thead/ |
| H A D | th1520.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/clock/thead,th1520-clk-ap.h> 12 #address-cells = <2>; 13 #size [all...] |
| /freebsd-src/stand/common/ |
| H A D | bcache.c | 1 /*- 30 * Simple hashed block cache 56 * bcache per device node. cache is allocated on device first open and freed 57 * on last close, to save memory. The issue there is the size; biosdisk 74 static u_int bcache_units; /* number of devices with cache */ 83 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1)) 85 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno)) 95 * Initialise the cache for (nblks) of (bsize). 106 * add number of devices to bcache. we have to divide cache space 122 u_int i; in bcache_allocate() local [all …]
|
| /freebsd-src/sbin/dump/ |
| H A D | cache.c | 2 * CACHE.C 4 * Block cache for dump 35 typedef struct Block { struct 36 struct Block *b_HNext; /* must be first field */ argument 39 } Block; argument 45 static Block **BlockHash; 53 int i; in cinit() local 55 Block *base; in cinit() 57 if ((BlockSize = sblock->fs_bsize * BLKFACTOR) > MAXBSIZE) in cinit() 62 msg("Cache %d MB, blocksize = %d\n", in cinit() [all …]
|
| /freebsd-src/sys/contrib/device-tree/src/riscv/starfive/ |
| H A D | jh7100.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include <dt-bindings/clock/starfive-jh7100.h> 9 #include <dt-bindings/reset/starfive-jh7100.h> 13 #address-cells = <2>; 14 #size [all...] |
| H A D | jh7110.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include <dt-bindings/clock/starfive,jh7110-crg.h> 9 #include <dt-bindings/power/starfive,jh7110-pmu.h> 10 #include <dt-bindings/reset/starfive,jh7110-cr [all...] |
| /freebsd-src/sys/contrib/openzfs/man/man8/ |
| H A D | zdb.8 | 28 .Op Fl I Ar inflight-I/O-ops 31 .Op Fl U Ar cache 34 .Op Ar poolname Ns Op / Ns Ar dataset Ns | Ns Ar objset-ID 39 .Op Fl U Ar cache 41 .Ar poolname Ns Op Ar / Ns Ar dataset Ns | Ns Ar objset-ID 46 .Op Fl U Ar cache 48 .Ar poolname Ns Ar / Ns Ar objset-I [all...] |
| /freebsd-src/sys/contrib/device-tree/src/riscv/kendryte/ |
| H A D | k210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/clock/k210-clk.h> 10 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits 13 #address-cells = <1>; 14 #size-cells = <1>; 23 * Since this is a non-ratified draft specification, the kernel does not 28 #address-cells = <1>; 29 #size-cells = <0>; 30 timebase-frequency = <7800000>; 36 mmu-type = "none"; [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 1 //===- MemoryDependenceAnalysis.cpp - Mem Deps Implementation -------- 388 for (const Instruction *I = LI; I != SI; I = I->getNextNonDebugInstruction()) canSkipClobberingStore() local 450 __anon38a846fd0202(Instruction * I, AtomicOrdering AO) getSimplePointerDependencyFrom() argument 728 if (Instruction *I = LocalCache.getInst()) getDependency() local 737 AssertSorted(MemoryDependenceResults::NonLocalDepInfo & Cache,int Count=-1) AssertSorted() argument 752 NonLocalDepInfo &Cache = CacheP.first; getNonLocalCallDependency() local 936 getNonLocalInfoForBlock(Instruction * QueryInst,const MemoryLocation & Loc,bool isLoad,BasicBlock * BB,NonLocalDepInfo * Cache,unsigned NumSortedEntries,BatchAAResults & BatchAA) getNonLocalInfoForBlock() argument 1021 SortNonLocalDepInfoCache(MemoryDependenceResults::NonLocalDepInfo & Cache,unsigned NumSortedEntries) SortNonLocalDepInfoCache() argument 1157 NonLocalDepInfo *Cache = &CacheInfo->NonLocalDeps; getNonLocalPointerDepFromBB() local 1374 for (auto &I : PredList) { getNonLocalPointerDepFromBB() local 1495 if (auto *I = dyn_cast<Instruction>(P.getPointer())) { removeCachedNonLocalPointerDependencies() local [all...] |
| /freebsd-src/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_cmd.c | 1 /*- 2 * Copyright (c) 2013-2019, Mellanox Technologies, Ltd. All rights reserved. 32 #include <linux/dma-mapping.h> 36 #include <linux/io-mapping.h> 43 static int mlx5_copy_from_msg(void *to, struct mlx5_cmd_msg *from, int size); 107 return ERR_PTR(-ENOMEM); in alloc_cmd() 109 ent->in = in; in alloc_cmd() 110 ent->uin_size = uin_size; in alloc_cmd() 111 ent->out = out; in alloc_cmd() 112 ent->uou in alloc_cmd() 187 int i; xor8_buf() local 195 verify_block_sig(struct mlx5_cmd_prot_block * block) verify_block_sig() argument 206 calc_block_sig(struct mlx5_cmd_prot_block * block,u8 token,int csum) calc_block_sig() argument 220 size_t i; calc_chain_sig() local 223 struct mlx5_cmd_prot_block *block; calc_chain_sig() local 277 size_t i; verify_signature() local 286 struct mlx5_cmd_prot_block *block; verify_signature() local 302 dump_buf(void * buf,int size,int data_only,int offset) dump_buf() argument 305 int i; dump_buf() local 720 size_t i; dump_command() local 752 struct mlx5_cmd_prot_block *block; dump_command() local 1044 mlx5_copy_to_msg(struct mlx5_cmd_msg * to,void * from,size_t size) mlx5_copy_to_msg() argument 1047 size_t i; mlx5_copy_to_msg() local 1058 struct mlx5_cmd_prot_block *block; mlx5_copy_to_msg() local 1070 mlx5_copy_from_msg(void * to,struct mlx5_cmd_msg * from,int size) mlx5_copy_from_msg() argument 1073 size_t i; mlx5_copy_from_msg() local 1084 struct mlx5_cmd_prot_block *block; mlx5_copy_from_msg() local 1097 mlx5_alloc_cmd_msg(struct mlx5_core_dev * dev,gfp_t flags,size_t size) mlx5_alloc_cmd_msg() argument 1102 size_t i; mlx5_alloc_cmd_msg() local 1112 struct mlx5_cmd_prot_block *block; mlx5_alloc_cmd_msg() local 1151 int i; mlx5_cmd_change_mod() local 1197 int i; mlx5_cmd_comp_handler() local 1446 int i; create_msg_cache() local 1546 int i; mlx5_cmd_init() local [all...] |
| /freebsd-src/sys/contrib/device-tree/src/powerpc/ |
| H A D | iss4xx-mpic.dts | 15 /dts-v1/; 20 #address-cells = <2>; 21 #size-cells = <1>; 22 model = "ibm,iss-4xx"; 23 compatible = "ibm,iss-4xx"; 24 dcr-parent = <&{/cpus/cpu@0}>; 31 #address-cells = <1>; 32 #size-cells = <0>; 38 clock-frequency = <100000000>; // 100Mhz :-) 39 timebase-frequency = <100000000>; [all …]
|
| H A D | microwatt.dts | 1 /dts-v1/; 4 #size-cells = <0x02>; 5 #address-cells = <0x02>; 6 model-name = "microwatt"; 7 compatible = "microwatt-soc"; 13 reserved-memory { 14 #size-cells = <0x02>; 15 #address-cells = <0x02>; 26 #clock-cells = <0>; 27 compatible = "fixed-clock"; [all …]
|
| /freebsd-src/usr.sbin/ctladm/ |
| H A D | ctladm.8 | 3 .\" Copyright (c) 2015-2021 Alexander Motin <mav@FreeBSD.org> 36 .\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $ 72 .Aq Fl f Ar file|- 82 .Aq Fl f Ar file|- 98 .Op Fl c Ar size 103 .Op Fl i 109 .Op Fl i 118 .Op Fl i 130 .Aq Fl i Ar action 176 .Op Fl i [all …]
|
| /freebsd-src/sys/contrib/device-tree/src/sh/ |
| H A D | j2_mimas_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 compatible = "jcore,j2-soc"; 8 #address-cells = <1>; 9 #size-cells = <1>; 11 interrupt-parent = <&aic>; 14 #address-cell [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
| H A D | SectionMemoryManager.h | 1 //===- SectionMemoryManager.h - Memory manager for MCJIT/RtDyld -*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file contains the declaration of a section-based memory manager used by 12 //===----------------------------------------------------------------------===// 27 /// the RuntimeDyld class to allocate memory for section-based loading of 30 /// This memory manager allocates all section memory as read-write. The 34 /// Any client using this memory manager MUST ensure that section-specific 55 /// case an attempt is made to allocate more memory near the existing block. 58 /// block of the memory. \p EC [out] returns an object describing any error [all …]
|
| /freebsd-src/share/doc/papers/sysperf/ |
| H A D | 4.t | 54 Where possible, we have allowed the size of caches to be controlled 62 translating path names to inodes\u\s-21\s0\d\**. 64 \** \u\s-21\s0\d Inode is an abbreviation for ``Index node''. 84 Changing directories invalidates the cache, as 95 The cost of the cache is about 20 lines of code 101 cache we ran ``ls \-l'' 103 Before the per-process cache this command 105 After adding the cache the program used the same amount 129 Table 9. Call times for \fInamei\fP with per-process cache. 134 was caused by a low cache hit ratio. [all …]
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_dense_alloc.h | 1 //===-- tsan_dense_alloc.h --------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // A DenseSlabAlloc is a freelist-based allocator of fixed-size objects. 12 // DenseSlabAllocCache is a thread-local cache for DenseSlabAlloc. 17 //===----------------------------------------------------------------------===// 30 IndexT cache[kSize]; variable 38 typedef DenseSlabAllocCache Cache; typedef 39 typedef typename Cache::IndexT IndexT; 41 static_assert((kL1Size & (kL1Size - 1)) == 0, [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 1 //===---------- 104 for (size_t I = 0; I != B.getSize() - 1; ++I) isCStringBlock() local 171 splitBlock(Block & B,size_t SplitIndex,SplitBlockCache * Cache) splitBlock() argument 201 for (auto I = B.edges().begin(); I != B.edges().end();) { splitBlock() local [all...] |
| /freebsd-src/share/man/man9/ |
| H A D | buf.9 | 33 .Nd "kernel buffer I/O scheme used in FreeBSD VM system" 35 The kernel implements a KVM abstraction of the buffer cache which allows it 37 (mainly file system) devices and device I/O. 39 block sizes from DEV_BSIZE (usually 512) to upwards of several pages or more. 40 It also supports a relatively primitive byte-granular valid range and dirty 48 cache. 57 Finally, the VM system's core buffer cache supports 58 valid and dirty bits (m->valid, m->dirty) for pages in DEV_BSIZE chunks. 60 a platform with a hardware page size of 4096 bytes has 8 valid and 8 dirty 63 block size of the device backing the page. [all …]
|
| /freebsd-src/sys/contrib/openzfs/module/zfs/ |
| H A D | dbuf.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 64 * Various statistics about the size of the dbuf cache. 70 * Statistics regarding the bounds on the dbuf cache size. 76 * Total number of dbuf cache evictions that have occurred. 80 * The distribution of dbuf levels in the dbuf cache and 81 * the total size of all dbufs at each level. 109 * Statistics about the size of the metadata dbuf cache 224 multilist_t cache; global() member 403 uint32_t i; dbuf_hash_insert() local 579 uint64_t size = dbu->dbu_size; dbuf_evict_user() local 787 uint64_t size = db->db.db_size; dbuf_evict_one() local 854 dbuf_evict_notify(uint64_t size) dbuf_evict_notify() argument 886 for (int i = 0; i < DN_MAX_LEVELS; i++) { dbuf_kstat_update() local 963 for (int i = 0; i < hmsize; i++) dbuf_init() local 990 for (int i = 0; i < DN_MAX_LEVELS; i++) { dbuf_init() local 1006 for (int i = 0; i < DN_MAX_LEVELS; i++) { dbuf_init() local 1029 for (int i = 0; i < (h->hash_mutex_mask + 1); i++) dbuf_fini() local 1062 for (int i = 0; i < DN_MAX_LEVELS; i++) { dbuf_fini() local 1191 int i; dbuf_verify() local 1207 for (int i = 0; dbuf_verify() local 1450 for (int i = 0; i < n_bps; i++) { dbuf_handle_indirect_hole() local 1728 int size = arc_buf_size(db->db_buf); dbuf_fix_old_data() local 2068 dbuf_new_size(dmu_buf_impl_t * db,int size,dmu_tx_t * tx) dbuf_new_size() argument 3801 uint64_t size = db->db.db_size; dbuf_hold_impl() local 3951 uint64_t size; dbuf_rele_and_unlock() local 4708 int i; dbuf_write_ready() local 4818 unsigned int epbs, i; dbuf_write_children_ready() local 4976 dbuf_remap_impl_callback(uint64_t vdev,uint64_t offset,uint64_t size,void * arg) dbuf_remap_impl_callback() argument 5060 for (int i = 0; i < db->db.db_size >> SPA_BLKPTRSHIFT; i++) { dbuf_remap() local 5067 for (int i = 0; i < db->db.db_size >> DNODE_SHIFT; dbuf_remap() local [all...] |