Lines Matching refs:TCP_Server_Info
226 struct TCP_Server_Info;
243 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
248 struct TCP_Server_Info *,
251 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
254 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
256 void (*add_credits)(struct TCP_Server_Info *server,
259 void (*set_credits)(struct TCP_Server_Info *, const int);
260 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
262 __u64 (*get_next_mid)(struct TCP_Server_Info *);
263 void (*revert_current_mid)(struct TCP_Server_Info *server,
278 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
279 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
284 int (*check_message)(char *, unsigned int, struct TCP_Server_Info *);
285 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
286 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
287 void (*downgrade_oplock)(struct TCP_Server_Info *server,
291 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
294 bool (*need_neg)(struct TCP_Server_Info *);
298 struct TCP_Server_Info *server);
305 struct TCP_Server_Info *server,
351 bool (*can_echo)(struct TCP_Server_Info *);
353 int (*echo)(struct TCP_Server_Info *);
427 bool (*is_status_pending)(char *buf, struct TCP_Server_Info *server);
451 struct TCP_Server_Info *server);
452 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *,
498 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
501 int (*adjust_credits)(struct TCP_Server_Info *server,
509 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
512 int (*receive_transform)(struct TCP_Server_Info *,
514 enum securityEnum (*select_sectype)(struct TCP_Server_Info *,
516 int (*next_header)(struct TCP_Server_Info *server, char *buf,
540 void (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv);
613 struct TCP_Server_Info { struct
737 struct TCP_Server_Info *primary_server; argument
762 static inline bool is_smb1(struct TCP_Server_Info *server) in is_smb1() argument
767 static inline void cifs_server_lock(struct TCP_Server_Info *server) in cifs_server_lock()
775 static inline void cifs_server_unlock(struct TCP_Server_Info *server) in cifs_server_unlock()
789 in_flight(struct TCP_Server_Info *server) in in_flight()
800 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits()
811 add_credits(struct TCP_Server_Info *server, const struct cifs_credits *credits, in add_credits()
818 add_credits_and_wake_if(struct TCP_Server_Info *server, in add_credits_and_wake_if()
828 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
834 adjust_credits(struct TCP_Server_Info *server, struct cifs_credits *credits, in adjust_credits()
842 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
848 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
859 revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in revert_current_mid()
866 revert_current_mid_from_hdr(struct TCP_Server_Info *server, in revert_current_mid_from_hdr()
933 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
938 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
945 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
950 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
980 struct TCP_Server_Info *server;
995 struct TCP_Server_Info *server; /* pointer to server info */
1383 struct TCP_Server_Info *server;
1422 int (*read_into_pages)(struct TCP_Server_Info *server,
1425 int (*copy_into_pages)(struct TCP_Server_Info *server,
1429 struct TCP_Server_Info *server;
1454 struct TCP_Server_Info *server;
1608 typedef int (mid_receive_t)(struct TCP_Server_Info *server,
1625 typedef int (mid_handle_t)(struct TCP_Server_Info *server,
1632 struct TCP_Server_Info *server; /* server corresponding to this mid */
1670 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1675 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1680 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1685 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
2054 static inline bool is_smb1_server(struct TCP_Server_Info *server) in is_smb1_server()