Searched refs:chunk (Results 76 - 100 of 160) sorted by relevance

1234567

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h42 CompactPtrT chunk = c->chunks[--c->count]; local
45 allocator->GetRegionBeginBySizeClass(class_id), chunk));
57 CompactPtrT chunk = allocator->PointerToCompactPtr( local
60 c->chunks[c->count++] = chunk;
H A Dsanitizer_allocator_primary64.h300 for (uptr chunk = region_beg;
301 chunk < region_beg + region_allocated_user_size;
302 chunk += chunk_size) {
303 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
304 callback(chunk, arg);
476 // One chunk covers multiple pages, no cross overs.
480 // One chunk covers multiple pages, Some chunks are crossing page
481 // boundaries. Some pages contain one chunk, some contain two.
501 // Each chunk affect
[all...]
H A Dsanitizer_allocator_primary32.h258 for (uptr chunk = region_beg;
259 chunk < region_beg + max_chunks_in_region * chunk_size;
260 chunk += chunk_size) {
261 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
262 callback(chunk, arg);
/freebsd-12-stable/contrib/subversion/subversion/libsvn_fs_base/
H A Dreps-strings.c124 rep_delta_chunk_t *chunk = APR_ARRAY_IDX(chunks, i, rep_delta_chunk_t *);
126 key = apr_pstrdup(pool, chunk->string_key);
281 in the first chunk, and then verify that no chunks have a
285 altogether -- to the format/version of the first chunk. */
323 delta chunk we're starting from. OFFSET is the relative offset of
324 the requested data within the chunk; BUF and LEN are what we're
408 offset = 0; /* Read from the beginning of the next chunk. */
426 /* Calculate the index of the chunk in REP that contains REP_OFFSET,
427 and find the relative CHUNK_OFFSET within the chunk.
502 const rep_delta_chunk_t *const chunk
123 rep_delta_chunk_t *chunk = APR_ARRAY_IDX(chunks, i, rep_delta_chunk_t *); local
498 const rep_delta_chunk_t *const chunk local
1574 rep_delta_chunk_t *chunk; local
[all...]
/freebsd-12-stable/crypto/openssl/crypto/rand/
H A Ddrbg_lib.c660 size_t chunk; local
674 for ( ; outlen > 0; outlen -= chunk, out += chunk) {
675 chunk = outlen;
676 if (chunk > drbg->max_request)
677 chunk = drbg->max_request;
678 ret = RAND_DRBG_generate(drbg, out, chunk, 0, additional, additional_len);
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mr.c727 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-12-stable/sys/geom/
H A Dgeom_dev.c497 off_t offset, length, chunk, odd; local
602 chunk = length;
604 chunk > g_dev_del_max_sectors * pp->sectorsize) {
605 chunk = g_dev_del_max_sectors * pp->sectorsize;
607 odd = (offset + chunk +
609 if (chunk > odd)
610 chunk -= odd;
613 error = g_delete_data(cp, offset, chunk);
614 length -= chunk;
615 offset += chunk;
[all...]
/freebsd-12-stable/usr.sbin/makefs/
H A Dffs.c505 warn("can't fstatvfs `%s', using default %d byte chunk",
889 off_t bufleft, chunk, offset; local
941 chunk = 0;
942 for (bufleft = DIP(din, size); bufleft > 0; bufleft -= chunk) {
943 chunk = MIN(bufleft, ffs_opts->bsize);
946 else if ((nread = read(ffd, fbuf, chunk)) == -1)
949 else if (nread != chunk)
954 (uintmax_t)chunk);
962 (long long)chunk, (long long)bufleft);
967 * sized chunk
[all...]
/freebsd-12-stable/contrib/apr/tables/
H A Dapr_skiplist.c95 chunk_t *chunk = (chunk_t *)memlist->list->elts; local
98 if (!chunk->inuse) {
99 chunk->inuse = 1;
100 return chunk->ptr;
102 chunk++;
114 * is this a new sized chunk? If so, we need to create a new
142 chunk_t *chunk = (chunk_t *)memlist->list->elts; local
144 if (chunk->ptr == mem) {
145 chunk->inuse = 0;
148 chunk
[all...]
/freebsd-12-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c58 struct ib_umem_chunk *chunk; local
67 chunk = list_entry(tx_sa->umem->chunk_list.next, struct ib_umem_chunk, list);
68 BUG_ON(!chunk->nmap);
88 payload_pg = sg_page(&chunk->page_list[0]);
426 struct ib_umem_chunk *chunk; local
470 list_for_each_entry(chunk, &umem->chunk_list, list) {
471 for (j = 0; j < chunk->nmap; ++j) {
473 &chunk->page_list[j]) >> PAGE_SHIFT;
477 &chunk->page_list[j]) +
/freebsd-12-stable/sys/sparc64/sparc64/
H A Ddump_machdep.c59 dumpsys_map_chunk(vm_paddr_t pa, size_t chunk __unused, void **va)
/freebsd-12-stable/stand/powerpc/kboot/
H A Dmain.c417 size_t resid, chunk, get; local
423 chunk = min(PAGE_SIZE, len);
424 buf = malloc(chunk);
431 get = min(chunk, resid);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.h52 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} argument
54 // allocated or quarantined chunk.
/freebsd-12-stable/sys/netinet/
H A Dsctp_auth.c104 * add a chunk to the required chunks list
107 sctp_auth_add_chunk(uint8_t chunk, sctp_auth_chklist_t *list) argument
112 /* is chunk restricted? */
113 if ((chunk == SCTP_INITIATION) ||
114 (chunk == SCTP_INITIATION_ACK) ||
115 (chunk == SCTP_SHUTDOWN_COMPLETE) ||
116 (chunk == SCTP_AUTHENTICATION)) {
119 if (list->chunks[chunk] == 0) {
120 list->chunks[chunk] = 1;
123 "SCTP: added chunk
133 sctp_auth_delete_chunk(uint8_t chunk, sctp_auth_chklist_t *list) argument
[all...]
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
H A Dzstd_ldm.c473 size_t chunk; local
477 /* Check that ZSTD_window_update() has been called for this chunk prior
486 for (chunk = 0; chunk < nbChunks && sequences->size < sequences->capacity; ++chunk) {
487 BYTE const* const chunkStart = istart + chunk * kMaxChunkSize;
507 * TODO: * Test the chunk size.
512 /* 3. Generate the sequences for the chunk, and get newLeftoverSize. */
/freebsd-12-stable/sys/dev/firewire/
H A Dfwohci.c1510 struct fw_bulkxfer *first, *chunk, *prev; local
1534 while ((chunk = STAILQ_FIRST(&it->stvalid)) != NULL) {
1537 fwdma_sync_multiseg(it->buf, chunk->poffset, it->bnpacket,
1539 fwohci_txbufdb(sc, dmach, chunk);
1549 (chunk->start))->bus_addr | dbch->ndesc;
1556 STAILQ_INSERT_TAIL(&it->stdma, chunk, link);
1557 prev = chunk;
1631 struct fw_bulkxfer *first, *prev, *chunk; local
1655 device_printf(fc->dev, "IR DMA no free chunk\n");
1664 while ((chunk
1762 struct fw_bulkxfer *chunk; local
2141 struct fw_bulkxfer *chunk; local
2189 struct fw_bulkxfer *chunk; local
[all...]
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_dispatch_hier.h61 void append(enum sched_type sched, kmp_int32 chunk, kmp_hier_layer_e layer) { argument
77 small_chunks[current_size] = chunk;
78 large_chunks[current_size] = (kmp_int64)chunk;
337 // chunk information (lower/upper bound, stride, etc.)
443 typename traits_t<T>::signed_t chunk; // chunk size associated with schedule
452 (" kmp_hier_layer_info_t: num_active:%d type:%s sched:%d chunk:%d "
454 num_active, t, sched, chunk, length));
529 ST chunk = (ST)get_chunk(hier_level);
559 chunk, npro
[all...]
/freebsd-12-stable/sys/dev/mthca/
H A Dmthca_mr.c362 int chunk; local
369 chunk = min(size, list_len);
372 buffer_list, chunk);
375 buffer_list, chunk);
377 list_len -= chunk;
378 start_index += chunk;
379 buffer_list += chunk;
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/
H A Ddump_fts.c72 unsigned i, chunk, bit, nonzero = 0; local
94 chunk = i / 16;
97 mask = ntohs(mft[chunk][mlid % IB_MLIDS_IN_BLOCK]);
193 DEBUG("reading block %x chunk %d mod %x", block, j,
H A Dibroute.c97 unsigned i, chunk, bit, nonzero = 0; local
119 chunk = i / 16;
122 mask = ntohs(mft[chunk][mlid % IB_MLIDS_IN_BLOCK]);
217 DEBUG("reading block %x chunk %d mod %x", block, j,
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
H A Dhash.c649 apr_uint32_t chunk = *(const apr_uint32_t *)p;
651 /* the ">> 17" part gives upper bits in the chunk a chance to make
653 hash = hash * 33 * 33 * 33 * 33 + chunk + (chunk >> 17);
642 apr_uint32_t chunk = *(const apr_uint32_t *)p; local
/freebsd-12-stable/contrib/unbound/compat/
H A Dgetentropy_linux.c277 size_t chunk = min(len - i, 16); local
284 .oldlenp = &chunk,
288 i += chunk;
/freebsd-12-stable/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1022 int i, j, k, n, chunk, len, ddp_pgsz, idx; local
1039 for (i = 0; i < prsv->prsv_nppods; ppod_addr += chunk) {
1043 chunk = PPOD_SZ(n);
1044 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1053 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1059 ulpsc->len = htobe32(chunk);
1101 int i, j, k, n, chunk, len, ddp_pgsz; local
1117 for (i = 0; i < prsv->prsv_nppods; ppod_addr += chunk) {
1122 chunk = PPOD_SZ(n);
1123 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 1
[all...]
/freebsd-12-stable/sys/dev/sfxge/common/
H A Def10_nvram.c1169 /* Read initial chunk of the segment, starting at offset */
1914 size_t chunk; local
1918 chunk = MIN(size, EF10_NVRAM_CHUNK);
1921 data, chunk, mode)) != 0) {
1925 size -= chunk;
1926 data += chunk;
1927 offset += chunk;
2007 size_t chunk; local
2017 * Check that the size is a multiple of the write chunk size if
2018 * the write chunk siz
[all...]
/freebsd-12-stable/sys/netinet6/
H A Dip_fw_nat64.h200 uint8_t chunk; /* states chunk */ member in struct:_ipfw_nat64lsn_stg_v1::nat64lsn_pgidx::__anon16380

Completed in 591 milliseconds

1234567