Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\msg.c Create Date:2022-07-28 16:42:06
Last Modify:2020-03-17 22:56:56 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:testmsg

Proto:static int testmsg(struct msg_msg *msg, long type, int mode)

Type:int

Parameter:

TypeParameterName
struct msg_msg *msg
longtype
intmode
770  Case mode == SEARCH_ANY
771  Case mode == SEARCH_NUMBER
772  Return 1
773  Case mode == SEARCH_LESSEQUAL
774  If m_type <= type Then Return 1
776  Break
777  Case mode == SEARCH_EQUAL
778  If m_type == type Then Return 1
780  Break
781  Case mode == SEARCH_NOTEQUAL
782  If m_type != type Then Return 1
784  Break
786  Return 0
Caller
NameDescribe
pipelined_send
find_msg