Home
last modified time | relevance | path

Searched refs:readsize (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c425 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/sys/contrib/zstd/programs/
H A Dfileio.c1080 int compressionLevel, U64* readsize) in FIO_compressGzFrame() argument
1153 *readsize = inFileSize; in FIO_compressGzFrame()
1163 int compressionLevel, U64* readsize, int plain_lzma) in FIO_compressLzmaFrame() argument
1224 *readsize = inFileSize; in FIO_compressLzmaFrame()
1243 U64* readsize) in FIO_compressLz4Frame() argument
1328 *readsize = inFileSize; in FIO_compressLz4Frame()
1341 int compressionLevel, U64* readsize) in FIO_compressZstdFrame() argument
1393 *readsize += inSize; in FIO_compressZstdFrame()
1395 if ((inSize == 0) || (*readsize == fileSize)) in FIO_compressZstdFrame()
1554 if (fileSize != UTIL_FILESIZE_UNKNOWN && *readsize != fileSize) { in FIO_compressZstdFrame()
[all …]
/freebsd/sbin/fsck_msdosfs/
H A Dfat.c698 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/usr.sbin/bsdconfig/share/media/
H A Dnfs.subr179 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 Dsuj.c2280 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 Dzdb.c5213 uint64_t size, readsize, oursize, offset; in zdb_copy_object() local
5254 readsize = MIN(size - offset, 1 << 20); in zdb_copy_object()
5255 err = dmu_read(os, srcobj, offset, readsize, buf, 0); in zdb_copy_object()
5264 " error=%d\n", offset, readsize, err); in zdb_copy_object()
5267 writesize = write(fd, buf, readsize); in zdb_copy_object()
5271 } else if (writesize != readsize) { in zdb_copy_object()
5275 (u_longlong_t)writesize, readsize); in zdb_copy_object()
5279 offset += readsize; in zdb_copy_object()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c3394 int reqsize, tryformoredirs = 1, readsize, eof = 0, gotmnton = 0; in nfsrpc_readdir() local
3412 * will never make readsize > nm_readdirsize. in nfsrpc_readdir()
3414 readsize = nmp->nm_readdirsize; in nfsrpc_readdir()
3415 if (readsize > uiop->uio_resid) in nfsrpc_readdir()
3416 readsize = uiop->uio_resid + DIRBLKSIZ; in nfsrpc_readdir()
3566 * Loop around doing readdir rpc's of size readsize. in nfsrpc_readdir()
3575 *tl = txdr_unsigned(readsize); in nfsrpc_readdir()
3590 *tl++ = txdr_unsigned(readsize); in nfsrpc_readdir()
3591 *tl = txdr_unsigned(readsize); in nfsrpc_readdir()
3597 *tl = txdr_unsigned(readsize); in nfsrpc_readdir()
[all...]