| Function report | 
| Source Code: ipc\shm.c | Create Date:2022-07-28 16:46:42 | 
| Last Modify:2020-03-17 22:58:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:shm_close
Proto:static void shm_close(struct vm_area_struct *vma)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | 
| 325 | sfd = shm_file_data(file) | 
| 329 | lock for writing | 
| 331 | shp = shm_lock_(check_) routines are called in the paths where the rwsem* is not necessarily held. | 
| 337 | If WARN_ON_ONCE(IS_ERR(shp)) Then Go to done | 
| 340 | ipc_update_pid( & shm_lprid, task_tgid(current process)) | 
| 342 | shm_nattch-- | 
| 345 | Else shm_unlock(shp) | 
| 347 | done : | 
| Name | Describe | 
|---|---|
| shm_mmap | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |