Searched refs:dev_sector (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/md/ |
A D | dm-linear.c | 173 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_direct_access() local 175 dev_sector = linear_map_sector(ti, sector); in linear_dax_direct_access() 176 ret = bdev_dax_pgoff(bdev, dev_sector, nr_pages * PAGE_SIZE, &pgoff); in linear_dax_direct_access() 188 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_from_iter() local 190 dev_sector = linear_map_sector(ti, sector); in linear_dax_copy_from_iter() 191 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in linear_dax_copy_from_iter() 202 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_copy_to_iter() local 204 dev_sector = linear_map_sector(ti, sector); in linear_dax_copy_to_iter() 205 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in linear_dax_copy_to_iter() 217 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in linear_dax_zero_page_range() local [all …]
|
A D | dm-stripe.c | 307 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_direct_access() local 314 stripe_map_sector(sc, sector, &stripe, &dev_sector); in stripe_dax_direct_access() 315 dev_sector += sc->stripe[stripe].physical_start; in stripe_dax_direct_access() 328 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_copy_from_iter() local 334 stripe_map_sector(sc, sector, &stripe, &dev_sector); in stripe_dax_copy_from_iter() 335 dev_sector += sc->stripe[stripe].physical_start; in stripe_dax_copy_from_iter() 347 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_copy_to_iter() local 353 stripe_map_sector(sc, sector, &stripe, &dev_sector); in stripe_dax_copy_to_iter() 354 dev_sector += sc->stripe[stripe].physical_start; in stripe_dax_copy_to_iter() 367 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_zero_page_range() local [all …]
|
A D | raid10.c | 746 sector_t dev_sector; in read_balance() local 764 dev_sector = r10_bio->devs[slot].addr; in read_balance() 765 if (is_badblock(rdev, dev_sector, sectors, in read_balance() 770 if (first_bad <= dev_sector) { in read_balance() 775 bad_sectors -= (dev_sector - first_bad); in read_balance() 782 first_bad - dev_sector; in read_balance() 1308 sector_t dev_sector = r10_bio->devs[i].addr; in wait_blocked_dev() local 1435 sector_t dev_sector = r10_bio->devs[i].addr; in raid10_write_request() local 1441 if (is_bad && first_bad <= dev_sector) { in raid10_write_request() 1443 bad_sectors -= (dev_sector - first_bad); in raid10_write_request() [all …]
|
Completed in 12 milliseconds