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

12

/freebsd-10.0-release/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-10.0-release/contrib/jemalloc/src/
H A Dchunk.c27 size_t chunksize; variable
28 size_t chunksize_mask; /* (chunksize - 1). */
64 alloc_size = size + alignment - chunksize;
192 stats_chunks.nchunks += (size / chunksize);
193 stats_chunks.curchunks += (size / chunksize);
327 assert(stats_chunks.curchunks >= (size / chunksize));
328 stats_chunks.curchunks -= (size / chunksize);
341 chunksize = (ZU(1) << opt_lg_chunk);
342 assert(chunksize >= PAGE);
343 chunksize_mask = chunksize
[all...]
H A Dhuge.c22 return (huge_palloc(size, chunksize, zero));
120 if (alignment > chunksize)
129 if (alignment > chunksize)
149 if (oldsize >= chunksize && (config_dss == false || (chunk_in_dss(ptr)
H A Dbase.c35 base_pages = chunk_alloc(csize, chunksize, true, &zero,
H A Dchunk_dss.c101 gap_size = (chunksize - CHUNK_ADDR2OFFSET(dss_max)) &
H A Darena.c540 chunk = (arena_chunk_t *)chunk_alloc(chunksize, chunksize,
546 arena->stats.mapped += chunksize;
620 chunk_dealloc((void *)spare, chunksize, true);
623 arena->stats.mapped -= chunksize;
2332 arena_maxclass = chunksize - (map_bias << LG_PAGE);
/freebsd-10.0-release/contrib/jemalloc/include/jemalloc/internal/
H A Dchunk.h40 extern size_t chunksize;
41 extern size_t chunksize_mask; /* (chunksize - 1). */
H A Dprivate_namespace.h119 #define chunksize JEMALLOC_N(chunksize) macro
/freebsd-10.0-release/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-10.0-release/contrib/ipfilter/ipsd/
H A Dsnit.c126 int ret, offset, fd, snaplen= 76, chunksize = BUFSPACE; local
187 * set the chunksize
190 si.ic_len = sizeof(chunksize);
191 si.ic_dp = (char*)&chunksize;
193 perror("ioctl: NIT chunksize");
194 if (ioctl(fd, NIOCGCHUNK, (char*)&chunksize) == -1)
196 perror("ioctl: NIT chunksize");
199 printf("NIT buffer size: %d\n", chunksize);
H A Dsdlpi.c158 int i, offset, fd, snaplen= 58, chunksize = BUFSPACE; local
/freebsd-10.0-release/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-10.0-release/contrib/libpcap/
H A Ddlpisubs.c274 bpf_u_int32 ss, chunksize; local
302 chunksize = CHUNKSIZE;
303 if (strioctl(p->fd, SBIOCSCHUNK, sizeof(chunksize), (char *)&chunksize)
H A Dpcap-snit.c268 int chunksize = CHUNKSIZE; local
320 /* set the chunksize */
323 si.ic_len = sizeof(chunksize);
324 si.ic_dp = (char *)&chunksize;
/freebsd-10.0-release/sys/fs/fuse/
H A Dfuse_io.c326 size_t chunksize; local
336 chunksize = MIN(uio->uio_resid,
339 fdi.iosize = sizeof(*fwi) + chunksize;
345 fwi->size = chunksize;
348 chunksize, uio)))
354 diff = chunksize - ((struct fuse_write_out *)fdi.answ)->size;
/freebsd-10.0-release/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-10.0-release/contrib/tcpdump/
H A Dprint-sctp.c232 u_int chunksize = sizeof(struct sctpDataPart)+ local
244 forces_print(payloadPtr, EXTRACT_16BITS(&chunkDescPtr->chunkLength)- chunksize);
/freebsd-10.0-release/lib/libfetch/
H A Dhttp.c137 size_t chunksize; /* remaining size of current chunk */ member in struct:httpio
163 io->chunksize = io->chunksize * 16 +
166 io->chunksize = io->chunksize * 16 +
173 io->total += io->chunksize;
174 if (io->chunksize == 0)
178 __func__, (unsigned long)io->chunksize,
183 return (io->chunksize);
229 if (io->chunksize
[all...]
/freebsd-10.0-release/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-10.0-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c3523 uint64_t chunksize = (1000 + ztest_random(1000)) * sizeof (uint64_t); local
3556 ztest_od_init(&od[0], id, FTAG, 0, DMU_OT_UINT64_OTHER, 0, chunksize);
3557 ztest_od_init(&od[1], id, FTAG, 1, DMU_OT_UINT64_OTHER, 0, chunksize);
3564 chunksize = od[0].od_gen;
3565 ASSERT(chunksize == od[1].od_gen);
3575 dmu_prefetch(os, bigobj, n * chunksize, s * chunksize);
3586 bigoff = n * chunksize;
3587 bigsize = s * chunksize;
3646 bigH = (bufwad_t *)((char *)bigbuf + i * chunksize);
3730 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
3790 uint64_t chunksize = blocksize; local
[all...]
/freebsd-10.0-release/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-10.0-release/contrib/subversion/subversion/libsvn_fs_base/
H A Dfs.c1130 u_int32_t chunksize,
1158 buf = apr_palloc(pool, chunksize);
1163 apr_size_t bytes_this_time = chunksize;
1118 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

Completed in 306 milliseconds

12