Searched refs:readsize (Results 1 - 12 of 12) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/ccdconfig/
H A Dccdconfig.c495 size_t readsize; local
529 readsize = numccd * ccd_softc_elemsize;
530 if ((vcs = malloc(readsize)) == NULL) {
534 memset(vcs, 0, readsize);
549 if ((size_t)kvm_read(kd, (u_long)kcs, vcs, readsize) != readsize) {
616 size_t readsize; local
625 readsize = cs->sc_nccdisks * sizeof(struct ccdcinfo);
626 if ((cip = malloc(readsize)) == NULL) {
631 memset(cip, 0, readsize);
[all...]
/netbsd-6-1-5-RELEASE/sbin/dump/
H A Drcache.c89 static int64_t readsize; variable
268 readsize += size;
458 getpid(), nreads, (u_int) readsize, nphysread,
460 (int) (((physreadsize - readsize) * 100) / readsize));
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/
H A Dofdev.c325 size_t readsize; local
337 if (strategy(devp, F_READ, LABELSECTOR, DEV_BSIZE, buf, &readsize)
338 || readsize != DEV_BSIZE)
372 size_t readsize; local
468 LABELSECTOR, DEV_BSIZE, b.buf, &readsize) != 0
469 || readsize != DEV_BSIZE
/netbsd-6-1-5-RELEASE/gnu/dist/grep/src/
H A Dgrep.c310 size_t readsize; local
365 readsize = buffer + bufalloc - readbuf;
366 readsize -= readsize % pagesize;
371 size_t mmapsize = readsize;
413 while ((bytesread = read (bufdesc, readbuf, readsize)) < 0
/netbsd-6-1-5-RELEASE/libexec/ftpd/
H A Dftpd.c2134 ssize_t readsize; local
2138 if (curclass.readsize > 0)
2139 readsize = curclass.readsize;
2141 readsize = st->st_blksize;
2142 if ((buf = malloc(readsize)) == NULL) {
2151 bufrem = readsize;
2154 c = read(filefd, buf, readsize);
2360 ssize_t readsize; local
2393 if (curclass.readsize)
[all...]
H A Dextern.h291 LLT readsize; /* data read size */ member in struct:ftpclass
H A Dconf.c115 curclass.readsize = 0;
377 } else if (strcasecmp(word, "readsize") == 0) {
378 curclass.readsize = 0;
379 CONF_LL(readsize, arg, 0, SSIZE_MAX);
/netbsd-6-1-5-RELEASE/sys/dev/scsipi/
H A Dst.c2245 int readsize; local
2268 readsize = st->blksize;
2272 readsize = 1;
2282 if (readsize == 1)
2287 st_read(st, bf, readsize, XS_CTL_SILENT); /* XXX */
2292 } while (readsize != 1 && readsize > st->blksize);
/netbsd-6-1-5-RELEASE/sys/dev/pci/bktr/
H A Dbktr_core.c1249 int readsize, readsize2; local
1269 readsize = (int)uio->uio_iov->iov_len;
1271 if (readsize > bktr->vbisize) readsize = bktr->vbisize;
1275 if((bktr->vbistart + readsize) >= VBI_BUFFER_SIZE) {
1280 status += uiomove((char *)bktr->vbibuffer, (readsize - readsize2), uio);
1283 status = uiomove((char *)bktr->vbibuffer + bktr->vbistart, readsize, uio);
1287 bktr->vbisize -= readsize;
1290 bktr->vbistart += readsize;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/
H A Dcoffgen.c165 bfd_size_type readsize; /* Length of file_info. */ local
199 readsize = (bfd_size_type) nscns * scnhsz;
200 external_sections = (char *) bfd_alloc (abfd, readsize);
204 if (bfd_bread ((void *) external_sections, readsize, abfd) != readsize)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/
H A Dcoffgen.c165 bfd_size_type readsize; /* Length of file_info. */ local
199 readsize = (bfd_size_type) nscns * scnhsz;
200 external_sections = (char *) bfd_alloc (abfd, readsize);
204 if (bfd_bread ((void *) external_sections, readsize, abfd) != readsize)
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gold/
H A Dobject.cc632 section_size_type readsize = this->has_eh_frame_ ? datasize : extsize; local
634 if (readsize == 0)
640 File_view* fvsymtab = this->get_lasting_view(readoff, readsize, true, false);
663 sd->symbols_size = readsize;

Completed in 454 milliseconds