Lines Matching refs:i
139 int i; in badblocks_update_acked() local
145 for (i = 0; i < bb->count ; i++) { in badblocks_update_acked()
146 if (!BB_ACK(p[i])) { in badblocks_update_acked()
450 int i; in ack_all_badblocks() local
452 for (i = 0; i < bb->count ; i++) { in ack_all_badblocks()
453 if (!BB_ACK(p[i])) { in ack_all_badblocks()
454 sector_t start = BB_OFFSET(p[i]); in ack_all_badblocks()
455 int len = BB_LEN(p[i]); in ack_all_badblocks()
457 p[i] = BB_MAKE(start, len, 1); in ack_all_badblocks()
478 int i; in badblocks_show() local
489 i = 0; in badblocks_show()
491 while (len < PAGE_SIZE && i < bb->count) { in badblocks_show()
492 sector_t s = BB_OFFSET(p[i]); in badblocks_show()
493 unsigned int length = BB_LEN(p[i]); in badblocks_show()
494 int ack = BB_ACK(p[i]); in badblocks_show()
496 i++; in badblocks_show()