Lines Matching refs:pattern
75 ret = memcmp(buf, td->pattern, td->len); in check_pattern_no_oob()
113 if (p[i] != td->pattern[i]) in check_pattern()
134 if (p[i] != td->pattern[i]) in check_pattern()
167 if (p[td->offs + i] != td->pattern[i]) in check_short_pattern()
173 if (p[NAND_SMALL_BADBLOCK_POS + i] != td->pattern[i]) in check_short_pattern()
841 memcpy(buf, td->pattern, td->len); in write_bbt()
853 memcpy(&buf[ooboffs + td->offs], td->pattern, td->len); in write_bbt()
1283 .pattern = scan_ff_pattern
1290 .pattern = scan_ff_pattern
1299 .pattern = scan_agand_pattern
1314 .pattern = bbt_pattern
1324 .pattern = mirror_pattern
1334 .pattern = bbt_pattern
1344 .pattern = mirror_pattern
1378 bd->pattern = scan_ff_pattern; in nand_create_default_bbt_descr()