Home
last modified time | relevance | path

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

/Linux-v6.6/fs/smb/client/
Dtransport.c488 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() argument
543 if (*credits < num_credits) { in wait_for_free_credits()
549 has_credits(server, credits, num_credits), t); in wait_for_free_credits()
559 num_credits, in_flight); in wait_for_free_credits()
581 if (!optype && num_credits == 1 && in wait_for_free_credits()
602 scredits, num_credits, in_flight); in wait_for_free_credits()
620 *credits -= num_credits; in wait_for_free_credits()
621 server->in_flight += num_credits; in wait_for_free_credits()
632 -(num_credits), in_flight); in wait_for_free_credits()
634 __func__, num_credits, scredits); in wait_for_free_credits()
Dcifsglob.h812 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits() argument
819 return num >= num_credits; in has_credits()