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.h79 #define RINGSIZE (1<<RINGBITS) /* size of ring */ macro
80 #define RINGMASK (RINGSIZE-1)
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)))
169 ushort_t za_ring[RINGSIZE];
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/
H A Din.chargend.c45 #define RINGSIZE 128 macro
48 static char ring[RINGSIZE];
59 for (ch = 0; ch <= RINGSIZE; ++ch) {
/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.h172 #define RINGSIZE (1<<RINGBITS) /* size of ring */ macro
173 #define RINGMASK (RINGSIZE-1)
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)))
340 ushort_t async_ring[RINGSIZE];
/illumos-gate/usr/src/uts/sun4v/io/
H A Dqcn.c201 qcn_state->qcn_ring = contig_mem_alloc(RINGSIZE);
207 contig_mem_free(qcn_state->qcn_ring, RINGSIZE);
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c1895 if ((int)(RING_CNT(async)) > (RINGSIZE * 3)/4) {
2222 ((int)(RING_CNT(async)) < (RINGSIZE/4))) {
/illumos-gate/usr/src/uts/common/io/
H A Dasy.c2543 if ((RING_CNT(async) > (RINGSIZE * 3)/4) &&
2896 if ((RING_CNT(async) < (RINGSIZE/4)) &&

Completed in 117 milliseconds