函数逻辑报告 |
Source Code:ipc\util.c |
Create Date:2022-07-27 18:15:04 |
Last Modify:2022-05-23 18:05:07 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pcget_public - get an ipc object or create a new one*@ns: ipc namespace*@ids: ipc identifier set*@ops: the actual creation routine to call*@params: its parameters* This routine is called by sys_msgget, sys_semget() and sys_shmget()
函数原型:static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, const struct ipc_ops *ops, struct ipc_params *params)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ipc_namespace * | ns | |
struct ipc_ids * | ids | |
const struct ipc_ops * | ops | |
struct ipc_params * | params |
407 | lock for writing |
409 | 如果(ipcp == NULL)则 |
415 | 否则 |
418 | 如果flg按位与create if key is nonexistent 且flg按位与ail if key exists 则err等于负EEXIST |
420 | 否则 |
421 | err等于0 |
422 | 如果more_checks则err等于more_checks(ipcp, params) |
431 | ipc_unlock(ipcp) |
435 | 返回:err |
名称 | 描述 |
---|---|
ipcget | 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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |