• Home
  • Raw
  • Download

Lines Matching refs:got

329 	long got;  in do_read()  local
347 got = read (dev, buffer, try * block_size); in do_read()
350 if (got < 0) in do_read()
351 got = 0; in do_read()
352 if (got & 511) in do_read()
353 fprintf(stderr, _("Weird value (%ld) in do_read\n"), got); in do_read()
354 got /= block_size; in do_read()
355 if (d_flag && got == try) { in do_read()
391 return got; in do_read()
401 long got; in do_write() local
414 got = write (dev, buffer, try * block_size); in do_write()
415 if (got < 0) in do_write()
416 got = 0; in do_write()
417 if (got & 511) in do_write()
418 fprintf(stderr, "Weird value (%ld) in do_write\n", got); in do_write()
419 got /= block_size; in do_write()
420 return got; in do_write()
440 int got; in test_ro() local
506 got = do_read (dev, blkbuf, try, block_size, currently_testing); in test_ro()
511 for (i = 0; i < got; ++i) in test_ro()
517 currently_testing += got; in test_ro()
518 if (got == try) { in test_ro()
530 if (got == 0) { in test_ro()
556 int i, try, got, nr_pattern, pat_idx; in test_rw() local
604 got = do_write(dev, buffer, try, block_size, in test_rw()
609 currently_testing += got; in test_rw()
610 if (got == try) { in test_rw()
622 if (got == 0) { in test_rw()
649 got = do_read (dev, read_buffer, try, block_size, in test_rw()
651 if (got == 0) { in test_rw()
655 for (i=0; i < got; i++) { in test_rw()
661 currently_testing += got; in test_rw()
700 int got, used2, written; in test_nd() local
791 got = try = blocks_at_once - buf_used; in test_nd()
804 got = do_read (dev, save_ptr, try, block_size, in test_nd()
806 if (got == 0) { in test_nd()
817 test_record[num_saved].num = got; in test_nd()
821 written = do_write (dev, test_ptr, got, block_size, in test_nd()
823 if (written != got) in test_nd()
829 buf_used += got; in test_nd()
830 save_ptr += got * block_size; in test_nd()
831 test_ptr += got * block_size; in test_nd()
832 currently_testing += got; in test_nd()
833 if (got != try) in test_nd()
874 got = do_read (dev, read_ptr, try, in test_nd()
879 for (i = 0; i < got; ++i) in test_nd()
883 if (got < try) { in test_nd()
884 bb_count += bb_output(currently_testing + got); in test_nd()
885 got++; in test_nd()
889 do_write (dev, save_ptr, got, in test_nd()
891 save_ptr += got * block_size; in test_nd()
893 currently_testing += got; in test_nd()
894 test_ptr += got * block_size; in test_nd()
895 read_ptr += got * block_size; in test_nd()
896 try -= got; in test_nd()