Lines Matching refs:dev_sector
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()
319 ret = bdev_dax_pgoff(bdev, dev_sector, nr_pages * PAGE_SIZE, &pgoff); 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()
339 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) 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()
358 if (bdev_dax_pgoff(bdev, dev_sector, ALIGN(bytes, PAGE_SIZE), &pgoff)) in stripe_dax_copy_to_iter()
367 sector_t dev_sector, sector = pgoff * PAGE_SECTORS; in stripe_dax_zero_page_range() local
373 stripe_map_sector(sc, sector, &stripe, &dev_sector); in stripe_dax_zero_page_range()
374 dev_sector += sc->stripe[stripe].physical_start; in stripe_dax_zero_page_range()
378 ret = bdev_dax_pgoff(bdev, dev_sector, nr_pages << PAGE_SHIFT, &pgoff); in stripe_dax_zero_page_range()