Lines Matching full:n

31 				printf("\nno %s devices available\n", if_name);  in blk_common_cmd()
37 printf("\nno %s devices available\n", if_name); in blk_common_cmd()
47 printf("... is now current device\n"); in blk_common_cmd()
56 printf("\n%s device %d not available\n", in blk_common_cmd()
69 ulong n; in blk_common_cmd() local
71 printf("\n%s read: device %d block # "LBAFU", count %lu ... ", in blk_common_cmd()
74 n = blk_read_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd()
77 printf("%ld blocks read: %s\n", n, in blk_common_cmd()
78 n == cnt ? "OK" : "ERROR"); in blk_common_cmd()
79 return n == cnt ? 0 : 1; in blk_common_cmd()
84 ulong n; in blk_common_cmd() local
86 printf("\n%s write: device %d block # "LBAFU", count %lu ... ", in blk_common_cmd()
89 n = blk_write_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd()
92 printf("%ld blocks written: %s\n", n, in blk_common_cmd()
93 n == cnt ? "OK" : "ERROR"); in blk_common_cmd()
94 return n == cnt ? 0 : 1; in blk_common_cmd()
98 ulong n; in blk_common_cmd() local
100 printf("\n%s write_zeroes: device %d block # "LBAFU", count %lu ... ", in blk_common_cmd()
103 n = blk_write_zeroes_devnum(if_type, *cur_devnump, blk, cnt); in blk_common_cmd()
105 printf("%ld blocks written: %s\n", n, in blk_common_cmd()
106 n == cnt ? "OK" : "ERROR"); in blk_common_cmd()
107 return n == cnt ? 0 : 1; in blk_common_cmd()
111 ulong n; in blk_common_cmd() local
113 printf("\n%s erase: device %d block # "LBAFU", count %lu ... ", in blk_common_cmd()
116 n = blk_erase_devnum(if_type, *cur_devnump, blk, cnt); in blk_common_cmd()
118 printf("%ld blocks erased: %s\n", n, in blk_common_cmd()
119 n == cnt ? "OK" : "ERROR"); in blk_common_cmd()
120 return n == cnt ? 0 : 1; in blk_common_cmd()