Lines Matching refs:TCP_Server_Info

299 struct TCP_Server_Info;
315 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
320 struct TCP_Server_Info *,
323 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
326 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
328 void (*add_credits)(struct TCP_Server_Info *server,
331 void (*set_credits)(struct TCP_Server_Info *, const int);
332 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
334 __u64 (*get_next_mid)(struct TCP_Server_Info *);
335 void (*revert_current_mid)(struct TCP_Server_Info *server,
350 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
351 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
356 int (*check_message)(char *, unsigned int, struct TCP_Server_Info *);
357 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
358 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
359 void (*downgrade_oplock)(struct TCP_Server_Info *server,
363 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
366 bool (*need_neg)(struct TCP_Server_Info *);
370 struct TCP_Server_Info *server);
377 struct TCP_Server_Info *server,
432 bool (*can_echo)(struct TCP_Server_Info *);
434 int (*echo)(struct TCP_Server_Info *);
514 bool (*is_status_pending)(char *buf, struct TCP_Server_Info *server);
538 struct TCP_Server_Info *server);
539 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *,
585 int (*wait_mtu_credits)(struct TCP_Server_Info *, size_t,
588 int (*adjust_credits)(struct TCP_Server_Info *server,
596 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
599 int (*receive_transform)(struct TCP_Server_Info *,
601 enum securityEnum (*select_sectype)(struct TCP_Server_Info *,
603 int (*next_header)(struct TCP_Server_Info *server, char *buf,
627 bool (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv);
711 struct TCP_Server_Info { struct
846 struct TCP_Server_Info *primary_server; argument
864 static inline bool is_smb1(struct TCP_Server_Info *server) in is_smb1() argument
869 static inline void cifs_server_lock(struct TCP_Server_Info *server) in cifs_server_lock()
877 static inline void cifs_server_unlock(struct TCP_Server_Info *server) in cifs_server_unlock()
894 in_flight(struct TCP_Server_Info *server) in in_flight()
905 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits()
916 add_credits(struct TCP_Server_Info *server, struct cifs_credits *credits, in add_credits()
923 add_credits_and_wake_if(struct TCP_Server_Info *server, in add_credits_and_wake_if()
934 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
940 adjust_credits(struct TCP_Server_Info *server, struct cifs_io_subrequest *subreq, in adjust_credits()
948 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
954 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
965 revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in revert_current_mid()
972 revert_current_mid_from_hdr(struct TCP_Server_Info *server, in revert_current_mid_from_hdr()
1039 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
1044 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
1051 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
1056 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
1086 struct TCP_Server_Info *server;
1105 struct TCP_Server_Info *server; /* pointer to server info */
1518 struct TCP_Server_Info *server;
1540 struct TCP_Server_Info *server;
1688 typedef int (mid_receive_t)(struct TCP_Server_Info *server,
1705 typedef int (mid_handle_t)(struct TCP_Server_Info *server,
1712 struct TCP_Server_Info *server; /* server corresponding to this mid */
1751 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1756 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1761 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1766 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
1815 struct TCP_Server_Info *server;
2177 static inline bool is_smb1_server(struct TCP_Server_Info *server) in is_smb1_server()