Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dfrontswap.c125 if (!WARN_ON(!si->frontswap_map)) in frontswap_register_ops()
147 if (si->frontswap_map) in frontswap_register_ops()
218 if (sis->frontswap_map) in __frontswap_test()
219 return test_bit(offset, sis->frontswap_map); in __frontswap_test()
227 set_bit(offset, sis->frontswap_map); in __frontswap_set()
234 clear_bit(offset, sis->frontswap_map); in __frontswap_clear()
361 if (sis->frontswap_map == NULL) in __frontswap_invalidate_area()
367 bitmap_zero(sis->frontswap_map, sis->max); in __frontswap_invalidate_area()
Dswapfile.c2524 unsigned long *frontswap_map) in enable_swap_info() argument
2526 frontswap_init(p->type, frontswap_map); in enable_swap_info()
2570 unsigned long *frontswap_map; in SYSCALL_DEFINE1() local
2695 frontswap_map = frontswap_map_get(p); in SYSCALL_DEFINE1()
2708 kvfree(frontswap_map); in SYSCALL_DEFINE1()
3179 unsigned long *frontswap_map = NULL; in SYSCALL_DEFINE2() local
3316 frontswap_map = kvcalloc(BITS_TO_LONGS(maxpages), in SYSCALL_DEFINE2()
3370 enable_swap_info(p, prio, swap_map, cluster_info, frontswap_map); in SYSCALL_DEFINE2()
3379 (frontswap_map) ? "FS" : ""); in SYSCALL_DEFINE2()
3409 kvfree(frontswap_map); in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/include/linux/
Dfrontswap.h56 p->frontswap_map = map; in frontswap_map_set()
61 return p->frontswap_map; in frontswap_map_get()
Dswap.h262 unsigned long *frontswap_map; /* frontswap in-use, one bit per page */ member
/kernel/linux/linux-5.10/Documentation/vm/
Dfrontswap.rst190 frontswap sets a bit in the "frontswap_map" for the swap device
195 it first calls frontswap_load() which checks the frontswap_map to