Lines Matching +defs:val +defs:server
661 #define HEADER_SIZE(server) (server->vals->header_size) argument
662 #define MAX_HEADER_SIZE(server) (server->vals->max_header_size) argument
663 #define HEADER_PREAMBLE_SIZE(server) (server->vals->header_preamble_size) argument
664 #define MID_HEADER_SIZE(server) (HEADER_SIZE(server) - 1 - HEADER_PREAMBLE_SIZE(server)) argument
839 #define SERVER_IS_CHAN(server) (!!(server)->primary_server) argument
858 static inline bool is_smb1(struct TCP_Server_Info *server) in is_smb1()
863 static inline void cifs_server_lock(struct TCP_Server_Info *server) in cifs_server_lock()
871 static inline void cifs_server_unlock(struct TCP_Server_Info *server) in cifs_server_unlock()
888 in_flight(struct TCP_Server_Info *server) in in_flight()
899 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits()
910 add_credits(struct TCP_Server_Info *server, struct cifs_credits *credits, in add_credits()
917 add_credits_and_wake_if(struct TCP_Server_Info *server, in add_credits_and_wake_if()
928 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
934 adjust_credits(struct TCP_Server_Info *server, struct cifs_io_subrequest *subreq, in adjust_credits()
942 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
948 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
959 revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in revert_current_mid()
966 revert_current_mid_from_hdr(struct TCP_Server_Info *server, in revert_current_mid_from_hdr()
1080 struct TCP_Server_Info *server; member
1098 struct TCP_Server_Info *server; /* pointer to server info */ member
1506 struct TCP_Server_Info *server; member
1528 struct TCP_Server_Info *server; member
1700 struct TCP_Server_Info *server; /* server corresponding to this mid */ member
1738 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1743 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1748 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1753 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
1802 struct TCP_Server_Info *server; member
2160 static inline bool is_smb1_server(struct TCP_Server_Info *server) in is_smb1_server()