#define MAX_FUNC_NAME_SIZE 40 #define MAX_FUNC_PARM_SIZE 128 /*50, ALANWANG */ #define MAX_ARG_NUM 5 int diagProcRead(char *page, char **start, off_t off, int count, int *eof, void *data); int diagProcWrite(struct file *file, const char __user *buf, unsigned long length, void *data); int diagParamRead(char *page, char **start, off_t off, int count, int *eof, void *data); int diagParamWrite(struct file *file, const char __user *buf, unsigned long length, void *data);