Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dtransport.c424 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() argument
479 if (*credits < num_credits) { in wait_for_free_credits()
485 has_credits(server, credits, num_credits), t); in wait_for_free_credits()
495 num_credits, in_flight); in wait_for_free_credits()
517 if (!optype && num_credits == 1 && in wait_for_free_credits()
538 scredits, num_credits, in_flight); in wait_for_free_credits()
556 *credits -= num_credits; in wait_for_free_credits()
557 server->in_flight += num_credits; in wait_for_free_credits()
568 -(num_credits), in_flight); in wait_for_free_credits()
570 __func__, num_credits, scredits); in wait_for_free_credits()
H A Dcifsglob.h877 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits() argument
884 return num >= num_credits; in has_credits()