Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-stats.c65 sector_t last_sector; member
208 last->last_sector = (sector_t)ULLONG_MAX; in dm_stats_init()
695 (bi_sector == (READ_ONCE(last->last_sector) && in dm_stats_account_io()
699 WRITE_ONCE(last->last_sector, end_sector); in dm_stats_account_io()
H A Draid5.c774 sector_t last_sector; member
5722 sector_t logical_sector, last_sector; in make_discard_request() local
5735 last_sector = bio_end_sector(bi); in make_discard_request()
5743 sector_div(last_sector, stripe_sectors); in make_discard_request()
5746 last_sector *= conf->chunk_sectors; in make_discard_request()
5748 for (; logical_sector < last_sector; in make_discard_request()
5862 dev->sector >= ctx->last_sector) in add_all_stripe_bios()
5887 dev->sector >= ctx->last_sector) in add_all_stripe_bios()
6119 ctx.last_sector = bio_end_sector(bi); in raid5_make_request()
6122 stripe_cnt = DIV_ROUND_UP_SECTOR_T(ctx.last_sector - logical_sector, in raid5_make_request()
[all …]