Searched refs:lastpage (Results 1 – 2 of 2) sorted by relevance
/drivers/md/ |
D | bitmap.c | 1084 struct page *page = NULL, *lastpage = NULL; in bitmap_daemon_work() local 1111 if (page != lastpage) { in bitmap_daemon_work() 1128 if (lastpage != NULL) { in bitmap_daemon_work() 1129 if (test_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE)) { in bitmap_daemon_work() 1130 clear_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE); in bitmap_daemon_work() 1132 write_page(bitmap, lastpage, 0); in bitmap_daemon_work() 1134 set_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE); in bitmap_daemon_work() 1139 lastpage = page; in bitmap_daemon_work() 1187 if (lastpage != NULL) { in bitmap_daemon_work() 1189 if (test_page_attr(bitmap, lastpage, BITMAP_PAGE_NEEDWRITE)) { in bitmap_daemon_work() [all …]
|
/drivers/media/video/ |
D | mt9m111.c | 173 static int lastpage = -1; /* PageMap cache value */ in reg_page_map_set() local 176 if (page == lastpage) in reg_page_map_set() 183 lastpage = page; in reg_page_map_set()
|