函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pc_get_maxidx - get the highest assigned index*@ids: ipc identifier set* Called with ipc_ids.rwsem held for reading.

函数原型:static inline int ipc_get_maxidx(struct ipc_ids *ids)

返回类型:int

参数:

类型参数名称
struct ipc_ids *ids
152  如果in_use恒等于0则返回:负1
155  如果in_use恒等于ipc_mni则返回:ipc_mni减1
158  返回:max_idx
调用者
名称描述
msgctl_info
semctl_info
shmctl_ipc_info
shmctl_shm_info