函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:free_msg

函数原型:void free_msg(struct msg_msg *msg)

返回类型:void

参数:

类型参数名称
struct msg_msg *msg
173  security_msg_msg_free(msg)
175  seg等于next
176  释放内存
177  当(seg != NULL)循环
178  tmp等于next
180  cond_resched()
181  释放内存
182  seg等于tmp
调用者
名称描述
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