Searched refs:credit_alloc (Results 1 – 3 of 3) sorted by relevance
573 entry->credit_alloc = (credits - 6); in htc_setup_target_buffer_assignments() 574 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments() 575 entry->credit_alloc++; in htc_setup_target_buffer_assignments() 577 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments() 583 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments() 584 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments() 592 entry->credit_alloc = (u8) credits; in htc_setup_target_buffer_assignments() 597 entry->credit_alloc = credits / 4; in htc_setup_target_buffer_assignments() 598 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments() 599 entry->credit_alloc in htc_setup_target_buffer_assignments() [all...]
547 u8 credit_alloc; member
497 u32 credit_alloc = 0; in rds_ib_xmit() local 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() 729 if (ic->i_flowctl && i < credit_alloc) in rds_ib_xmit() 730 rds_ib_send_add_credits(conn, credit_alloc - i); in rds_ib_xmit()