Searched refs:swap_space (Results 1 – 3 of 3) sorted by relevance
228 struct address_space *swap_space; in ttm_tt_swapin() local238 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() local338 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()
228 extern struct address_space swap_space __read_mostly;231 return &swap_space; in swap_address_space()
40 struct address_space swap_space __read_mostly = {974 mapping_set_no_writeback_tags(&swap_space); in swap_init()