Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-28 16:39:31
Last Modify:2022-05-23 18:05:07 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void __init ipc_init_proc_interface(const char *path, const char *header, int ids, int (*show)(struct seq_file *, void *))

Type:void

Parameter:

TypeParameterName
const char *path
const char *header
intids
int (*show
143  iface = Allocation memory
144  If Not iface Then Return
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  If Not pde Then kfree(iface)
Caller
NameDescribe
msg_init
sem_init
shm_init