Lines Matching refs:address_space
39 struct address_space *swapper_spaces[MAX_SWAPFILES] __read_mostly;
75 struct address_space *spaces; in total_swapcache_pages()
116 struct address_space *address_space = swap_address_space(entry); in add_to_swap_cache() local
118 XA_STATE_ORDER(xas, &address_space->i_pages, idx, compound_order(page)); in add_to_swap_cache()
139 address_space->nrpages += nr; in add_to_swap_cache()
160 struct address_space *address_space = swap_address_space(entry); in __delete_from_swap_cache() local
163 XA_STATE(xas, &address_space->i_pages, idx); in __delete_from_swap_cache()
176 address_space->nrpages -= nr; in __delete_from_swap_cache()
247 struct address_space *address_space = swap_address_space(entry); in delete_from_swap_cache() local
249 xa_lock_irq(&address_space->i_pages); in delete_from_swap_cache()
251 xa_unlock_irq(&address_space->i_pages); in delete_from_swap_cache()
599 struct address_space *spaces, *space; in init_swap_address_space()
603 spaces = kvcalloc(nr, sizeof(struct address_space), GFP_KERNEL); in init_swap_address_space()