Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/rds/
Dib_send.c497 u32 work_alloc; in rds_ib_xmit() local
525 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
526 if (work_alloc == 0) { in rds_ib_xmit()
534 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
536 if (credit_alloc < work_alloc) { in rds_ib_xmit()
537 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
538 work_alloc = credit_alloc; in rds_ib_xmit()
541 if (work_alloc == 0) { in rds_ib_xmit()
559 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
650 if (i < work_alloc in rds_ib_xmit()
[all …]