Home
last modified time | relevance | path

Searched refs:frontswap_map (Results 1 – 2 of 2) sorted by relevance

/mm/
Dfrontswap.c129 if (!WARN_ON(!si->frontswap_map)) in frontswap_register_ops()
151 if (si->frontswap_map) in frontswap_register_ops()
222 if (sis->frontswap_map) in __frontswap_test()
223 return test_bit(offset, sis->frontswap_map); in __frontswap_test()
231 set_bit(offset, sis->frontswap_map); in __frontswap_set()
238 clear_bit(offset, sis->frontswap_map); in __frontswap_clear()
365 if (sis->frontswap_map == NULL) in __frontswap_invalidate_area()
371 bitmap_zero(sis->frontswap_map, sis->max); in __frontswap_invalidate_area()
Dswapfile.c2481 unsigned long *frontswap_map) in enable_swap_info() argument
2483 frontswap_init(p->type, frontswap_map); in enable_swap_info()
2526 unsigned long *frontswap_map; in SYSCALL_DEFINE1() local
2656 frontswap_map = frontswap_map_get(p); in SYSCALL_DEFINE1()
2669 kvfree(frontswap_map); in SYSCALL_DEFINE1()
3150 unsigned long *frontswap_map = NULL; in SYSCALL_DEFINE2() local
3296 frontswap_map = kvcalloc(BITS_TO_LONGS(maxpages), in SYSCALL_DEFINE2()
3350 enable_swap_info(p, prio, swap_map, cluster_info, frontswap_map); in SYSCALL_DEFINE2()
3359 (frontswap_map) ? "FS" : ""); in SYSCALL_DEFINE2()
3389 kvfree(frontswap_map); in SYSCALL_DEFINE2()