函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

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

返回类型:void

参数:

类型参数名称
struct ipc_ids *ids
struct kern_ipc_perm *ipcp
448  如果key不等于IPC_PRIVATEhashtable_remove_fast - remove object from hash table*@ht: hash table*@obj: pointer to hash head inside object*@params: hash table parameters* Since the hash chain is single linked, the removal operation needs to* walk the bucket chain upon removal
调用者
名称描述
ipc_rmidpc_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.
ipc_set_key_privatepc_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