函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ipc_checkid

函数原型:static inline int ipc_checkid(struct kern_ipc_perm *ipcp, int id)

返回类型:int

参数:

类型参数名称
struct kern_ipc_perm *ipcp
intid
204  返回:ipcid_to_seqx(id)不等于seq
调用者
名称描述
ipc_obtain_object_checkpc_obtain_object_check*@ids: ipc identifier set*@id: ipc id to look for* Similar to ipc_obtain_object_idr() but also checks the ipc object* sequence number.* Call inside the RCU critical section.* The ipc object is *not* locked on exit.