Searched refs:swap_header (Results 1 - 3 of 3) sorted by relevance
/linux-master/include/linux/ |
H A D | swap.h | 134 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 D | swapfile.c | 2845 union swap_header *swap_header, 2853 if (memcmp("SWAPSPACE2", swap_header->magic.magic, 10)) { 2859 if (swab32(swap_header->info.version) == 1) { 2860 swab32s(&swap_header->info.version); 2861 swab32s(&swap_header->info.last_page); 2862 swab32s(&swap_header->info.nr_badpages); 2863 if (swap_header->info.nr_badpages > MAX_SWAP_BADPAGES) 2865 for (i = 0; i < swap_header->info.nr_badpages; i++) 2866 swab32s(&swap_header 2844 read_swap_header(struct swap_info_struct *p, union swap_header *swap_header, struct inode *inode) argument 2919 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 3009 union swap_header *swap_header; local [all...] |
/linux-master/drivers/mtd/ |
H A D | mtdswap.c | 1063 union swap_header *hd = (union swap_header *)(buf);
|
Completed in 1321 milliseconds