/freebsd/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/ |
H A D | runtime.c | 4 * Copyright 2008-2010 Apple, Inc. Permission is hereby granted, free of charge, 5 * to any person obtaining a copy of this software and associated documentation 7 * including without limitation the rights to use, copy, modify, merge, publish, 52 /* fixme barrier is overkill -- see objc-os.h */ in OSAtomicCompareAndSwapLong() 58 /* fixme barrier is overkill -- see objc-os.h */ in OSAtomicCompareAndSwapInt() 64 * Check to see if the GCC atomic built-ins are available. If we're on 65 * a 64-bit system, make sure we have an 8-byte atomic function 81 #error unknown atomic compare-and-swap primitive 138 if (OSAtomicCompareAndSwapLong(old_value, old_value-1, (volatile long int *)where)) { 139 return old_value-1; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/dma/ti/ |
H A D | k3-bcdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/dma/ti/k3-bcdm [all...] |
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_L_upper.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2007 Tim Kientzle 42 r = systemf(CAT " filelist | %s -pd copy >copy.out 2>copy.err", testprog); in DEFINE_TEST() 44 assertTextFileContents("1 block\n", "copy.err"); in DEFINE_TEST() 46 failure("Regular -p without -L should preserve symlinks."); in DEFINE_TEST() 47 assertIsSymlink("copy/symlink", NULL, 0); in DEFINE_TEST() 49 r = systemf(CAT " filelist | %s -pd -L copy-L >copy-L.out 2>copy-L.err", testprog); in DEFINE_TEST() 51 assertEmptyFile("copy-L.out"); in DEFINE_TEST() 52 assertTextFileContents("1 block\n", "copy-L.err"); in DEFINE_TEST() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.h | 1 //===-- CGBlocks.h - state for LLVM CodeGen for blocks ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This is the internal state used for llvm translation for block literals. 11 //===----------------------------------------------------------------------===// 89 block, ... */ 90 BLOCK_FIELD_IS_BLOCK = 0x07, /* a block variable */ 94 BLOCK_FIELD_IS_WEAK = 0x10, /* declared __weak, only used in byref copy 96 BLOCK_FIELD_IS_ARC = 0x40, /* field has ARC-specific semantics */ 97 BLOCK_BYREF_CALLER = 128, /* called from __block (byref) copy/dispose [all …]
|
H A D | CGBlocks.cpp | 1 //===--- CGBlocks.cpp - Emit LLVM Code for declarations ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 35 CGBlockInfo::CGBlockInfo(const BlockDecl *block, StringRef name) in CGBlockInfo() argument 40 Block(block) { in CGBlockInfo() 51 /// Build the given block as a global block. 56 /// Build the helper function to copy a block. 62 /// Build the helper function to dispose of a block. 71 // String for the copy helper. [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FlagsCopyLowering.cpp | 1 //====- X86FlagsCopyLowering.cpp - Lowers COPY nodes of EFLAGS ------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// Lowers COPY nodes of EFLAGS by directly extracting and preserving individual 17 /// and other non-status flags being overwritten. Using sequences involving 21 //===----------------------------------------------------------------------===// 62 #define PASS_KEY "x86-flags-copy-lowering" 80 StringRef getPassName() const override { return "X86 EFLAGS copy lowering"; } in getPassName() 120 "X86 EFLAGS copy lowering", false, false) 122 "X86 EFLAGS copy lowering", false, false) [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | infback.c | 1 /* infback.c -- inflate using a call-back interface 2 * Copyright (C) 1995-2022 Mark Adler 8 inflate.o would be linked into an application--not both. The interface 9 with inffast.c is retained so that optimized assembler-coded versions of 22 windowBits is in the range 8..15, and window is a user-supplied 36 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_() 37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_() 41 strm->zalloc = zcalloc; in inflateBackInit_() 42 strm->opaque = (voidpf)0; in inflateBackInit_() 45 if (strm->zfree == (free_func)0) in inflateBackInit_() [all …]
|
H A D | inflate.h | 1 /* inflate.h -- internal inflate state definition 2 * Copyright (C) 1995-2019 Mark Adler 32 TYPE, /* i: waiting for type bits, including last-flag bit */ 33 TYPEDO, /* i: same, but skip check to exit inflate on new block */ 35 COPY_, /* i/o: same as COPY below, but only first time in */ 36 COPY, /* i/o: waiting for input or output to copy stored block */ enumerator 37 TABLE, /* i: waiting for dynamic block table lengths */ 45 MATCH, /* o: waiting for output space to copy string */ 47 CHECK, /* i: waiting for 32-bit check value */ 48 LENGTH, /* i: waiting for 32-bit length (gzip) */ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineSink.cpp | 1 //===- MachineSink.cpp - Sinking for machine instructions -----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 // for an LLVM-IR-level sinking pass. It is only designed to sink simple 16 //===----------------------------------------------------------------------===// 65 #define DEBUG_TYPE "machine-sink" 68 SplitEdges("machine-sink-split", 73 UseBlockFreqInfo("machine-sink-bfi", 74 cl::desc("Use block frequency info to find successors to sink"), 78 "machine-sink-split-probability-threshold", [all …]
|
H A D | PHIElimination.cpp | 1 //===- PhiElimination.cpp - Eliminate PHI nodes by inserting copies -------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This pass eliminates machine instruction PHI nodes by inserting copy 13 //===----------------------------------------------------------------------===// 48 #define DEBUG_TYPE "phi-node-elimination" 51 DisableEdgeSplitting("disable-phi-elim-edge-splitting", cl::init(false), 57 SplitAllCriticalEdges("phi-elim-split-all-critical-edges", cl::init(false), 63 "no-phi-elim-live-out-early-exit", cl::init(false), cl::Hidden, 75 /// EliminatePHINodes - Eliminate phi nodes by inserting copy instructions [all …]
|
H A D | SplitKit.h | 1 //===- SplitKit.h - Toolkit for splitting live ranges -------- [all...] |
H A D | TailDuplicator.cpp | 1 //===- TailDuplicator.cpp - Duplicate blocks into predecessors' tails -----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 61 "tail-dup-size", 66 "tail-dup-indirect-size", 72 TailDupPredSize("tail-dup-pred-size", 78 TailDupSuccSize("tail-dup-succ-size", 84 TailDupVerify("tail-dup-verify", 88 static cl::opt<unsigned> TailDupLimit("tail-dup-limit", cl::init(~0U), [all …]
|
/freebsd/sys/kern/ |
H A D | tty_outq.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 45 * The previous design of the TTY layer offered the so-called clists. 61 if (to->to_end == 0) { \ 62 tob->tob_next = to->to_firstblock; \ 63 to->to_firstblock = tob; \ 65 tob->tob_next = to->to_lastblock->tob_next; \ 66 to->to_lastblock->tob_next = tob; \ 68 to->to_nblocks++; \ 72 to->to_firstblock = to->to_firstblock->tob_next; \ [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | TypeErasedDataflowAnalysis.cpp | 1 //===- TypeErasedDataflowAnalysis.cpp -------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines type-erased base types and functions for building dataflow 10 // analyses that run over Control-Flow Graphs (CFGs). 12 //===----------------------------------------------------------------------===// 38 #define DEBUG_TYPE "clang-dataflow" 43 /// Returns the index of `Block` in the successors of `Pred`. 45 const CFGBlock &Block) { in blockIndexInPredecessor() argument 47 Pred.succs(), [&Block](const CFGBlock::AdjacentBlock &Succ) { in blockIndexInPredecessor() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_environment.cpp | 2 * kmp_environment.cpp -- Handle environment variables OS-independently. 5 //===------- 237 ___kmp_env_blk_parse_string(kmp_env_blk_t * block,char const * env) ___kmp_env_blk_parse_string() argument 306 ___kmp_env_blk_parse_windows(kmp_env_blk_t * block,char const * env) ___kmp_env_blk_parse_windows() argument 381 ___kmp_env_blk_parse_unix(kmp_env_blk_t * block,char ** env) ___kmp_env_blk_parse_unix() argument 429 __kmp_env_blk_init(kmp_env_blk_t * block,char const * bulk) __kmp_env_blk_init() argument 462 __kmp_env_blk_sort(kmp_env_blk_t * block) __kmp_env_blk_sort() argument 472 __kmp_env_blk_free(kmp_env_blk_t * block) __kmp_env_blk_free() argument 484 __kmp_env_blk_var(kmp_env_blk_t * block,char const * name) __kmp_env_blk_var() argument [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | Cloning.h | 1 //===- Cloning.h - Clone various parts of LLVM programs ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 48 /// Return an exact copy of the specified module 52 /// Return a copy of the specified module. The ShouldCloneDefinition function 54 /// function returns false, the module copy will contain an external reference 71 /// Dynamic allocas are allocas that are either not in the entry block or they 72 /// are in the entry block but are not a constant size. 92 /// Return a copy of the specified basic block, but without [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILowerI1Copies.cpp | 1 //===-- SILowerI1Copies.cpp - Lower I1 Copies -----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // to lane masks (32 / 64-bit scalar registers). The pass assumes machine SSA 11 // form and a wave-level control flow graph. 14 // within the same basic block are already represented as lane masks in scalar 19 // The only instructions that use or define vreg_1 virtual registers are COPY, 22 //===----------------------------------------------------------------------===// 30 #define DEBUG_TYPE "si-i1-copies" 87 return Reg.isVirtual() && MRI->getRegClass(Reg) == &AMDGPU::VReg_1RegClass; in isVreg1() [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/bin/dd/ |
H A D | dd.1 | 1 .\"- 37 .Nd convert and copy a file 45 Input data is read and written in 512-byte blocks. 47 to form the output block. 54 .Bl -tag -width "of=file" 56 Set both input and output block size to 68 are specified, then each input block is copied to the output as a 69 single block without any aggregation of short blocks. 77 Copy only 81 Copy [all …]
|
/freebsd/bin/pax/ |
H A D | buf_subs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 49 #define MINFBSZ 512 /* default block size for hole detect */ 61 int blksz = MAXBLK; /* block input/output size in bytes */ 73 * 0 if ok, -1 if the user specified write block size violates pax spec 81 * Check to make sure the write block size meets pax specs. If the user in wr_start() 88 wrblksz = frmt->bsz; in wr_start() 90 paxwarn(1, "Write block size of %d too large, maximum is: %d", in wr_start() 92 return(-1); in wr_start() 95 paxwarn(1, "Write block size of %d is not a %d byte multiple", in wr_start() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/algs/skein/ |
H A D | skein.c | 13 /* 256-bit Skein */ 21 } cfg; /* config block */ in Skein_256_Init() 24 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_256_Init() 26 switch (hashBitLen) { /* use pre-computed values, where available */ in Skein_256_Init() 29 memcpy(ctx->X, SKEIN_256_IV_256, sizeof (ctx->X)); in Skein_256_Init() 32 memcpy(ctx->X, SKEIN_256_IV_224, sizeof (ctx->X)); in Skein_256_Init() 35 memcpy(ctx->X, SKEIN_256_IV_160, sizeof (ctx->X)); in Skein_256_Init() 38 memcpy(ctx->X, SKEIN_256_IV_128, sizeof (ctx->X)); in Skein_256_Init() 44 * build/process the config block, type == CONFIG (could be in Skein_256_Init() 55 /* zero pad config block */ in Skein_256_Init() [all …]
|
/freebsd/share/doc/smm/01.setup/ |
H A D | 2.t | 49 Intel 386/486-based machines (ISA/AT or EISA bus only) 51 Sony News MIPS-based workstations 53 Omron Luna 68000-based workstations 150 HP-IB/CS80 (7912, 7914, 7933, 7936, 7945, 7957, 7958, 7959, 2200, 2203) 151 and SCSI-I (including magneto-optical). 155 Low-density CS80 cartridge (7914, 7946, 9144), 156 high-density CS80 cartridge (9145), 162 98644 built-in single-port, 98642 4-port and 98638 8-port interfaces. 185 Battery-backed real time clock, 186 builtin and 98625A/B HP-IB interfaces, [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send_raw_ashift.ksh | 9 # A full copy of the text of the CDDL should have accompanied this 10 # source. A copy of the CDDL is also available via the Internet at 31 # 3) Verify that all the xattrs (and thus the spill block) were 33 # 4) Repeat the test for a non-encrypted filesystem using raw send 46 rm -f $BACKDIR/fs@* 49 log_must rm -f $TESTDIR/vdev_a $TESTDIR/vdev_b 59 # Create 40 files each with a spill block containing xattrs. Each file 72 log_must eval "zfs send -w pool9/$1@snap1 >$BACKDIR/$1@snap1" 76 # Modify file[1-6]'s contents but not the spill blocks. 78 # file1 - Increase record size; single block [all …]
|
H A D | send_raw_spill_block.ksh | 9 # A full copy of the text of the CDDL should have accompanied this 10 # source. A copy of the CDDL is also available via the Internet at 29 # 2) Add enough xattrs to the file to require a spill block. 33 # 6) Verify that all the xattrs (and thus the spill block) were 43 rm -f $BACKDIR/fs@* 44 destroy_dataset $POOL/fs "-rR" 45 destroy_dataset $POOL/newfs "-rR" 52 log_must eval "echo 'password' | zfs create -o encryption=on" \ 53 "-o keyformat=passphrase -o keylocation=prompt " \ 59 # Create 40 files each with a spill block containing xattrs. Each file [all …]
|
/freebsd/sys/contrib/openzfs/man/man7/ |
H A D | zfsconcepts.7 | 8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 .\" or https://opensource.org/licenses/CDDL-1.0. 57 A snapshot is a read-only copy of a file system or volume. 80 A bookmark is like a snapshot, a read-only copy of a file system or volume. 109 The clone parent-child dependency relationship can be reversed by using the 175 .Nm x-systemd.requires=zfs-import.target 177 will ensure that the zfs-import completes before systemd attempts mounting 183 Deduplication is the process for removing redundant data at the block level, 191 Deduplicating data is a very resource-intensive operation. 197 Enabling deduplication on an improperly-designed system can result in [all …]
|