Searched refs:shm_lock (Results 1 – 4 of 4) sorted by relevance
95 static kmutex_t shm_lock __cacheline_aligned;132 mutex_enter(&shm_lock); in shm_find_segment_perm_by_index()134 mutex_exit(&shm_lock); in shm_find_segment_perm_by_index()139 mutex_exit(&shm_lock); in shm_find_segment_perm_by_index()153 KASSERT(mutex_owned(&shm_lock)); in shm_find_segment_by_shmid()181 KASSERT(mutex_owned(&shm_lock)); in shm_free_segment()211 KASSERT(mutex_owned(&shm_lock)); in shm_delete_mapping()237 KASSERT(mutex_owned(&shm_lock)); in shmmap_getprivate()279 KASSERT(mutex_owned(&shm_lock)); in shm_memlock()317 mutex_enter(&shm_lock); in sys_shmdt()[all …]
45 uint32_t shm_lock; member
138 while (__predict_false(atomic_cas_32(&busmem->shm_lock, in shmif_lockbus()157 old = atomic_swap_32(&busmem->shm_lock, LOCK_UNLOCKED); in shmif_unlockbus()
191 FIXENDIAN32(bmem->shm_version), FIXENDIAN32(bmem->shm_lock), in main()