Lines Matching refs:pgdat
63 pg_data_t *pgdat = page_pgdat(page); in __page_cache_release() local
67 spin_lock_irqsave(&pgdat->lru_lock, flags); in __page_cache_release()
68 lruvec = mem_cgroup_page_lruvec(page, pgdat); in __page_cache_release()
72 spin_unlock_irqrestore(&pgdat->lru_lock, flags); in __page_cache_release()
195 struct pglist_data *pgdat = NULL; in pagevec_lru_move_fn() local
203 if (pagepgdat != pgdat) { in pagevec_lru_move_fn()
204 if (pgdat) in pagevec_lru_move_fn()
205 spin_unlock_irqrestore(&pgdat->lru_lock, flags); in pagevec_lru_move_fn()
206 pgdat = pagepgdat; in pagevec_lru_move_fn()
207 spin_lock_irqsave(&pgdat->lru_lock, flags); in pagevec_lru_move_fn()
210 lruvec = mem_cgroup_page_lruvec(page, pgdat); in pagevec_lru_move_fn()
213 if (pgdat) in pagevec_lru_move_fn()
214 spin_unlock_irqrestore(&pgdat->lru_lock, flags); in pagevec_lru_move_fn()
327 pg_data_t *pgdat = page_pgdat(page); in activate_page() local
330 spin_lock_irq(&pgdat->lru_lock); in activate_page()
331 __activate_page(page, mem_cgroup_page_lruvec(page, pgdat), NULL); in activate_page()
332 spin_unlock_irq(&pgdat->lru_lock); in activate_page()
815 struct pglist_data *pgdat = page_pgdat(page); in release_pages() local
817 if (pgdat != locked_pgdat) { in release_pages()
822 locked_pgdat = pgdat; in release_pages()