Searched refs:s_cnt (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dsession.h95 int s_cnt; /* active users of this ctty */ member in struct:sess
96 kcondvar_t s_cnt_cv; /* Condvar for s_cnt */
100 * and s_cnt is 0. (ie, no one has a tty_hold() on this session.)
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_krb.h83 uint32_t s_cnt; member in struct:smb_krb5_pn_set
H A Dsmbns_ksetpwd.c122 for (i = 0, set->s_cnt = 0; i < SMB_KRB5_SPN_TAB_SZ; i++) {
125 if (set->s_cnt == cnt)
131 set->s_pns[set->s_cnt] = smb_krb5_get_pn_by_id(tabent->p_id,
133 if (set->s_pns[set->s_cnt] == NULL) {
141 set->s_cnt++;
144 if (set->s_cnt == 0)
147 return (set->s_cnt);
158 for (i = 0; i < set->s_cnt; i++)
H A Dsmbns_ads.c1765 if (smb_krb5_get_kprincs(ctx, spns.s_pns, spns.s_cnt, &krb5princs)
1772 cnt = spns.s_cnt;
/illumos-gate/usr/src/uts/common/os/
H A Dsession.c58 0, /* s_cnt */
107 ASSERT(sp->s_cnt == 0);
179 sp->s_cnt++;
193 if ((--sp->s_cnt) == 0)
342 if (sp->s_cnt == 0)
418 * to prevent this we bump s_ref and s_cnt here.
425 sp->s_cnt++; /* protect vp and stp */
468 if ((--(sp)->s_cnt) == 0)
508 sp->s_cnt++; /* protect vp and stp */
578 if (sp->s_cnt
[all...]

Completed in 65 milliseconds