Lines Matching refs:TCP_Server_Info
181 struct TCP_Server_Info;
197 int (*send_cancel)(struct TCP_Server_Info *, void *,
204 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
207 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
209 void (*add_credits)(struct TCP_Server_Info *, const unsigned int,
211 void (*set_credits)(struct TCP_Server_Info *, const int);
212 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
214 __u64 (*get_next_mid)(struct TCP_Server_Info *);
222 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
229 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
230 void (*downgrade_oplock)(struct TCP_Server_Info *,
233 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
236 bool (*need_neg)(struct TCP_Server_Info *);
285 bool (*can_echo)(struct TCP_Server_Info *);
287 int (*echo)(struct TCP_Server_Info *);
352 bool (*is_status_pending)(char *, struct TCP_Server_Info *, int);
374 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *);
414 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
545 struct TCP_Server_Info { struct
634 in_flight(struct TCP_Server_Info *server) in in_flight() argument
644 has_credits(struct TCP_Server_Info *server, int *credits) in has_credits()
654 add_credits(struct TCP_Server_Info *server, const unsigned int add, in add_credits()
661 add_credits_and_wake_if(struct TCP_Server_Info *server, const unsigned int add, in add_credits_and_wake_if()
671 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
677 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
683 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
757 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
762 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
769 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
774 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
787 struct TCP_Server_Info *server; /* pointer to server info */
1083 int (*read_into_pages)(struct TCP_Server_Info *server,
1256 typedef int (mid_receive_t)(struct TCP_Server_Info *server,
1272 struct TCP_Server_Info *server; /* server corresponding to this mid */
1296 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1301 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1306 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1311 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
1321 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1324 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1328 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1332 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()