Home
last modified time | relevance | path

Searched refs:bytes_received (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/net/
H A Dfastboot.c51 static unsigned int bytes_received = 0; variable
332 if (fastboot_data_len == 0 && bytes_received == 0) { in fb_download()
343 } else if (fastboot_data_len == 0 && (bytes_received >= bytes_expected)) { in fb_download()
346 image_size = bytes_received; in fb_download()
347 bytes_expected = bytes_received = 0; in fb_download()
350 (bytes_received + fastboot_data_len) > bytes_expected) { in fb_download()
355 memcpy((void*)CONFIG_FASTBOOT_BUF_ADDR + bytes_received, fastboot_data, in fb_download()
357 bytes_received += fastboot_data_len; in fb_download()
/rk3399_rockchip-uboot/common/
H A Dlrz.c905 zi.bytes_received=0; in wcreceive()
977 bps=(zi.bytes_received-zi.bytes_skipped)/d; in wcreceive()
982 (long) zi.bytes_received, (long) zi.bytes_total, bps); in wcreceive()
987 shortname,protname(),zi.bytes_received, bps); in wcreceive()
1050 bps=(zi.bytes_received-zi.bytes_skipped)/d; in wcreceive()
1054 (long) zi.bytes_received, bps); in wcreceive()
1059 shortname,protname(),zi.bytes_received, bps); in wcreceive()
1155 zi->bytes_received+=Blklen; in wcrx()
1576 zi->bytes_received=0; in procheader()
1752 zi->bytes_received=zi->bytes_skipped; in procheader()
[all …]
H A Dzm.c542 zrdata(char *buf, int length, size_t *bytes_received) in zrdata() argument
549 *bytes_received=0; in zrdata()
551 return zrdat32(buf, length, bytes_received); in zrdata()
576 *bytes_received = length - (end - buf); in zrdata()
577 COUNT_BLK(*bytes_received); in zrdata()
578 VPRINTF(3,("zrdata: %lu %s", (unsigned long) (*bytes_received), in zrdata()
601 zrdat32(char *buf, int length, size_t *bytes_received) in zrdat32() argument
636 *bytes_received = length - (end - buf); in zrdat32()
637 COUNT_BLK(*bytes_received); in zrdat32()
638 VPRINTF(3,("zrdat32: %lu %s", (unsigned long) *bytes_received, in zrdat32()
H A Dzglobal.h347 size_t bytes_received; member
352 #define R_BYTESLEFT(x) ((x)->bytes_total-(x)->bytes_received)