tmem.h 349 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _XEN_TMEM_H
  3. #define _XEN_TMEM_H
  4. #include <linux/types.h>
  5. #ifdef CONFIG_XEN_TMEM_MODULE
  6. #define tmem_enabled true
  7. #else
  8. /* defined in drivers/xen/tmem.c */
  9. extern bool tmem_enabled;
  10. #endif
  11. #ifdef CONFIG_XEN_SELFBALLOONING
  12. extern int xen_selfballoon_init(bool, bool);
  13. #endif
  14. #endif /* _XEN_TMEM_H */