HomeSort by: relevance | last modified time | path
    Searched defs:interlock (Results 1 - 7 of 7) sorted by relevancy

  /src/lib/libpthread/
pthread_barrier.c 78 pthread_mutex_t *interlock; local in function:pthread_barrier_wait
96 interlock = pthread__hashlock(barrier);
97 pthread_mutex_lock(interlock);
102 interlock);
103 pthread_mutex_unlock(interlock);
111 (void)pthread__park(self, interlock, &barrier->ptb_waiters,
116 pthread_mutex_lock(interlock);
118 pthread_mutex_unlock(interlock);
pthread_rwlock.c 161 pthread_mutex_t *interlock; local in function:pthread__rwlock_rdlock
204 * Grab the interlock. Once we have that, we
207 interlock = pthread__hashlock(ptr);
208 pthread_mutex_lock(interlock);
216 pthread_mutex_unlock(interlock);
225 error = pthread__park(self, interlock, &ptr->ptr_rblocked,
229 pthread__rwlock_early(self, ptr, interlock);
280 pthread_mutex_t *interlock; local in function:pthread__rwlock_wrlock
326 * Grab the interlock. Once we have that, we
329 interlock = pthread__hashlock(ptr)
447 pthread_mutex_t *interlock; local in function:pthread_rwlock_unlock
    [all...]
  /src/sys/kern/
subr_localcount.c 81 * localcount_drain(lc, cv, interlock)
84 * hold interlock; localcount_drain releases it during cross-calls
85 * and waits on cv. The cv and interlock passed here must be the
98 localcount_drain(struct localcount *lc, kcondvar_t *cv, kmutex_t *interlock)
102 KASSERT(mutex_owned(interlock));
115 mutex_exit(interlock);
116 xc_wait(xc_broadcast(0, &localcount_xc, lc, interlock));
117 mutex_enter(interlock);
129 cv_wait(cv, interlock);
162 kmutex_t *interlock = cookie1 local in function:localcount_xc
    [all...]
vfs_lockf.c 506 kmutex_t *interlock)
608 error = cv_wait_sig(&lock->lf_cv, interlock);
800 kmutex_t *interlock = &lockf_lock; local in function:lf_advlock
849 * Allocate locks before acquiring the interlock. We need two
901 mutex_enter(interlock);
935 error = lf_setlock(lock, &sparelock, interlock);
953 mutex_exit(interlock);
966 * XXX We use a global lock. This could be the vnode interlock, but
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
wndw.h 21 struct nv50_disp_interlock interlock; member in struct:nv50_wndw
47 void nv50_wndw_flush_set(struct nv50_wndw *, u32 *interlock,
49 void nv50_wndw_flush_clr(struct nv50_wndw *, u32 *interlock, bool flush,
84 void (*update)(struct nv50_wndw *, u32 *interlock);
98 void (*update)(struct nv50_wndw *, u32 *interlock);
nouveau_dispnv50_disp.c 1902 nv50_disp_atomic_commit_core(struct drm_atomic_state *state, u32 *interlock)
1910 NV_ATOMIC(drm, "commit core %08x\n", interlock[NV50_DISP_INTERLOCK_BASE]);
1921 core->func->update(core, interlock, true);
1936 nv50_disp_atomic_commit_wndw(struct drm_atomic_state *state, u32 *interlock)
1944 if (interlock[wndw->interlock.type] & wndw->interlock.data) {
1946 wndw->func->update(wndw, interlock);
1964 u32 interlock[NV50_DISP_INTERLOCK__SIZE] = {}; local in function:nv50_disp_atomic_commit_tail
1990 interlock[NV50_DISP_INTERLOCK_CORE] |= 1
    [all...]
  /src/sys/uvm/
uvm_page.h 107 * i: vm_page::interlock
176 kmutex_t interlock; /* s: lock on identity */ member in struct:vm_page
197 * PG_AOBJ => additionally locked by vm_page::interlock
198 * PG_ANON => additionally locked by vm_page::interlock
275 * Flags stored in pg->pqflags, which is protected by pg->interlock.

Completed in 21 milliseconds