Home
last modified time | relevance | path

Searched refs:swap_space (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/ttm/
H A Dttm_tt.c228 struct address_space *swap_space; in ttm_tt_swapin() local
238 swap_space = swap_storage->f_mapping; in ttm_tt_swapin()
239 gfp_mask = mapping_gfp_mask(swap_space); in ttm_tt_swapin()
242 from_page = shmem_read_mapping_page_gfp(swap_space, i, in ttm_tt_swapin()
326 struct address_space *swap_space; in ttm_tt_swapout() local
338 swap_space = swap_storage->f_mapping; in ttm_tt_swapout()
339 gfp_flags &= mapping_gfp_mask(swap_space); in ttm_tt_swapout()
346 to_page = shmem_read_mapping_page_gfp(swap_space, i, gfp_flags); in ttm_tt_swapout()
/linux/mm/
H A Dswap.h228 extern struct address_space swap_space __read_mostly;
231 return &swap_space; in swap_address_space()
H A Dswap_state.c40 struct address_space swap_space __read_mostly = {
974 mapping_set_no_writeback_tags(&swap_space); in swap_init()