Lines Matching refs:targ_entry
163 swp_entry_t targ_entry, in __swap_cache_add_check() argument
180 ci_off = swp_cluster_offset(targ_entry); in __swap_cache_add_check()
410 swp_entry_t targ_entry, gfp_t gfp, in __swap_cache_alloc() argument
423 entry.val = round_down(targ_entry.val, nr_pages); in __swap_cache_alloc()
427 err = __swap_cache_add_check(ci, targ_entry, nr_pages, NULL, NULL); in __swap_cache_alloc()
450 err = __swap_cache_add_check(ci, targ_entry, nr_pages, &shadow, &memcg_id); in __swap_cache_alloc()
514 struct folio *swap_cache_alloc_folio(swp_entry_t targ_entry, gfp_t gfp, in swap_cache_alloc_folio() argument
522 ci = __swap_entry_to_cluster(targ_entry); in swap_cache_alloc_folio()
530 ret = __swap_cache_alloc(ci, targ_entry, gfp, order, in swap_cache_alloc_folio()
915 static struct folio *swap_vma_readahead(swp_entry_t targ_entry, gfp_t gfp_mask, in swap_vma_readahead() argument
953 if (swp_type(entry) != swp_type(targ_entry)) { in swap_vma_readahead()
972 return swap_cache_read_folio_sync(targ_entry, gfp_mask, mpol, targ_ilx); in swap_vma_readahead()