Home
last modified time | relevance | path

Searched refs:nr_badpages (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dswapfile.c3012 swab32s(&swap_header->info.nr_badpages); in read_swap_header()
3013 if (swap_header->info.nr_badpages > MAX_SWAP_BADPAGES) in read_swap_header()
3015 for (i = 0; i < swap_header->info.nr_badpages; i++) in read_swap_header()
3055 if (swap_header->info.nr_badpages && S_ISREG(inode->i_mode)) in read_swap_header()
3057 if (swap_header->info.nr_badpages > MAX_SWAP_BADPAGES) in read_swap_header()
3089 for (i = 0; i < swap_header->info.nr_badpages; i++) { in setup_swap_map_and_extents()
/kernel/linux/linux-5.10/include/linux/
Dswap.h119 __u32 nr_badpages; member
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdswap.c1071 hd->info.nr_badpages = 0; in mtdswap_auto_header()