Home
last modified time | relevance | path

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

/dragonfly/bin/cpdup/
H A Dcpdup.c656 char *iobuf1 = malloc(GETIOSIZE); in validate_check() local
659 while ((n = hc_read(&SrcHost, fd1, iobuf1, GETIOSIZE)) > 0) { in validate_check()
666 if (bcmp(iobuf1, iobuf2, n) != 0) in validate_check()
669 free(iobuf1); in validate_check()
1132 char *iobuf1 = malloc(GETIOSIZE); in DoCopy() local
1139 while ((n = hc_read(&SrcHost, fd1, iobuf1, GETIOSIZE)) > 0) { in DoCopy()
1141 if (hc_write(&DstHost, fd2, iobuf1, n) != n) in DoCopy()
1196 free(iobuf1); in DoCopy()