Home
last modified time | relevance | path

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

/linux/mm/
H A Dswap.h97 first_bit = test_bit(start, sis->zeromap); in swap_zeromap_batch()
104 return find_next_zero_bit(sis->zeromap, end, start) - start; in swap_zeromap_batch()
106 return find_next_bit(sis->zeromap, end, start) - start; in swap_zeromap_batch()
H A Dswapfile.c972 clear_bit(offset + i, si->zeromap); in swap_range_free()
2647 unsigned long *zeromap) in setup_swap_info() argument
2672 si->zeromap = zeromap; in setup_swap_info()
2702 unsigned long *zeromap) in enable_swap_info() argument
2706 setup_swap_info(si, prio, swap_map, cluster_info, zeromap); in enable_swap_info()
2724 setup_swap_info(si, si->prio, si->swap_map, si->cluster_info, si->zeromap); in reinsert_swap_info()
2749 unsigned long *zeromap; in SYSCALL_DEFINE1() local
2873 zeromap = p->zeromap; in SYSCALL_DEFINE1()
2874 p->zeromap = NULL; in SYSCALL_DEFINE1()
2887 kvfree(zeromap); in SYSCALL_DEFINE1()
[all …]
H A Dpage_io.c215 set_bit(swp_offset(entry), sis->zeromap); in swap_zeromap_folio_set()
233 clear_bit(swp_offset(entry), sis->zeromap); in swap_zeromap_folio_clear()
262 * Use a bitmap (zeromap) to avoid doing IO for zero-filled pages. in swap_writepage()
263 * The bits in zeromap are protected by the locked swapcache folio in swap_writepage()
273 * Clear bits this folio occupies in the zeromap to prevent in swap_writepage()
522 * Swapping in a large folio that is partially in the zeromap is not in swap_read_folio_zeromap()
/linux/include/linux/
H A Dswap.h299 unsigned long *zeromap; /* kvmalloc'ed bitmap to track zero pages */ member
/linux/Documentation/admin-guide/mm/
H A Duserfaultfd.rst404 to zeromap the faulting address. However, in the latter case, when an