GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / s390 / hypfs / hypfs.h
blobfa487d4cc08b9c1e9585624c38d2cf30ff75e049
1 /*
2 * arch/s390/hypfs/hypfs.h
3 * Hypervisor filesystem for Linux on s390.
5 * Copyright (C) IBM Corp. 2006
6 * Author(s): Michael Holzheu <holzheu@de.ibm.com>
7 */
9 #ifndef _HYPFS_H_
10 #define _HYPFS_H_
12 #include <linux/fs.h>
13 #include <linux/types.h>
14 #include <linux/debugfs.h>
16 #define REG_FILE_MODE 0440
17 #define UPDATE_FILE_MODE 0220
18 #define DIR_MODE 0550
20 extern struct dentry *hypfs_mkdir(struct super_block *sb, struct dentry *parent,
21 const char *name);
23 extern struct dentry *hypfs_create_u64(struct super_block *sb,
24 struct dentry *dir, const char *name,
25 __u64 value);
27 extern struct dentry *hypfs_create_str(struct super_block *sb,
28 struct dentry *dir, const char *name,
29 char *string);
31 /* LPAR Hypervisor */
32 extern int hypfs_diag_init(void);
33 extern void hypfs_diag_exit(void);
34 extern int hypfs_diag_create_files(struct super_block *sb, struct dentry *root);
36 /* VM Hypervisor */
37 extern int hypfs_vm_init(void);
38 extern void hypfs_vm_exit(void);
39 extern int hypfs_vm_create_files(struct super_block *sb, struct dentry *root);
41 /* Directory for debugfs files */
42 extern struct dentry *hypfs_dbfs_dir;
43 #endif /* _HYPFS_H_ */