Searched refs:sd_mate (Results 1 – 4 of 4) sorted by relevance
203 struct stdata *sd_mate; /* pointer to twisted stream mate */ member1069 #define STRLOCKMATES(X) if (&((X)->sd_lock) > &(((X)->sd_mate)->sd_lock)) { \1071 mutex_enter(&(((X)->sd_mate)->sd_lock)); \1073 mutex_enter(&(((X)->sd_mate)->sd_lock)); \1077 mutex_exit(&(((X)->sd_mate)->sd_lock))
3284 stp->sd_mate = NULL; in shalloc()4342 struct stdata *stmatep = stp->sd_mate; in strstartplumb()4579 if (&(stp->sd_lock) > &((stp->sd_mate)->sd_lock)) { in strlock()4581 stp2 = stp->sd_mate; in strlock()4584 stp1 = stp->sd_mate; in strlock()4636 STREAM_PUTLOCKS_EXIT(stp->sd_mate); in strlock()4639 mutex_exit(&stp->sd_mate->sd_reflock); in strlock()4688 STREAM_PUTLOCKS_EXIT(stp->sd_mate); in strunlock()4691 mutex_exit(&stp->sd_mate->sd_reflock); in strunlock()5218 sqlist_insertall(sqlist, stp->sd_mate->sd_wrq); in sqlist_build()[all …]
271 struct stdata *strmatep = stp->sd_mate; in stropen()649 struct stdata *strmatep = stp->sd_mate; in strclose()5719 qp = _RD(stp->sd_mate->sd_wrq); in do_sendfp()8567 STREAM(wrq1)->sd_mate = STREAM(wrq2); in strmate()8569 STREAM(wrq2)->sd_mate = STREAM(wrq1); in strmate()
840 mdb_printf("%p\n", sd->sd_mate ? sd->sd_mate : addr); in sdprint_mate()