Lines Matching refs:PAGE_SIZE
15 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1))
26 bio_vec.bv_len = PAGE_SIZE; in sync_request()
30 bio.bi_iter.bi_sector = page->index * (PAGE_SIZE >> 9); in sync_request()
31 bio.bi_iter.bi_size = PAGE_SIZE; in sync_request()
93 bio->bi_iter.bi_size = i * PAGE_SIZE; in __bdev_writeseg()
101 ofs += i * PAGE_SIZE; in __bdev_writeseg()
112 bio->bi_io_vec[i].bv_len = PAGE_SIZE; in __bdev_writeseg()
120 bio->bi_iter.bi_size = nr_pages * PAGE_SIZE; in __bdev_writeseg()
144 head = ofs & (PAGE_SIZE - 1); in bdev_writeseg()
183 bio->bi_iter.bi_size = i * PAGE_SIZE; in do_erase()
191 ofs += i * PAGE_SIZE; in do_erase()
200 bio->bi_io_vec[i].bv_len = PAGE_SIZE; in do_erase()
204 bio->bi_iter.bi_size = nr_pages * PAGE_SIZE; in do_erase()
219 BUG_ON(to & (PAGE_SIZE - 1)); in bdev_erase()
220 BUG_ON(len & (PAGE_SIZE - 1)); in bdev_erase()