Searched refs:chunk (Results 26 - 50 of 193) sorted by relevance

12345678

/freebsd-current/sys/x86/isa/
H A Dorm.c87 u_int32_t chunk = IOMEM_START; local
103 while (sc->rnum < MAX_ROMS && chunk < IOMEM_END) {
104 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk,
111 chunk += IOMEM_STEP;
132 chunk += IOMEM_STEP;
136 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk,
142 chunk += IOMEM_STEP;
148 chunk += rom_size;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_fuchsia.cpp80 auto globals = +[](void *chunk, size_t size, void *data) {
82 uptr begin = reinterpret_cast<uptr>(chunk);
88 auto stacks = +[](void *chunk, size_t size, void *data) {
90 uptr begin = reinterpret_cast<uptr>(chunk);
97 auto registers = +[](void *chunk, size_t size, void *data) {
99 uptr begin = reinterpret_cast<uptr>(chunk);
115 auto tls = +[](void *chunk, size_t size, void *data) {
117 uptr begin = reinterpret_cast<uptr>(chunk);
H A Dlsan_common.cpp208 // If caller_pc is unknown, this chunk may be allocated in a coroutine. Mark
313 uptr chunk = PointsIntoChunk(p); local
314 if (!chunk)
317 if (chunk == begin)
319 LsanMetadata m(chunk);
326 "%p is poisoned: ignoring %p pointing into chunk %p-%p of size "
328 (void *)pp, p, (void *)chunk, (void *)(chunk + m.requested_size()),
334 LOG_POINTERS("%p: found %p pointing into chunk %p-%p of size %zu.\n",
335 (void *)pp, p, (void *)chunk,
387 uptr chunk = PointsIntoChunk(ptr); local
589 MarkIndirectlyLeakedCb(uptr chunk, void *arg) argument
598 IgnoredSuppressedCb(uptr chunk, void *arg) argument
618 CollectIgnoredCb(uptr chunk, void *arg) argument
659 ResetTagsCb(uptr chunk, void *arg) argument
669 CollectLeaksCb(uptr chunk, void *arg) argument
848 uptr chunk = leak.chunk; local
[all...]
H A Dlsan_allocator.cpp281 uptr chunk = reinterpret_cast<uptr>(allocator.GetBlockBeginFastLocked(p)); local
282 if (!chunk) return 0;
283 // LargeMmapAllocator considers pointers to the meta-region of a chunk to be
285 if (addr < chunk) return 0;
286 ChunkMetadata *m = Metadata(reinterpret_cast<void *>(chunk));
290 if (addr < chunk + m->requested_size)
291 return chunk;
292 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr))
293 return chunk;
297 uptr GetUserBegin(uptr chunk) { argument
301 GetUserAddr(uptr chunk) argument
305 LsanMetadata(uptr chunk) argument
335 void *chunk = allocator.GetBlockBegin(p); local
[all...]
/freebsd-current/sys/riscv/riscv/
H A Ddump_machdep.c51 dumpsys_map_chunk(vm_paddr_t pa, size_t chunk, void **va) argument
/freebsd-current/stand/common/
H A Dmisc.c98 size_t chunk, resid; local
103 chunk = min(sizeof(buf), resid);
104 archsw.arch_copyin(buf, dest, chunk);
105 resid -= chunk;
106 dest += chunk;
/freebsd-current/crypto/openssl/engines/
H A De_padlock.c338 size_t chunk; local
340 if ((chunk = EVP_CIPHER_CTX_get_num(ctx))) { /* borrow chunk variable */
343 if (chunk >= AES_BLOCK_SIZE)
347 while (chunk < AES_BLOCK_SIZE && nbytes != 0) {
348 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk];
349 chunk++, nbytes--;
351 while (chunk < AES_BLOCK_SIZE && nbytes != 0) {
353 *(out_arg++) = c ^ ivp[chunk];
409 size_t chunk; local
[all...]
/freebsd-current/contrib/libdiff/lib/
H A Ddiff_main.c39 diff_chunk_type(const struct diff_chunk *chunk) argument
41 if (!chunk->left_count && !chunk->right_count)
43 if (!chunk->solved)
45 if (!chunk->right_count)
47 if (!chunk->left_count)
49 if (chunk->left_count != chunk->right_count)
234 const struct diff_chunk *chunk)
242 /* Append to solved chunks; make sure that adjacent chunks of same type are combined, and that a minus chunk
233 diff_state_add_solved_chunk(struct diff_state *state, const struct diff_chunk *chunk) argument
338 struct diff_chunk chunk = { local
[all...]
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dvsscanf.c214 ChunkType chunk, ctest;
225 * information to decide where to start scanning the next chunk.
231 /* find a chunk */
233 chunk = cUnknown;
263 chunk = cRange;
272 chunk = ctest;
277 chunk = cError;
288 if (chunk == cUnknown
289 || chunk == cError) {
296 if (chunk !
[all...]
/freebsd-current/crypto/openssl/crypto/evp/
H A De_des.c151 size_t n, chunk = EVP_MAXCHUNK / 8; local
154 if (inl < chunk)
155 chunk = inl;
157 while (inl && inl >= chunk) {
158 for (n = 0; n < chunk * 8; ++n) {
167 inl -= chunk;
168 in += chunk;
169 out += chunk;
170 if (inl < chunk)
171 chunk
[all...]
/freebsd-current/contrib/kyua/doc/
H A Dmanbuild_test.sh116 __include__ subdir/chunk
118 __include__ chunk
121 cat >doc/subdir/chunk <<EOF
125 cat >doc/chunk <<EOF
144 __include__ chunk value=first
145 __include__ chunk value=second
147 cat >chunk <<EOF
148 This is a chunk with value: __value__.
152 This is a chunk with value: first.
153 This is a chunk wit
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Support/BLAKE3/
H A Dblake3.c82 // Chaining values within a given chunk (specifically the compress_in_place
161 // Given some input larger than one chunk, return the number of bytes that
172 // on a single thread. Write out the chunk chaining values and return the
197 // Hash the remaining partial chunk, if there is one. Note that the empty
198 // chunk (meaning the empty message) is a different codepath.
265 // not used when the whole input is only 1 chunk long; that's a different
276 // Note that the single chunk case does *not* bump the SIMD degree up to 2
278 // this gives us the option of multi-threading even the 2-chunk case, which
302 // sure there are two outputs. Except, as noted above, at the chunk
303 // level, where we allow degree=1. (Note that the 1-chunk
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp41 // The chunk is allocated and not yet freed.
557 uptr chunk = local
559 if (!chunk)
562 __hwasan::allocator.GetMetaData(reinterpret_cast<void *>(chunk)));
565 if (addr < chunk + metadata->GetRequestedSize())
566 return chunk;
567 if (IsSpecialCaseOfOperatorNew0(chunk, metadata->GetRequestedSize(), addr))
568 return chunk;
572 uptr GetUserBegin(uptr chunk) { argument
573 CHECK_EQ(UntagAddr(chunk), chun local
586 GetUserAddr(uptr chunk) argument
593 LsanMetadata(uptr chunk) argument
594 CHECK_EQ(UntagAddr(chunk), chunk); local
634 uptr chunk = reinterpret_cast<uptr>(__hwasan::allocator.GetBlockBegin(p)); local
[all...]
/freebsd-current/sys/contrib/openzfs/module/icp/algs/blake3/
H A Dblake3.c126 * Chaining values within a given chunk (specifically the compress_in_place
211 * Given some input larger than one chunk, return the number of bytes that
228 * on a single thread. Write out the chunk chaining values and return the
250 * Hash the remaining partial chunk, if there is one. Note that the
251 * empty chunk (meaning the empty message) is a different codepath.
315 * not used when the whole input is only 1 chunk long; that's a different
327 * Note that the single chunk case does *not* bump the SIMD degree up
330 * 2-chunk case, which can help performance on smaller platforms.
363 * at the chunk level, where we allow degree=1. (Note that the
364 * 1-chunk
[all...]
/freebsd-current/contrib/libcbor/src/cbor/
H A Dbytestrings.c92 bool cbor_bytestring_add_chunk(cbor_item_t *item, cbor_item_t *chunk) { argument
95 CBOR_ASSERT(cbor_isa_bytestring(chunk));
96 CBOR_ASSERT(cbor_bytestring_is_definite(chunk));
117 data->chunks[data->chunk_count++] = cbor_incref(chunk);
/freebsd-current/sys/arm64/arm64/
H A Ddump_machdep.c53 dumpsys_map_chunk(vm_paddr_t pa, size_t chunk __unused, void **va)
/freebsd-current/stand/libofw/
H A Dofw_copy.c136 size_t resid, chunk, get; local
142 chunk = min(READIN_BUF, len);
143 buf = malloc(chunk);
156 get = min(chunk, resid);
/freebsd-current/contrib/ntp/libntp/
H A Drecvbuff.c99 static const u_int chunk = local
136 abuf += (~abuf + 1) & (chunk - 1); /* round up */
139 bufp = calloc(chunk, sizeof(*bufp));
143 chunk, (u_long)sizeof(*bufp) * chunk);
147 for (i = chunk; i; --i,++bufp) {
150 free_recvbufs += chunk;
151 total_recvbufs += chunk;
152 abuf -= chunk;
/freebsd-current/sys/dev/firewire/
H A Dfwcrom.c391 crom_add_quad(struct crom_chunk *chunk, uint32_t entry) argument
395 index = chunk->data.crc_len;
397 printf("too large chunk %d\n", index);
400 chunk->data.buf[index] = entry;
401 chunk->data.crc_len++;
406 crom_add_entry(struct crom_chunk *chunk, int key, int val) argument
416 return (crom_add_quad(chunk, foo.i));
443 struct crom_chunk *chunk, char *buf)
456 tl = (struct csrtext *) &chunk->data;
466 return (crom_add_chunk(src, parent, chunk, CROM_TEXTLEA
442 crom_add_simple_text(struct crom_src *src, struct crom_chunk *parent, struct crom_chunk *chunk, char *buf) argument
484 struct crom_chunk *chunk, *parent; local
[all...]
/freebsd-current/sys/arm/arm/
H A Ddump_machdep.c67 dumpsys_map_chunk(vm_paddr_t pa, size_t chunk, void **va) argument
72 for (i = 0; i < chunk; i++) {
/freebsd-current/contrib/libcbor/test/
H A Dcallbacks_test.c59 cbor_item_t* chunk = cbor_bytestring_chunks_handle(bytestring)[0]; local
60 assert_size_equal(cbor_refcount(chunk), 1);
62 assert_true(cbor_isa_bytestring(chunk));
63 assert_true(cbor_bytestring_is_definite(chunk));
64 assert_size_equal(cbor_bytestring_length(chunk), 3);
65 assert_memory_equal(cbor_bytestring_handle(chunk), bytestring_data, 3);
67 assert_ptr_not_equal(cbor_bytestring_handle(chunk), bytestring_data);
197 cbor_item_t* chunk = cbor_string_chunks_handle(string)[0]; local
198 assert_size_equal(cbor_refcount(chunk), 1);
199 assert_true(cbor_isa_string(chunk));
[all...]
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dompt-specific.h100 #define OMPT_GET_DISPATCH_CHUNK(chunk, lb, ub, incr) \
103 chunk.start = static_cast<uint64_t>(lb); \
104 chunk.iterations = static_cast<uint64_t>(((ub) - (lb)) / (incr) + 1); \
106 chunk.start = static_cast<uint64_t>(ub); \
107 chunk.iterations = static_cast<uint64_t>(((lb) - (ub)) / -(incr) + 1); \
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DGenericBitset.cpp109 ValueObjectSP chunk; local
116 chunk = m_first->GetChildAtIndex(idx / *bit_size);
119 chunk = m_first->GetSP();
121 if (!type || !chunk)
129 uint8_t value = !!(chunk->GetValueAsUnsigned(0) & (uint64_t(1) << chunk_idx));
/freebsd-current/sys/dev/irdma/
H A Dirdma_pble.h94 struct irdma_chunk *chunk; member in struct:irdma_add_page_info
161 void irdma_pble_free_paged_mem(struct irdma_chunk *chunk);
162 int irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt);
/freebsd-current/crypto/openssl/crypto/bio/
H A Dbss_bio.c158 size_t chunk; local
162 chunk = rest;
165 chunk = peer_b->size - peer_b->offset;
166 assert(peer_b->offset + chunk <= peer_b->size);
168 memcpy(buf, peer_b->buf + peer_b->offset, chunk);
170 peer_b->len -= chunk;
172 peer_b->offset += chunk;
176 buf += chunk;
179 assert(chunk == rest);
182 rest -= chunk;
309 size_t chunk; local
[all...]

Completed in 414 milliseconds

12345678