| /freebsd/contrib/llvm-project/libc/src/__support/File/ |
| H A D | dir.cpp | 34 auto readsize = platform_fetch_dirents(fd, buffer); in read() local 35 if (!readsize) in read() 36 return LIBC_NAMESPACE::Error(readsize.error()); in read() 37 fillsize = readsize.value(); in read()
|
| /freebsd/sys/fs/msdosfs/ |
| H A D | msdosfs_vfsops.c | 425 u_long readsize; in rootdir_free() local 442 readsize = 512 * sizeof(struct direntry); in rootdir_free() 448 pmp->pm_BlkPerSec, pmp->pm_fatblocksize, readsize, in rootdir_free() 454 if (readsize > dirleft * sizeof(struct direntry)) in rootdir_free() 455 readsize = dirleft * sizeof(struct direntry); in rootdir_free() 458 dirclu, dirleft, readsize); in rootdir_free() 460 if (bread(pmp->pm_devvp, dirclu, readsize, NOCRED, &bp) != 0) { in rootdir_free() 466 dirmax = readsize / sizeof(struct direntry); in rootdir_free() 497 dirclu += readsize / DEV_BSIZE; in rootdir_free()
|
| /freebsd/sbin/fsck_msdosfs/ |
| H A D | fat.c | 698 size_t readsize; in _readfat() local 734 readsize = fat32_cache_size; in _readfat() 740 readsize = fat->fatsize; in _readfat() 742 fat->fatbuf = malloc(readsize); in _readfat() 744 perr("No space for FAT (%zu)", readsize); in _readfat() 752 if ((size_t)read(fd, fat->fatbuf, readsize) != readsize) { in _readfat()
|
| /freebsd/sys/contrib/zstd/programs/ |
| H A D | fileio.c | 1216 int compressionLevel, U64* readsize) in FIO_compressGzFrame() argument 1299 *readsize = inFileSize; in FIO_compressGzFrame() 1311 int compressionLevel, U64* readsize, int plain_lzma) in FIO_compressLzmaFrame() argument 1379 *readsize = inFileSize; in FIO_compressLzmaFrame() 1401 U64* readsize) in FIO_compressLz4Frame() argument 1481 *readsize = inFileSize; in FIO_compressLz4Frame() 1495 int compressionLevel, U64* readsize) in FIO_compressZstdFrame() argument 1553 *readsize += inSize; in FIO_compressZstdFrame() 1555 if ((ress.readCtx->srcBufferLoaded == 0) || (*readsize == fileSize)) in FIO_compressZstdFrame() 1716 if (fileSize != UTIL_FILESIZE_UNKNOWN && *readsize != fileSize) { in FIO_compressZstdFrame() [all …]
|
| /freebsd/usr.sbin/bsdconfig/share/media/ |
| H A D | nfs.subr | 179 local cp tcp="" use3="" secure="" readsize=4096 writesize=4096 187 [ "$cp" = "YES" ] && readsize=1024 writesize=1024 189 local options="rsize=$readsize,wsize=$writesize"
|
| /freebsd/sbin/fsck_ffs/ |
| H A D | suj.c | 2280 int readsize; in suj_read() local 2297 blk = jblocks_next(suj_jblocks, size, &readsize); in suj_read() 2300 size = readsize; in suj_read() 2335 size != readsize && in suj_read()
|
| /freebsd/sys/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 5721 uint64_t size, readsize, oursize, offset; in zdb_copy_object() local 5762 readsize = MIN(size - offset, 1 << 20); in zdb_copy_object() 5763 err = dmu_read(os, srcobj, offset, readsize, buf, 0); in zdb_copy_object() 5772 " error=%d\n", offset, readsize, err); in zdb_copy_object() 5775 writesize = write(fd, buf, readsize); in zdb_copy_object() 5779 } else if (writesize != readsize) { in zdb_copy_object() 5783 (u_longlong_t)writesize, readsize); in zdb_copy_object() 5787 offset += readsize; in zdb_copy_object()
|
| /freebsd/sys/fs/nfsclient/ |
| H A D | nfs_clrpcops.c | 3482 int reqsize, tryformoredirs = 1, readsize, eof = 0, gotmnton = 0; in nfsrpc_readdir() 3500 * will never make readsize > nm_readdirsize. in nfsrpc_readdir() 3502 readsize = nmp->nm_readdirsize; in nfsrpc_readdir() 3503 if (readsize > uiop->uio_resid) in nfsrpc_readdir() 3504 readsize = uiop->uio_resid + DIRBLKSIZ; in nfsrpc_readdir() 3655 * Loop around doing readdir rpc's of size readsize. in nfsrpc_readdir() 3664 *tl = txdr_unsigned(readsize); in nfsrpc_readdir() 3679 *tl++ = txdr_unsigned(readsize); in nfsrpc_readdir() 3680 *tl = txdr_unsigned(readsize); in nfsrpc_readdir() 3686 *tl = txdr_unsigned(readsize); in nfsrpc_readdir() 3478 int reqsize, tryformoredirs = 1, readsize, eof = 0, gotmnton = 0; nfsrpc_readdir() local [all...] |