Lines Matching refs:entry
299 int free_swap_slot(swp_entry_t entry) in free_swap_slot() argument
305 trace_android_rvh_free_swap_slot(entry, cache, &skip); in free_swap_slot()
306 trace_android_vh_free_swap_slot(entry, cache, &skip); in free_swap_slot()
326 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot()
330 swapcache_free_entries(&entry, 1); in free_swap_slot()
338 swp_entry_t entry; in get_swap_page() local
341 entry.val = 0; in get_swap_page()
343 trace_android_rvh_get_swap_page(page, &entry, raw_cpu_ptr(&swp_slots), &found); in get_swap_page()
344 trace_android_vh_get_swap_page(page, &entry, raw_cpu_ptr(&swp_slots), &found); in get_swap_page()
350 get_swap_pages(1, &entry, HPAGE_PMD_NR); in get_swap_page()
370 entry = cache->slots[cache->cur]; in get_swap_page()
378 if (entry.val) in get_swap_page()
382 get_swap_pages(1, &entry, 1); in get_swap_page()
384 if (mem_cgroup_try_charge_swap(page, entry)) { in get_swap_page()
385 put_swap_page(page, entry); in get_swap_page()
386 entry.val = 0; in get_swap_page()
388 return entry; in get_swap_page()