Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.h Create Date:2022-07-28 16:38:46
Last Modify:2022-05-20 10:36:20 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline int ipc_get_maxidx(struct ipc_ids *ids)

Type:int

Parameter:

TypeParameterName
struct ipc_ids *ids
152  If in_use == 0 Then Return -1
155  If in_use == ipc_mni Then Return ipc_mni - 1
158  Return max_idx
Caller
NameDescribe
msgctl_info
semctl_info
shmctl_ipc_info
shmctl_shm_info