Lines Matching refs:ps
890 static int page_action(struct page_state *ps, struct page *p, in page_action() argument
896 result = ps->action(p, pfn); in page_action()
899 if (ps->action == me_swapcache_dirty && result == DELAYED) in page_action()
904 pfn, action_page_types[ps->type], count); in page_action()
907 action_result(pfn, ps->type, result); in page_action()
1101 struct page_state *ps; in memory_failure() local
1305 for (ps = error_states;; ps++) in memory_failure()
1306 if ((p->flags & ps->mask) == ps->res) in memory_failure()
1311 if (!ps->mask) in memory_failure()
1312 for (ps = error_states;; ps++) in memory_failure()
1313 if ((page_flags & ps->mask) == ps->res) in memory_failure()
1315 res = page_action(ps, p, pfn); in memory_failure()