Lines Matching refs:sector
40 * The absolute position of an entry in the recovery journal, including the sector number and the
41 * entry number within the sector.
737 struct packed_journal_sector *sector;
739 sector = get_sector(repair->completion.vdo->recovery_journal,
742 return vdo_unpack_recovery_journal_entry(§or->entries[point->entry_count]);
1316 * sector to the array of numbered mappings in the repair completion,
1319 * @entries: The entries in the sector.
1320 * @format: The format of the sector.
1380 struct packed_journal_sector *sector =
1385 if (vdo_is_valid_recovery_journal_sector(&header, sector, i)) {
1387 append_sector_entries(repair, (char *) sector->entries, format,
1389 sector->entry_count,
1394 * Even if the sector wasn't full, count it as full when counting up to the
1589 /* Examine each sector in turn to determine the last valid sector. */
1591 struct packed_journal_sector *sector =
1594 min_t(journal_entry_count_t, sector->entry_count,
1597 /* A bad sector means that this block was torn. */
1598 if (!vdo_is_valid_recovery_journal_sector(&header, sector, j))
1609 /* If this sector is short, the later sectors can't matter. */