A wrapping function: detach the mapped shared memory. */
| 402 | |
| 403 | /* A wrapping function: detach the mapped shared memory. */ |
| 404 | int lwp_shmdt(void *shm_vaddr) |
| 405 | { |
| 406 | int ret = 0; |
| 407 | |
| 408 | rt_mm_lock(); |
| 409 | ret = _lwp_shmdt(shm_vaddr); |
| 410 | rt_mm_unlock(); |
| 411 | |
| 412 | return ret; |
| 413 | } |
| 414 | |
| 415 | /* Get the virtual address of a shared memory in kernel. */ |
| 416 | void *_lwp_shminfo(int id) |
no test coverage detected