| /netbsd-src/usr.bin/vndcompress/ |
| H A D | vndcompress.c | 174 const uint32_t readsize = (S->blkno == S->n_full_blocks? in vndcompress() local 176 assert(readsize > 0); in vndcompress() 177 assert(readsize <= S->blocksize); in vndcompress() 184 if (!ADD_OK(uint64_t, S->offset, 2*(uintmax_t)readsize) || in vndcompress() 185 !ADD_OK(off_t, S->offset, 2*(uintmax_t)readsize)) in vndcompress() 188 (uintmax_t)readsize); in vndcompress() 193 S->blocksize, readsize, uncompbuf, compbuf); in vndcompress() 763 uint32_t readsize, void *uncompbuf, void *compbuf) in compress_block() argument 766 assert(readsize <= blocksize); in compress_block() 770 const ssize_t n_read = read_block(in_fd, uncompbuf, readsize); in compress_block() [all …]
|
| /netbsd-src/sbin/dump/ |
| H A D | rcache.c | 88 static int64_t readsize; variable 280 readsize += size; in bread() 470 getpid(), nreads, (u_int) readsize, nphysread, in printcachestats() 472 (int) (((physreadsize - readsize) * 100) / readsize)); in printcachestats()
|
| /netbsd-src/sys/arch/sparc/stand/ofwboot/ |
| H A D | ofdev.c | 329 size_t readsize; in search_label() local 341 if (strategy(devp, F_READ, LABELSECTOR, DEV_BSIZE, buf, &readsize) in search_label() 342 || readsize != DEV_BSIZE) in search_label() 439 size_t readsize; in devopen() local 543 LABELSECTOR, DEV_BSIZE, b.buf, &readsize) != 0 in devopen() 544 || readsize != DEV_BSIZE in devopen()
|
| /netbsd-src/libexec/ftpd/ |
| H A D | ftpd.c | 2162 ssize_t readsize; in send_data_with_read() local 2166 if (curclass.readsize > 0) in send_data_with_read() 2167 readsize = curclass.readsize; in send_data_with_read() 2169 readsize = st->st_blksize; in send_data_with_read() 2170 if ((buf = malloc(readsize)) == NULL) { in send_data_with_read() 2179 bufrem = readsize; in send_data_with_read() 2182 c = read(filefd, buf, readsize); in send_data_with_read() 2388 ssize_t readsize; in receive_data() local 2421 if (curclass.readsize) in receive_data() 2422 readsize = curclass.readsize; in receive_data() [all …]
|
| H A D | conf.c | 116 curclass.readsize = 0; in init_curclass() 379 curclass.readsize = 0; in parse_conf() 380 CONF_LL(readsize, arg, 0, SSIZE_MAX); in parse_conf()
|
| H A D | extern.h | 291 LLT readsize; /* data read size */ member
|
| /netbsd-src/external/gpl2/grep/dist/src/ |
| H A D | grep.c | 321 size_t readsize; in fillbuf() local 376 readsize = buffer + bufalloc - readbuf; in fillbuf() 377 readsize -= readsize % pagesize; in fillbuf() 382 size_t mmapsize = readsize; in fillbuf() 424 while ((bytesread = read (bufdesc, readbuf, readsize)) < 0 in fillbuf()
|
| /netbsd-src/usr.sbin/bta2dpd/bta2dpd/ |
| H A D | sbc_encode.c | 850 size_t readsize, totalSize; in stream() local 912 readsize = (size_t)((global_blocks * global_bands * global_chan) * 2); in stream() 921 len = readloop(in, music, readsize); in stream() 922 readTime += (time_t)readsize; in stream() 923 if (len < (int)readsize) in stream() 937 if (len < (int)readsize) { in stream()
|
| /netbsd-src/sys/dev/scsipi/ |
| H A D | st.c | 2432 int readsize; in st_touch_tape() local 2452 readsize = st->blksize; in st_touch_tape() 2456 readsize = 1; in st_touch_tape() 2466 if (readsize == 1) in st_touch_tape() 2471 st_read(st, bf, readsize, XS_CTL_SILENT); /* XXX */ in st_touch_tape() 2476 } while (readsize != 1 && readsize > st->blksize); in st_touch_tape()
|
| /netbsd-src/sys/dev/pci/bktr/ |
| H A D | bktr_core.c | 1248 int readsize, readsize2; in vbi_read() local 1268 readsize = (int)uio->uio_iov->iov_len; in vbi_read() 1270 if (readsize > bktr->vbisize) readsize = bktr->vbisize; in vbi_read() 1274 if((bktr->vbistart + readsize) >= VBI_BUFFER_SIZE) { in vbi_read() 1279 status += uiomove((char *)bktr->vbibuffer, (readsize - readsize2), uio); in vbi_read() 1282 status = uiomove((char *)bktr->vbibuffer + bktr->vbistart, readsize, uio); in vbi_read() 1286 bktr->vbisize -= readsize; in vbi_read() 1289 bktr->vbistart += readsize; in vbi_read()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | object.cc | 887 section_size_type readsize = need_local_symbols ? datasize : extsize; in base_read_symbols() local 889 if (readsize == 0) in base_read_symbols() 895 File_view* fvsymtab = this->get_lasting_view(readoff, readsize, true, false); in base_read_symbols() 918 sd->symbols_size = readsize; in base_read_symbols()
|
| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | object.cc | 887 section_size_type readsize = need_local_symbols ? datasize : extsize; in base_read_symbols() local 889 if (readsize == 0) in base_read_symbols() 895 File_view* fvsymtab = this->get_lasting_view(readoff, readsize, true, false); in base_read_symbols() 918 sd->symbols_size = readsize; in base_read_symbols()
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | coffgen.c | 243 bfd_size_type readsize; /* Length of file_info. */ in coff_real_object_p() local 277 readsize = (bfd_size_type) nscns * scnhsz; in coff_real_object_p() 278 external_sections = (char *) _bfd_alloc_and_read (abfd, readsize, readsize); in coff_real_object_p()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | coffgen.c | 311 bfd_size_type readsize; /* Length of file_info. */ in coff_real_object_p() local 345 readsize = (bfd_size_type) nscns * scnhsz; in coff_real_object_p() 346 external_sections = (char *) _bfd_alloc_and_read (abfd, readsize, readsize); in coff_real_object_p()
|
| /netbsd-src/sys/fs/nfs/client/ |
| H A D | nfs_clrpcops.c | 2708 int reqsize, tryformoredirs = 1, readsize, eof = 0, gotmnton = 0; in nfsrpc_readdir() local 2726 readsize = nmp->nm_readdirsize; in nfsrpc_readdir() 2727 if (readsize > uio_uio_resid(uiop)) in nfsrpc_readdir() 2728 readsize = uio_uio_resid(uiop) + DIRBLKSIZ; in nfsrpc_readdir() 2882 *tl = txdr_unsigned(readsize); in nfsrpc_readdir() 2897 *tl++ = txdr_unsigned(readsize); in nfsrpc_readdir() 2898 *tl = txdr_unsigned(readsize); in nfsrpc_readdir() 2904 *tl = txdr_unsigned(readsize); in nfsrpc_readdir()
|