/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBasicBlockInfo.h | 1 //===-- ARMBasicBlockInfo.h - Basic Block Information -----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Utility functions and data structure for computing block size. 11 //===----------------------------------------------------------------------===// 27 /// UnknownPadding - Return the worst case padding that could result from 28 /// unknown offset bits. This does not include alignment padding caused by 29 /// known offset bits. 32 /// @param KnownBits Number of known low offset bits. 35 return Alignment.value() - (1ull << KnownBits); in UnknownPadding() [all …]
|
H A D | ARMBasicBlockInfo.cpp | 1 //===--- ARMBasicBlockInfo.cpp - Utilities for block sizes ---------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 20 #define DEBUG_TYPE "arm-bb-utils" 26 // mayOptimizeThumb2Instruction - Returns true if optimizeThumb2Instructions 30 switch(MI->getOpcode()) { in mayOptimizeThumb2Instruction() 47 LLVM_DEBUG(dbgs() << "computeBlockSize: " << MBB->getName() << "\n"); in computeBlockSize() 48 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize() 54 BBI.Size += TII->getInstSizeInBytes(I); in computeBlockSize() 65 if (!MBB->empty() && MBB->back().getOpcode() == ARM::tBR_JTr) { in computeBlockSize() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/XRay/ |
H A D | Profile.cpp | 1 //===- Profile.cpp - XRay Profile Abstraction -------- 28 for (const auto &Block : O) { Profile() local 52 readBlockHeader(DataExtractor & Extractor,uint64_t & Offset) readBlockHeader() argument 79 readPath(DataExtractor & Extractor,uint64_t & Offset) readPath() argument 97 readData(DataExtractor & Extractor,uint64_t & Offset) readData() argument 202 for (const auto &Block : P.get()) { mergeProfilesByThread() local 238 for (const auto &Block : P.get()) mergeProfilesByStack() local 255 PathDataVector Block; mergeProfilesByStack() local 283 uint64_t Offset = 0; loadProfile() local [all...] |
/freebsd-src/sbin/dump/ |
H A D | 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; 55 Block *base; in cinit() 57 if ((BlockSize = sblock->fs_bsize * BLKFACTOR) > MAXBSIZE) in cinit() 65 base = calloc(sizeof(Block), NBlocks); in cinit() 66 BlockHash = calloc(sizeof(Block *), HSize); in cinit() 68 PROT_READ|PROT_WRITE, MAP_ANON, -1, 0); in cinit() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 1 //===------ CFIInstrInserter.cpp - Insert additional CFI instructions --- 94 std::optional<int> Offset; global() member [all...] |
H A D | BranchRelaxation.cpp | 1 //===- BranchRelaxation.cpp -----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 20 #include "llvm/Config/llvm-config.h" 37 #define DEBUG_TYPE "branch-relaxation" 48 /// BasicBlockInfo - Information about the offset and size of a single 49 /// basic block. 51 /// Offset - Distance from the beginning of the function to the beginning 52 /// of this basic block. 54 /// The offset is always aligned as required by the basic block. [all …]
|
/freebsd-src/sys/ufs/ufs/ |
H A D | ufs_dirhash.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 29 * This implements a hash-based lookup scheme for UFS directories. 65 #define WRAPDECR(val, limit) (((val) == 0) ? ((limit) - 1) : ((val) - 1)) 95 static void ufsdirhash_adjfree(struct dirhash *dh, doff_t offset, int diff); 98 doff_t offset); 99 static doff_t ufsdirhash_getprev(struct direct *dp, doff_t offset); 111 sx_assert(&(dh)->dh_lock, SA_LOCKED) 113 /* Dirhash list; recently-used entries are near the tail. */ 147 * a thread to be doing a "bufwait" -> "dirhash" order, it has to hold [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBranchSelector.cpp | 1 //===-- PPCBranchSelector.cpp - Emit long conditional branches ------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // target basic block. It does this in two passes; a calculation of basic block 15 //===----------------------------------------------------------------------===// 31 #define DEBUG_TYPE "ppc-branch-select" 50 // The first block number which has imprecise instruction address. 51 int FirstImpreciseBlock = -1; 53 unsigned GetAlignmentAdjustment(MachineBasicBlock &MBB, unsigned Offset); 73 INITIALIZE_PASS(PPCBSel, "ppc-branch-select", "PowerPC Branch Selector", [all …]
|
/freebsd-src/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Pointer.h | 1 //===--- Pointer.h - Types for the constexpr VM ------ 27 class Block; global() variable 348 const Block *block() const { return Pointee; } block() function 449 getDescriptor(unsigned Offset) getDescriptor() argument 467 unsigned Offset = 0; global() variable [all...] |
H A D | InterpFrame.h | 1 //===--- InterpFrame.h - Call Frame implementation for the VM ---*- C++ -*- 71 getLocal(unsigned Offset) getLocal() argument 76 setLocal(unsigned Offset,const T & Value) setLocal() argument 85 getParam(unsigned Offset) getParam() argument 95 setParam(unsigned Offset,const T & Value) setParam() argument 127 stackRef(unsigned Offset) stackRef() argument 133 localRef(unsigned Offset) localRef() argument 138 localBlock(unsigned Offset) localBlock() argument 143 localInlineDesc(unsigned Offset) localInlineDesc() argument [all...] |
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 1 //===---------- 80 Edge(Kind K,OffsetT Offset,Symbol & Target,AddendT Addend) Edge() argument 84 setOffset(OffsetT Offset) setOffset() argument 100 OffsetT Offset = 0; global() variable 162 Block(Section &Parent, orc::ExecutorAddrDiff Size, orc::ExecutorAddr Address, Block() function 178 Block(Section &Parent, ArrayRef<char> Content, orc::ExecutorAddr Address, Block() function 197 Block(Section &Parent, MutableArrayRef<char> Content, Block() function 311 addEdge(Edge::Kind K,Edge::OffsetT Offset,Symbol & Target,Edge::AddendT Addend) addEdge() argument 419 Symbol(Addressable & Base,orc::ExecutorAddrDiff Offset,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive,bool IsCallable) Symbol() argument 456 constructAnonDef(BumpPtrAllocator & Allocator,Block & Base,orc::ExecutorAddrDiff Offset,orc::ExecutorAddrDiff Size,bool IsCallable,bool IsLive) constructAnonDef() argument 468 constructNamedDef(BumpPtrAllocator & Allocator,Block & Base,orc::ExecutorAddrDiff Offset,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive,bool IsCallable) constructNamedDef() argument 675 uint64_t Offset : 57; global() variable 1228 addAnonymousSymbol(Block & Content,orc::ExecutorAddrDiff Offset,orc::ExecutorAddrDiff Size,bool IsCallable,bool IsLive) addAnonymousSymbol() argument 1238 addDefinedSymbol(Block & Content,orc::ExecutorAddrDiff Offset,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsCallable,bool IsLive) addDefinedSymbol() argument 1365 makeDefined(Symbol & Sym,Block & Content,orc::ExecutorAddrDiff Offset,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive) makeDefined() argument [all...] |
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | Block.h | 1 //===-- Block.h ------- [all...] |
/freebsd-src/sys/dev/isci/scil/ |
H A D | sati_mode_sense_10.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 59 * translate the SCSI mode sense 10-byte commands. 77 * @brief This method builds the mode parameter header for a 10-byte SCSI 105 mode_data_length -= 2; in sati_mode_sense_10_build_header() 113 if (sequence->device->capabilities & SATI_DEVICE_CAP_DMA_FUA_ENABLE) in sati_mode_sense_10_build_header() 123 // The MSB for the block descriptor length is never used since the in sati_mode_sense_10_build_header() [all …]
|
/freebsd-src/sys/contrib/dev/iwlwifi/fw/ |
H A D | paging.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2018-2019, 2021 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 7 #include "iwl-drv.h" 15 if (!fwrt->fw_paging_db[0].fw_paging_block) in iwl_free_fw_paging() 19 struct iwl_fw_paging *paging = &fwrt->fw_paging_db[i]; in iwl_free_fw_paging() 21 if (!paging->fw_paging_block) { in iwl_free_fw_paging() 23 "Paging: block %d already freed, continue to next page\n", in iwl_free_fw_paging() 28 dma_unmap_page(fwrt->trans->dev, paging->fw_paging_phys, in iwl_free_fw_paging() [all …]
|
/freebsd-src/contrib/mandoc/ |
H A D | mdoc.7 | 4 .\" Copyright (c) 2010, 2011, 2013-2020 Ingo Schwarze <schwarze@openbsd.org> 64 They provide free-form text to be printed; the formatting of the text 66 .Bd -literal -offset indent 91 A well-formed 116 The following is a well-formed skeleton 120 .Bd -literal -offset inden [all...] |
/freebsd-src/contrib/xz/src/liblzma/api/lzma/ |
H A D | index.h | 1 /* SPDX-License-Identifier: 0BSD */ 27 * a time. All functions that take non-const pointer to lzma_index 70 * If this is zero, the block structure below has 76 * \brief Compressed start offset of this Stream 78 * The offset is relative to the beginning of the lzma_index 84 * \brief Uncompressed start offset of this Stream 86 * The offset is relative to the beginning of the lzma_index 129 * \brief Block number in the file 131 * The first Block is 1. 136 * \brief Compressed start offset of this Block [all …]
|
/freebsd-src/usr.sbin/fstyp/ |
H A D | hammer_disk.h | 1 /*- 47 * The structures below represent the on-disk format for a HAMMER 48 * filesystem. Note that all fields for on-disk structures are naturally 49 * aligned. HAMMER uses little endian for fields in on-disk structures. 63 * 64K X-bufs are used for blocks >= a file's 1MB mark. 65 * Per-volume storage limit: 52 bits 4096 TB 66 * Per-Zone storage limit: 60 bits 1 MTB 67 * Per-filesystem storage limit: 60 bits 1 MTB 73 #define HAMMER_BUFMASK (HAMMER_BUFSIZE - 1) 74 #define HAMMER_XBUFMASK (HAMMER_XBUFSIZE - 1) [all …]
|
/freebsd-src/contrib/pam_modules/pam_passwdqc/ |
H A D | passwdqc_random.c | 2 * Copyright (c) 2000-2002 by Solar Designer. See LICENSE. 13 #define SEPARATORS "_,.;:-!&" 17 int offset, block; in read_loop() local 19 offset = 0; in read_loop() 21 block = read(fd, &buffer[offset], count); in read_loop() 23 if (block < 0) { in read_loop() 25 return block; in read_loop() 27 if (!block) return offset; in read_loop() 29 offset += block; in read_loop() 30 count -= block; in read_loop() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MergeICmps.cpp | 1 //===- MergeICmps.cpp - Optimize chains of integer comparisons -------- 110 APInt Offset; global() member 162 APInt Offset = APInt(DL.getIndexTypeSizeInBits(Addr->getType()), 0); visitICmpLoadOperand() local 336 visitCmpBlock(Value * const Val,BasicBlock * const Block,const BasicBlock * const PhiBlock,BaseIdentifier & BaseId) visitCmpBlock() argument 433 for (const BCECmpBlock &Block : Blocks) getMinOrigOrder() local 729 for (const BCECmpBlock &Block : Blocks) { simplify() local [all...] |
/freebsd-src/share/man/man4/ |
H A D | siftr.4 | 39 as a module at run-time, run the following command as root: 40 .Bd -literal -offset indent 49 .Bd -literal -offset indent 66 .Ss Compile-time Configuration 72 .Bd -literal -offset indent 73 CFLAGS+=-DSIFTR_IPV6 80 In the IPv4-only (default) mode, standard dotted decimal notation (e.g. 83 and standard colon-separated hex notation (see RFC 4291) is used to format IPv6 85 .Ss Run-time Configuration 89 interface to export its configuration variables to user-space. [all …]
|
/freebsd-src/usr.sbin/makefs/ffs/ |
H A D | ufs_bmap.c | 4 /*- 5 * SPDX-License-Identifier: BSD-3-Clause 57 * Create an array of logical block number/offset pairs which represent the 58 * path of indirect blocks required to access a data block. The first "pair" 59 * contains the logical block number of the appropriate single, double or 60 * triple indirect block and the offset into the inode indirect block array. 61 * Note, the logical block number of the inode single/double/triple indirect 62 * block appears twice in the array, once with the offset into the i_ffs_ib and 63 * once with the offset into the page itself. 74 lognindir = ffs(NINDIR(ip->i_fs)) - 1; in ufs_getlbns() [all …]
|
/freebsd-src/share/man/man5/ |
H A D | disktab.5 | 51 consist of a number of `:'-separated fields. 60 .Bl -column "indent" "boolx" 74 .It "\&sf bool Controller supports bad144-style bad sector forwarding" 79 .It "\&ts num One-cylinder seek time, usec, default 0" 81 .It "\&d[0-4] num Drive-type-dependent parameters" 82 .It "\&bs num Boot block size, default" 85 .It "\&ba num Block size for partition `a' (bytes)" 86 .It "\&bd num Block size for partition `d' (bytes)" 87 .It "\&be num Block size for partition `e' (bytes)" 88 .It "\&bf num Block size for partition `f' (bytes)" [all …]
|
/freebsd-src/contrib/llvm-project/lldb/source/Symbol/ |
H A D | Block.cpp | 1 //===-- Block.cpp ------- 24 Block::Block(lldb::user_id_t uid) Block() function in Block 126 FindInnermostBlockByOffset(const lldb::addr_t offset) FindInnermostBlockByOffset() argument 130 if (Block *block = block_sp->FindInnermostBlockByOffset(offset)) FindInnermostBlockByOffset() local 240 GetRangeContainingOffset(const addr_t offset,Range & range) GetRangeContainingOffset() argument 260 addr_t offset = addr_offset - func_offset; GetRangeContainingAddress() local 295 addr_t offset = addr_offset - func_offset; GetRangeIndexContainingAddress() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYConstantIslandPass.cpp | 1 //===- CSKYConstantIslandPass.cpp - Emit PC Relative loads -------- 97 unsigned Offset = 0; global() member 600 unsigned Offset = BBInfo[MBB->getNumber()].Offset; getOffsetOf() local 817 unsigned Offset = BBInfo[I - 1].Offset + BBInfo[I - 1].Size; adjustBBOffsetsAfter() local 1037 for (unsigned Offset = UserOffset + TII->getInstSizeInBytes(*UserMI); createNewWater() local [all...] |
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_display_block.ksh | 22 # zdb -R pool <DVA>:b will display the block 27 # 3. Run zdb -ddddddbbbbbb against the file 28 # 4. Record the DVA of the first L1 block; 29 # record the first L0 block display; and 30 # record the 2nd L0 block display. 31 # 5. Run zdb -R with :bd displays first L0 32 # 6. Run zdb -R with :b80d displays 2nd L0 33 # 7. Run zdb -R with :db80 displays 2nd L0 34 # 8. Run zdb -R with :id flag displays indirect block 35 # (similar to zdb -ddddddbbbbbb output) [all …]
|