Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-stats.c65 sector_t last_sector; member
202 last->last_sector = (sector_t)ULLONG_MAX; in dm_stats_init()
676 (bi_sector == (READ_ONCE(last->last_sector) && in dm_stats_account_io()
680 WRITE_ONCE(last->last_sector, end_sector); in dm_stats_account_io()
Draid5.c774 sector_t last_sector; member
5791 sector_t logical_sector, last_sector; in make_discard_request() local
5804 last_sector = bio_end_sector(bi); in make_discard_request()
5812 sector_div(last_sector, stripe_sectors); in make_discard_request()
5815 last_sector *= conf->chunk_sectors; in make_discard_request()
5817 for (; logical_sector < last_sector; in make_discard_request()
5936 dev->sector >= ctx->last_sector) in add_all_stripe_bios()
5956 dev->sector >= ctx->last_sector) in add_all_stripe_bios()
6131 ctx.last_sector = bio_end_sector(bi); in raid5_make_request()
6134 stripe_cnt = DIV_ROUND_UP_SECTOR_T(ctx.last_sector - logical_sector, in raid5_make_request()
[all …]
Ddm-integrity.c3412 sector_t last_sector, last_area, last_offset; in calculate_device_limits() local
3428 last_sector = get_data_sector(ic, last_area, last_offset); in calculate_device_limits()
3429 if (last_sector < ic->start || last_sector >= ic->meta_device_sectors) in calculate_device_limits()