Searched refs:sec_idx (Results 1 – 2 of 2) sorted by relevance
/third_party/exfatprogs/lib/ |
D | libexfat.c | 507 unsigned int sec_idx = CHECKSUM_SEC_IDX; in exfat_write_checksum_sector() local 514 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_checksum_sector() 519 ret = exfat_write_sector(bd, checksum_buf, sec_idx); in exfat_write_checksum_sector() 559 int ret, sec_idx, backup_sec_idx = 0; in exfat_update_boot_checksum() local 571 for (sec_idx = BOOT_SEC_IDX; sec_idx < CHECKSUM_SEC_IDX; sec_idx++) { in exfat_update_boot_checksum() 574 ret = exfat_read_sector(bd, buf, sec_idx + backup_sec_idx); in exfat_update_boot_checksum() 576 exfat_err("sector(%d) read failed\n", sec_idx); in exfat_update_boot_checksum() 581 if (sec_idx == BOOT_SEC_IDX) in exfat_update_boot_checksum()
|
/third_party/exfatprogs/mkfs/ |
D | mkfs.c | 107 unsigned int sec_idx = BOOT_SEC_IDX; in exfat_write_boot_sector() local 111 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_boot_sector() 123 ret = exfat_write_sector(bd, ppbr, sec_idx); in exfat_write_boot_sector() 145 unsigned int sec_idx = EXBOOT_SEC_IDX; in exfat_write_extended_boot_sectors() local 152 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_extended_boot_sectors() 158 if (exfat_write_sector(bd, peb, sec_idx++)) { in exfat_write_extended_boot_sectors() 178 unsigned int sec_idx = OEM_SEC_IDX; in exfat_write_oem_sector() local 185 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_oem_sector() 188 ret = exfat_write_sector(bd, oem, sec_idx); in exfat_write_oem_sector() 200 ret = exfat_write_sector(bd, oem, sec_idx + 1); in exfat_write_oem_sector()
|