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

1234567

/freebsd-11-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-11-stable/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1026 int i, j, k, n, chunk, len, ddp_pgsz, idx; local
1043 for (i = 0; i < prsv->prsv_nppods; ppod_addr += chunk) {
1047 chunk = PPOD_SZ(n);
1048 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 16);
1057 ulpmc->dlen = htobe32(V_ULP_MEMIO_DATA_LEN(chunk / 32));
1063 ulpsc->len = htobe32(chunk);
1105 int i, j, k, n, chunk, len, ddp_pgsz; local
1121 for (i = 0; i < prsv->prsv_nppods; ppod_addr += chunk) {
1126 chunk = PPOD_SZ(n);
1127 len = roundup2(sizeof(*ulpmc) + sizeof(*ulpsc) + chunk, 1
[all...]
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_linux.c277 size_t chunk = min(len - i, 16); local
284 .oldlenp = &chunk,
288 i += chunk;
/freebsd-11-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-11-stable/sys/sparc64/sparc64/
H A Ddump_machdep.c58 dumpsys_map_chunk(vm_paddr_t pa, size_t chunk __unused, void **va)
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw2.c495 * Generate an SCTP packet containing an ABORT chunk. The verification tag
496 * is given by vtag. The T-bit is set in the ABORT chunk if and only if
510 struct sctp_chunkhdr *chunk; local
588 chunk = (struct sctp_chunkhdr *)(sctp + 1);
589 chunk->chunk_type = SCTP_ABORT_ASSOCIATION;
590 chunk->chunk_flags = 0;
592 chunk->chunk_flags |= SCTP_HAD_NO_TCB;
594 chunk->chunk_length = htons(sizeof(struct sctp_chunkhdr));
899 /* Investigate the first chunk header if available */
902 struct sctp_chunkhdr *chunk; local
1012 struct sctp_chunkhdr *chunk; local
[all...]
/freebsd-11-stable/stand/common/
H A Dload_elf.c433 size_t chunk; local
597 chunk = (size_t)ehdr->e_shnum * (size_t)ehdr->e_shentsize;
598 if (chunk == 0 || ehdr->e_shoff == 0)
600 shdr = alloc_pread(ef->fd, ehdr->e_shoff, chunk);
610 file_addmetadata(fp, MODINFOMD_SHDR, chunk, shdr);
617 chunk = shdr[ehdr->e_shstrndx].sh_size;
618 if (chunk) {
620 chunk);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp159 /// The index of the declarator chunk we're currently processing.
382 /// Given the index of a declarator chunk, check whether that chunk
438 llvm_unreachable("bad declarator chunk kind");
444 llvm_unreachable("bad declarator chunk kind");
465 DeclaratorChunk &chunk = declarator.getTypeObject(i-1); local
466 switch (chunk.Kind) {
476 if (!destChunk) destChunk = &chunk;
524 DeclaratorChunk &chunk = declarator.getTypeObject(i); local
525 switch (chunk
583 DeclaratorChunk &chunk = declarator.getTypeObject(i-1); local
614 DeclaratorChunk &chunk = declarator.getTypeObject(i); local
2754 DeclaratorChunk &chunk = declarator.getTypeObject(chunkIndex); local
3758 DeclaratorChunk &chunk = declarator.getTypeObject(i); local
4271 DeclaratorChunk &chunk = D.getTypeObject(i); local
5464 DeclaratorChunk &chunk = D.getTypeObject(chunkIndex); local
5503 DeclaratorChunk &chunk = D.getTypeObject(i); local
6961 DeclaratorChunk &chunk = declarator.getTypeObject(i-1); local
[all...]
/freebsd-11-stable/contrib/libucl/src/
H A Ducl_util.c477 struct ucl_chunk *chunk, *ctmp; local
502 LL_FOREACH_SAFE (parser->chunks, chunk, ctmp) {
503 UCL_FREE (sizeof (struct ucl_chunk), chunk); local
868 struct ucl_chunk *chunk; local
908 /* Remove chunk from the stack */
909 chunk = parser->chunks;
910 if (chunk != NULL) {
911 parser->chunks = chunk->next;
912 UCL_FREE (sizeof (struct ucl_chunk), chunk); local
938 struct ucl_chunk *chunk; local
1197 UCL_FREE (sizeof (struct ucl_chunk), chunk); local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dvalues.c53 by print commands during this session. Each chunk
54 records 60 consecutive values. The first chunk on
296 struct value_history_chunk *chunk;
319 chunk = value_history_chain;
322 chunk = chunk->next;
324 return value_copy (chunk->values[absnum % VALUE_HISTORY_CHUNK]);
294 struct value_history_chunk *chunk; local
/freebsd-11-stable/crypto/openssl/ssl/
H A Dbad_dtls_test.c281 int chunk; local
289 chunk = EVP_MD_size(md);
290 OPENSSL_assert(chunk >= 0);
318 if (olen > chunk && !EVP_MD_CTX_copy_ex(&ctx_tmp, &ctx))
327 if (olen > chunk) {
H A Dt1_enc.c161 int chunk; local
169 chunk = EVP_MD_size(md);
170 OPENSSL_assert(chunk >= 0);
202 if (olen > chunk && !EVP_MD_CTX_copy_ex(&ctx_tmp, &ctx))
215 if (olen > chunk) {
/freebsd-11-stable/sbin/fsck_msdosfs/
H A Dfat.c152 * cache with chunk size of 128 KiB to manage it.
156 uint8_t *chunk; /* pointer to chunk */ member in struct:fat32_cache_entry
376 (size_t)write(fd, entry->chunk, writesize) != writesize) {
399 * Cache hit: if we already have the chunk, move it to list head
416 * Cache miss: detach the chunk at tail of list, overwrite with
417 * the located chunk, and populate with data from disk.
430 (size_t)read(fd, entry->chunk, rwsize) != rwsize) {
453 return (entry->chunk + off);
773 entry[i].chunk
[all...]
/freebsd-11-stable/stand/libsa/zfs/
H A Dzfs.c285 int chunk; local
298 * Figure out which chunk we are currently looking at
300 * low bits of f_seekp as a simple chunk index.
303 chunk = fp->f_seekp & (bsize - 1);
304 if (chunk == ZAP_LEAF_NUMCHUNKS(&zl)) {
306 chunk = 0;
322 zc = &ZAP_LEAF_CHUNK(&zl, chunk);
/freebsd-11-stable/sys/dev/fatm/
H A Dif_fatm.c683 struct fqelem *el = queue->chunk;
799 el = sc->cmdqueue.chunk;
803 el = &((struct cmdqueue *)sc->cmdqueue.chunk + cnt)->q;
947 * Allocate a chunk of DMA-able memory and map it.
1044 * Destroy all resources of an dma-able memory chunk
2558 if (sc->txqueue.chunk != NULL) {
2583 if (sc->l1queue.chunk != NULL)
2584 free(sc->l1queue.chunk, M_DEVBUF);
2585 if (sc->s1queue.chunk != NULL)
2586 free(sc->s1queue.chunk, M_DEVBU
[all...]
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp.h355 /* static with chunk adjustment (e.g., simd) */
357 kmp_sch_guided_simd = 46, /**< guided with chunk adjustment */
358 kmp_sch_runtime_simd = 47, /**< runtime with chunk adjustment */
378 single iteration/chunk, even if the loop is serialized. For the schedule
475 int chunk; member in struct:kmp_r_sched::__anon3
1576 kmp_int64 count; // current chunk number for static & static-steal scheduling
1642 kmp_int64 count; /* current chunk number for static scheduling */
1673 /* chunk index under dynamic, number of idle threads under static-steal;
1683 /* chunk index under dynamic, number of idle threads under static-steal;
1728 kmp_lock_t *th_steal_lock; // lock used for chunk stealin
[all...]
H A Dkmp_itt.h76 // iterations - loop trip count, chunk - chunk size
79 kmp_uint64 chunk);
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c595 void *chunk; local
619 chunk = mmap (0, len, PROT_READ, MAP_SHARED, fileno (from), off);
620 if (chunk == (void *) MAP_FAILED) {
626 res = sec_write (fileno (to), chunk, len);
627 if (msync (chunk, len, MS_ASYNC))
629 if (munmap (chunk, len) < 0)
/freebsd-11-stable/lib/libtacplus/
H A Dtaclib.c316 int chunk; local
334 for (chunk = 0; chunk < msg_len; chunk += sizeof md5) {
340 if ((chunk_len = msg_len - chunk) > sizeof md5)
343 msg->u.body[chunk + i] ^= md5[i];
/freebsd-11-stable/sys/dev/xen/blkfront/
H A Dblkfront.c602 size_t chunk; local
634 chunk = length > sc->xbd_max_request_size ?
637 cm->cm_datalen = chunk;
644 length -= chunk;
645 offset += chunk;
646 virtual = (char *) virtual + chunk;
/freebsd-11-stable/contrib/unbound/util/
H A Dnet_help.c358 uint16_t chunk; /* big enough to not overflow on IPv6 hextet */ local
374 chunk = strtol(buff, &e, (*af == AF_INET) ? 10 : 16);
375 if(!e || *e != '\0' || (*af == AF_INET && chunk > 255))
379 ia[i] = (uint8_t)chunk;
384 ia[i-1] = (uint8_t)(chunk >> 8);
385 ia[i] = (uint8_t)(chunk & 0x00FF);
/freebsd-11-stable/sys/dev/random/
H A Drandom_harvestq.c244 read_rate_increment(u_int chunk) argument
247 atomic_add_32(&read_rate, chunk);
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_cs.c42 struct radeon_cs_chunk *chunk; local
49 chunk = &p->chunks[p->chunk_relocs_idx];
52 p->nrelocs = chunk->length_dw / 4;
67 r = (struct drm_radeon_cs_reloc *)&chunk->kdata[i*4];
/freebsd-11-stable/sys/kern/
H A Dvfs_vnops.c648 int chunk; local
652 * for the first chunk, so that filesystems only need to
656 chunk = MAXBSIZE - (uoff_t)offset % MAXBSIZE;
658 if (chunk > len)
659 chunk = len;
663 error = vn_rdwr(rw, vp, base, chunk, offset, segflg,
665 len -= chunk; /* aresid calc already includes length */
668 offset += chunk;
669 base = (char *)base + chunk;
943 * i/o in chunks, with all pages in the chunk prefaulte
[all...]
/freebsd-11-stable/sys/dev/ips/
H A Dipsreg.h371 ips_chunk_t chunk[IPS_MAX_CHUNKS]; member in struct:__anon10315

Completed in 329 milliseconds

1234567