Searched refs:dev_sector (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-stripe.c | 306 sector_t dev_sector; in stripe_dax_pgoff() local 309 stripe_map_sector(sc, *pgoff * PAGE_SECTORS, &stripe, &dev_sector); in stripe_dax_pgoff() 310 dev_sector += sc->stripe[stripe].physical_start; in stripe_dax_pgoff() 313 *pgoff = (get_start_sect(bdev) + dev_sector) >> PAGE_SECTORS_SHIFT; in stripe_dax_pgoff()
|
D | raid10.c | 756 sector_t dev_sector; in read_balance() local 775 dev_sector = r10_bio->devs[slot].addr; in read_balance() 776 if (is_badblock(rdev, dev_sector, sectors, in read_balance() 781 if (first_bad <= dev_sector) { in read_balance() 786 bad_sectors -= (dev_sector - first_bad); in read_balance() 793 first_bad - dev_sector; in read_balance() 1311 sector_t dev_sector = r10_bio->devs[i].addr; in wait_blocked_dev() local 1320 if (rdev_has_badblock(rdev, dev_sector, in wait_blocked_dev() 1439 sector_t dev_sector = r10_bio->devs[i].addr; in raid10_write_request() local 1443 is_bad = is_badblock(rdev, dev_sector, max_sectors, in raid10_write_request() [all …]
|