Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\msgutil.c Create Date:2022-07-28 16:52:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:free_msg

Proto:void free_msg(struct msg_msg *msg)

Type:void

Parameter:

TypeParameterName
struct msg_msg *msg
173  security_msg_msg_free(msg)
175  seg = next
176  kfree(msg)
177  When (seg != NULL) cycle
178  tmp = next
180  cond_resched()
181  kfree(seg)
182  seg = tmp
Caller
NameDescribe
alloc_msg
load_msg
freequeque() wakes up waiters on the sender and receiver waiting queue,* removes the message queue from message queue ID IDR, and cleans up all the* messages associated with this queue.* msg_ids.rwsem (writer) and the spinlock for this message queue are held
do_msgsnd
do_msgrcv
mqueue_evict_inode
do_mq_timedsend
do_mq_timedreceive