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

/freebsd-9.3-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-9.3-release/contrib/dtc/
H A Ddata.c175 size_t chunksize, ret; local
178 chunksize = 4096;
180 chunksize = maxlen - d.len;
182 d = data_grow_for(d, chunksize);
183 ret = fread(d.val + d.len, 1, chunksize, f);
/freebsd-9.3-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-9.3-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-9.3-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);
H A Dread.c238 obstack_begin (&notes, chunksize);
239 obstack_begin (&cond_obstack, chunksize);
/freebsd-9.3-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-9.3-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);
230 if (io->chunksize
[all...]
/freebsd-9.3-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-9.3-release/usr.sbin/sysinstall/
H A Ddist.c582 int n, retval, last_msg, chunksize, realsize; local
591 chunksize = 0;
594 chunksize = strtol(tmp, 0, 0);
623 buf = safe_realloc(buf, chunksize);
657 if (!chunksize || (realsize == chunksize)) {
674 msgConfirm("Write failure on transfer! (wrote %d bytes of %d bytes)", j, chunksize);
/freebsd-9.3-release/lib/libc/stdlib/
H A Dmalloc.c1029 static size_t chunksize; variable
1030 static size_t chunksize_mask; /* (chunksize - 1). */
1606 incr = (intptr_t)chunksize
1949 if (size + chunksize <= size)
1952 ret = pages_map(NULL, size + chunksize);
1963 pages_unmap(ret, chunksize - offset);
1966 (chunksize - offset));
1974 chunksize);
2033 chunksize - offset) == NULL) {
2042 pages_unmap(ret, chunksize
[all...]
/freebsd-9.3-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-9.3-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-9.3-release/sys/dev/hatm/
H A Dif_hatm_intr.c231 pg->hdr.chunksize = MBUF0_CHUNK;
246 pg->hdr.chunksize = MBUF1_CHUNK;
H A Dif_hatmvar.h250 uint32_t chunksize; /* chunk size */ member in struct:mbuf_page_hdr
H A Dif_hatm.c318 b * pg->hdr.chunksize + pg->hdr.hdroff);
2343 i * pg->hdr.chunksize + pg->hdr.hdroff);
/freebsd-9.3-release/contrib/binutils/gas/config/
H A Dtc-ppc.c3208 hold_chunksize = chunksize;
3209 chunksize = 64;
3214 chunksize = hold_chunksize;
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1398 size_t chunksize = dstate->dtds_chunksize; local
1659 * size up to the chunksize for allocation.
1668 * chunksize calculation in dtrace_difo_chunksize() be absolutely
1675 ksize + dsize > chunksize) {
9197 * This routine calculates the dynamic variable chunksize for a given DIF
9201 * if a dynamic variable size exceeds the chunksize.
12903 size_t hashsize, maxper, min, chunksize = dstate->dtds_chunksize;
12914 if ((dstate->dtds_chunksize = chunksize) == 0)

Completed in 406 milliseconds