| 370 | } |
| 371 | |
| 372 | int lwp_shm_ref_dec(struct rt_lwp *lwp, void *shm_vaddr) |
| 373 | { |
| 374 | int ret = 0; |
| 375 | |
| 376 | rt_mm_lock(); |
| 377 | ret = _lwp_shm_ref_dec(lwp, shm_vaddr); |
| 378 | rt_mm_unlock(); |
| 379 | |
| 380 | return ret; |
| 381 | } |
| 382 | |
| 383 | /* Unmap the shared memory from the address space of the current thread. */ |
| 384 | int _lwp_shmdt(void *shm_vaddr) |
nothing calls this directly
no test coverage detected