Lines Matching defs:sec_idx
530 unsigned int sec_idx = CHECKSUM_SEC_IDX;
537 sec_idx += BACKUP_BOOT_SEC_IDX;
542 ret = exfat_write_sector(bd, checksum_buf, sec_idx);
588 int ret, sec_idx, backup_sec_idx = 0;
600 for (sec_idx = BOOT_SEC_IDX; sec_idx < CHECKSUM_SEC_IDX; sec_idx++) {
603 ret = exfat_read_sector(bd, buf, sec_idx + backup_sec_idx);
605 exfat_err("sector(%d) read failed\n", sec_idx);
610 if (sec_idx == BOOT_SEC_IDX)