Home
last modified time | relevance | path

Searched refs:sd_lock (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dstreamio.c222 mutex_enter(&stp->sd_lock); in push_mod()
227 mutex_exit(&stp->sd_lock); in push_mod()
276 mutex_exit(&strmatep->sd_lock); in stropen()
279 mutex_exit(&stp->sd_lock); in stropen()
281 &strmatep->sd_lock)) { in stropen()
283 mutex_exit(&strmatep->sd_lock); in stropen()
284 mutex_enter(&stp->sd_lock); in stropen()
287 mutex_exit(&strmatep->sd_lock); in stropen()
293 mutex_exit(&strmatep->sd_lock); in stropen()
296 mutex_exit(&strmatep->sd_lock); in stropen()
[all …]
H A Dsession.c144 MUTEX_NOT_HELD(&sp->s_vp->v_stream->sd_lock)); in tty_hold()
257 ASSERT(MUTEX_HELD(&stp->sd_lock) && MUTEX_HELD(&pidlock) && in sess_ctty_clear()
277 ASSERT(MUTEX_HELD(&stp->sd_lock) && MUTEX_HELD(&pidlock) && in sess_ctty_set()
317 mutex_enter(&stp->sd_lock); /* protects sd_pgidp/sd_sidp */ in strctty()
330 mutex_exit(&stp->sd_lock); in strctty()
351 mutex_exit(&stp->sd_lock); in strctty()
368 mutex_exit(&stp->sd_lock); in strctty()
434 mutex_enter(&stp->sd_lock); /* protects sd_pgidp/sd_sidp */ in freectty_lock()
452 mutex_exit(&stp->sd_lock); in freectty_lock()
492 ASSERT(MUTEX_HELD(&stp->sd_lock) && MUTEX_HELD(&pidlock) && in freectty_signal()
[all …]
H A Dstrsubr.c651 mutex_init(&stp->sd_lock, NULL, MUTEX_DEFAULT, NULL); in stream_head_constructor()
670 mutex_destroy(&stp->sd_lock); in stream_head_destructor()
938 mutex_enter(&stp->sd_lock); in str_sendsig()
941 mutex_exit(&stp->sd_lock); in str_sendsig()
1234 mutex_enter(&STREAM(qp)->sd_lock); in qreopen()
1236 mutex_exit(&STREAM(qp)->sd_lock); in qreopen()
1845 mutex_enter(&stpdown->sd_lock); in mlink_file()
1847 mutex_exit(&stpdown->sd_lock); in mlink_file()
1854 mutex_enter(&stpdown->sd_lock); in mlink_file()
1856 mutex_exit(&stpdown->sd_lock); in mlink_file()
[all …]
H A Dputnext.c171 mutex_enter(sdlock = &stp->sd_lock); in putnext()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c90 kmutex_t sd_lock; member
570 ASSERT(MUTEX_HELD(&sdp->sd_lock)); in zfsctl_rename_snap()
662 mutex_enter(&sdp->sd_lock); in zfsctl_snapdir_rename()
666 mutex_exit(&sdp->sd_lock); in zfsctl_snapdir_rename()
674 mutex_exit(&sdp->sd_lock); in zfsctl_snapdir_rename()
715 mutex_enter(&sdp->sd_lock); in zfsctl_snapdir_remove()
730 mutex_exit(&sdp->sd_lock); in zfsctl_snapdir_remove()
808 if (MUTEX_HELD(&sdp->sd_lock)) in zfsctl_snapdir_lookup()
836 mutex_enter(&sdp->sd_lock); in zfsctl_snapdir_lookup()
859 mutex_exit(&sdp->sd_lock); in zfsctl_snapdir_lookup()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dstrsubr.h194 kmutex_t sd_lock; /* protect head consistency */ member
819 ASSERT(MUTEX_HELD(&(stp)->sd_lock)); \
831 ASSERT(MUTEX_HELD(&(stp)->sd_lock)); \
961 #define CLAIM_QNEXT_LOCK(stp) mutex_enter(&(stp)->sd_lock)
962 #define RELEASE_QNEXT_LOCK(stp) mutex_exit(&(stp)->sd_lock)
1069 #define STRLOCKMATES(X) if (&((X)->sd_lock) > &(((X)->sd_mate)->sd_lock)) { \
1070 mutex_enter(&((X)->sd_lock)); \
1071 mutex_enter(&(((X)->sd_mate)->sd_lock)); \
1073 mutex_enter(&(((X)->sd_mate)->sd_lock)); \
1074 mutex_enter(&((X)->sd_lock)); \
[all …]
/titanic_41/usr/src/uts/common/c2/
H A Daudit.c662 mutex_enter(&stp->sd_lock); in audit_strgetmsg()
671 mutex_exit(&stp->sd_lock); in audit_strgetmsg()
676 mutex_exit(&stp->sd_lock); in audit_strgetmsg()
692 mutex_enter(&stp->sd_lock); in audit_strputmsg()
701 mutex_exit(&stp->sd_lock); in audit_strputmsg()
706 mutex_exit(&stp->sd_lock); in audit_strputmsg()
1440 mutex_enter(&q->q_stream->sd_lock); in audit_sock()
1445 mutex_exit(&q->q_stream->sd_lock); in audit_sock()
1458 mutex_exit(&q->q_stream->sd_lock); in audit_sock()
1463 mutex_exit(&q->q_stream->sd_lock); in audit_sock()
[all …]
/titanic_41/usr/src/uts/common/fs/namefs/
H A Dnamevfs.c439 mutex_enter(&stp->sd_lock); in nm_mount()
441 mutex_exit(&stp->sd_lock); in nm_mount()
598 mutex_enter(&stp->sd_lock); in nm_unmount()
600 mutex_exit(&stp->sd_lock); in nm_unmount()
/titanic_41/usr/src/uts/common/io/
H A Dstream.c2115 ASSERT((q->q_flag & QREADR) || MUTEX_NOT_HELD(&STREAM(q)->sd_lock)); in qbackenable()
3562 mutex_enter(&stp->sd_lock); in strwakeq()
3573 mutex_exit(&stp->sd_lock); in strwakeq()
3575 mutex_enter(&stp->sd_lock); in strwakeq()
3587 mutex_exit(&stp->sd_lock); in strwakeq()
3589 mutex_enter(&stp->sd_lock); in strwakeq()
3603 mutex_exit(&stp->sd_lock); in strwakeq()
3605 mutex_enter(&stp->sd_lock); in strwakeq()
3610 mutex_exit(&stp->sd_lock); in strwakeq()
3777 mutex_enter(&stp->sd_lock); in rwnext()
[all …]
/titanic_41/usr/src/uts/common/crypto/io/
H A Dcrypto.c592 mutex_destroy(&sp->sd_lock); in crypto_close()
1961 mutex_init(&sp->sd_lock, NULL, MUTEX_DRIVER, NULL); in crypto_open_session()
2018 mutex_enter(&sp->sd_lock); in crypto_close_session()
2021 mutex_exit(&sp->sd_lock); in crypto_close_session()
2034 mutex_destroy(&sp->sd_lock); in crypto_close_session()
2454 mutex_enter(&sp->sd_lock); in get_session_ptr()
2457 if (cv_wait_sig(&sp->sd_cv, &sp->sd_lock) == 0) { in get_session_ptr()
2458 mutex_exit(&sp->sd_lock); in get_session_ptr()
2466 mutex_exit(&sp->sd_lock); in get_session_ptr()
2472 mutex_exit(&sp->sd_lock); in get_session_ptr()
[all …]
/titanic_41/usr/src/uts/i86pc/ml/
H A Doffsets.in271 sd_lock
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c401 mutex_enter(&stp->sd_lock); in so_basic_strinit()
404 mutex_exit(&stp->sd_lock); in so_basic_strinit()
1620 mutex_enter(&stp->sd_lock); in strsock_discon_ind()
1637 mutex_exit(&stp->sd_lock); in strsock_discon_ind()
H A Dsocktpi.c564 mutex_enter(&stp->sd_lock); in sotpi_init()
566 mutex_exit(&stp->sd_lock); in sotpi_init()
4506 mutex_enter(&stp->sd_lock); in kstrwritemp()
4508 mutex_exit(&stp->sd_lock); in kstrwritemp()
4524 mutex_enter(&stp->sd_lock); in kstrwritemp()
4527 mutex_exit(&stp->sd_lock); in kstrwritemp()
4544 mutex_exit(&stp->sd_lock); in kstrwritemp()
H A Dnl7curi.c1684 mutex_enter(&stp->sd_lock); in kstrwritempnoqwait()
1686 mutex_exit(&stp->sd_lock); in kstrwritempnoqwait()
H A Dsocksyscalls.c2685 mutex_enter(&stp->sd_lock); in snf_segmap()
2688 &stp->sd_lock) == 0) { in snf_segmap()
2694 mutex_exit(&stp->sd_lock); in snf_segmap()
/titanic_41/usr/src/uts/sun4/ml/
H A Doffsets.in450 sd_lock
/titanic_41/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c847 mutex_enter(&stp->sd_lock); in spec_open()
849 mutex_exit(&stp->sd_lock); in spec_open()
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp.c3295 mutex_enter(&stp->sd_lock); in tcp_zcopy_notify()
3298 mutex_exit(&stp->sd_lock); in tcp_zcopy_notify()
/titanic_41/usr/src/uts/common/sys/crypto/
H A Dimpl.h506 kmutex_t sd_lock; member