mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
04a479f706
not to support a few flags (we assert if they are used), and I did not add the libkstat interface and instead exported everything to proc for easy access. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@103 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
27 lines
611 B
C
27 lines
611 B
C
#ifndef _SPL_PROC_H
|
|
#define _SPL_PROC_H
|
|
|
|
#include <linux/proc_fs.h>
|
|
#include <linux/kmod.h>
|
|
#include <linux/uaccess.h>
|
|
#include <linux/ctype.h>
|
|
#include <linux/sysctl.h>
|
|
#include <linux/seq_file.h>
|
|
#include <sys/sysmacros.h>
|
|
#include <sys/kmem.h>
|
|
#include <sys/mutex.h>
|
|
#include <sys/kstat.h>
|
|
#include <sys/debug.h>
|
|
|
|
#ifdef DEBUG_KSTAT
|
|
extern struct proc_dir_entry *proc_sys_spl_kstat;
|
|
struct proc_dir_entry *proc_dir_entry_find(struct proc_dir_entry *root,
|
|
const char *str);
|
|
int proc_dir_entries(struct proc_dir_entry *root);
|
|
#endif
|
|
|
|
int proc_init(void);
|
|
void proc_fini(void);
|
|
|
|
#endif /* SPL_PROC_H */
|