Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Dtransport.c486 wait_for_free_credits(struct TCP_Server_Info *server, const int num_credits, in wait_for_free_credits() argument
541 if (*credits < num_credits) { in wait_for_free_credits()
547 has_credits(server, credits, num_credits), t); in wait_for_free_credits()
557 num_credits, in_flight); in wait_for_free_credits()
579 if (!optype && num_credits == 1 && in wait_for_free_credits()
600 scredits, num_credits, in_flight); in wait_for_free_credits()
618 *credits -= num_credits; in wait_for_free_credits()
619 server->in_flight += num_credits; in wait_for_free_credits()
630 -(num_credits), in_flight); in wait_for_free_credits()
632 __func__, num_credits, scredits); in wait_for_free_credits()
H A Dcifsglob.h867 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits() argument
874 return num >= num_credits; in has_credits()