Home
last modified time | relevance | path

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

/Linux-v4.19/net/rds/
Dib_send.c499 u32 work_alloc; in rds_ib_xmit() local
527 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
528 if (work_alloc == 0) { in rds_ib_xmit()
536 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
538 if (credit_alloc < work_alloc) { in rds_ib_xmit()
539 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
540 work_alloc = credit_alloc; in rds_ib_xmit()
543 if (work_alloc == 0) { in rds_ib_xmit()
561 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
645 if (i < work_alloc in rds_ib_xmit()
[all …]