Lines Matching refs:version
25 * versions are compared. If the mirror has a greater version number
37 * The table is marked in the oob area with an ident pattern and a version
363 /* Read the primary version, if available */
367 td->version[0] = buf[mtd->writesize + td->veroffs];
368 printk(KERN_DEBUG "Bad block table at page %d, version 0x%02X\n",
369 td->pages[0], td->version[0]);
372 /* Read the mirror version, if available */
376 md->version[0] = buf[mtd->writesize + md->veroffs];
377 printk(KERN_DEBUG "Bad block table at page %d, version 0x%02X\n",
378 md->pages[0], md->version[0]);
572 /* Reset version information */
573 td->version[i] = 0;
586 td->version[i] = buf[mtd->writesize + td->veroffs];
598 printk(KERN_DEBUG "Bad block table found at page %d, version 0x%02X\n",
599 td->pages[i], td->version[i]);
678 /* There was already a version of the table, reuse the page
786 buf[ooboffs + td->veroffs] = td->version[chip];
813 printk(KERN_DEBUG "Bad block table written to 0x%08x, version "
814 "0x%02X\n", (unsigned int)to, td->version[chip]);
853 * version nr. of one table is less than the other
884 td->version[i] = md->version[i];
891 md->version[i] = td->version[i];
896 if (td->version[i] == md->version[i]) {
903 if (((int8_t) (td->version[i] - md->version[i])) > 0) {
905 md->version[i] = td->version[i];
909 td->version[i] = md->version[i];
931 td->version[i] = 1;
933 md->version[i] = 1;
1134 td->version[chip]++;
1136 md->version[chip]++;