Home
last modified time | relevance | path

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

/titanic_41/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,
/titanic_41/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()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_page.c526 u_int32_t num_items, const u_int8_t expanding) in __addel() argument
528 __addel(hashp, item_info, key, val, num_items, expanding) in __addel()
532 u_int32_t num_items;
611 switch (num_items) {
623 num_items > hashp->hdr.ffactor ? 1 : do_expand;
H A Dhash.c724 u_int32_t num_items; local
730 num_items = 0;
757 num_items++;
786 if (__addel(hashp, &item_info, key, val, num_items, 0))