• Home
  • Raw
  • Download

Lines Matching refs:type

127 			set_bit(si->type, a);  in frontswap_register_ops()
149 set_bit(si->type, b); in frontswap_register_ops()
191 void __frontswap_init(unsigned type, unsigned long *map) in __frontswap_init() argument
193 struct swap_info_struct *sis = swap_info[type]; in __frontswap_init()
212 ops->init(type); in __frontswap_init()
250 int type = swp_type(entry); in __frontswap_store() local
251 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store()
268 ops->invalidate_page(type, offset); in __frontswap_store()
273 ret = ops->store(type, offset, page); in __frontswap_store()
299 int type = swp_type(entry); in __frontswap_load() local
300 struct swap_info_struct *sis = swap_info[type]; in __frontswap_load()
313 ret = ops->load(type, offset, page); in __frontswap_load()
332 void __frontswap_invalidate_page(unsigned type, pgoff_t offset) in __frontswap_invalidate_page() argument
334 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_page()
344 ops->invalidate_page(type, offset); in __frontswap_invalidate_page()
354 void __frontswap_invalidate_area(unsigned type) in __frontswap_invalidate_area() argument
356 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_area()
366 ops->invalidate_area(type); in __frontswap_invalidate_area()
408 *swapid = si->type; in __frontswap_unuse_pages()
423 int *type) in __frontswap_shrink() argument
436 return __frontswap_unuse_pages(total_pages_to_unuse, pages_to_unuse, type); in __frontswap_shrink()
450 int uninitialized_var(type), ret; in frontswap_shrink()
458 ret = __frontswap_shrink(target_pages, &pages_to_unuse, &type); in frontswap_shrink()
461 try_to_unuse(type, true, pages_to_unuse); in frontswap_shrink()