函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\seq_file.c Create Date:2022-07-29 10:40:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__seq_open_private

函数原型:void *__seq_open_private(struct file *f, const struct seq_operations *ops, int psize)

返回类型:void

参数:

类型参数名称
struct file *f
const struct seq_operations *ops
intpsize
631  private等于分配内存并置零
632  如果(private == NULL)则转到:out
635  rc等于seq_open - initialize sequential file*@file: file we initialize*@op: method table describing the sequence* seq_open() sets @file, associating it with a sequence described* by @op. @op->start() sets the iterator up and returns the first
636  如果rc小于0则转到:out_free
639  seq等于 needed for tty driver, and maybe others
640  private等于private
641  返回:private
643  out_free :
644  释放内存
645  out :
646  返回:NULL
调用者
名称描述
__tracing_open
seq_open_private
kallsyms_open