1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Hypervisor filesystem for Linux on s390. Diag 204 and 224
6 * Copyright IBM Corp. 2006, 2008
7 * Author(s): Michael Holzheu <holzheu@de.ibm.com>
10 #ifndef _S390_HYPFS_DIAG_H_
11 #define _S390_HYPFS_DIAG_H_
15 enum diag204_format
diag204_get_info_type(void);
16 void *diag204_get_buffer(enum diag204_format fmt
, int *pages
);
17 int diag204_store(void *buf
, int pages
);
19 int __hypfs_diag_fs_init(void);
20 void __hypfs_diag_fs_exit(void);
22 static inline int hypfs_diag_fs_init(void)
24 if (IS_ENABLED(CONFIG_S390_HYPFS_FS
))
25 return __hypfs_diag_fs_init();
29 static inline void hypfs_diag_fs_exit(void)
31 if (IS_ENABLED(CONFIG_S390_HYPFS_FS
))
32 __hypfs_diag_fs_exit();
35 #endif /* _S390_HYPFS_DIAG_H_ */