Lines Matching refs:buf
110 uint8_t buf[256*1024];
117 memset(buf, 0, sizeof(buf));
119 while ((len = m5_read_file(buf, sizeof(buf), offset)) > 0) {
120 uint8_t *base = buf;
152 char buf[256*1024];
157 memset(buf, 0, sizeof(buf));
159 while ((len = read(src_fid, buf, sizeof(buf))) > 0) {
160 bytes += m5_write_file(buf, len, offset, host_filename);