/freebsd-current/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_allocator.cpp | 72 // The memory chunk allocated from the underlying allocator looks like this: 153 // The chunk is allocated and not yet freed. 155 // The chunk was freed and put into quarantine zone. 200 // We have to skip the chunk header, it contains free_context_id. 231 // contents of deallocated chunk, confusing GetAsanChunk lookup. 307 // We are about to unmap a chunk of user memory. 400 void RePoisonChunk(uptr chunk) { argument 401 // This could be a user-facing chunk (with redzones), or some internal 402 // housekeeping chunk, like TransferBatch. Start by assuming the former. 403 AsanChunk *ac = GetAsanChunk((void *)chunk); 1143 GetUserBegin(uptr chunk) argument 1150 GetUserAddr(uptr chunk) argument 1154 LsanMetadata(uptr chunk) argument [all...] |
/freebsd-current/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | blake3.h | 47 llvm_blake3_chunk_state chunk; member in struct:__anon1653 50 // with 7 chunks, we have 3 entries in the stack. Adding an 8th chunk
|
/freebsd-current/sys/dev/sfxge/common/ |
H A D | siena_mcdi.c | 158 size_t chunk = MIN(remaining, sizeof (data)); local 162 memcpy((uint8_t *)bufferp + pos, &data, chunk); 163 pos += chunk; 164 remaining -= chunk;
|
H A D | ef10_mcdi.c | 219 size_t chunk = MIN(remaining, sizeof (data)); local 222 memcpy((uint8_t *)bufferp + pos, &data, chunk); 223 pos += chunk; 224 remaining -= chunk;
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator.h | 48 typedef void (*ForEachChunkCallback)(uptr chunk, void *arg);
|
H A D | sanitizer_allocator_local_cache.h | 43 CompactPtrT chunk = c->chunks[--c->count]; local 46 allocator->GetRegionBeginBySizeClass(class_id), chunk)); 58 CompactPtrT chunk = allocator->PointerToCompactPtr( local 61 c->chunks[c->count++] = chunk;
|
H A D | sanitizer_allocator_primary64.h | 378 for (uptr chunk = region_beg; 379 chunk < region_beg + region_allocated_user_size; 380 chunk += chunk_size) { 381 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk)); 382 callback(chunk, arg); 544 // One chunk covers multiple pages, no cross overs. 548 // One chunk covers multiple pages, Some chunks are crossing page 549 // boundaries. Some pages contain one chunk, some contain two. 568 // Each chunk affect [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common.h | 129 // If p points into a chunk that has been allocated to the user, returns its 132 // Returns address of user-visible chunk contained in this allocator chunk. 133 uptr GetUserBegin(uptr chunk); 134 // Returns user-visible address for chunk. If memory tagging is used this 136 uptr GetUserAddr(uptr chunk); 138 // Wrapper for chunk metadata operations. 141 // Constructor accepts address of user-visible chunk. 142 explicit LsanMetadata(uptr chunk); 192 uptr chunk; member in struct:__lsan::LeakedChunk [all...] |
/freebsd-current/sbin/nvmecontrol/ |
H A D | firmware.c | 163 void *chunk; local 173 if ((chunk = aligned_alloc(PAGE_SIZE, max_xfer_size)) == NULL) 178 memcpy(chunk, payload + off, size); 184 pt.buf = chunk; 197 free(chunk);
|
/freebsd-current/contrib/libfido2/src/ |
H A D | largeblob.c | 202 largeblob_get_rx(fido_dev_t *dev, fido_blob_t **chunk, int *ms) argument 207 *chunk = NULL; 217 if ((*chunk = fido_blob_new()) == NULL) { 222 if ((r = cbor_parse_reply(msg, (size_t)msglen, *chunk, 231 fido_blob_free(chunk); 436 fido_blob_t *array, *chunk = NULL; local 446 fido_blob_free(&chunk); 448 (r = largeblob_get_rx(dev, &chunk, ms)) != FIDO_OK) { 453 if (fido_blob_append(array, chunk->ptr, chunk 505 largeblob_set_tx(fido_dev_t *dev, const fido_blob_t *token, const u_char *chunk, size_t chunk_len, size_t offset, size_t totalsiz, int *ms) argument [all...] |
/freebsd-current/sys/dev/usb/wlan/ |
H A D | if_uath.c | 1325 struct uath_chunk *chunk; local 1336 chunk = (struct uath_chunk *)data->buf; 1337 desc = (struct uath_tx_desc *)(chunk + 1); 1339 /* one chunk only */ 1340 chunk->seqnum = 0; 1341 chunk->flags = UATH_CFLAGS_FINAL; 1342 chunk->length = htobe16(sizeof (struct uath_tx_desc)); 1522 struct uath_chunk *chunk; local 1532 chunk = (struct uath_chunk *)data->buf; 1533 desc = (struct uath_tx_desc *)(chunk 2476 struct uath_chunk *chunk; local [all...] |
/freebsd-current/lib/libc/amd64/string/ |
H A D | stpncpy.S | 136 cmp $16, %r10 # more than a full chunk left? 140 add $32, %rdi # advance pointers to next chunk 149 sub $32, %r10 # more than another full chunk left? 180 movdqu %xmm0, (%rdi) # store masked current chunk 182 sub $16, %r10 # another full chunk left? 204 movdqu %xmm1, 16(%rdi) # clear out second chunk 213 0: movdqu %xmm1, (%rdi) # clear out buffer chunk 230 movdqa 16(%rsi), %xmm0 # load second chunk of input 232 pcmpeqb %xmm1, %xmm0 # NUL in second chunk?
|
H A D | strcmp.S | 145 /* load head and second chunk */ 177 * RSI doesn't end within region 2, then we compare chunk B between the 182 0: movdqu (%rdi, %rdx, 1), %xmm0 # chunk of 2nd string corresponding to RDI? 194 movdqu 16(%rdi, %rdx, 1), %xmm0 # chunk of 2nd string corresponding to RDI? 247 add %rax, %rdi # point RDI to chunk corresponding to (RSI) 288 * RSI doesn't end within region 2, then we compare chunk B between the 293 0: movdqu (%rsi, %rdx, 1), %xmm0 # chunk of 2nd string corresponding to RDI? 305 movdqu 16(%rsi, %rdx, 1), %xmm0 # chunk of 2nd string corresponding to RDI? 348 add %rax, %rsi # point RSI to chunk corresponding to (RDI)
|
/freebsd-current/contrib/llvm-project/lld/COFF/ |
H A D | MapFile.cpp | 161 } else if (Chunk *chunk = sym->getChunk()) { 163 if (OutputSection *sec = ctx.getOutputSection(chunk)) 166 sectionIdx = chunk->getOutputSectionIdx(); 305 Chunk *chunk = entry->getChunk(); local 306 entrySecIndex = chunk->getOutputSectionIdx(); 308 entry->getRVA() - ctx.getOutputSection(chunk)->header.VirtualAddress;
|
/freebsd-current/sys/netinet/ |
H A D | in_fib_dxr.c | 343 initheap(struct dxr_aux *da, uint32_t dst_u32, uint32_t chunk) argument 396 chunk_ref(struct dxr_aux *da, uint32_t chunk) argument 398 struct direct_entry *fdesc = &da->direct_tbl[chunk]; 432 /* Copy from heap into the recycled chunk */ 499 chunk_unref(struct dxr_aux *da, uint32_t chunk) argument 501 struct direct_entry *fdesc = &da->direct_tbl[chunk]; 524 /* Attempt to merge with the preceding chunk, if empty */ 535 /* Attempt to merge with the subsequent chunk, if empty */ 548 /* Free the chunk on the top of the range heap, trim the heap */ 690 uint32_t chunk local 749 update_chunk(struct dxr_aux *da, uint32_t chunk) argument [all...] |
/freebsd-current/contrib/libdiff/lib/ |
H A D | diff_output_edscript.c | 155 struct diff_chunk *chunk = &result->chunks.head[i]; local 156 enum diff_chunk_type t = diff_chunk_type(chunk); 164 * chunks may be joined up to this chunk by being 170 /* There already is a previous chunk noted down for being
|
H A D | diff_output.c | 152 for (c_idx = cc->chunk.start; c_idx < cc->chunk.end; c_idx++) { 187 for (c_idx = cc->chunk.start; c_idx < cc->chunk.end; c_idx++) {
|
/freebsd-current/contrib/libcbor/src/cbor/ |
H A D | strings.c | 93 bool cbor_string_add_chunk(cbor_item_t *item, cbor_item_t *chunk) { argument 116 data->chunks[data->chunk_count++] = cbor_incref(chunk);
|
/freebsd-current/crypto/openssl/include/crypto/ |
H A D | evp.h | 407 size_t chunk = EVP_MAXCHUNK;\ 408 if (cbits == 1) chunk >>= 3;\ 409 if (inl < chunk) chunk = inl;\ 410 while (inl && inl >= chunk)\ 416 ? chunk*8 : chunk), \ 420 inl -= chunk;\ 421 in += chunk;\ 422 out += chunk;\ [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_report.cpp | 597 HwasanChunkView chunk = FindHeapChunkByAddress(untagged_addr); 598 result.begin = chunk.Beg(); 600 result.size = chunk.ActualSize(); 601 result.from_small_heap = chunk.FromSmallHeap(); 602 result.is_allocated = chunk.IsAllocated(); 603 result.stack_id = chunk.GetAllocStackId(); 647 // check the allocator if it has a live chunk there. 670 HwasanChunkView chunk = FindHeapChunkByAddress(result.untagged_addr); local 671 if (chunk.IsAllocated()) { 673 result.heap.begin = chunk [all...] |
/freebsd-current/lib/geom/virstor/ |
H A D | geom_virstor.c | 194 gctl_error(req, "Virtual size and chunk size must be non-zero"); 223 fprintf(stderr, "Resizing chunk size to be a multiple of " 225 fprintf(stderr, "New chunk size: %zu kB\n", new_size / 1024); 233 "chunk size.\n"); 323 * up chunk flags in the future. 336 for (size_t chunk = 0; chunk < total_chunks; 337 chunk += write_max_map_entries) { 340 entries_to_write = total_chunks - chunk; 352 chunk * sizeo [all...] |
/freebsd-current/contrib/libcbor/test/ |
H A D | string_test.c | 262 cbor_item_t *chunk = cbor_build_string("Hello!"); 264 assert_false(cbor_string_add_chunk(string, chunk)); 270 cbor_decref(&chunk); 278 cbor_item_t *chunk = cbor_build_string("Hello!"); local 285 assert_false(cbor_string_add_chunk(string, chunk)); 286 assert_size_equal(cbor_refcount(chunk), 1); 290 cbor_decref(&chunk);
|
/freebsd-current/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mr.c | 727 int chunk; local 736 chunk = min_t(int, max_mtts_first_page, npages); 739 err = mlx4_write_mtt_chunk(dev, mtt, start_index, chunk, page_list); 742 npages -= chunk; 743 start_index += chunk; 744 page_list += chunk; 746 chunk = min_t(int, mtts_per_page, npages); 756 int chunk; local 770 chunk = min_t(int, MLX4_MAILBOX_SIZE / sizeof(u64) - 2, 774 for (i = 0; i < chunk; [all...] |
/freebsd-current/sys/geom/ |
H A D | geom_dev.c | 531 off_t offset, length, chunk, odd; local 619 chunk = length; 621 chunk > g_dev_del_max_sectors * pp->sectorsize) { 622 chunk = g_dev_del_max_sectors * pp->sectorsize; 624 odd = (offset + chunk + 626 if (chunk > odd) 627 chunk -= odd; 630 error = g_delete_data(cp, offset, chunk); 631 length -= chunk; 632 offset += chunk; [all...] |
/freebsd-current/usr.sbin/makefs/ |
H A D | ffs.c | 513 warn("can't fstatvfs `%s', using default %d byte chunk", 911 off_t bufleft, chunk, offset; local 963 chunk = 0; 964 for (bufleft = DIP(din, size); bufleft > 0; bufleft -= chunk) { 965 chunk = MIN(bufleft, ffs_opts->bsize); 968 else if ((nread = read(ffd, fbuf, chunk)) == -1) 971 else if (nread != chunk) 976 (uintmax_t)chunk); 984 (long long)chunk, (long long)bufleft); 989 * sized chunk [all...] |