Home
last modified time | relevance | path

Searched refs:SwapEntry (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Dsleep-config.h27 typedef struct SwapEntry { struct
33 } SwapEntry; typedef
35 SwapEntry* swap_entry_free(SwapEntry *se);
36 DEFINE_TRIVIAL_CLEANUP_FUNC(SwapEntry*, swap_entry_free);
45 SwapEntry *swap;
Dsleep-config.c187 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()