Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_rx.c653 int to_charge = 0; in oce_start_rq() local
655 to_charge = rq->cfg.q_len - rq->buf_avail; in oce_start_rq()
656 to_charge = min(to_charge, rq->rqb_free); in oce_start_rq()
657 atomic_add_32(&rq->rqb_free, -to_charge); in oce_start_rq()
658 (void) oce_rq_charge(rq, to_charge, B_FALSE); in oce_start_rq()
660 oce_rq_post_buffer(rq, to_charge); in oce_start_rq()