函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-27 18:14:50
Last Modify:2022-05-23 18:05:07 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pc_init_proc_interface - create a proc interface for sysipc types using a seq_file interface.*@path: Path in procfs*@header: Banner to be printed at the beginning of the file.*@ids: ipc id table to iterate.*@show: show routine.

函数原型:void __init ipc_init_proc_interface(const char *path, const char *header, int ids, int (*show)(struct seq_file *, void *))

返回类型:void

参数:

类型参数名称
const char *path
const char *header
intids
int (*show
143  iface等于开辟内存
144  如果非iface则返回
146  path等于path
147  header等于header
148  ids等于ids
149  show等于show
151  pde等于proc_create_data(path, S_IRUGO, NULL, & sysvipc_proc_fops, iface)
156  如果非pde释放内存
调用者
名称描述
msg_init
sem_init
shm_init