Searched refs:credit_alloc (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 575 entry->credit_alloc = (credits - 6); in htc_setup_target_buffer_assignments() 576 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments() 577 entry->credit_alloc++; in htc_setup_target_buffer_assignments() 579 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments() 585 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments() 586 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments() 594 entry->credit_alloc = (u8) credits; in htc_setup_target_buffer_assignments() 599 entry->credit_alloc = credits / 4; in htc_setup_target_buffer_assignments() 600 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments() 601 entry->credit_alloc++; in htc_setup_target_buffer_assignments() [all …]
|
D | htc.h | 540 u8 credit_alloc; member
|
/linux-4.4.14/net/rds/ |
D | iw_send.c | 501 u32 credit_alloc; in rds_iw_xmit() local 532 credit_alloc = work_alloc; in rds_iw_xmit() 534 credit_alloc = rds_iw_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_iw_xmit() 536 if (credit_alloc < work_alloc) { in rds_iw_xmit() 537 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_iw_xmit() 538 work_alloc = credit_alloc; in rds_iw_xmit() 738 if (ic->i_flowctl && i < credit_alloc) in rds_iw_xmit() 739 rds_iw_send_add_credits(conn, credit_alloc - i); in rds_iw_xmit()
|
D | ib_send.c | 496 u32 credit_alloc = 0; in rds_ib_xmit() local 532 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit() 534 if (credit_alloc < work_alloc) { in rds_ib_xmit() 535 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit() 536 work_alloc = credit_alloc; in rds_ib_xmit() 717 if (ic->i_flowctl && i < credit_alloc) in rds_ib_xmit() 718 rds_ib_send_add_credits(conn, credit_alloc - i); in rds_ib_xmit()
|