Searched refs:credit_alloc (Results 1 – 3 of 3) sorted by relevance
574 entry->credit_alloc = (credits - 6); in htc_setup_target_buffer_assignments()575 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments()576 entry->credit_alloc++; in htc_setup_target_buffer_assignments()578 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()584 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments()585 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()593 entry->credit_alloc = (u8) credits; in htc_setup_target_buffer_assignments()598 entry->credit_alloc = credits / 4; in htc_setup_target_buffer_assignments()599 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments()600 entry->credit_alloc++; in htc_setup_target_buffer_assignments()[all …]
540 u8 credit_alloc; member
500 u32 credit_alloc = 0; in rds_ib_xmit() local536 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()720 if (ic->i_flowctl && i < credit_alloc) in rds_ib_xmit()721 rds_ib_send_add_credits(conn, credit_alloc - i); in rds_ib_xmit()