Lines Matching refs:stp
252 #define STREAM_NEEDSERVICE(stp) ((stp)->sd_qhead != NULL) argument
818 #define STREAM_PUTLOCKS_ENTER(stp) { \ argument
819 ASSERT(MUTEX_HELD(&(stp)->sd_lock)); \
820 if ((stp)->sd_ciputctrl != NULL) { \
822 int nlocks = (stp)->sd_nciputctrl; \
823 ciputctrl_t *cip = (stp)->sd_ciputctrl; \
830 #define STREAM_PUTLOCKS_EXIT(stp) { \ argument
831 ASSERT(MUTEX_HELD(&(stp)->sd_lock)); \
832 if ((stp)->sd_ciputctrl != NULL) { \
834 int nlocks = (stp)->sd_nciputctrl; \
835 ciputctrl_t *cip = (stp)->sd_ciputctrl; \
961 #define CLAIM_QNEXT_LOCK(stp) mutex_enter(&(stp)->sd_lock) argument
962 #define RELEASE_QNEXT_LOCK(stp) mutex_exit(&(stp)->sd_lock) argument