Home
last modified time | relevance | path

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

/linux/mm/
A Dswapfile.c2957 union swap_header *swap_header, in read_swap_header() argument
2972 swab32s(&swap_header->info.version); in read_swap_header()
2973 swab32s(&swap_header->info.last_page); in read_swap_header()
2974 swab32s(&swap_header->info.nr_badpages); in read_swap_header()
2978 swab32s(&swap_header->info.badpages[i]); in read_swap_header()
2981 if (swap_header->info.version != 1) { in read_swap_header()
2983 swap_header->info.version); in read_swap_header()
2992 last_page = swap_header->info.last_page; in read_swap_header()
3033 union swap_header *swap_header, in setup_swap_map_and_extents() argument
3136 union swap_header *swap_header; in SYSCALL_DEFINE2() local
[all …]
/linux/include/linux/
A Dswap.h117 union swap_header { union
168 ((offsetof(union swap_header, magic.magic) - \
169 offsetof(union swap_header, info.badpages)) / sizeof(int))
/linux/drivers/mtd/
A Dmtdswap.c1063 union swap_header *hd = (union swap_header *)(buf); in mtdswap_auto_header()

Completed in 15 milliseconds