Home
last modified time | relevance | path

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

/drivers/md/
Ddm-stats.c65 sector_t last_sector; member
205 last->last_sector = (sector_t)ULLONG_MAX; in dm_stats_init()
678 (bi_sector == (READ_ONCE(last->last_sector) && in dm_stats_account_io()
682 WRITE_ONCE(last->last_sector, end_sector); in dm_stats_account_io()
Draid5.c5682 sector_t logical_sector, last_sector; in make_discard_request() local
5691 last_sector = bio_end_sector(bi); in make_discard_request()
5699 sector_div(last_sector, stripe_sectors); in make_discard_request()
5702 last_sector *= conf->chunk_sectors; in make_discard_request()
5704 for (; logical_sector < last_sector; in make_discard_request()
5771 sector_t logical_sector, last_sector; in raid5_make_request() local
5816 last_sector = bio_end_sector(bi); in raid5_make_request()
5821 for (; logical_sector < last_sector; logical_sector += RAID5_STRIPE_SECTORS(conf)) { in raid5_make_request()
5956 sector_t first_sector, last_sector; in reshape_request() local
6147 last_sector = in reshape_request()
[all …]
Ddm-integrity.c3396 sector_t last_sector, last_area, last_offset; in calculate_device_limits() local
3412 last_sector = get_data_sector(ic, last_area, last_offset); in calculate_device_limits()
3413 if (last_sector < ic->start || last_sector >= ic->meta_device_sectors) in calculate_device_limits()