Lines Matching refs:bytes_read
340 s64 bytes_read, written;
367 bytes_read = ntfs_attr_mst_pread(attr, offset, 1, block_size, buffer);
368 if (bytes_read > 0)
369 bytes_read *= block_size;
371 bytes_read = ntfs_attr_pread(attr, offset, bufsize, buffer);
373 //ntfs_log_info("read %lld bytes\n", bytes_read);
374 if (bytes_read == -1) {
378 if (!bytes_read)
381 written = fwrite(buffer, 1, bytes_read, stdout);
382 if (written != bytes_read) {
386 offset += bytes_read;