/freebsd-13-stable/sys/dev/cxgbe/cudbg/ |
H A D | fastlz_api.c | 216 int chunk_size, level = 2, rc = 0; local 234 chunk_size = fastlz_compress_level(level, pin_buff->data, 237 checksum = update_adler32(1L, result, chunk_size); 239 if ((chunk_size > 62000) && (cudbg_hdr->reserved[7] < (u32) 240 chunk_size)) /* 64512 */ 241 cudbg_hdr->reserved[7] = (u32) chunk_size; 243 rc = write_chunk_header(pout_buff, 17, 1, chunk_size, checksum, 250 &pout_buff->offset, result, chunk_size); 348 unsigned long chunk_size; local 383 &chunk_size, [all...] |
/freebsd-13-stable/sys/dev/random/ |
H A D | fortuna.c | 561 size_t chunk_size; local 582 chunk_size = PAGE_SIZE; 590 chunk_size = RANDOM_FORTUNA_MAX_READ; 593 chunk_size = MIN(bytecount, chunk_size); 595 chunk_size = rounddown(chunk_size, RANDOM_BLOCKSIZE); 597 while (bytecount >= chunk_size && chunk_size > 0) { 598 randomdev_keystream(p_key, p_counter, buf, chunk_size); [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_common.h | 179 static inline bool IsItaniumABIArrayCookie(uptr chunk_beg, uptr chunk_size, argument 181 return chunk_size == sizeof(uptr) && chunk_beg + chunk_size == addr && 190 static inline bool IsARMABIArrayCookie(uptr chunk_beg, uptr chunk_size, argument 192 return chunk_size == 2 * sizeof(uptr) && chunk_beg + chunk_size == addr && 200 inline bool IsSpecialCaseOfOperatorNew0(uptr chunk_beg, uptr chunk_size, argument 203 return IsARMABIArrayCookie(chunk_beg, chunk_size, addr); 205 return IsItaniumABIArrayCookie(chunk_beg, chunk_size, addr);
|
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/ |
H A D | randombytes_sysrandom.c | 229 size_t chunk_size = 256U; local 232 if (size < chunk_size) { 233 chunk_size = size; 234 assert(chunk_size > (size_t) 0U); 236 if (_randombytes_linux_getrandom(buf, chunk_size) != 0) { 239 size -= chunk_size; 240 buf += chunk_size;
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_primary64.h | 300 uptr chunk_size = ClassIdToSize(class_id); local 306 chunk += chunk_size) { 454 uptr free_array_count, uptr chunk_size, 463 if (chunk_size <= page_size && page_size % chunk_size == 0) { 465 full_pages_chunk_count_max = page_size / chunk_size; 467 } else if (chunk_size <= page_size && page_size % chunk_size != 0 && 468 chunk_size % (page_size % chunk_size) 453 ReleaseFreeMemoryToOS(CompactPtrT *free_array, uptr free_array_count, uptr chunk_size, uptr allocated_pages_count, MemoryMapperT *memory_mapper) argument 827 const uptr chunk_size = ClassIdToSize(class_id); local [all...] |
H A D | sanitizer_allocator_primary32.h | 255 uptr chunk_size = ClassIdToSize(possible_regions[region]); local 256 uptr max_chunks_in_region = kRegionSize / (chunk_size + kMetadataSize); 259 chunk < region_beg + max_chunks_in_region * chunk_size; 260 chunk += chunk_size) {
|
/freebsd-13-stable/sys/dev/sfxge/ |
H A D | sfxge_nvram.c | 60 size_t chunk_size; local 73 if ((rc = efx_nvram_rw_start(enp, type, &chunk_size)) != 0) 76 buf = malloc(chunk_size, M_TEMP, M_WAITOK); 80 size_t len = MIN(chunk_size, total_size); 115 size_t chunk_size; local 121 if ((rc = efx_nvram_rw_start(enp, type, &chunk_size)) != 0)
|
/freebsd-13-stable/sys/contrib/openzfs/module/icp/algs/modes/ |
H A D | gcm.c | 1165 size_t chunk_size = (size_t)GCM_CHUNK_SIZE_READ; local 1201 ct_buf = vmem_alloc(chunk_size, ctx->gcm_kmflag); 1226 /* Do the bulk encryption in chunk_size blocks. */ 1227 for (; bleft >= chunk_size; bleft -= chunk_size) { 1230 datap, ct_buf, chunk_size, key, cb, ghash); 1234 if (done != chunk_size) { 1238 rv = crypto_put_output_data(ct_buf, out, chunk_size); 1242 out->cd_offset += chunk_size; 1243 datap += chunk_size; 1376 size_t chunk_size = (size_t)GCM_CHUNK_SIZE_READ; local 1489 size_t chunk_size = (size_t)GCM_CHUNK_SIZE_READ; local [all...] |
/freebsd-13-stable/sys/geom/virstor/ |
H A D | g_virstor.h | 93 size_t chunk_size; member in struct:g_virstor_softc
|
H A D | g_virstor.c | 383 sc->chunk_size; 501 md->md_chunk_size = sc->chunk_size; 1104 sc->chunk_size = md->md_chunk_size; 1212 sc->chunk_count = sc->virsize / sc->chunk_size; 1213 if (sc->chunk_count * (off_t)sc->chunk_size != sc->virsize) { 1216 sc->chunk_count * (off_t)sc->chunk_size); 1230 sc->geom->name, count, sc->chunk_count, sc->chunk_size / 1024); 1506 sc->chunk_size); 1569 size_t chunk_size; /* cached for convenience */ local 1592 chunk_size [all...] |
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/ |
H A D | randombytes_salsa20_random.c | 271 size_t chunk_size = 256U; local 274 if (size < chunk_size) { 275 chunk_size = size; 276 assert(chunk_size > (size_t) 0U); 278 if (_randombytes_linux_getrandom(buf, chunk_size) != 0) { 281 size -= chunk_size; 282 buf += chunk_size;
|
/freebsd-13-stable/contrib/wpa/src/wps/ |
H A D | httpread.c | 83 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/ member in struct:httpread 546 h->chunk_size = strtoul(cbp, NULL, 16); 547 if (h->chunk_size < 0 || 548 h->chunk_size > h->max_bytes) { 551 h->chunk_size); 559 if (h->chunk_size == 0) { 574 (h->chunk_size + 2)) { 592 h->chunk_size = 0; /* just in case */ 608 ncopy = (h->chunk_start + h->chunk_size + 2) -
|
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | Memory.h | 71 uint32_t chunk_size); 130 uint32_t chunk_size, Status &error);
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/ |
H A D | Memory.cpp | 253 uint32_t permissions, uint32_t chunk_size) 255 m_chunk_size(chunk_size) 259 assert(byte_size > chunk_size); 346 uint32_t chunk_size, Status &error) { 365 permissions, chunk_size); 252 AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, uint32_t permissions, uint32_t chunk_size) argument 345 AllocatePage(uint32_t byte_size, uint32_t permissions, uint32_t chunk_size, Status &error) argument
|
/freebsd-13-stable/sys/powerpc/pseries/ |
H A D | phyp_vscsi.c | 600 uint32_t chunk_size; local 653 chunk_size = htobe32(16*nsegs); 655 memcpy(&cmd->data_payload[desc_start+12], &chunk_size, 4); 656 chunk_size = 0; 658 chunk_size += segs[i].ds_len; 659 chunk_size = htobe32(chunk_size); 660 memcpy(&cmd->data_payload[desc_start+16], &chunk_size, 4); 664 chunk_size = htobe32(segs[i].ds_len); 670 &chunk_size, [all...] |
/freebsd-13-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_icm.c | 393 unsigned chunk_size; local 413 chunk_size = MLX4_TABLE_CHUNK_SIZE; 415 chunk_size = PAGE_ALIGN(size - 418 table->icm[i] = mlx4_alloc_icm(dev, chunk_size >> PAGE_SHIFT,
|
/freebsd-13-stable/contrib/subversion/subversion/libsvn_delta/ |
H A D | svndiff.c | 1032 apr_size_t chunk_size; 1050 chunk_size = b->window_buffer->len - b->read_pos; 1052 chunk_size = left; 1054 if (!chunk_size) 1057 memcpy(buffer, b->window_buffer->data + b->read_pos, chunk_size); 1058 b->read_pos += chunk_size; 1059 buffer += chunk_size; 1060 read += chunk_size; 1061 left -= chunk_size; 1031 apr_size_t chunk_size; local
|
/freebsd-13-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_rng.c | 308 uint32_t chunk_size; local 311 chunk_size = sizeof(((struct harvest_event *)0)->he_entropy); 318 size = MIN(cnt, chunk_size);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_debugging.cpp | 104 region_size = heap->chunk_access.chunk_size;
|
H A D | asan_descriptions.cpp | 122 descr->chunk_size = chunk.UsedSize(); 149 str.append(" %zu-byte region [%p,%p)\n", descr.chunk_size, 151 (void *)(descr.chunk_begin + descr.chunk_size));
|
/freebsd-13-stable/sys/contrib/vchiq/interface/vchi/message_drivers/ |
H A D | message.h | 193 void (*form_bulk_aux)( VCHI_MDRIVER_HANDLE_T *handle, MESSAGE_TX_CHANNEL_T channel, const void *data, uint32_t len, uint32_t chunk_size, const void **aux_data, int32_t *aux_len );
|
/freebsd-13-stable/usr.sbin/i2c/ |
H A D | i2c.c | 619 int error, chunk_size, i, j, ch; local 624 /* Line-break the output every chunk_size bytes */ 625 chunk_size = 16; 791 if ((i % chunk_size) == 0) 794 if ((i % chunk_size) != 0)
|
/freebsd-13-stable/sys/geom/linux_lvm/ |
H A D | g_linux_lvm.c | 202 size_t chunk_size; local 228 chunk_size = vg->vg_extentsize; 256 chunk_index = offset / chunk_size; /* round downwards */ 257 in_chunk_offset = offset % chunk_size; 259 min(length, chunk_size - in_chunk_offset); 272 (off_t)chunk_index * (off_t)chunk_size
|
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_rebuild.c | 639 uint64_t chunk_size; local 647 chunk_size = vd->vdev_ops->vdev_op_rebuild_asize(vd, 650 error = vdev_rebuild_range(vr, start, chunk_size); 654 size -= chunk_size; 655 start += chunk_size;
|
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_partition_tbl.c | 308 handle_chunk(int32_t ds_index, const char *chunk_name, off_t chunk_size) argument 328 k_size = chunk_size / 1024;
|