Home
last modified time | relevance | path

Searched refs:JOURNAL_BLOCK_SECTORS (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-integrity.c120 #define JOURNAL_BLOCK_SECTORS 8 macro
122 #define JOURNAL_MAC_SIZE (JOURNAL_MAC_PER_SECTOR * JOURNAL_BLOCK_SECTORS)
772 rel_sector = n % JOURNAL_BLOCK_SECTORS; in access_journal_entry()
773 offset = n / JOURNAL_BLOCK_SECTORS; in access_journal_entry()
783 n += JOURNAL_BLOCK_SECTORS; in access_journal_data()
870 for (j = 0; j < JOURNAL_BLOCK_SECTORS; j++) { in rw_section_mac()
1187 sector = section * ic->journal_section_sectors + JOURNAL_BLOCK_SECTORS + offset; in copy_from_journal()
3521 ic->journal_section_entries = ic->journal_entries_per_sector * JOURNAL_BLOCK_SECTORS; in calculate_journal_section_size()
3522 …_sectors = (ic->journal_section_entries << ic->sb->log2_sectors_per_block) + JOURNAL_BLOCK_SECTORS; in calculate_journal_section_size()