Searched refs:frontswap_map (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/mm/ |
D | frontswap.c | 137 if (sis->frontswap_map) in __frontswap_test() 138 return test_bit(offset, sis->frontswap_map); in __frontswap_test() 145 set_bit(offset, sis->frontswap_map); in __frontswap_set() 152 clear_bit(offset, sis->frontswap_map); in __frontswap_clear() 254 if (sis->frontswap_map == NULL) in __frontswap_invalidate_area() 259 bitmap_zero(sis->frontswap_map, sis->max); in __frontswap_invalidate_area()
|
D | swapfile.c | 2340 unsigned long *frontswap_map) in enable_swap_info() argument 2343 frontswap_init(p->type, frontswap_map); in enable_swap_info() 2386 unsigned long *frontswap_map; in SYSCALL_DEFINE1() local 2511 frontswap_map = frontswap_map_get(p); in SYSCALL_DEFINE1() 2524 kvfree(frontswap_map); in SYSCALL_DEFINE1() 2991 unsigned long *frontswap_map = NULL; in SYSCALL_DEFINE2() local 3133 frontswap_map = kvcalloc(BITS_TO_LONGS(maxpages), in SYSCALL_DEFINE2() 3188 enable_swap_info(p, prio, swap_map, cluster_info, frontswap_map); in SYSCALL_DEFINE2() 3197 (frontswap_map) ? "FS" : ""); in SYSCALL_DEFINE2() 3227 kvfree(frontswap_map); in SYSCALL_DEFINE2()
|
/linux-6.1.9/include/linux/ |
D | frontswap.h | 37 p->frontswap_map = map; in frontswap_map_set() 42 return p->frontswap_map; in frontswap_map_get()
|
D | swap.h | 299 unsigned long *frontswap_map; /* frontswap in-use, one bit per page */ member
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | frontswap.rst | 134 下,frontswap在交换设备的“frontswap_map” 中设置了一个位,对应于交换设备上的 138 检查frontswap_map,看这个页面是否早先被frontswap backend接受。如果是,该页
|
/linux-6.1.9/Documentation/mm/ |
D | frontswap.rst | 176 frontswap sets a bit in the "frontswap_map" for the swap device 181 it first calls frontswap_load() which checks the frontswap_map to
|