Lines Matching refs:credits
454 int *credits) in wait_for_free_credits() argument
462 *credits -= 1; in wait_for_free_credits()
468 if (*credits <= 0) { in wait_for_free_credits()
472 has_credits(server, credits)); in wait_for_free_credits()
490 *credits -= 1; in wait_for_free_credits()
515 unsigned int *num, unsigned int *credits) in cifs_wait_mtu_credits() argument
518 *credits = 0; in cifs_wait_mtu_credits()
609 unsigned int credits = 0; in cifs_call_async() local
618 credits = 1; in cifs_call_async()
625 add_credits_and_wake_if(server, credits, optype); in cifs_call_async()
650 revert_current_mid(server, mid->credits); in cifs_call_async()
660 add_credits_and_wake_if(server, credits, optype); in cifs_call_async()
800 unsigned int credits[MAX_COMPOUND] = {0}; in compound_send_recv() local
841 credits[i] = 1; in compound_send_recv()
862 add_credits(ses->server, credits[j], optype); in compound_send_recv()
923 credits[i] = ses->server->ops->get_credits(midQ[i]); in compound_send_recv()
985 add_credits(ses->server, credits[i], optype); in compound_send_recv()