Home
last modified time | relevance | path

Searched refs:rbytes (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c86 DWORD mode, rbytes; in readpassphrase()
111 success = ReadFile(hStdin, buf, (DWORD)bufsiz - 1, &rbytes, NULL); in readpassphrase()
115 buf[rbytes] = '\0'; in readpassphrase()
87 DWORD mode, rbytes; readpassphrase() local
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c55 char rops[6], wops[6], rbytes[6], wbytes[6], rerr[6], werr[6], cerr[6]; in show_vdev_stats() local
92 nicenum(vs->vs_bytes[ZIO_TYPE_READ] / sec, rbytes, in show_vdev_stats()
93 sizeof (rbytes)); in show_vdev_stats()
107 rops, wops, rbytes, wbytes, rerr, werr, cerr); in show_vdev_stats()
/freebsd/sys/dev/gve/
H A Dgve_sysctl.c66 &stats->rbytes, "Bytes received"); in gve_setup_rxq_sysctl()
307 uint64_t *rbytes, uint64_t *rx_dropped_pkt, uint64_t *tpackets, in gve_accum_stats() argument
317 *rbytes += counter_u64_fetch(rxqstats->rbytes); in gve_accum_stats()
H A Dgve_main.c327 uint64_t rbytes = 0; in gve_get_counter() local
334 gve_accum_stats(priv, &rpackets, &rbytes, &rx_dropped_pkt, &tpackets, in gve_get_counter()
345 return (rbytes); in gve_get_counter()
H A Dgve.h223 counter_u64_t rbytes; member
694 uint64_t *rbytes, uint64_t *rx_dropped_pkt, uint64_t *tpackets,
H A Dgve_rx.c611 counter_u64_add_protected(rx->stats.rbytes, ctx->total_size); in gve_rx()
H A Dgve_rx_dqo.c568 counter_u64_add_protected(rx->stats.rbytes, rx->ctx.total_size); in gve_rx_input_mbuf_dqo()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cab.c82 unsigned char rbytes[4]; member
1767 int64_t cbytes, rbytes; in cab_consume_cfdata() local
1770 rbytes = cab_minimum_consume_cfdata(a, consumed_bytes); in cab_consume_cfdata()
1771 if (rbytes < 0) in cab_consume_cfdata()
1775 while (rbytes > 0) { in cab_consume_cfdata()
1785 if (cbytes > rbytes) in cab_consume_cfdata()
1786 cbytes = rbytes; in cab_consume_cfdata()
1787 rbytes -= cbytes; in cab_consume_cfdata()
1809 rbytes = 0; in cab_consume_cfdata()
1860 int64_t cbytes, rbytes; in cab_minimum_consume_cfdata() local
[all …]
H A Darchive_string.c2067 size_t rbytes; in iconv_strncat_in_locale() local
2069 rbytes = sizeof(utf8_replacement_char); in iconv_strncat_in_locale()
2071 rbytes = 2; in iconv_strncat_in_locale()
2073 if (avail < rbytes) { in iconv_strncat_in_locale()
2076 (remaining * to_size) + rbytes; in iconv_strncat_in_locale()
2090 outp += rbytes; in iconv_strncat_in_locale()
2091 avail -= rbytes; in iconv_strncat_in_locale()
H A Darchive_read_support_format_7zip.c2962 header_bytes(struct archive_read *a, size_t rbytes) in header_bytes() argument
2967 if (zip->header_bytes_remaining < rbytes) in header_bytes()
2973 p = __archive_read_ahead(a, rbytes, NULL); in header_bytes()
2976 zip->header_bytes_remaining -= rbytes; in header_bytes()
2977 zip->pack_stream_bytes_unconsumed = rbytes; in header_bytes()
2982 bytes = read_stream(a, &buff, rbytes, rbytes); in header_bytes()
2990 zip->header_crc32 = crc32(zip->header_crc32, p, (unsigned)rbytes); in header_bytes()
/freebsd/usr.bin/gzip/
H A Dgzip.c1375 ssize_t rbytes; in file_uncompress() local
1408 rbytes = read(fd, fourbytes, sizeof fourbytes); in file_uncompress()
1409 if (rbytes != sizeof fourbytes) { in file_uncompress()
1413 if (rbytes == -1) in file_uncompress()
1419 infile_newdata(rbytes); in file_uncompress()
1443 rbytes = pread(fd, name, sizeof(name) - 1, GZIP_ORIGNAME); in file_uncompress()
1444 if (rbytes < 0) { in file_uncompress()
1452 name[rbytes] = '\0'; in file_uncompress()
1469 file, (int) rbytes, nf); in file_uncompress()
/freebsd/contrib/libarchive/libarchive/test/
H A Dmain.c2382 size_t rbytes; in copy_reference_file() local
2393 while ((rbytes = fread(buff, 1, sizeof(buff), in)) > 0) { in copy_reference_file()
2394 if (fwrite(buff, 1, rbytes, out) != rbytes) { in copy_reference_file()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_main.c3250 size_t rbytes; in copy_reference_file() local
3261 while ((rbytes = fread(buff, 1, sizeof(buff), in)) > 0) { in copy_reference_file()
3262 if (fwrite(buff, 1, rbytes, out) != rbytes) { in copy_reference_file()