Home
last modified time | relevance | path

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

/linux-6.1.9/net/rds/
Dib_send.c496 u32 work_alloc; in rds_ib_xmit() local
524 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
525 if (work_alloc == 0) { in rds_ib_xmit()
533 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
535 if (credit_alloc < work_alloc) { in rds_ib_xmit()
536 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
537 work_alloc = credit_alloc; in rds_ib_xmit()
540 if (work_alloc == 0) { in rds_ib_xmit()
558 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
649 if (i < work_alloc in rds_ib_xmit()
[all …]