函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\mqueue.c Create Date:2022-07-27 18:26:16
Last Modify:2020-03-17 23:00:47 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:remove_notification

函数原型:static void remove_notification(struct mqueue_inode_info *info)

返回类型:void

参数:

类型参数名称
struct mqueue_inode_info *info
760  如果notify_owner不等于NULLsigev_notify恒等于deliver via thread creation
762  set_cookie(notify_cookie, NOTIFY_REMOVED)
763  netlink_sendskb(notify_sock, notify_cookie)
765  put_pid(notify_owner)
766  put_user_ns(notify_user_ns)
767  notify_owner = NULL
768  notify_user_ns = NULL
调用者
名称描述
mqueue_flush_file
do_mq_notifyNotes: the case when user wants us to deregister (with NULL as pointer)* and he isn't currently owner of notification, will be silently discarded.* It isn't explicitly defined in the POSIX.