Lines Matching defs:bytes_read
3663 zpool_history_unpack(char *buf, uint64_t bytes_read, uint64_t *leftover,
3670 while (bytes_read > sizeof (reclen)) {
3676 if (bytes_read < sizeof (reclen) + reclen)
3682 bytes_read -= sizeof (reclen) + reclen;
3694 *leftover = bytes_read;
3715 uint64_t bytes_read = buflen;
3718 if ((err = get_history(zhp, buf, &off, &bytes_read)) != 0)
3722 if (!bytes_read)
3725 if ((err = zpool_history_unpack(buf, bytes_read,
3729 if (leftover == bytes_read) {