Lines Matching refs:TCP_Server_Info
211 struct TCP_Server_Info;
228 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
235 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
238 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
240 void (*add_credits)(struct TCP_Server_Info *server,
243 void (*set_credits)(struct TCP_Server_Info *, const int);
244 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
246 __u64 (*get_next_mid)(struct TCP_Server_Info *);
247 void (*revert_current_mid)(struct TCP_Server_Info *server,
262 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
263 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
268 int (*check_message)(char *, unsigned int, struct TCP_Server_Info *);
269 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
270 int (*handle_cancelled_mid)(char *, struct TCP_Server_Info *);
271 void (*downgrade_oplock)(struct TCP_Server_Info *,
274 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
277 bool (*need_neg)(struct TCP_Server_Info *);
326 bool (*can_echo)(struct TCP_Server_Info *);
328 int (*echo)(struct TCP_Server_Info *);
397 unsigned int (*calc_smb_size)(void *buf, struct TCP_Server_Info *ptcpi);
399 bool (*is_status_pending)(char *buf, struct TCP_Server_Info *server);
423 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *);
466 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
469 int (*adjust_credits)(struct TCP_Server_Info *server,
477 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
480 int (*receive_transform)(struct TCP_Server_Info *,
482 enum securityEnum (*select_sectype)(struct TCP_Server_Info *,
658 struct TCP_Server_Info { struct
778 in_flight(struct TCP_Server_Info *server) in in_flight() argument
788 has_credits(struct TCP_Server_Info *server, int *credits, int num_credits) in has_credits()
798 add_credits(struct TCP_Server_Info *server, const struct cifs_credits *credits, in add_credits()
805 add_credits_and_wake_if(struct TCP_Server_Info *server, in add_credits_and_wake_if()
815 set_credits(struct TCP_Server_Info *server, const int val) in set_credits()
821 adjust_credits(struct TCP_Server_Info *server, struct cifs_credits *credits, in adjust_credits()
829 get_next_mid64(struct TCP_Server_Info *server) in get_next_mid64()
835 get_next_mid(struct TCP_Server_Info *server) in get_next_mid()
846 revert_current_mid(struct TCP_Server_Info *server, const unsigned int val) in revert_current_mid()
853 revert_current_mid_from_hdr(struct TCP_Server_Info *server, in revert_current_mid_from_hdr()
926 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
931 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
938 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns()
943 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns()
964 struct TCP_Server_Info *server; /* pointer to server info */
1318 int (*read_into_pages)(struct TCP_Server_Info *server,
1321 int (*copy_into_pages)(struct TCP_Server_Info *server,
1500 typedef int (mid_receive_t)(struct TCP_Server_Info *server,
1517 typedef int (mid_handle_t)(struct TCP_Server_Info *server,
1524 struct TCP_Server_Info *server; /* server corresponding to this mid */
1560 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1565 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1570 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1575 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()
1585 static inline void cifs_in_send_inc(struct TCP_Server_Info *server) in cifs_in_send_inc()
1588 static inline void cifs_in_send_dec(struct TCP_Server_Info *server) in cifs_in_send_dec()
1592 static inline void cifs_num_waiters_inc(struct TCP_Server_Info *server) in cifs_num_waiters_inc()
1596 static inline void cifs_num_waiters_dec(struct TCP_Server_Info *server) in cifs_num_waiters_dec()