Searched refs:sd_mate (Results 1 – 4 of 4) sorted by relevance
210 struct stdata *sd_mate; /* pointer to twisted stream mate */ member1087 #define STRLOCKMATES(X) if (&((X)->sd_lock) > &(((X)->sd_mate)->sd_lock)) { \1089 mutex_enter(&(((X)->sd_mate)->sd_lock)); \1091 mutex_enter(&(((X)->sd_mate)->sd_lock)); \1095 mutex_exit(&(((X)->sd_mate)->sd_lock))
3309 stp->sd_mate = NULL; in shalloc()4367 struct stdata *stmatep = stp->sd_mate; in strstartplumb()4604 if (&(stp->sd_lock) > &((stp->sd_mate)->sd_lock)) { in strlock()4606 stp2 = stp->sd_mate; in strlock()4609 stp1 = stp->sd_mate; in strlock()4661 STREAM_PUTLOCKS_EXIT(stp->sd_mate); in strlock()4664 mutex_exit(&stp->sd_mate->sd_reflock); in strlock()4713 STREAM_PUTLOCKS_EXIT(stp->sd_mate); in strunlock()4716 mutex_exit(&stp->sd_mate->sd_reflock); in strunlock()5243 sqlist_insertall(sqlist, stp->sd_mate->sd_wrq); in sqlist_build()[all …]
318 struct stdata *strmatep = stp->sd_mate; in stropen()702 struct stdata *strmatep = stp->sd_mate; in strclose()5844 qp = _RD(stp->sd_mate->sd_wrq); in do_sendfp()8681 STREAM(wrq1)->sd_mate = STREAM(wrq2); in strmate()8683 STREAM(wrq2)->sd_mate = STREAM(wrq1); in strmate()
844 mdb_printf("%p\n", sd->sd_mate ? sd->sd_mate : addr); in sdprint_mate()