Searched refs:swap_header (Results 1 - 3 of 3) sorted by path

/linux-master/drivers/mtd/
H A Dmtdswap.c1063 union swap_header *hd = (union swap_header *)(buf);
/linux-master/include/linux/
H A Dswap.h134 union swap_header { union
204 ((offsetof(union swap_header, magic.magic) - \
205 offsetof(union swap_header, info.badpages)) / sizeof(int))
/linux-master/mm/
H A Dswapfile.c2898 union swap_header *swap_header,
2906 if (memcmp("SWAPSPACE2", swap_header->magic.magic, 10)) {
2912 if (swab32(swap_header->info.version) == 1) {
2913 swab32s(&swap_header->info.version);
2914 swab32s(&swap_header->info.last_page);
2915 swab32s(&swap_header->info.nr_badpages);
2916 if (swap_header->info.nr_badpages > MAX_SWAP_BADPAGES)
2918 for (i = 0; i < swap_header->info.nr_badpages; i++)
2919 swab32s(&swap_header
2897 read_swap_header(struct swap_info_struct *p, union swap_header *swap_header, struct inode *inode) argument
2972 setup_swap_map_and_extents(struct swap_info_struct *p, union swap_header *swap_header, unsigned char *swap_map, struct swap_cluster_info *cluster_info, unsigned long maxpages, sector_t *span) argument
3062 union swap_header *swap_header; local
[all...]

Completed in 365 milliseconds