mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 05:12:17 +00:00
c168fbfb93
No need for multiple definitions for STR() and die(), also use SuSv2's PATH_MAX instead of adding MAX_PATH. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-qpujjkw7u0bf0tr4wt55cr9y@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
15 lines
504 B
C
15 lines
504 B
C
#ifndef __DEBUGFS_H__
|
|
#define __DEBUGFS_H__
|
|
|
|
const char *debugfs_find_mountpoint(void);
|
|
int debugfs_valid_mountpoint(const char *debugfs);
|
|
int debugfs_valid_entry(const char *path);
|
|
char *debugfs_mount(const char *mountpoint);
|
|
int debugfs_umount(void);
|
|
int debugfs_write(const char *entry, const char *value);
|
|
int debugfs_read(const char *entry, char *buffer, size_t size);
|
|
void debugfs_force_cleanup(void);
|
|
int debugfs_make_path(const char *element, char *buffer, int size);
|
|
|
|
#endif /* __DEBUGFS_H__ */
|