Clark Williams | afe61f6 | 2009-11-08 09:01:37 -0600 | [diff] [blame] | 1 | #ifndef __DEBUGFS_H__ |
| 2 | #define __DEBUGFS_H__ |
| 3 | |
Arnaldo Carvalho de Melo | c168fbf | 2011-11-16 12:55:59 -0200 | [diff] [blame^] | 4 | const char *debugfs_find_mountpoint(void); |
| 5 | int debugfs_valid_mountpoint(const char *debugfs); |
| 6 | int debugfs_valid_entry(const char *path); |
| 7 | char *debugfs_mount(const char *mountpoint); |
| 8 | int debugfs_umount(void); |
| 9 | int debugfs_write(const char *entry, const char *value); |
| 10 | int debugfs_read(const char *entry, char *buffer, size_t size); |
| 11 | void debugfs_force_cleanup(void); |
| 12 | int debugfs_make_path(const char *element, char *buffer, int size); |
Clark Williams | afe61f6 | 2009-11-08 09:01:37 -0600 | [diff] [blame] | 13 | |
| 14 | #endif /* __DEBUGFS_H__ */ |