Home
last modified time | relevance | path

Searched refs:RINGSIZE (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dqcn.h47 #define RINGSIZE (1<<RINGBITS) /* size of ring */ macro
48 #define RINGMASK (RINGSIZE-1)
52 #define RING_POK(qsp, n) ((int)RING_CNT(qsp) < (int)(RINGSIZE-(n)))
59 #define RING_LEFT(qsp) (RING_POFF(qsp) >= RING_GOFF(qsp) ? (RINGSIZE) - \
/illumos-gate/usr/src/uts/sun/sys/
H A Dser_async.h77 #define RINGSIZE (1<<RINGBITS) /* size of ring */ macro
78 #define RINGMASK (RINGSIZE-1)
83 #define RING_FRAC(zap) ((int)RING_CNT(zap) >= (int)(RINGSIZE/RINGFRAC))
84 #define RING_POK(zap, n) ((int)RING_CNT(zap) < (int)(RINGSIZE-(n)))
167 ushort_t za_ring[RINGSIZE];
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/
H A Din.chargend.c43 #define RINGSIZE 128 macro
46 static char ring[RINGSIZE];
57 for (ch = 0; ch <= RINGSIZE; ++ch) { in initring()
/illumos-gate/usr/src/uts/sun4/sys/
H A Dsudev.h196 #define RINGSIZE (1<<RINGBITS) /* size of ring */ macro
197 #define RINGMASK (RINGSIZE-1)
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)))
309 ushort_t async_ring[RINGSIZE];
/illumos-gate/usr/src/uts/common/sys/
H A Dasy.h173 #define RINGSIZE (1<<RINGBITS) /* size of ring */ macro
174 #define RINGMASK (RINGSIZE-1)
181 #define RING_FRAC(ap) ((int)RING_CNT(ap) >= (int)(RINGSIZE/RINGFRAC))
182 #define RING_POK(ap, n) ((int)RING_CNT(ap) < (int)(RINGSIZE-(n)))
341 ushort_t async_ring[RINGSIZE];
/illumos-gate/usr/src/uts/sun4v/io/
H A Dqcn.c201 qcn_state->qcn_ring = contig_mem_alloc(RINGSIZE); in _init()
207 contig_mem_free(qcn_state->qcn_ring, RINGSIZE); in _init()
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c1895 if ((int)(RING_CNT(async)) > (RINGSIZE * 3)/4) { in async_rxint()
2222 ((int)(RING_CNT(async)) < (RINGSIZE/4))) { in async_softint()
/illumos-gate/usr/src/uts/common/io/
H A Dasy.c2571 if ((RING_CNT(async) > (RINGSIZE * 3)/4) && in async_rxint()
2928 if ((RING_CNT(async) < (RINGSIZE/4)) && in async_softint()