Home
last modified time | relevance | path

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

/Linux-v5.4/net/rds/
Dib_send.c495 u32 work_alloc; in rds_ib_xmit() local
523 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
524 if (work_alloc == 0) { in rds_ib_xmit()
532 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
534 if (credit_alloc < work_alloc) { in rds_ib_xmit()
535 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
536 work_alloc = credit_alloc; in rds_ib_xmit()
539 if (work_alloc == 0) { in rds_ib_xmit()
557 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
641 if (i < work_alloc in rds_ib_xmit()
[all …]