Function report |
Source Code:ipc\shm.c |
Create Date:2022-07-28 16:48:39 |
| Last Modify:2020-03-17 22:58:32 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:detach and kill segment if marked destroyed.* The work is done in shm_close.
Proto:long ksys_shmdt(char __user *shmaddr)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char __user * | shmaddr |
| 1633 | size = 0 |
| 1641 | If lock for writing Then Return -EINTR |
| 1665 | vma = look up the first VMA in which addr resides, NULL if none* - should be called with mm->mmap_sem at least held readlocked |
| 1707 | When vma && The first byte after our end addresswithin vm_mm. - addr <= size cycle |
| 1729 | lease a write lock |
| 1730 | Return retval |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE1 | |
| ksys_ipc |
| 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 |