/freebsd/stand/libsa/ |
H A D | zalloc.c | 33 * LIB/MEMORY/ZALLOC.C - self contained low-overhead memory pool/allocation 44 * The system works best when allocating similarly-sized chunks of 77 typedef char assert_align[(sizeof(struct MemNode) <= MALLOCALIGN) ? 1 : -1]; 82 * znalloc() - allocate memory (without zeroing) from pool. Call reclaim 101 return ((void *)-1); in znalloc() 105 * are the same size, this is a constant-time function. in znalloc() 108 if (bytes > mp->mp_Size - mp->mp_Used) in znalloc() 111 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) { in znalloc() 118 aligned = (char *)(roundup2(dptr, align) - MALLOCALIGN); in znalloc() 119 extra = aligned - ptr; in znalloc() [all …]
|
/freebsd/usr.bin/clang/llvm-profdata/ |
H A D | llvm-profdata.1 | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [all …]
|
/freebsd/sys/contrib/edk2/ |
H A D | FREEBSD-upgrade | 6 cp -r ../vendor/edk2/dist/MdePkg/Include sys/contrib/edk2 9 pushd `make -V .OBJDIR` 10 cat .depend*.o | grep sys/contrib | cut -d' ' -f 3 | 11 sort -u | sed -e 's=/full/path/sys/contrib/edk2/==' > /tmp/xxx 14 # Merge the needed files 16 svn revert -R . 18 svn merge -c VendorRevision svn+ssh://repo.freebsd.org/base/vendor/edk2/dist/MdePkg/$i $i 20 svn merge -c VendorRevision \ 21 svn+ssh://repo.freebsd.org/base/vendor/edk2/dist/MdePkg/MdePkg.dec MdePkg.dec
|
/freebsd/contrib/pjdfstest/ |
H A D | FREEBSD-upgrade | 6 http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html 12 and is imported into the pjdfstest vendor branch (see base/vendor/pjdfstest/). 14 To merge the vendor branch into head do something like this: 16 cd .../base/head/contrib/pjdfstest 17 svn merge --accept=postpone \ 18 svn+ssh://svn.freebsd.org/base/vendor/pjdfstest/dist .
|
/freebsd/contrib/atf/ |
H A D | FREEBSD-upgrade | 6 http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html 12 and is imported into the atf vendor branch (see base/vendor/atf/). 14 To merge the vendor branch into head do something like this: 16 cd .../base/head/contrib/atf 17 svn merge --accept=postpone \ 18 svn+ssh://svn.freebsd.org/base/vendor/atf/dist . 19 svn remove --force $(cat FREEBSD-Xlist) 32 --prefix=/ \ 33 --exec-prefix=/usr \ 34 --datarootdir=/usr/share [all …]
|
/freebsd/contrib/netbsd-tests/ |
H A D | FREEBSD-upgrade | 6 http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html 11 http://www.netbsd.org/docs/guide/en/chap-fetch.html#chap-fetch-cvs 14 base/vendor/NetBSD/tests/). 20 cvs -z9 co -D "09/30/2014 20:45" -P src/tests 23 Please adjust the checkout date spec (the argument passed via -D) to match 26 To merge the vendor branch into head do something like this: 28 cd .../base/head/contrib/netbsd-tests 29 svn merge --accept=postpone \ 30 svn+ssh://svn.freebsd.org/base/vendor/NetBSD/tests/dist . 31 find . -name Makefile\* | xargs svn rm --force
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleContextTracker.cpp | 1 //===- SampleContextTracker.cpp - Context-sensitive Profile Tracker -------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 26 #define DEBUG_TYPE "sample-context-tracker" 38 return &It->second; in getChildContext() 44 // CSFDO-TODO: This could be slow, change AllChildContext so we can in getHottestChildContext() 56 if (Samples->getTotalSamples() > MaxCalleeSamples) { in getHottestChildContext() 58 MaxCalleeSamples = Samples->getTotalSamples(); in getHottestChildContext() 88 FunctionSamples *FSamples = Node->getFunctionSamples(); in moveContextSamples() [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | merge.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 36 * Hybrid exponential search/linear search merge sort with hybrid 43 #define THRESHOLD 16 /* Best choice for natural merge cut-off. */ 45 /* #define NATURAL to get hybrid natural merge. 77 while (i -= ISIZE) 86 while (i -= 1) 107 mergesort_b(void *base, size_t nmemb, size_t size, cmp_t cmp) in mergesort_b() argument 109 mergesort(void *base, size_t nmemb, size_t size, cmp_t cmp) in mergesort_b() 120 return (-1); in mergesort_b() [all …]
|
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | qemu-7-prepare.sh | 5 # - this script pre-creates all needed logfiles for later summary 8 set -eu 14 mkdir -p $RESPATH 17 if [ -z ${VMs:-} ]; then 22 tar cf /tmp/qemu-$OS.tar -C $RESPATH -h . || true 27 BASE="$HOME/work/zfs/zfs" 28 MERGE="$BASE/.github/workflows/scripts/merge_summary.awk" 32 rsync -arL zfs@vm$i:$RESPATH/current $RESPATH/vm$i || true 36 cp -f /var/tmp/*.txt $RESPATH || true 41 file="vm$i/build-stderr.txt" [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LoadStoreOpt.h | 1 //== llvm/CodeGen/GlobalISel/LoadStoreOpt.h - LoadStoreOpt -------*- C++ -* [all...] |
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | list | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 31 typedef implementation-defined iterator; 32 typedef implementation-defined const_iterator; 33 typedef implementation-defined size_type; 34 typedef implementation-defined difference_type; 49 template<container-compatible-range<T> R> 69 template<container-compatible-range<T> R> [all …]
|
H A D | forward_list | 1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 //===----------------------------------------------------------------------===// 47 template<container-compatible-range<T> R> 68 template<container-compatible-range<T> R> 96 template<container-compatible-range<T> R> 109 template<container-compatible-range<T> R> 137 void merge(forward_list& x); 138 void merge(forward_list&& x); [all …]
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | e820.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 uint64_t base; member 58 e820_element_alloc(uint64_t base, uint64_t end, enum e820_memory_type type) in e820_element_alloc() argument 67 element->base = base; in e820_element_alloc() 68 element->end = end; in e820_element_alloc() 69 element->type = type; in e820_element_alloc() 102 element->base, element->end, in e820_dump_table() 103 e820_get_type_name(element->type)); in e820_dump_table() 131 fwcfg_item->size = count * sizeof(struct e820_entry); in e820_get_fwcfg_item() [all …]
|
/freebsd/sys/contrib/libfdt/ |
H A D | fdt_overlay.c | 2 * libfdt - Flat Device Tree manipulation 22 * MA 02110-1301 USA 60 * overlay_get_target_phandle - retrieves the target phandle of a fragment 66 * property) instead of a path (target-path property). 71 * -1, if the phandle was malformed 82 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle() 83 return (uint32_t)-1; in overlay_get_target_phandle() 89 * overlay_get_target - retrieves the offset of a fragment's target 90 * @fdt: Base device tree blob 95 * overlay_get_target() retrieves the target offset in the base [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/riscv/ |
H A D | extensions.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V ISA extensions 10 - Paul Walmsley <paul.walmsley@sifive.com> 11 - Palmer Dabbelt <palmer@sifive.com> 12 - Conor Dooley <conor@kernel.org> 15 RISC-V has a large number of extensions, some of which are "standard" 16 extensions, meaning they are ratified by RISC-V International, and others 36 Identifies the specific RISC-V instruction set architecture [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/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | SampleProf.cpp | 1 //=-- SampleProf.cpp - Sample profiling format support --------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 15 #include "llvm/Config/llvm-config.h" 31 "profile-symbol-list-cutoff", cl::Hidden, cl::init(-1), 36 "generate-merged-base-profiles", 37 cl::desc("When generating nested context-sensitive profiles, always " 38 "generate extra base profile for function with all its context " 117 /// Merge the samples in \p Other into this record. [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | APValue.cpp | 1 //===--- APValue.cpp - Union class for APFloat/APSInt/Complex -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 28 : T(T->getCanonicalTypeUnqualified().getTypePtr()) {} in TypeInfoLValue() 43 : Ptr(P ? cast<ValueDecl>(P->getCanonicalDecl()) : nullptr), Local{I, V} {} in LValueBase() 49 LValueBase Base; in getDynamicAlloc() local 50 Base.Ptr = LV; in getDynamicAlloc() 51 Base.DynamicAllocType = Type.getAsOpaquePtr(); in getDynamicAlloc() 52 return Base; in getDynamicAlloc() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiMemAluCombiner.cpp | 1 //===-- LanaiMemAluCombiner.cpp - Pass to combine memory & ALU operations -===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===-- 242 MachineOperand Base = MemInstr->getOperand(1); insertMergedInstruction() local 286 isSuitableAluInstr(bool IsSpls,const MbbIterator & AluIter,const MachineOperand & Base,const MachineOperand & Offset) isSuitableAluInstr() argument 331 MachineOperand *Base = &MemInstr->getOperand(1); findClosestSuitableAluInstr() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMLoadStoreOptimizer.cpp | 1 //===- ARMLoadStoreOptimizer.cpp - ARM load / store opt. pass -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 74 #define DEBUG_TYPE "arm-ldst-opt" 94 AssumeMisalignedLoadStores("arm-assume-misaligned-load-store", cl::Hidden, 101 /// Post- register allocation pass the combine load / store instructions to 131 /// A set of load/store MachineInstrs with same base register sorted by 174 unsigned Base, unsigned WordOffset, 178 int Offset, unsigned Base, bool BaseKill, unsigned Opcode, [all …]
|
/freebsd/usr.bin/clang/llvm-pdbutil/ |
H A D | llvm-pdbutil.1 | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/ |
H A D | llvm-profdata.cpp | 1 //===- llvm-profdata.cpp - LLVM profile data tool -------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // llvm-profdata merges .profdata files. 11 //===----------------------------------------------------------------------===// 51 // https://llvm.org/docs/CommandGuide/llvm-profdata.html has documentations 57 "https://llvm.org/docs/CommandGuide/llvm-profdata.html#profdata-show"); 63 "https://llvm.org/docs/CommandGuide/llvm-profdata.html#profdata-order"); 68 "https://llvm.org/docs/CommandGuide/llvm-profdata.html#profdata-overlap"); 70 "merge", [all …]
|
/freebsd/contrib/bearssl/T0/ |
H A D | OpcodeJumpIf.cs | 7 * without limitation the rights to use, copy, modify, merge, publish, 30 internal OpcodeJumpIf() : base() in OpcodeJumpIf() 34 internal OpcodeJumpIf(int disp) : base(disp) in OpcodeJumpIf() 42 base.Run(cpu); in Run() 48 return -1;
|
H A D | OpcodeJumpIfNot.cs | 7 * without limitation the rights to use, copy, modify, merge, publish, 30 internal OpcodeJumpIfNot() : base() in OpcodeJumpIfNot() 34 internal OpcodeJumpIfNot(int disp) : base(disp) in OpcodeJumpIfNot() 42 base.Run(cpu); in Run() 48 return -1;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64LoadStoreOptimizer.cpp | 1 //===- AArch64LoadStoreOptimizer.cpp - AArch64 load/store opt. pass -------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 // has the FrameSetup/FrameDestroy flag or, alternatively, apply an add-hoc fix 18 //===----------------------------------------------------------------------===// 56 #define DEBUG_TYPE "aarch64-ldst-opt" 59 STATISTIC(NumPostFolded, "Number of post-index updates folded"); 60 STATISTIC(NumPreFolded, "Number of pre-index updates folded"); 68 DEBUG_COUNTER(RegRenamingCounter, DEBUG_TYPE "-reg-renaming", 72 static cl::opt<unsigned> LdStLimit("aarch64-load-store-scan-limit", [all …]
|