Searched refs:firstread (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_history.c127 uint64_t firstread, reclen, phys_bof; local
132 firstread = MIN(sizeof (reclen), shpp->sh_phys_max_off - phys_bof);
134 if ((err = dmu_read(mos, spa->spa_history, phys_bof, firstread,
137 if (firstread != sizeof (reclen)) {
139 shpp->sh_pool_create_len, sizeof (reclen) - firstread,
140 buf + firstread, DMU_READ_PREFETCH)) != 0)
/freebsd-12-stable/sys/kern/
H A Dvfs_cluster.c179 off_t firstread = bp->b_offset; local
199 if (firstread + totread > filesize)
200 totread = filesize - firstread;

Completed in 131 milliseconds