Home
last modified time | relevance | path

Searched refs:sq_lock (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/uts/common/inet/
H A Dsqueue.c160 ASSERT(MUTEX_HELD(&(sqp)->sq_lock)); \
182 ASSERT(MUTEX_HELD(&(sqp)->sq_lock)); \
194 ASSERT(MUTEX_HELD(&(sqp)->sq_lock)); \
207 ASSERT(MUTEX_HELD(&(sqp)->sq_lock)); \
277 mutex_enter(&sqp->sq_lock); in squeue_bind()
283 mutex_exit(&sqp->sq_lock); in squeue_bind()
295 mutex_exit(&sqp->sq_lock); in squeue_bind()
301 mutex_enter(&sqp->sq_lock); in squeue_unbind()
303 mutex_exit(&sqp->sq_lock); in squeue_unbind()
309 mutex_exit(&sqp->sq_lock); in squeue_unbind()
[all …]
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_squeue.c240 mutex_enter(&sq->sq_lock); in ip_squeue_set_create()
242 mutex_exit(&sq->sq_lock); in ip_squeue_set_create()
290 mutex_enter(&sq->sq_lock); in ip_squeue_getfree()
292 mutex_exit(&sq->sq_lock); in ip_squeue_getfree()
401 ASSERT(!MUTEX_HELD(&sq->sq_lock)); in ip_squeue_set_move()
526 mutex_enter(&sq->sq_lock); in ip_squeue_add_ring()
534 mutex_exit(&sq->sq_lock); in ip_squeue_add_ring()
569 mutex_enter(&sqp->sq_lock); in ip_squeue_clean_ring()
574 cv_wait(&sqp->sq_ctrlop_done_cv, &sqp->sq_lock); in ip_squeue_clean_ring()
582 mutex_exit(&sqp->sq_lock); in ip_squeue_clean_ring()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dsemaphore.c237 sqlp = &SQHASH(s)->sq_lock; in sema_p()
272 sqlp = &SQHASH(s)->sq_lock; in sema_p_sig()
343 sqlp = &SQHASH(s)->sq_lock; in sema_v()
384 disp_lock_enter(&sqh->sq_lock); in sema_tryp()
389 disp_lock_exit(&sqh->sq_lock); in sema_tryp()
H A Dcondvar.c82 disp_lock_exit_high(&sqh->sq_lock); in cv_unsleep()
169 disp_lock_enter_high(&sqh->sq_lock); in cv_block()
173 THREAD_SLEEP(t, &sqh->sq_lock); in cv_block()
612 disp_lock_enter(&sqh->sq_lock); in cv_signal()
627 disp_lock_exit(&sqh->sq_lock); in cv_signal()
640 disp_lock_enter(&sqh->sq_lock); in cv_broadcast()
644 disp_lock_exit(&sqh->sq_lock); in cv_broadcast()
H A Dstrsubr.c737 mutex_init(&sq->sq_lock, NULL, MUTEX_DEFAULT, NULL); in queue_constructor()
766 mutex_destroy(&sq->sq_lock); in queue_destructor()
782 mutex_init(&sq->sq_lock, NULL, MUTEX_DEFAULT, NULL); in syncq_constructor()
818 mutex_destroy(&sq->sq_lock); in syncq_destructor()
/titanic_41/usr/src/uts/common/sys/
H A Dsleepq.h50 disp_lock_t sq_lock; member
H A Dsqueue_impl.h93 kmutex_t sq_lock; /* lock before using any member */ member
H A Dstrsubr.h440 kmutex_t sq_lock; /* atomic access to syncq */ member
816 #define SQLOCK(sq) (&(sq)->sq_lock)
/titanic_41/usr/src/uts/common/syscall/
H A Dlwp_sobj.c513 disp_lock_enter_high(&sqh->sq_lock); in lwp_block()
516 THREAD_SLEEP(t, &sqh->sq_lock); in lwp_block()
1309 disp_lock_enter(&sqh->sq_lock); in lwp_mutex_timedlock()
1311 disp_lock_exit(&sqh->sq_lock); in lwp_mutex_timedlock()
1386 disp_lock_enter(&sqh->sq_lock); /* lock the sleep queue */ in lwp_queue_waiter()
1392 disp_lock_exit(&sqh->sq_lock); in lwp_queue_waiter()
1404 disp_lock_enter(&sqh->sq_lock); /* lock the sleep queue */ in lwp_release()
1427 disp_lock_exit(&sqh->sq_lock); in lwp_release()
1445 disp_lock_exit(&sqh->sq_lock); in lwp_release()
1457 disp_lock_enter(&sqh->sq_lock); /* lock sleep q queue */ in lwp_release_all()
[all …]
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_txdma.h174 nxge_os_mutex_t sq_lock; member
/titanic_41/usr/src/uts/i86pc/ml/
H A Doffsets.in286 sq_lock
/titanic_41/usr/src/uts/sun4/ml/
H A Doffsets.in465 sq_lock
/titanic_41/usr/src/uts/common/inet/nca/
H A Dnca.h159 kmutex_t sq_lock; /* lock before using any member */ member