hypfs.h (597473720f4dc69749542bfcfed4a927a43d935e) hypfs.h (3325b4d85799957aa53514e69bed5c9df7771caf)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Hypervisor filesystem for Linux on s390.
4 *
5 * Copyright IBM Corp. 2006
6 * Author(s): Michael Holzheu <holzheu@de.ibm.com>
7 */
8

--- 32 unchanged lines hidden (view full) ---

41/* VM diagnose 0c */
42int hypfs_diag0c_init(void);
43void hypfs_diag0c_exit(void);
44
45/* Set Partition-Resource Parameter */
46void hypfs_sprp_init(void);
47void hypfs_sprp_exit(void);
48
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Hypervisor filesystem for Linux on s390.
4 *
5 * Copyright IBM Corp. 2006
6 * Author(s): Michael Holzheu <holzheu@de.ibm.com>
7 */
8

--- 32 unchanged lines hidden (view full) ---

41/* VM diagnose 0c */
42int hypfs_diag0c_init(void);
43void hypfs_diag0c_exit(void);
44
45/* Set Partition-Resource Parameter */
46void hypfs_sprp_init(void);
47void hypfs_sprp_exit(void);
48
49int __hypfs_fs_init(void);
50
51static inline int hypfs_fs_init(void)
52{
53 if (IS_ENABLED(CONFIG_S390_HYPFS_FS))
54 return __hypfs_fs_init();
55 return 0;
56}
57
49/* debugfs interface */
50struct hypfs_dbfs_file;
51
52struct hypfs_dbfs_data {
53 void *buf;
54 void *buf_free_ptr;
55 size_t size;
56 struct hypfs_dbfs_file *dbfs_file;

--- 7 unchanged lines hidden (view full) ---

64 long (*unlocked_ioctl) (struct file *, unsigned int,
65 unsigned long);
66
67 /* Private data for hypfs_dbfs.c */
68 struct mutex lock;
69 struct dentry *dentry;
70};
71
58/* debugfs interface */
59struct hypfs_dbfs_file;
60
61struct hypfs_dbfs_data {
62 void *buf;
63 void *buf_free_ptr;
64 size_t size;
65 struct hypfs_dbfs_file *dbfs_file;

--- 7 unchanged lines hidden (view full) ---

73 long (*unlocked_ioctl) (struct file *, unsigned int,
74 unsigned long);
75
76 /* Private data for hypfs_dbfs.c */
77 struct mutex lock;
78 struct dentry *dentry;
79};
80
72extern void hypfs_dbfs_init(void);
73extern void hypfs_dbfs_exit(void);
74extern void hypfs_dbfs_create_file(struct hypfs_dbfs_file *df);
75extern void hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df);
76
77#endif /* _HYPFS_H_ */
81extern void hypfs_dbfs_exit(void);
82extern void hypfs_dbfs_create_file(struct hypfs_dbfs_file *df);
83extern void hypfs_dbfs_remove_file(struct hypfs_dbfs_file *df);
84
85#endif /* _HYPFS_H_ */