/freebsd/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 ----- 81 unsigned Offset = BBInfo[MBB->getNumber()].Offset; getOffsetOf() local 132 const unsigned Offset = BBInfo[i - 1].postOffset(Align); adjustBBOffsetsAfter() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/XRay/ |
H A D | Profile.cpp | 1 //===- Profile.cpp - XRay Profile Abstraction -----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 26 // We need to re-create all the tries from the original (O), into the current in Profile() 27 // Profile being initialized, through the Block instances we see. in Profile() 28 for (const auto &Block : O) { in Profile() local 29 Blocks.push_back({Block.Thread, {}}); in Profile() 31 for (const auto &PathData : Block.PathData) in Profile() 52 uint64_t &Offset) { in readBlockHeader() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 1 //===------ CFIInstrInserter.cpp - Insert additional CFI instructions -----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// blocks. CFA information is information about offset and register set by CFI 11 /// directives, valid at the start and end of a basic block. This pass checks 15 /// don't. CFI instructions are inserted if basic blocks have incorrect offset 16 /// or register set by previous blocks, as a result of a non-linear layout of 18 //===----------------------------------------------------------------------===// 31 static cl::opt<bool> VerifyCFI("verify-cfiinstrs", 70 /// Value of cfa offset valid at basic block entry. [all …]
|
H A D | BranchRelaxation.cpp | 1 //===- BranchRelaxation.cpp --------- 54 unsigned Offset = 0; global() member 196 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; getInstrOffset() local [all...] |
/freebsd/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/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/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/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Pointer.h | 1 //===--- Pointer.h - Types for the constexpr VM -----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 26 class Block; variable 37 /// The block the pointer is pointing to. 38 Block *Pointee; 48 enum class Storage { Block, Int }; enumerator 50 /// A pointer to a memory block, live or dead. 53 /// a live block, it is a link in the chain of pointers pointing to the block. [all …]
|
H A D | MemberPointer.cpp | 1 //===------------------------- MemberPointer.cpp ----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 28 (PtrOffset < 0 ? Base.atField(-PtrOffset) : Base.atFieldSub(PtrOffset)); in toPointer() 35 if (FD->getParent() == BaseRecord->getDecl()) in toPointer() 36 return CastedBase.atField(BaseRecord->getField(FD)->Offset); in toPointer() 38 const RecordDecl *FieldParent = FD->getParent(); in toPointer() 41 unsigned Offset = 0; in toPointer() local 42 Offset += FieldRecord->getField(FD)->Offset; in toPointer() 43 Offset += CastedBase.block()->getDescriptor()->getMetadataSize(); in toPointer() [all …]
|
H A D | Pointer.cpp | 1 //===--- Pointer.cpp - Types for the constexpr VM ---------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 Pointer::Pointer(Block *Pointee) in Pointer() 25 : Pointer(Pointee, Pointee->getDescriptor()->getMetadataSize(), in Pointer() 26 Pointee->getDescriptor()->getMetadataSize()) {} in Pointer() 28 Pointer::Pointer(Block *Pointee, uint64_t BaseAndOffset) in Pointer() 32 : Offset(P.Offset), PointeeStorage(P.PointeeStorage), in Pointer() 36 PointeeStorage.BS.Pointee->addPointer(this); in Pointer() 39 Pointer::Pointer(Block *Pointee, unsigned Base, uint64_t Offset) in Pointer() argument [all …]
|
H A D | InterpFrame.h | 1 //===--- InterpFrame.h - Call Frame implementation for the VM ---*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 66 /// Returns the offset on the stack at which the frame starts. 70 template <typename T> const T &getLocal(unsigned Offset) const { in getLocal() argument 71 return localRef<T>(Offset); in getLocal() 75 template <typename T> void setLocal(unsigned Offset, const T &Value) { in setLocal() argument 76 localRef<T>(Offset) = Value; in setLocal() 77 localInlineDesc(Offset)->IsInitialized = true; in setLocal() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 1 //===------------ JITLink.h - JIT linker functionality ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Contains generic JIT-linker types. 11 //===----------------------------------------------------------------------===// 73 FirstKeepAlive, // Keeps target alive. Offset/addend zero. 81 Edge(Kind K, OffsetT Offset, Symbol &Target, AddendT Addend) in Edge() argument 82 : Target(&Target), Offset(Offset), Addend(Addend), K(K) {} in Edge() 84 OffsetT getOffset() const { return Offset; } in getOffset() 85 void setOffset(OffsetT Offset) { this->Offset = Offset; } in setOffset() argument [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
H A D | Block.h | 1 //===-- Block.h -------------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 20 #include "lldb/lldb-private.h" 25 /// \class Block Block.h "lldb/Symbol/Block.h" 26 /// A class that describes a single lexical block. 29 /// Block objects. The BlockList object contains a section offset address 30 /// range, and Block objects contain one or more ranges which are offsets into 32 /// address range, and each block can contain child blocks each with their own 35 /// Each block has a variable list that represents local, argument, and static [all …]
|
/freebsd/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/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/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 indent 169 .Bl -ohang -offset Ds 173 .Bd -literal -offset indent 198 .Bd -literal -offset indent 210 .Bd -literal -offset indent [all …]
|
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MergeICmps.cpp | 1 //===- MergeICmps.cpp - Optimize chains of integer comparisons ------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 // - There are less jumps, and therefore less opportunities for mispredictions 17 // and I-cache misses. 18 // - Code size is smaller, both because jumps are removed and because the 19 // encoding of a 2*n byte compare is smaller than that of two n-byte 40 // Which will later be expanded (ExpandMemCmp) as a single 8-bytes icmp. 42 //===----------------------------------------------------------------------===// 72 // that is a constant offset from a base value, e.g. `a` or `o.c` in the example [all …]
|
/freebsd/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/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/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/contrib/llvm-project/lldb/source/Symbol/ |
H A D | Block.cpp | 1 //===-- Block.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 #include "lldb/Symbol/Block.h" 24 Block::Block(lldb::user_id_t uid) in Block() function in Block 29 Block::~Block() = default; 31 void Block::GetDescription(Stream *s, Function *function, in GetDescription() 41 function->GetAddressRange().GetBaseAddress().GetLoadAddress(target); in GetDescription() 43 base_addr = function->GetAddressRange().GetBaseAddress().GetFileAddress(); in GetDescription() 45 s->Printf(", range%s = ", num_ranges > 1 ? "s" : ""); in GetDescription() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYConstantIslandPass.cpp | 1 //===- CSKYConstantIslandPass.cpp - Emit PC Relative loads ----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 16 // non-linux targets. 18 //===----------------------------------------------------------------------===// 39 #include "llvm/Config/llvm-config.h" 60 #define DEBUG_TYPE "CSKY-constant-islands" 72 /// CSKYConstantIslands - Due to limited PC-relative displacements, CSKY 79 /// Islands - Clumps of constants placed in the function. 80 /// Water - Potential places where an island could be formed. [all …]
|
/freebsd/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 …]
|