Home | History | Annotate | Download | only in dumpstate

Lines Matching refs:bytes_read

448             ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer)));
449 if (bytes_read > 0) {
450 fwrite(buffer, bytes_read, 1, stdout);
451 newline = (buffer[bytes_read-1] == '\n');
453 if (bytes_read == -1) {
490 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer)));
491 if (bytes_read == -1) {
495 if (bytes_read == 0) {
1257 ssize_t bytes_read;
1277 bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer)));
1279 if (bytes_read < 0) {
1283 if (bytes_read < (ssize_t)(EXT_CSD_REV * sizeof(struct hex))) {
1284 printf("*** %s: truncated content %zd\n\n", ext_csd_path, bytes_read);
1305 if (bytes_read < (ssize_t)(EXT_PRE_EOL_INFO * sizeof(struct hex))) {
1306 printf("*** %s: truncated content %zd\n\n", ext_csd_path, bytes_read);
1341 if (bytes_read < (ssize_t)(lifetime * sizeof(struct hex))) {
1342 printf("*** %s: truncated content %zd\n", ext_csd_path, bytes_read);