Searched refs:dev_sector (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.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 | 773 sector_t dev_sector; in read_balance() local 791 dev_sector = r10_bio->devs[slot].addr; in read_balance() 792 if (is_badblock(rdev, dev_sector, sectors, in read_balance() 797 if (first_bad <= dev_sector) { in read_balance() 802 bad_sectors -= (dev_sector - first_bad); in read_balance() 809 first_bad - dev_sector; in read_balance() 1362 sector_t dev_sector = r10_bio->devs[i].addr; in wait_blocked_dev() local 1373 is_bad = is_badblock(rdev, dev_sector, r10_bio->sectors, in wait_blocked_dev() 1494 sector_t dev_sector = r10_bio->devs[i].addr; in raid10_write_request() local 1498 is_bad = is_badblock(rdev, dev_sector, max_sectors, in raid10_write_request() [all …]
|