Home
last modified time | relevance | path

Searched +full:block +full:- +full:size (Results 1 – 25 of 1125) sorted by relevance

12345678910>>...45

/freebsd-src/contrib/xz/src/liblzma/api/lzma/
H A Dblock.h1 /* SPDX-License-Identifier: 0BSD */
4 * \file lzma/block.h
5 * \brief .xz Block handling
19 * \brief Options for the Block and Block Header encoders and decoders
21 * Different Block handling functions use different parts of this structure.
30 * \brief Block format version
35 * - liblzma >= 5.0.0: version = 0 is supported.
36 * - liblzma >= 5.1.4beta: Support for version = 1 was added,
39 * If version is greater than one, most Block related functions
44 * - lzma_block_header_size()
[all …]
H A Dindex.h1 /* SPDX-License-Identifier: 0BSD */
22 * of the same Stream and size of the Stream Padding field. However,
27 * a time. All functions that take non-const pointer to lzma_index
70 * If this is zero, the block structure below has
92 * \brief Compressed size of this Stream
100 * \brief Uncompressed size of this Stream
105 * \brief Size of Stream Padding after this Stream
129 * \brief Block number in the file
131 * The first Block is 1.
136 * \brief Compressed start offset of this Block
[all …]
/freebsd-src/sys/contrib/device-tree/src/riscv/sophgo/
H A Dsg2042-cpus.dtsi1 // 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/contrib/xz/src/liblzma/common/
H A Dblock_header_encoder.c1 // SPDX-License-Identifier: 0BSD
6 /// \brief Encodes Block Header for .xz files
17 lzma_block_header_size(lzma_block *block) in lzma_block_header_size() argument
19 if (block->version > 1) in lzma_block_header_size()
22 // Block Header Size + Block Flags + CRC32. in lzma_block_header_size()
23 uint32_t size = 1 + 1 + 4; in lzma_block_header_size() local
25 // Compressed Size in lzma_block_header_size()
26 if (block->compressed_size != LZMA_VLI_UNKNOWN) { in lzma_block_header_size()
27 const uint32_t add = lzma_vli_size(block->compressed_size); in lzma_block_header_size()
28 if (add == 0 || block->compressed_size == 0) in lzma_block_header_size()
[all …]
H A Dblock_decoder.c1 // SPDX-License-Identifier: 0BSD
27 /// Decoding options; we also write Compressed Size and Uncompressed
28 /// Size back to this structure when the decoding has been finished.
29 lzma_block *block; member
31 /// Compressed Size calculated while decoding
34 /// Uncompressed Size calculated while decoding
37 /// Maximum allowed Compressed Size; this takes into account the
38 /// size of the Block Header and Check fields when Compressed Size
42 /// Maximum allowed Uncompressed Size.
57 is_size_valid(lzma_vli size, lzma_vli reference) in is_size_valid() argument
[all …]
H A Dblock_util.c1 // SPDX-License-Identifier: 0BSD
17 lzma_block_compressed_size(lzma_block *block, lzma_vli unpadded_size) in lzma_block_compressed_size() argument
19 // Validate everything but Uncompressed Size and filters. in lzma_block_compressed_size()
20 if (lzma_block_unpadded_size(block) == 0) in lzma_block_compressed_size()
23 const uint32_t container_size = block->header_size in lzma_block_compressed_size()
24 + lzma_check_size(block->check); in lzma_block_compressed_size()
26 // Validate that Compressed Size will be greater than zero. in lzma_block_compressed_size()
30 // Calculate what Compressed Size is supposed to be. in lzma_block_compressed_size()
31 // If Compressed Size was present in Block Header, in lzma_block_compressed_size()
33 const lzma_vli compressed_size = unpadded_size - container_size; in lzma_block_compressed_size()
[all …]
H A Dblock_buffer_encoder.c1 // SPDX-License-Identifier: 0BSD
6 /// \brief Single-call .xz Block encoder
19 /// Estimate the maximum size of the Block Header and Check fields for
20 /// a Block that uses LZMA2 uncompressed chunks. We could use
23 /// Block Header Size + Block Flags + Compressed Size
24 /// + Uncompressed Size + Filter Flags for LZMA2 + CRC32 + Check
40 // multiply by the size of per-chunk header, and add one byte for in lzma2_bound()
42 const uint64_t overhead = ((uncompressed_size + LZMA2_CHUNK_MAX - 1) in lzma2_bound()
47 if (COMPRESSED_SIZE_MAX - overhead < uncompressed_size) in lzma2_bound()
63 // Take Block Padding into account. in lzma_block_buffer_bound64()
[all …]
/freebsd-src/contrib/lua/src/
H A Dlmem.c29 ** ('osize' is the old size, 'nsize' is the new size)
31 ** - frealloc(ud, p, x, 0) frees the block 'p' and returns NULL.
35 ** - frealloc(ud, NULL, x, s) creates a new block of size 's'
36 ** (no matter 'x'). Returns NULL if it cannot create the new block.
38 ** - otherwise, frealloc(ud, b, x, y) reallocates the block 'b' from
39 ** size 'x' to size 'y'. Returns NULL if it cannot reallocate the
40 ** block to the new size.
47 #define callfrealloc(g,block,os,ns) ((*g->frealloc)(g->ud, block, os, ns)) argument
58 #define cantryagain(g) (completestate(g) && !g->gcstopem)
65 ** First allocation will fail except when freeing a block (frees never
[all …]
/freebsd-src/share/man/man5/
H A Dfs.555 The block size and number of blocks which
68 .Em super-block
69 that is of size
71 The following structure describes the super-block and is
74 .Bd -literal
76 * Super block for an FFS filesystem.
81 int32_t fs_sblkno; /* offset of super-block in filesys */
82 int32_t fs_cblkno; /* offset of cyl-block in filesys */
83 int32_t fs_iblkno; /* offset of inode-blocks in filesys */
91 int32_t fs_bsize; /* size of basic blocks in fs */
[all …]
/freebsd-src/share/doc/smm/05.fastfs/
H A D3.t35 A file system is described by its super-block,
37 Because the super-block contains critical data,
40 since the super-block data does not change,
42 or other hard disk error causes the default super-block
49 the minimum size of a file system block is 4096 bytes.
50 The size of file system blocks can be any power of two
52 The block size of a file system is recorded in the
53 file system's super-block
54 so it is possible for file systems with different block sizes
56 The block size must be decided at the time that
[all …]
/freebsd-src/contrib/jemalloc/src/
H A Dbase.c32 base_map(tsdn_t *tsdn, extent_hooks_t *extent_hooks, unsigned ind, size_t size) { in base_map() argument
38 assert(size == HUGEPAGE_CEILING(size)); in base_map()
41 addr = extent_alloc_mmap(NULL, size, alignment, &zero, &commit); in base_map()
46 addr = extent_hooks->alloc(extent_hooks, NULL, size, alignment, in base_map()
56 size_t size) { in base_unmap() argument
65 * in some consistent-but-allocated state. in base_unmap()
68 if (!extent_dalloc_mmap(addr, size)) { in base_unmap()
71 if (!pages_decommit(addr, size)) { in base_unmap()
74 if (!pages_purge_forced(addr, size)) { in base_unmap()
77 if (!pages_purge_lazy(addr, size)) { in base_unmap()
[all …]
/freebsd-src/sys/contrib/ncsw/etc/
H A Dmm.c2 * Copyright 2008-2012 Freescale Semiconductor Inc.
53 * Initializes a new busy block of "size" bytes and started
54 * rom "base" address. Each busy block has a name that
58 * base - base address of the busy block
59 * size - size of the busy block
60 * name - name that specified the busy block
66 static t_BusyBlock * CreateBusyBlock(uint64_t base, uint64_t size, char *name) in CreateBusyBlock() argument
78 p_BusyBlock->base = base; in CreateBusyBlock()
79 p_BusyBlock->end = base + size; in CreateBusyBlock()
83 n = MM_MAX_NAME_LEN - 1; in CreateBusyBlock()
[all …]
/freebsd-src/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_hash_defs.h1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
22 * MD5 block size in bytes */
28 * MD5 state size */
33 * SHA1 Block size in bytes */
39 * SHA1 state size */
44 * SHA224 block size in bytes */
50 * SHA224 state size */
55 * SHA256 block size in bytes */
61 * SHA256 state size */
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_memintrinsics.inc1 //===-- sanitizer_common_interceptors_memintrinsics.inc ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 //===----------------------------------------------------------------------===//
34 // Platform-specific options.
44 #define COMMON_INTERCEPTOR_MEMSET_IMPL(ctx, dst, v, size) \
47 return internal_memset(dst, v, size); \
48 COMMON_INTERCEPTOR_ENTER(ctx, memset, dst, v, size); \
49 if (common_flags()->intercept_intrin) \
50 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, dst, size); \
[all …]
/freebsd-src/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_rw.c1 /*-
30 ELFTC_VCSID("$Id: libdwarf_rw.c 3286 2015-12-31 16:45:46Z emaste $");
199 _dwarf_write_lsb_alloc(uint8_t **block, uint64_t *size, uint64_t *offsetp, in _dwarf_write_lsb_alloc() argument
203 assert(*size > 0); in _dwarf_write_lsb_alloc()
205 while (*offsetp + bytes_to_write > *size) { in _dwarf_write_lsb_alloc()
206 *size *= 2; in _dwarf_write_lsb_alloc()
207 *block = realloc(*block, (size_t) *size); in _dwarf_write_lsb_alloc()
208 if (*block == NULL) { in _dwarf_write_lsb_alloc()
214 _dwarf_write_lsb(*block, offsetp, value, bytes_to_write); in _dwarf_write_lsb_alloc()
255 _dwarf_write_msb_alloc(uint8_t **block, uint64_t *size, uint64_t *offsetp, in _dwarf_write_msb_alloc() argument
[all …]
/freebsd-src/share/doc/smm/03.fsck/
H A D2.t38 .I "super-block" .
39 The super-block is built when the file system is created (\c
42 The super-block
46 Because the super-block contains critical data,
50 .I "default super block"
56 or other hard disk error causes the default super-block
74 the range 5-13.
77 containing further data block indices.
78 In a file system with a 4096 byte block size, a singly indirect
79 block contains 1024 further block addresses,
[all …]
/freebsd-src/contrib/libarchive/libarchive/
H A Darchive_write_blocksize.31 .\" Copyright (c) 2003-2011 Tim Kientzle
35 Streaming Archive Library (libarchive, -larchive)
47 .Bl -tag -width indent
49 Sets the block size used for writing the archive data.
52 The default is to use a block size of 10240 bytes.
53 Note that a block size of zero will suppress internal blocking
56 Retrieve the block size to be used for writing.
57 A value of -1 here indicates that the library should use default values.
60 Sets the block size used for writing the last block.
61 If this value is zero, the last block will be padded to the same size
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.h1 //===-- 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
35 return Alignment.value() - (1ull << KnownBits); in UnknownPadding()
39 /// BasicBlockInfo - Information about the offset and size of a single
40 /// basic block.
42 /// Offset - Distance from the beginning of the function to the beginning
[all …]
/freebsd-src/bin/dd/
H A Ddd.11 .\"-
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.
71 Set the conversion record size to
74 The conversion record size is required by the record oriented conversion
86 When padding a block in conversion mode or due to use of
[all …]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h1 //===----------
162 Block(Section & Parent,orc::ExecutorAddrDiff Size,orc::ExecutorAddr Address,uint64_t Alignment,uint64_t AlignmentOffset) Block() argument
178 Block(Section &Parent, ArrayRef<char> Content, orc::ExecutorAddr Address, Block() function
197 Block(Section &Parent, MutableArrayRef<char> Content, Block() function
355 size_t Size = 0; global() variable
420 Symbol(Addressable & Base,orc::ExecutorAddrDiff Offset,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive,bool IsCallable) Symbol() argument
433 constructExternal(BumpPtrAllocator & Allocator,Addressable & Base,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,bool WeaklyReferenced) constructExternal() argument
446 constructAbsolute(BumpPtrAllocator & Allocator,Addressable & Base,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive) constructAbsolute() argument
457 constructAnonDef(BumpPtrAllocator & Allocator,Block & Base,orc::ExecutorAddrDiff Offset,orc::ExecutorAddrDiff Size,bool IsCallable,bool IsLive) constructAnonDef() argument
469 constructNamedDef(BumpPtrAllocator & Allocator,Block & Base,orc::ExecutorAddrDiff Offset,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive,bool IsCallable) constructNamedDef() argument
581 setSize(orc::ExecutorAddrDiff Size) setSize() argument
682 size_t Size = 0; global() variable
1036 allocateBuffer(size_t Size) allocateBuffer() argument
1133 createZeroFillBlock(Section & Parent,orc::ExecutorAddrDiff Size,orc::ExecutorAddr Address,uint64_t Alignment,uint64_t AlignmentOffset) createZeroFillBlock() argument
1202 addExternalSymbol(StringRef Name,orc::ExecutorAddrDiff Size,bool IsWeaklyReferenced) addExternalSymbol() argument
1214 addAbsoluteSymbol(StringRef Name,orc::ExecutorAddr Address,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive) addAbsoluteSymbol() argument
1229 addAnonymousSymbol(Block & Content,orc::ExecutorAddrDiff Offset,orc::ExecutorAddrDiff Size,bool IsCallable,bool IsLive) addAnonymousSymbol() argument
1239 addDefinedSymbol(Block & Content,orc::ExecutorAddrDiff Offset,StringRef Name,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsCallable,bool IsLive) addDefinedSymbol() argument
1366 makeDefined(Symbol & Sym,Block & Content,orc::ExecutorAddrDiff Offset,orc::ExecutorAddrDiff Size,Linkage L,Scope S,bool IsLive) makeDefined() argument
[all...]
/freebsd-src/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_stream.c42 /* Position in variable-length integers and Check fields */
45 /* Variable-length integer decoded by dec_vli() */
53 /* CRC32 or CRC64 value in Block or CRC32 value in Index */
56 /* CRC32 value in Block or Index */
72 /* Information stored in Block Header */
75 * Value stored in the Compressed Size field, or
76 * VLI_UNKNOWN if Compressed Size is not present.
81 * Value stored in the Uncompressed Size field, or
82 * VLI_UNKNOWN if Uncompressed Size is not present.
86 /* Size of the Block Header field */
[all …]
/freebsd-src/contrib/bzip2/
H A Dbzip2.13 bzip2, bunzip2 \- a block-sorting file compressor, v1.0.8
5 bzcat \- decompresses files to stdout
7 bzip2recover \- recovers data from damaged bzip2 files
12 .RB [ " \-cdfkqstvzVL123456789 " ]
19 .RB [ " \-fkvsVL " ]
25 .RB [ " \-s " ]
35 compresses files using the Burrows-Wheeler block sorting
38 LZ77/LZ78-based compressors, and approaches the performance of the PPM
41 The command-line options are deliberately very similar to
48 command-line flags. Each file is replaced by a compressed version of
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_interceptors_memintrinsics.cpp1 //===-- memprof_interceptors_memintrinsics.cpp ---------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===---------------------------------------------------------------------===//
12 //===---------------------------------------------------------------------===//
26 #define MEMPROF_MEMCPY_IMPL(to, from, size) \ argument
29 return internal_memcpy(to, from, size); \
31 return REAL(memcpy)(to, from, size); \
34 MEMPROF_READ_RANGE(from, size); \
35 MEMPROF_WRITE_RANGE(to, size); \
36 return REAL(memcpy)(to, from, size); \
[all …]
/freebsd-src/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_environment.cpp2 * kmp_environment.cpp -- Handle environment variables OS-independently.
5 //===----------------------------------------------------------------------===//
9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11 //===----------------------------------------------------------------------===//
14 act of loading a DLL on Windows* OS makes any user-set environment variables
20 1. Environment maintained by Windows* OS on IA-32 architecture. Accessible
26 putenv() function updates both C and Windows* OS on IA-32 architecture.
28 Windows* OS on IA-32 architecture functions work *only* with Windows* OS on
29 IA-32 architecture.
31 Windows* OS on IA-32 architecture maintained by OS, so there is always only
[all …]
/freebsd-src/sys/contrib/ncsw/inc/etc/
H A Dmm_ext.h1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
73 It initializes a new memory block consisting of base address
74 and size of the available memory by calling to MemBlock_Init
75 routine. It is also initializes a new free block for each
82 @Param[in] h_MM - Handle to the MM object.
83 @Param[in] base - Base address of the MM.
84 @Param[in] size - Size of the MM.
86 …ned on success. E_NOMEMORY is returned if the new MM object or a new free block can not be initial…
88 t_Error MM_Init(t_Handle *h_MM, uint64_t base, uint64_t size);
93 @Description Allocates a block of memory according to the given size and the alignment.
[all …]

12345678910>>...45