Searched refs:chunksize (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/sys/dev/adlink/
H A Dadlink.c82 u_int chunksize; /* bytes */ member in struct:page0
141 sc->sample += sc->p0->chunksize / 2;
158 bus_write_4(sc->res[0], 0x28, sc->p0->chunksize);
182 if (offset - o >= sc->p0->chunksize) {
183 o += sc->p0->chunksize;
219 sc->p0->chunksize = u;
226 if (sc->p0->chunksize != 0 && u % sc->p0->chunksize)
235 if (sc->p0->chunksize == 0)
236 sc->p0->chunksize
[all...]
/freebsd-11-stable/contrib/dtc/
H A Ddata.c98 size_t chunksize, ret; local
101 chunksize = 4096;
103 chunksize = maxlen - d.len;
105 d = data_grow_for(d, chunksize);
106 ret = fread(d.val + d.len, 1, chunksize, f);
/freebsd-11-stable/sys/contrib/octeon-sdk/cvmx-malloc/
H A Dmalloc.c1252 chunksize units, which adds padding and alignment. You can reduce
1832 #define chunksize(p) ((p)->size & ~(SIZE_BITS)) macro
2321 unsigned long sz = chunksize(p);
2323 char* max_address = (char*)(av->top) + chunksize(av->top);
2434 assert(chunksize(next) >= MINSIZE);
2549 total += chunksize(p);
2551 assert(fastbin_index(chunksize(p)) == i);
2578 size = chunksize(p);
2587 (unsigned long)chunksize(p->bk) >=
2588 (unsigned long)chunksize(
[all...]
/freebsd-11-stable/contrib/libpcap/
H A Ddlpisubs.c305 bpf_u_int32 ss, chunksize; local
340 chunksize = CHUNKSIZE;
341 if (strioctl(p->fd, SBIOCSCHUNK, sizeof(chunksize), (char *)&chunksize)
H A Dpcap-snit.c287 int chunksize = CHUNKSIZE; local
357 /* set the chunksize */
360 si.ic_len = sizeof(chunksize);
361 si.ic_dp = (char *)&chunksize;
/freebsd-11-stable/sbin/newfs_msdos/
H A Dmkfs_msdos.c254 ssize_t chunksize; local
617 chunksize = getchunksize();
618 physbuf = malloc(chunksize);
623 physbuf_end = physbuf + chunksize;
749 * Issue a write of chunksize once we have collected
754 n = write(fd, physbuf, chunksize);
755 if (n != chunksize) {
826 static int chunksize; local
828 if (chunksize != 0)
829 return ((ssize_t)chunksize);
[all...]
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dchunk.h45 extern size_t chunksize;
46 extern size_t chunksize_mask; /* (chunksize - 1). */
H A Djemalloc_internal.h740 if (likely(size <= large_maxclass) && likely(alignment < chunksize)) {
770 if (size <= chunksize)
771 usize = chunksize;
H A Dprivate_namespace.h187 #define chunksize JEMALLOC_N(chunksize) macro
/freebsd-11-stable/contrib/jemalloc/src/
H A Dhuge.c48 return (huge_palloc(tsdn, arena, usize, chunksize, zero));
67 assert(ausize >= chunksize);
309 if (oldsize < chunksize || usize_max < chunksize)
356 if (alignment <= chunksize)
H A Dchunk.c17 size_t chunksize; variable
18 size_t chunksize_mask; /* (chunksize - 1). */
153 size_t nadd = (size == 0) ? 1 : size / chunksize;
179 size_t nsub = (size == 0) ? 1 : size / chunksize;
212 assert(new_addr == NULL || alignment == chunksize);
220 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize));
376 ret = chunk_alloc_mmap(NULL, size, chunksize, &zero, &commit);
499 JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(ret, chunksize);
766 * Configure chunksize (if not set) to match granularity (usually 64K),
779 chunksize
[all...]
H A Darena.c464 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize,
552 if (flag_decommitted != 0 && arena->chunk_hooks.commit(chunk, chunksize,
605 extent_node_init(&chunk->node, arena, chunk, chunksize, zero, true);
619 NULL, chunksize, chunksize, zero, commit);
622 if (chunk_hooks->commit(chunk, chunksize, 0, map_bias <<
625 (void *)chunk, chunksize, *zero, *commit);
632 chunk_hooks->decommit(chunk, chunksize, 0, map_bias <<
636 chunksize, *zero, *commit);
651 chunk = chunk_alloc_cache(tsdn, arena, &chunk_hooks, NULL, chunksize,
[all...]
H A Dchunk_dss.c110 gap_size = (chunksize - CHUNK_ADDR2OFFSET(dss_max)) &
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_io.c326 size_t chunksize; local
338 chunksize = MIN(uio->uio_resid,
341 fdi.iosize = sizeof(*fwi) + chunksize;
347 fwi->size = chunksize;
350 chunksize, uio)))
356 diff = chunksize - ((struct fuse_write_out *)fdi.answ)->size;
/freebsd-11-stable/contrib/binutils/gas/
H A Dsubsegs.c41 obstack_begin (&frchains, chunksize);
113 obstack_begin (&newP->frch_obstack, chunksize);
H A Das.h477 extern int chunksize;
H A Das.c100 int chunksize = 0; variable
1084 chunksize = 64;
H A Dhash.c117 obstack_begin (&ret->memory, chunksize);
/freebsd-11-stable/lib/libfetch/
H A Dhttp.c138 size_t chunksize; /* remaining size of current chunk */ member in struct:httpio
164 io->chunksize = io->chunksize * 16 +
167 io->chunksize = io->chunksize * 16 +
174 io->total += io->chunksize;
175 if (io->chunksize == 0)
179 __func__, (unsigned long)io->chunksize,
184 return (io->chunksize);
233 if (io->chunksize
[all...]
/freebsd-11-stable/contrib/tnftp/src/
H A Dfetch.c1165 long chunksize; local
1168 chunksize = 0;
1177 chunksize = strtol(xferbuf, &ep, 16);
1182 if (errno == ERANGE || chunksize < 0) {
1208 (LLT)chunksize);
1209 if (chunksize == 0) {
1223 bufrem = MIN(chunksize, bufrem);
1244 chunksize -= flen;
1245 if (chunksize <= 0)
1258 if (ischunked && chunksize <
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c3756 uint64_t chunksize = (1000 + ztest_random(1000)) * sizeof (uint64_t); local
3789 ztest_od_init(&od[0], id, FTAG, 0, DMU_OT_UINT64_OTHER, 0, chunksize);
3790 ztest_od_init(&od[1], id, FTAG, 1, DMU_OT_UINT64_OTHER, 0, chunksize);
3797 chunksize = od[0].od_gen;
3798 ASSERT(chunksize == od[1].od_gen);
3808 dmu_prefetch(os, bigobj, 0, n * chunksize, s * chunksize,
3820 bigoff = n * chunksize;
3821 bigsize = s * chunksize;
3888 bigH = (bufwad_t *)((char *)bigbuf + i * chunksize);
3972 compare_and_update_pbbufs(uint64_t s, bufwad_t *packbuf, bufwad_t *bigbuf, uint64_t bigsize, uint64_t n, uint64_t chunksize, uint64_t txg) argument
4032 uint64_t chunksize = blocksize; local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dvalprint.c1089 unsigned int chunksize; /* Size of each fetch, in chars. */
1115 chunksize = (len == -1 ? min (8, fetchlimit) : fetchlimit);
1140 nfetch = min (chunksize, fetchlimit - bufsize);
1088 unsigned int chunksize; /* Size of each fetch, in chars. */ local
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/
H A Dfs.c1233 u_int32_t chunksize,
1261 buf = apr_palloc(pool, chunksize);
1266 apr_size_t bytes_this_time = chunksize;
1221 copy_db_file_safely(const char *src_dir, const char *dst_dir, const char *filename, u_int32_t chunksize, svn_boolean_t allow_missing, apr_pool_t *pool) argument
/freebsd-11-stable/sys/dev/hatm/
H A Dif_hatm_intr.c232 pg->hdr.chunksize = MBUF0_CHUNK;
247 pg->hdr.chunksize = MBUF1_CHUNK;
H A Dif_hatmvar.h250 uint32_t chunksize; /* chunk size */ member in struct:mbuf_page_hdr

Completed in 367 milliseconds

12