https://github.com/torvalds/linux
Raw File
Tip revision: 610a9b8f49fbcf1100716370d3b5f6f884a2835a authored by Linus Torvalds on 31 December 2023, 20:51:25 UTC
Linux 6.7-rc8
Tip revision: 610a9b8
swapfile.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SWAPFILE_H
#define _LINUX_SWAPFILE_H

extern unsigned long generic_max_swapfile_size(void);
unsigned long arch_max_swapfile_size(void);

/* Maximum swapfile size supported for the arch (not inclusive). */
extern unsigned long swapfile_maximum_size;
/* Whether swap migration entry supports storing A/D bits for the arch */
extern bool swap_migration_ad_supported;

#endif /* _LINUX_SWAPFILE_H */
back to top