Lines Matching refs:next_sector
1342 static unsigned find_journal_node(struct dm_integrity_c *ic, sector_t sector, sector_t *next_sector) in find_journal_node() argument
1346 *next_sector = (sector_t)-1; in find_journal_node()
1353 *next_sector = j->sector; in find_journal_node()
2182 sector_t next_sector; in dm_integrity_map_continue() local
2183 journal_read_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue()
2185 if (unlikely(dio->range.n_sectors > next_sector - dio->range.logical_sector)) in dm_integrity_map_continue()
2186 dio->range.n_sectors = next_sector - dio->range.logical_sector; in dm_integrity_map_continue()
2220 sector_t next_sector; in dm_integrity_map_continue() local
2221 unsigned new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue()
2229 sector_t next_sector; in dm_integrity_map_continue() local
2230 unsigned new_pos = find_journal_node(ic, dio->range.logical_sector, &next_sector); in dm_integrity_map_continue()
2232 unlikely(next_sector < dio->range.logical_sector - dio->range.n_sectors)) { in dm_integrity_map_continue()