函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pc_set_key_private - switch the key of an existing ipc to IPC_PRIVATE*@ids: ipc identifier set*@ipcp: ipc perm structure containing the key to modify* ipc_ids.rwsem (as a writer) and the spinlock for this ID are held

函数原型:void ipc_set_key_private(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)

返回类型:void

参数:

类型参数名称
struct ipc_ids *ids
struct kern_ipc_perm *ipcp
490  pc_kht_remove - remove an ipc from the key hashtable*@ids: ipc identifier set*@ipcp: ipc perm structure containing the key to remove* ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
491  key等于IPC_PRIVATE
调用者
名称描述
do_shm_rmidCalled with shm_ids.rwsem (writer) and the shp structure locked.* Only shm_ids.rwsem remains locked on exit.