Lines Matching refs:nr
14 static void fillmem(void *start, int nr) in fillmem() argument
16 memset(start, nr, CHUNKSIZE); in fillmem()
23 static int order(int nr) in order() argument
26 if (nr < 0 || nr >= NRCHUNKS) in order()
29 if (chunkorder[i] == nr) in order()
34 static void checkmem(void *buf, int nr) in checkmem() argument
37 unsigned char c = nr, *p = buf, differs = 0; in checkmem()
50 printf("Chunk %d corrupted (%u-%u) (%u-%u) \n", nr, start, end, in checkmem()
53 printf("Written as (%d)%d(%d)\n", order(nr-1), order(nr), order(nr+1)); in checkmem()
84 int nr = chunkorder[index]; in main() local
86 chunkorder[i] = nr; in main()