Lines Matching refs:SRN_MAX_CLONE
62 #define SRN_MINOR_TO_CLONE(minor) ((minor) & (SRN_MAX_CLONE - 1))
67 extern kcondvar_t srn_clones_cv[SRN_MAX_CLONE];
68 extern uint_t srn_poll_cnt[SRN_MAX_CLONE];
77 uchar_t srn_clones[SRN_MAX_CLONE]; /* unique opens */
78 struct cred *srn_cred[SRN_MAX_CLONE]; /* cred for each open */
79 int srn_type[SRN_MAX_CLONE]; /* type of handshake */
80 int srn_delivered[SRN_MAX_CLONE];
81 srn_event_info_t srn_pending[SRN_MAX_CLONE];
82 int srn_fault[SRN_MAX_CLONE];
86 kcondvar_t srn_clones_cv[SRN_MAX_CLONE];
87 uint_t srn_poll_cnt[SRN_MAX_CLONE]; /* count of events for poll */
93 struct pollhead srn_pollhead[SRN_MAX_CLONE];
188 for (i = 0; i < SRN_MAX_CLONE; i++) in srn_attach()
223 for (i = 0; i < SRN_MAX_CLONE; i++) in srn_detach()
311 for (clone = 1; clone < SRN_MAX_CLONE - 1; clone++) in srn_open()
315 if (clone == SRN_MAX_CLONE) { in srn_open()
547 for (clone = 0; clone < SRN_MAX_CLONE; clone++) { in srn_notify()
577 for (clone = 1; clone < SRN_MAX_CLONE; clone++) { in srn_notify()