Lines Matching defs:bytes_read
133 befs_off_t bytes_read = 0; /* bytes readed */
139 while (bytes_read < len) {
140 bh = befs_read_datastream(sb, ds, bytes_read, NULL);
143 "starting from %llu", bytes_read);
145 return bytes_read;
148 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ?
149 BEFS_SB(sb)->block_size : len - bytes_read;
150 memcpy(buff + bytes_read, bh->b_data, plen);
152 bytes_read += plen;
156 bytes_read);
157 return bytes_read;