Home
last modified time | relevance | path

Searched refs:num_items (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h85 size_t num_items; /* count */ member
149 (uint32_t)(ring->num_items - ring->num_used)
151 #define RING_FULL(ring) (ring->num_used == ring->num_items)
156 ring->cidx = GET_Q_NEXT(ring->cidx, n, ring->num_items)
159 ring->pidx = GET_Q_NEXT(ring->pidx, n, ring->num_items)
H A Doce_io.h298 uint32_t num_items, uint32_t item_size,
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_buf.c168 uint32_t num_items, uint32_t item_size, uint32_t flags) in create_ring_buffer() argument
180 size = num_items * item_size; in create_ring_buffer()
189 ring->num_items = num_items; in create_ring_buffer()
H A Doce_rx.c286 cur_index = GET_Q_NEXT(cur_index, 1, ring->num_items); in oce_rq_charge()
378 cur_index = GET_Q_NEXT(cur_index, 1, ring->num_items); in oce_rx()
433 cur_index = GET_Q_NEXT(cur_index, 1, ring->num_items); in oce_rx_bcopy()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_page.c517 u_int32_t num_items, const u_int8_t expanding) in __addel() argument
519 __addel(hashp, item_info, key, val, num_items, expanding) in __addel()
523 u_int32_t num_items;
602 switch (num_items) {
614 num_items > hashp->hdr.ffactor ? 1 : do_expand;
H A Dhash.c717 u_int32_t num_items; local
723 num_items = 0;
750 num_items++;
779 if (__addel(hashp, &item_info, key, val, num_items, 0))