函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-27 12:00:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This also sets the "private" pointer to non-NULL if the* kernel pointers should be hidden (so you can just test* "m->private" to see if you should keep the values private).* We use the same logic as for /proc/kallsyms.

函数原型:static int modules_open(struct inode *inode, struct file *file)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *file
4390  err等于seq_open(file, & Format: modulename size refcount deps addressWhere refcount is a number or -, and deps is a comma-separated listof depends or -.)
4392  如果非err
4393  m等于 needed for tty driver, and maybe others
4394  private等于如果kallsyms_show_value()则NULL否则8ul
4397  返回:err