函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ksys_msgget

函数原型:long ksys_msgget(key_t key, int msgflg)

返回类型:long

参数:

类型参数名称
key_tkey
intmsgflg
279  static const struct ipc_ops msg_ops = {getnew = wque - Create a new msg queue*@ns: namespace*@params: ptr to the structure that contains the key and msgflg* Called with msg_ids.rwsem held (writer), associate = security_msg_queue_associate, }
285  ns等于ipc_ns
287  key等于key
288  flg等于msgflg
290  返回:pcget - Common sys_*get() code*@ns: namespace*@ids: ipc identifier set*@ops: operations to be called on ipc object creation, permission checks* and further checks*@params: the parameters needed by the previous operations.
调用者
名称描述
SYSCALL_DEFINE2
ksys_ipc