函数逻辑报告 |
Source Code:ipc\shm.c |
Create Date:2022-07-27 18:22:05 |
Last Modify:2020-03-17 22:58:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Locking assumes this will only be called with task == current
函数原型:void exit_shm(struct task_struct *task)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task |
388 | 如果链表为空则返回 |
396 | 如果非shm_rmid_forced则 |
397 | lock for reading |
404 | 删除链表项 |
406 | 返回 |
414 | lock for writing |
419 | shm_lock_by_ptr(shp) |
420 | shm_destroy(ns, shp) |
425 | 删除链表项 |
名称 | 描述 |
---|---|
do_exit | |
ksys_unshare | share allows a process to 'unshare' part of the process* context which was originally shared using clone. copy_** functions used by do_fork() cannot be used here directly* because they modify an inactive task_struct that is being* constructed |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |