Lines Matching defs:smb_version_operations

196 struct smb_version_operations {  struct
197 int (*send_cancel)(struct TCP_Server_Info *, void *,
199 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
201 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
204 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
207 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
209 void (*add_credits)(struct TCP_Server_Info *, const unsigned int,
211 void (*set_credits)(struct TCP_Server_Info *, const int);
212 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
213 unsigned int (*get_credits)(struct mid_q_entry *);
214 __u64 (*get_next_mid)(struct TCP_Server_Info *);
216 unsigned int (*read_data_offset)(char *);
218 unsigned int (*read_data_length)(char *);
220 int (*map_error)(char *, bool);
222 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
223 void (*dump_detail)(void *);
224 void (*clear_stats)(struct cifs_tcon *);
225 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
226 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
228 int (*check_message)(char *, unsigned int);
229 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
230 void (*downgrade_oplock)(struct TCP_Server_Info *,
233 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
236 bool (*need_neg)(struct TCP_Server_Info *);
238 int (*negotiate)(const unsigned int, struct cifs_ses *);
240 unsigned int (*negotiate_wsize)(struct cifs_tcon *, struct smb_vol *);
242 unsigned int (*negotiate_rsize)(struct cifs_tcon *, struct smb_vol *);
244 int (*sess_setup)(const unsigned int, struct cifs_ses *,
247 int (*logoff)(const unsigned int, struct cifs_ses *);
249 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
252 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
254 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
258 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *);
260 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
263 int (*query_path_info)(const unsigned int, struct cifs_tcon *,
267 int (*query_file_info)(const unsigned int, struct cifs_tcon *,
270 int (*get_srv_inum)(const unsigned int, struct cifs_tcon *,
274 int (*set_path_size)(const unsigned int, struct cifs_tcon *,
277 int (*set_file_size)(const unsigned int, struct cifs_tcon *,
280 int (*set_file_info)(struct inode *, const char *, FILE_BASIC_INFO *,
282 int (*set_compression)(const unsigned int, struct cifs_tcon *,
285 bool (*can_echo)(struct TCP_Server_Info *);
287 int (*echo)(struct TCP_Server_Info *);
289 int (*mkdir)(const unsigned int, struct cifs_tcon *, const char *,
292 void (*mkdir_setinfo)(struct inode *, const char *,
296 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *,
299 int (*unlink)(const unsigned int, struct cifs_tcon *, const char *,
302 int (*rename_pending_delete)(const char *, struct dentry *,
305 int (*rename)(const unsigned int, struct cifs_tcon *, const char *,
308 int (*create_hardlink)(const unsigned int, struct cifs_tcon *,
312 int (*query_symlink)(const unsigned int, struct cifs_tcon *,
315 int (*open)(const unsigned int, struct cifs_open_parms *,
318 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
320 void (*close)(const unsigned int, struct cifs_tcon *,
323 int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
325 int (*async_readv)(struct cifs_readdata *);
327 int (*async_writev)(struct cifs_writedata *,
330 int (*sync_read)(const unsigned int, struct cifs_fid *,
334 int (*sync_write)(const unsigned int, struct cifs_fid *,
338 int (*query_dir_first)(const unsigned int, struct cifs_tcon *,
343 int (*query_dir_next)(const unsigned int, struct cifs_tcon *,
347 int (*close_dir)(const unsigned int, struct cifs_tcon *,
350 unsigned int (*calc_smb_size)(void *);
352 bool (*is_status_pending)(char *, struct TCP_Server_Info *, int);
354 int (*oplock_response)(struct cifs_tcon *, struct cifs_fid *,
357 int (*queryfs)(const unsigned int, struct cifs_tcon *,
360 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
363 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
366 int (*push_mand_locks)(struct cifsFileInfo *);
368 void (*get_lease_key)(struct inode *, struct cifs_fid *);
370 void (*set_lease_key)(struct inode *, struct cifs_fid *);
372 void (*new_lease_key)(struct cifs_fid *);
373 int (*generate_signingkey)(struct cifs_ses *);
374 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *);
375 int (*set_integrity)(const unsigned int, struct cifs_tcon *tcon,
377 int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
380 int (*create_mf_symlink)(unsigned int, struct cifs_tcon *,
384 bool (*is_read_op)(__u32);
386 void (*set_oplock_level)(struct cifsInodeInfo *, __u32, unsigned int,
389 char * (*create_lease_buf)(u8 *, u8);
391 __u8 (*parse_lease_buf)(void *, unsigned int *);
392 int (*clone_range)(const unsigned int, struct cifsFileInfo *src_file,
395 int (*duplicate_extents)(const unsigned int, struct cifsFileInfo *src,
398 int (*validate_negotiate)(const unsigned int, struct cifs_tcon *);
399 ssize_t (*query_all_EAs)(const unsigned int, struct cifs_tcon *,
402 int (*set_EA)(const unsigned int, struct cifs_tcon *, const char *,
405 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
407 struct cifs_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *,
409 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
412 unsigned int (*wp_retry_size)(struct inode *);
414 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
417 bool (*dir_needs_close)(struct cifsFileInfo *);
418 long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t,