Lines Matching refs:page_private
205 return page_private(page) & BM_PAGE_IDX_MASK; in bm_page_to_idx()
214 void *addr = &page_private(b->bm_pages[page_nr]); in bm_page_lock_io()
221 void *addr = &page_private(b->bm_pages[page_nr]); in bm_page_unlock_io()
231 clear_bit(BM_PAGE_NEED_WRITEOUT, &page_private(page)); in bm_set_page_unchanged()
232 clear_bit(BM_PAGE_LAZY_WRITEOUT, &page_private(page)); in bm_set_page_unchanged()
237 set_bit(BM_PAGE_NEED_WRITEOUT, &page_private(page)); in bm_set_page_need_writeout()
265 if (!test_and_set_bit(BM_PAGE_HINT_WRITEOUT, &page_private(page))) in drbd_bm_mark_for_writeout()
271 volatile const unsigned long *addr = &page_private(page); in bm_test_page_unchanged()
277 set_bit(BM_PAGE_IO_ERROR, &page_private(page)); in bm_set_page_io_err()
282 clear_bit(BM_PAGE_IO_ERROR, &page_private(page)); in bm_clear_page_io_err()
287 set_bit(BM_PAGE_LAZY_WRITEOUT, &page_private(page)); in bm_set_page_lazy_writeout()
292 return test_bit(BM_PAGE_LAZY_WRITEOUT, &page_private(page)); in bm_test_page_lazy_writeout()
1100 &page_private(b->bm_pages[i]))) in bm_rw()