Searched refs:num_credits (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/cifs/ |
D | transport.c | 518 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() argument 554 if (*credits < num_credits) { in wait_for_free_credits() 558 has_credits(server, credits, num_credits), t); in wait_for_free_credits() 562 server->hostname, num_credits, 0); in wait_for_free_credits() 589 if (!optype && num_credits == 1 && in wait_for_free_credits() 603 server->hostname, num_credits, in wait_for_free_credits() 622 *credits -= num_credits; in wait_for_free_credits() 623 server->in_flight += num_credits; in wait_for_free_credits()
|
D | cifsglob.h | 802 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits() argument 808 return num >= num_credits; in has_credits()
|