Home
last modified time | relevance | path

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

/linux-6.3-rc2/mm/
A Dswapfile.c2827 union swap_header *swap_header, in read_swap_header() argument
2842 swab32s(&swap_header->info.version); in read_swap_header()
2843 swab32s(&swap_header->info.last_page); in read_swap_header()
2844 swab32s(&swap_header->info.nr_badpages); in read_swap_header()
2848 swab32s(&swap_header->info.badpages[i]); in read_swap_header()
2851 if (swap_header->info.version != 1) { in read_swap_header()
2853 swap_header->info.version); in read_swap_header()
2862 last_page = swap_header->info.last_page; in read_swap_header()
2903 union swap_header *swap_header, in setup_swap_map_and_extents() argument
2992 union swap_header *swap_header; in SYSCALL_DEFINE2() local
[all …]
/linux-6.3-rc2/include/linux/
A Dswap.h134 union swap_header { union
189 ((offsetof(union swap_header, magic.magic) - \
190 offsetof(union swap_header, info.badpages)) / sizeof(int))
/linux-6.3-rc2/drivers/mtd/
A Dmtdswap.c1063 union swap_header *hd = (union swap_header *)(buf); in mtdswap_auto_header()

Completed in 14 milliseconds