Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dswapfile.c2837 swab32s(&swap_header->info.nr_badpages); in read_swap_header()
2838 if (swap_header->info.nr_badpages > MAX_SWAP_BADPAGES) in read_swap_header()
2840 for (i = 0; i < swap_header->info.nr_badpages; i++) in read_swap_header()
2880 if (swap_header->info.nr_badpages && S_ISREG(inode->i_mode)) in read_swap_header()
2882 if (swap_header->info.nr_badpages > MAX_SWAP_BADPAGES) in read_swap_header()
2914 for (i = 0; i < swap_header->info.nr_badpages; i++) { in setup_swap_map_and_extents()
/linux-6.1.9/include/linux/
Dswap.h151 __u32 nr_badpages; member
/linux-6.1.9/drivers/mtd/
Dmtdswap.c1069 hd->info.nr_badpages = 0; in mtdswap_auto_header()