Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_msg_fill

Proto:static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz)

Type:long

Parameter:

TypeParameterName
void __user *dest
struct msg_msg *msg
size_tbufsz
997  __user * msgp = dest
1000  If Write a simple value into user space(m_type, & ype of message ) Then Return -EFAULT
1003  msgsz = If bufsz > message text size Then message text size Else bufsz
1004  If store_msg(message text , msg, msgsz) Then Return -EFAULT
1006  Return msgsz