Searched refs:txlen (Results 1 – 1 of 1) sorted by relevance
40 static int upload(int s, int txfd, size_t txlen, int do_endian_swap) { in upload() argument44 char *buf = malloc(txlen); in upload()48 if (readx(txfd, buf, txlen)) { in upload()57 for (i = 0; i < txlen; i += 4) { in upload()69 while (pos < txlen) { in upload()70 size_t xfer = (txlen - pos > 65536) ? 65536 : txlen - pos; in upload()184 off_t txlen = 0; in lkboot_txn() local192 txlen = lseek(txfd, 0, SEEK_END); in lkboot_txn()193 if (txlen > (512*1024*1024)) { in lkboot_txn()204 txlen = trim_fpga_image(txfd, txlen); in lkboot_txn()[all …]
Completed in 3 milliseconds