Searched refs:dev_sector (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/md/ |
D | dm-stripe.c | 305 sector_t dev_sector; in stripe_dax_pgoff() local 308 stripe_map_sector(sc, *pgoff * PAGE_SECTORS, &stripe, &dev_sector); in stripe_dax_pgoff() 309 dev_sector += sc->stripe[stripe].physical_start; in stripe_dax_pgoff() 312 *pgoff = (get_start_sect(bdev) + dev_sector) >> PAGE_SECTORS_SHIFT; in stripe_dax_pgoff()
|
D | raid10.c | 771 sector_t dev_sector; in read_balance() local 797 dev_sector = r10_bio->devs[slot].addr; in read_balance() 798 if (is_badblock(rdev, dev_sector, sectors, in read_balance() 803 if (first_bad <= dev_sector) { in read_balance() 808 bad_sectors -= (dev_sector - first_bad); in read_balance() 815 first_bad - dev_sector; in read_balance() 1369 sector_t dev_sector = r10_bio->devs[i].addr; in wait_blocked_dev() local 1380 is_bad = is_badblock(rdev, dev_sector, r10_bio->sectors, in wait_blocked_dev() 1499 sector_t dev_sector = r10_bio->devs[i].addr; in raid10_write_request() local 1503 is_bad = is_badblock(rdev, dev_sector, max_sectors, in raid10_write_request() [all …]
|