函数逻辑报告

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

函数名称:single_open_size

函数原型:int single_open_size(struct file *file, int (*show)(struct seq_file *, void *), void *data, size_t size)

返回类型:int

参数:

类型参数名称
struct file *file
int (*show
void *data
size_tsize
590  buf等于seq_buf_alloc(size)
592  如果非buf则返回:负ENOMEM
594  ret等于single_open(file, show, data)
595  如果ret
596  kvfree() - Free memory.*@addr: Pointer to allocated memory.* kvfree frees memory allocated by any of vmalloc(), kmalloc() or kvmalloc().* It is slightly more efficient to use kfree() or vfree() if you are certain* that you know which one to use.
597  返回:ret
599  buf等于buf
600  size等于size
601  返回:0