Searched refs:SwapEntry (Results 1 – 2 of 2) sorted by relevance
27 typedef struct SwapEntry { struct33 } SwapEntry; typedef35 SwapEntry* swap_entry_free(SwapEntry *se);36 DEFINE_TRIVIAL_CLEANUP_FUNC(SwapEntry*, swap_entry_free);45 SwapEntry *swap;
187 SwapEntry* swap_entry_free(SwapEntry *se) { in swap_entry_free()206 static int swap_device_to_device_id(const SwapEntry *swap, dev_t *ret_dev) { in swap_device_to_device_id()233 static int calculate_swap_file_offset(const SwapEntry *swap, uint64_t *ret_offset) { in calculate_swap_file_offset()348 _cleanup_(swap_entry_freep) SwapEntry *swap = NULL; in find_hibernate_location()352 swap = new0(SwapEntry, 1); in find_hibernate_location()