Lines Matching refs:TCP_Server_Info

177 struct TCP_Server_Info;
193 int (*send_cancel)(struct TCP_Server_Info *, void *,
200 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
203 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
205 void (*add_credits)(struct TCP_Server_Info *, const unsigned int,
207 void (*set_credits)(struct TCP_Server_Info *, const int);
208 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
210 __u64 (*get_next_mid)(struct TCP_Server_Info *);
218 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
225 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
226 void (*downgrade_oplock)(struct TCP_Server_Info *,
229 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
232 bool (*need_neg)(struct TCP_Server_Info *);
281 bool (*can_echo)(struct TCP_Server_Info *);
283 int (*echo)(struct TCP_Server_Info *);
348 bool (*is_status_pending)(char *, struct TCP_Server_Info *, int);
370 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *);
405 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
533 struct TCP_Server_Info { struct
622 in_flight(struct TCP_Server_Info *server) in in_flight() argument
632 has_credits(struct TCP_Server_Info *server, int *credits) in has_credits()
642 add_credits(struct TCP_Server_Info *server, const unsigned int add, in add_credits()
649 add_credits_and_wake_if(struct TCP_Server_Info *server, const unsigned int add, in add_credits_and_wake_if()
659 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
665 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
671 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
745 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
750 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
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()
775 struct TCP_Server_Info *server; /* pointer to server info */
1068 int (*read_into_pages)(struct TCP_Server_Info *server,
1241 typedef int (mid_receive_t)(struct TCP_Server_Info *server,
1257 struct TCP_Server_Info *server; /* server corresponding to this mid */
1281 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1286 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1291 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1296 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
1306 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1309 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1313 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1317 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()