Lines Matching refs:TCP_Server_Info

204 struct TCP_Server_Info;
220 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
227 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
230 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
232 void (*add_credits)(struct TCP_Server_Info *, const unsigned int,
234 void (*set_credits)(struct TCP_Server_Info *, const int);
235 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
237 __u64 (*get_next_mid)(struct TCP_Server_Info *);
251 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
252 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
257 int (*check_message)(char *, unsigned int, struct TCP_Server_Info *);
258 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
259 int (*handle_cancelled_mid)(char *, struct TCP_Server_Info *);
260 void (*downgrade_oplock)(struct TCP_Server_Info *,
263 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
266 bool (*need_neg)(struct TCP_Server_Info *);
315 bool (*can_echo)(struct TCP_Server_Info *);
317 int (*echo)(struct TCP_Server_Info *);
384 unsigned int (*calc_smb_size)(void *buf, struct TCP_Server_Info *ptcpi);
386 bool (*is_status_pending)(char *, struct TCP_Server_Info *, int);
410 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *);
453 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
460 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
463 int (*receive_transform)(struct TCP_Server_Info *,
465 enum securityEnum (*select_sectype)(struct TCP_Server_Info *,
602 struct TCP_Server_Info { struct
700 in_flight(struct TCP_Server_Info *server) in in_flight() argument
710 has_credits(struct TCP_Server_Info *server, int *credits) in has_credits()
720 add_credits(struct TCP_Server_Info *server, const unsigned int add, in add_credits()
727 add_credits_and_wake_if(struct TCP_Server_Info *server, const unsigned int add, in add_credits_and_wake_if()
737 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
743 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
749 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
823 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
828 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
835 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
840 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
861 struct TCP_Server_Info *server; /* pointer to server info */
1193 int (*read_into_pages)(struct TCP_Server_Info *server,
1196 int (*copy_into_pages)(struct TCP_Server_Info *server,
1368 typedef int (mid_receive_t)(struct TCP_Server_Info *server,
1385 typedef int (mid_handle_t)(struct TCP_Server_Info *server,
1392 struct TCP_Server_Info *server; /* server corresponding to this mid */
1426 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1431 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1436 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1441 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
1451 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1454 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1458 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1462 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()