mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-12 12:30:17 +01:00
Will come in handy for tools, see next patches. Cc: Adrian Hunter <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: David Ahern <[email protected]> Cc: Don Zickus <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
18 lines
392 B
C
18 lines
392 B
C
#ifndef __API_FS__
|
|
#define __API_FS__
|
|
|
|
#ifndef SYSFS_MAGIC
|
|
#define SYSFS_MAGIC 0x62656572
|
|
#endif
|
|
|
|
#ifndef PROC_SUPER_MAGIC
|
|
#define PROC_SUPER_MAGIC 0x9fa0
|
|
#endif
|
|
|
|
const char *sysfs__mountpoint(void);
|
|
const char *procfs__mountpoint(void);
|
|
|
|
int filename__read_int(const char *filename, int *value);
|
|
int sysctl__read_int(const char *sysctl, int *value);
|
|
#endif /* __API_FS__ */
|