函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\sem.c Create Date:2022-07-27 18:18:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sem_rmid

函数原型:static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s)

返回类型:void

参数:

类型参数名称
struct ipc_namespace *ns
struct sem_array *s
485  pc_rmid - remove an ipc identifier*@ids: ipc identifier set*@ipcp: ipc perm structure containing the identifier to remove* ipc_ids.rwsem (as a writer) and the spinlock for this ID are held* before this function is called, and remain locked on the exit.
调用者
名称描述
freearyFree a semaphore set. freeary() is called with sem_ids.rwsem locked* as a writer and the spinlock for this semaphore set hold. sem_ids.rwsem* remains locked on exit.