函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:File positions: pos 0 -> header, pos n -> ipc id = n - 1.* SeqFile iterator: iterator value locked ipc pointer or SEQ_TOKEN_START.

函数原型:static void *sysvipc_proc_start(struct seq_file *s, loff_t *pos)

返回类型:void

参数:

类型参数名称
struct seq_file *s
loff_t *pos
803  iter等于private
804  iface等于iface
807  ids等于ids[ids]
813  lock for reading
816  如果pos小于0则返回:NULL
820  如果pos恒等于0则返回:SEQ_START_TOKEN
824  返回:This routine locks the ipc structure found at least at position pos.