return PDE(inode)->data; } /fs/proc/generic.c void *PDE_DATA(const struct inode *inode) { return __PDE_DATA(inode); } EXPORT_SYMBOL(PDE_DATA); 问题来源: 看LDD的时候,看到一个函数调用了PDE_DATA(),第一次遇见 static int jit_tasklet_proc_open(struct inode *inode, struct file *file)...
void *PDE_DATA(const struct inode *inode) { return __PDE_DATA(inode); } EXPORT_SYMBOL(PDE_DATA); 1. 2. 3. 4. 5. 问题来源: 看LDD的时候,看到一个函数调用了PDE_DATA(),第一次遇见 static int jit_tasklet_proc_open(struct inode *inode, struct file *file) { return single_open(file,...
#78 replaced usages of PDE_DATA() with pde_data(), and now the examples fail to build with kernels before 5.17: .../ldd3/misc-modules/jit.c:96:40: error: implicit declaration of function ‘pde_data’ [-Werror=implicit-function-declaration]...
static int srm_env_proc_open(struct inode *inode, struct file *file) { return single_open(file, srm_env_proc_show, PDE_DATA(inode)); return single_open(file, srm_env_proc_show, pde_data(inode)); } static ssize_t srm_env_proc_write(struct file *file, const char __user *buffer,...
PDE_DATA 定义 PDE_DATA 定义Location:/fs/proc/internal.hstatic inline struct proc_dir_entry *PDE(const struct inode *inode){ return PROC_I(inode)->pde;}static inline v... 搜索引擎 函数调用 转载 mob604756e88498 2015-09-23 11:29:00 ...
staticintrpc_proc_open(struct inode *inode, struct file *file){returnsingle_open(file, rpc_proc_show,PDE_DATA(inode)); } 开发者ID:AD5GB,项目名称:kernel_n5_3.10-experimental,代码行数:4,代码来源:stats.c 示例3: uf_proc_open ▲点赞 5▼ ...
PDE_DATA 定义 PDE_DATA 定义Location:/fs/proc/internal.hstatic inline struct proc_dir_entry *PDE(const struct inode *inode){ return PROC_I(inode)->pde;}static inline v... 搜索引擎 函数调用 转载 mob604756e88498 2015-09-23 11:29:00 ...
PDE_DATA 定义 PDE_DATA 定义Location:/fs/proc/internal.hstatic inline struct proc_dir_entry *PDE(const struct inode *inode){ return PROC_I(inode)->pde;}static inline v... 搜索引擎 函数调用 转载 mob604756e88498 2015-09-23 11:29:00 ...
PDE_DATA 定义 PDE_DATA 定义Location:/fs/proc/internal.hstatic inline struct proc_dir_entry *PDE(const struct inode *inode){ return PROC_I(inode)->pde;}static inline v... 搜索引擎 函数调用 转载 mob604756e88498 2015-09-23 11:29:00 ...
PDE_DATA 定义 PDE_DATA 定义Location:/fs/proc/internal.hstatic inline struct proc_dir_entry *PDE(const struct inode *inode){ return PROC_I(inode)->pde;}static inline v... 搜索引擎 函数调用 转载 mob604756e88498 2015-09-23 11:29:00 ...