Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-28 16:39:46
Last Modify:2022-05-23 18:05:07 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static void ipc_kht_remove(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)

Type:void

Parameter:

TypeParameterName
struct ipc_ids *ids
struct kern_ipc_perm *ipcp
448  If key != IPC_PRIVATE Then hashtable_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
Caller
NameDescribe
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