Home
last modified time | relevance | path

Searched refs:RING_CNT (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/sun/sys/
H A Dser_async.h84 #define RING_CNT(zap) (((zap)->za_rput - (zap)->za_rget) & RINGMASK) macro
85 #define RING_FRAC(zap) ((int)RING_CNT(zap) >= (int)(RINGSIZE/RINGFRAC))
86 #define RING_POK(zap, n) ((int)RING_CNT(zap) < (int)(RINGSIZE-(n)))
90 #define RING_GOK(zap, n) ((int)RING_CNT(zap) >= (int)(n))
/titanic_41/usr/src/uts/sun4/sys/
H A Dsudev.h201 #define RING_CNT(ap) (((ap)->async_rput - (ap)->async_rget) & RINGMASK) macro
202 #define RING_FRAC(ap) ((int)RING_CNT(ap) >= (int)(RINGSIZE/RINGFRAC))
203 #define RING_POK(ap, n) ((int)RING_CNT(ap) < (int)(RINGSIZE-(n)))
207 #define RING_GOK(ap, n) ((int)RING_CNT(ap) >= (int)(n))
/titanic_41/usr/src/uts/sun4v/sys/
H A Dqcn.h51 #define RING_CNT(qsp) (((qsp)->qcn_rput - (qsp)->qcn_rget) & RINGMASK) macro
52 #define RING_POK(qsp, n) ((int)RING_CNT(qsp) < (int)(RINGSIZE-(n)))
/titanic_41/usr/src/uts/common/sys/
H A Dasy.h177 #define RING_CNT(ap) (((ap)->async_rput >= (ap)->async_rget) ? \ macro
180 #define RING_FRAC(ap) ((int)RING_CNT(ap) >= (int)(RINGSIZE/RINGFRAC))
181 #define RING_POK(ap, n) ((int)RING_CNT(ap) < (int)(RINGSIZE-(n)))
185 #define RING_GOK(ap, n) ((int)RING_CNT(ap) >= (int)(n))
/titanic_41/usr/src/uts/sun4v/io/
H A Dqcn.c1004 cc = RING_CNT(qcn_state); in qcn_soft_intr()
1089 if (RING_CNT(qcn_state) <= 0) { in qcn_receive_read()
/titanic_41/usr/src/uts/sun4/io/
H A Dsu_driver.c1895 if ((int)(RING_CNT(async)) > (RINGSIZE * 3)/4) { in async_rxint()
2057 cc = RING_CNT(async); in asysoftintr()
2196 if ((cc = RING_CNT(async)) == 0) { in async_softint()
2222 ((int)(RING_CNT(async)) < (RINGSIZE/4))) { in async_softint()
/titanic_41/usr/src/uts/common/io/
H A Dasy.c2543 if ((RING_CNT(async) > (RINGSIZE * 3)/4) && in async_rxint()
2659 cc = RING_CNT(async); in asysoftintr()
2830 if ((cc = RING_CNT(async)) == 0) in async_softint()
2896 if ((RING_CNT(async) < (RINGSIZE/4)) && in async_softint()