Lines Matching refs:pattern
578 vu_long pattern; in mem_test_alt() local
675 pattern = (vu_long) 0xaaaaaaaa; in mem_test_alt()
684 addr[offset] = pattern; in mem_test_alt()
694 if (temp != pattern) { in mem_test_alt()
698 pattern, temp); in mem_test_alt()
704 addr[test_offset] = pattern; in mem_test_alt()
715 if ((temp != pattern) && (offset != test_offset)) { in mem_test_alt()
720 pattern, temp); in mem_test_alt()
726 addr[test_offset] = pattern; in mem_test_alt()
746 for (pattern = 1, offset = 0; offset < num_words; pattern++, offset++) { in mem_test_alt()
748 addr[offset] = pattern; in mem_test_alt()
754 for (pattern = 1, offset = 0; offset < num_words; pattern++, offset++) { in mem_test_alt()
757 if (temp != pattern) { in mem_test_alt()
761 pattern, temp); in mem_test_alt()
767 anti_pattern = ~pattern; in mem_test_alt()
774 for (pattern = 1, offset = 0; offset < num_words; pattern++, offset++) { in mem_test_alt()
776 anti_pattern = ~pattern; in mem_test_alt()
794 vu_long pattern, int iteration) in mem_test_quick() argument
812 if (pattern & 0x80000000) in mem_test_quick()
813 pattern = -pattern; /* complement & increment */ in mem_test_quick()
815 pattern = ~pattern; in mem_test_quick()
822 pattern, ""); in mem_test_quick()
824 for (addr = buf, val = pattern; addr < end; addr++) { in mem_test_quick()
832 for (addr = buf, val = pattern; addr < end; addr++) { in mem_test_quick()
865 ulong pattern = 0; in do_mem_mtest() local
885 if (strict_strtoul(argv[3], 16, &pattern) < 0) in do_mem_mtest()
916 errs = mem_test_quick(buf, start, end, pattern, in do_mem_mtest()