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()
95 bio->bi_iter.bi_size = i * PAGE_SIZE; in __bdev_writeseg()
103 ofs += i * PAGE_SIZE; in __bdev_writeseg()
114 bio->bi_io_vec[i].bv_len = PAGE_SIZE; in __bdev_writeseg()
122 bio->bi_iter.bi_size = nr_pages * PAGE_SIZE; in __bdev_writeseg()
146 head = ofs & (PAGE_SIZE - 1); in bdev_writeseg()
187 bio->bi_iter.bi_size = i * PAGE_SIZE; in do_erase()
195 ofs += i * PAGE_SIZE; in do_erase()
204 bio->bi_io_vec[i].bv_len = PAGE_SIZE; in do_erase()
208 bio->bi_iter.bi_size = nr_pages * PAGE_SIZE; in do_erase()
223 BUG_ON(to & (PAGE_SIZE - 1)); in bdev_erase()
224 BUG_ON(len & (PAGE_SIZE - 1)); in bdev_erase()