Lines Matching defs:server
627 #define HEADER_SIZE(server) (server->vals->header_size) argument
628 #define MAX_HEADER_SIZE(server) (server->vals->max_header_size) argument
629 #define HEADER_PREAMBLE_SIZE(server) (server->vals->header_preamble_size) argument
630 #define MID_HEADER_SIZE(server) (HEADER_SIZE(server) - 1 - HEADER_PREAMBLE_SIZE(server)) argument
804 #define SERVER_IS_CHAN(server) (!!(server)->primary_server) argument
830 static inline bool is_smb1(struct TCP_Server_Info *server) in is_smb1()
835 static inline void cifs_server_lock(struct TCP_Server_Info *server) in cifs_server_lock()
843 static inline void cifs_server_unlock(struct TCP_Server_Info *server) in cifs_server_unlock()
857 in_flight(struct TCP_Server_Info *server) in in_flight()
868 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits()
879 add_credits(struct TCP_Server_Info *server, const struct cifs_credits *credits, in add_credits()
886 add_credits_and_wake_if(struct TCP_Server_Info *server, in add_credits_and_wake_if()
896 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
902 adjust_credits(struct TCP_Server_Info *server, struct cifs_credits *credits, in adjust_credits()
910 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
916 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
927 revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in revert_current_mid()
934 revert_current_mid_from_hdr(struct TCP_Server_Info *server, in revert_current_mid_from_hdr()
1048 struct TCP_Server_Info *server; member
1065 struct TCP_Server_Info *server; /* pointer to server info */ member
1470 struct TCP_Server_Info *server; member
1512 struct TCP_Server_Info *server; member
1534 struct TCP_Server_Info *server; member
1709 struct TCP_Server_Info *server; /* server corresponding to this mid */ member
1747 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1752 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1757 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1762 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
1811 struct TCP_Server_Info *server; member
2164 static inline bool is_smb1_server(struct TCP_Server_Info *server) in is_smb1_server()