Searched refs:chunk (Results 101 - 125 of 193) sorted by relevance

12345678

/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary32.h261 for (uptr chunk = region_beg;
262 chunk < region_beg + max_chunks_in_region * chunk_size;
263 chunk += chunk_size) {
264 // Too slow: CHECK_EQ((void *)chunk, GetBlockBegin((void *)chunk));
265 callback(chunk, arg);
/freebsd-current/contrib/libdiff/include/
H A Ddiff_output.h50 struct diff_range chunk; member in struct:diff_chunk_context
/freebsd-current/stand/kboot/kboot/
H A Dmain.c551 size_t resid, chunk, get; local
557 chunk = min(PAGE_SIZE, len);
558 buf = malloc(chunk);
565 get = min(chunk, resid);
/freebsd-current/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-current/lib/libc/amd64/string/
H A Dstrncmp.S181 /* load head and second chunk */
184 lea -16(%rdx, %rbx, 1), %rdx # account for length of RSI chunk
276 * RSI doesn't end within region 2, then we compare chunk B between the
281 0: movdqu (%rdi, %rbx, 1), %xmm0 # chunk of 2nd string corresponding to RDI
308 .Ltail: movdqu (%rdi, %rbx, 1), %xmm0 # chunk of 2nd string corresponding to RDI
315 test %r8w, %r8w # NUL byte in first chunk?
350 add %rax, %rdi # point RDI to chunk corresponding to (RSI)
399 0: movdqu (%rsi, %rbx, 1), %xmm0 # chunk of 1st string corresponding to RSI
427 movdqu (%rsi, %rbx, 1), %xmm0 # chunk of 1st string corresponding to RSI
434 test %r8w, %r8w # NUL byte in first chunk
[all...]
H A Dstrspn.S165 movdqa 16(%rsi), %xmm0 # second chunk of the set
176 movdqa 32(%rsi), %xmm0 # third chunk
/freebsd-current/sys/dev/irdma/
H A Dirdma_utils.c1948 * @pchunk: chunk of memory to add
1976 * @chunkinfo: nformation about chunk where pble's were acquired
2034 * @chunkinfo: chunk where pble's were acquired and to be freed
2088 * @chunk: chunk to free with paged memory
2091 irdma_pble_free_paged_mem(struct irdma_chunk *chunk) argument
2093 if (!chunk->pg_cnt)
2096 irdma_unmap_vm_page_list(chunk->dev->hw, chunk->dmainfo.dmaaddrs,
2097 chunk
2113 irdma_pble_get_paged_mem(struct irdma_chunk *chunk, u32 pg_cnt) argument
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.h53 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} argument
55 // allocated or quarantined chunk.
/freebsd-current/sys/netinet/
H A Dsctp_auth.c99 * add a chunk to the required chunks list
102 sctp_auth_add_chunk(uint8_t chunk, sctp_auth_chklist_t *list) argument
107 /* is chunk restricted? */
108 if ((chunk == SCTP_INITIATION) ||
109 (chunk == SCTP_INITIATION_ACK) ||
110 (chunk == SCTP_SHUTDOWN_COMPLETE) ||
111 (chunk == SCTP_AUTHENTICATION)) {
114 if (list->chunks[chunk] == 0) {
115 list->chunks[chunk] = 1;
118 "SCTP: added chunk
128 sctp_auth_delete_chunk(uint8_t chunk, sctp_auth_chklist_t *list) argument
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_ldm.c438 size_t chunk; local
442 /* Check that ZSTD_window_update() has been called for this chunk prior
451 for (chunk = 0; chunk < nbChunks && sequences->size < sequences->capacity; ++chunk) {
452 BYTE const* const chunkStart = istart + chunk * kMaxChunkSize;
474 * TODO: * Test the chunk size.
485 /* 3. Generate the sequences for the chunk, and get newLeftoverSize. */
/freebsd-current/crypto/openssl/crypto/evp/
H A Devp_rand.c546 size_t chunk, max_request = 0; local
556 for (; outlen > 0; outlen -= chunk, out += chunk) {
557 chunk = outlen > max_request ? max_request : outlen;
558 if (!ctx->meth->generate(ctx->algctx, out, chunk, strength,
/freebsd-current/sys/dev/firewire/
H A Dfwohci.c1508 struct fw_bulkxfer *first, *chunk, *prev; local
1530 while ((chunk = STAILQ_FIRST(&it->stvalid)) != NULL) {
1533 fwdma_sync_multiseg(it->buf, chunk->poffset, it->bnpacket,
1535 fwohci_txbufdb(sc, dmach, chunk);
1545 (chunk->start))->bus_addr | dbch->ndesc;
1552 STAILQ_INSERT_TAIL(&it->stdma, chunk, link);
1553 prev = chunk;
1627 struct fw_bulkxfer *first, *prev, *chunk; local
1651 device_printf(fc->dev, "IR DMA no free chunk\n");
1660 while ((chunk
1758 struct fw_bulkxfer *chunk; local
2137 struct fw_bulkxfer *chunk; local
2185 struct fw_bulkxfer *chunk; local
[all...]
/freebsd-current/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);
561 chunk, npro
[all...]
H A Dompd-specific.h64 OMPD_ACCESS(kmp_r_sched_t, chunk) \
/freebsd-current/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1627 int i, j, k, n, chunk, len, ddp_pgsz, idx; local
1645 for (i = 0; i < prsv->prsv_nppods; ppod_addr += chunk) {
1648 chunk = PPOD_SZ(n);
1649 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1658 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1664 ulpsc->len = htobe32(chunk);
1706 int i, j, k, n, chunk, len, ddp_pgsz; local
1726 for (i = 0; i < prsv->prsv_nppods; ppod_addr += chunk) {
1730 chunk = PPOD_SZ(n);
1731 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 1
1814 int i, j, k, n, chunk, len, ddp_pgsz, idx; local
1892 int i, j, k, n, chunk, len, ddp_pgsz; local
1982 int i, j, k, n, chunk, len, ddp_pgsz; local
[all...]
/freebsd-current/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-current/contrib/libcbor/test/
H A Dbytestring_test.c310 cbor_item_t *chunk = cbor_build_bytestring((cbor_data) "Hello!", 6); local
317 assert_false(cbor_bytestring_add_chunk(bs, chunk));
318 assert_size_equal(cbor_refcount(chunk), 1);
322 cbor_decref(&chunk);
345 cbor_item_t *chunk = cbor_build_bytestring(bytes, 4);
347 assert_false(cbor_bytestring_add_chunk(bytestring, chunk));
355 cbor_decref(&chunk);
/freebsd-current/contrib/unbound/compat/
H A Dgetentropy_linux.c277 size_t chunk = min(len - i, 16); local
284 .oldlenp = &chunk,
288 i += chunk;
/freebsd-current/contrib/ofed/infiniband-diags/src/
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,
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,
/freebsd-current/sys/dev/sfxge/common/
H A Def10_nvram.c1259 /* Read initial chunk of the segment, starting at offset */
2008 size_t chunk; local
2012 chunk = MIN(size, EF10_NVRAM_CHUNK);
2015 data, chunk, mode)) != 0) {
2019 size -= chunk;
2020 data += chunk;
2021 offset += chunk;
2124 size_t chunk; local
2134 * Check that the size is a multiple of the write chunk size if
2135 * the write chunk siz
[all...]
/freebsd-current/sys/netinet6/
H A Dip_fw_nat64.h198 uint8_t chunk; /* states chunk */ member in struct:_ipfw_nat64lsn_stg_v1::nat64lsn_pgidx::__anon5609
/freebsd-current/sys/netpfil/ipfw/
H A Dip_fw2.c511 * Generate an SCTP packet containing an ABORT chunk. The verification tag
512 * is given by vtag. The T-bit is set in the ABORT chunk if and only if
526 struct sctp_chunkhdr *chunk; local
604 chunk = (struct sctp_chunkhdr *)(sctp + 1);
605 chunk->chunk_type = SCTP_ABORT_ASSOCIATION;
606 chunk->chunk_flags = 0;
608 chunk->chunk_flags |= SCTP_HAD_NO_TCB;
610 chunk->chunk_length = htons(sizeof(struct sctp_chunkhdr));
916 /* Investigate the first chunk header if available */
919 struct sctp_chunkhdr *chunk; local
1037 struct sctp_chunkhdr *chunk; local
[all...]
/freebsd-current/contrib/libucl/src/
H A Ducl_internal.h206 struct ucl_chunk *chunk; member in struct:ucl_stack
653 * Parse msgpack chunk
662 * Free ucl chunk
663 * @param chunk
665 void ucl_chunk_free (struct ucl_chunk *chunk);
/freebsd-current/stand/common/
H A Dload_elf.c542 size_t chunk; local
708 chunk = (size_t)ehdr->e_shnum * (size_t)ehdr->e_shentsize;
709 if (chunk == 0 || ehdr->e_shoff == 0)
711 shdr = alloc_pread(VECTX_HANDLE(ef), ehdr->e_shoff, chunk);
721 file_addmetadata(fp, MODINFOMD_SHDR, chunk, shdr);
728 chunk = shdr[ehdr->e_shstrndx].sh_size;
729 if (chunk) {
731 shdr[ehdr->e_shstrndx].sh_offset, chunk);

Completed in 392 milliseconds

12345678