| 251 | } |
| 252 | |
| 253 | static inline unsigned |
| 254 | ccp_queue_get_ring_space(struct ccp_queue *qp) |
| 255 | { |
| 256 | struct ccp_softc *sc; |
| 257 | |
| 258 | sc = qp->cq_softc; |
| 259 | return ((1 << sc->ring_size_order) - ccp_queue_get_active(qp) - 1); |
| 260 | } |
no test coverage detected