Lines Matching defs:smb_version_operations

240 struct smb_version_operations {  struct
241 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
243 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
245 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
249 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
252 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
254 void (*add_credits)(struct TCP_Server_Info *server,
257 void (*set_credits)(struct TCP_Server_Info *, const int);
258 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
259 unsigned int (*get_credits)(struct mid_q_entry *);
260 __u64 (*get_next_mid)(struct TCP_Server_Info *);
261 void (*revert_current_mid)(struct TCP_Server_Info *server,
264 unsigned int (*read_data_offset)(char *);
272 unsigned int (*read_data_length)(char *, bool in_remaining);
274 int (*map_error)(char *, bool);
276 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
277 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
278 void (*clear_stats)(struct cifs_tcon *);
279 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
280 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
282 int (*check_message)(char *, unsigned int, struct TCP_Server_Info *);
283 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
284 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
285 void (*downgrade_oplock)(struct TCP_Server_Info *server,
289 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
292 bool (*need_neg)(struct TCP_Server_Info *);
294 int (*negotiate)(const unsigned int xid,
298 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
300 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
302 int (*sess_setup)(const unsigned int, struct cifs_ses *,
306 int (*logoff)(const unsigned int, struct cifs_ses *);
308 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
311 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
313 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
317 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
320 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
323 int (*query_path_info)(const unsigned int xid, struct cifs_tcon *tcon,
327 int (*query_file_info)(const unsigned int xid, struct cifs_tcon *tcon,
330 int (*query_reparse_tag)(const unsigned int xid, struct cifs_tcon *tcon,
334 int (*get_srv_inum)(const unsigned int xid, struct cifs_tcon *tcon,
338 int (*set_path_size)(const unsigned int, struct cifs_tcon *,
341 int (*set_file_size)(const unsigned int, struct cifs_tcon *,
344 int (*set_file_info)(struct inode *, const char *, FILE_BASIC_INFO *,
346 int (*set_compression)(const unsigned int, struct cifs_tcon *,
349 bool (*can_echo)(struct TCP_Server_Info *);
351 int (*echo)(struct TCP_Server_Info *);
353 int (*posix_mkdir)(const unsigned int xid, struct inode *inode,
357 int (*mkdir)(const unsigned int xid, struct inode *inode, umode_t mode,
361 void (*mkdir_setinfo)(struct inode *, const char *,
365 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *,
368 int (*unlink)(const unsigned int, struct cifs_tcon *, const char *,
371 int (*rename_pending_delete)(const char *, struct dentry *,
374 int (*rename)(const unsigned int, struct cifs_tcon *, const char *,
377 int (*create_hardlink)(const unsigned int, struct cifs_tcon *,
381 int (*query_symlink)(const unsigned int, struct cifs_tcon *,
385 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
388 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
390 void (*close)(const unsigned int, struct cifs_tcon *,
393 void (*close_getattr)(const unsigned int xid, struct cifs_tcon *tcon,
396 int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
398 int (*async_readv)(struct cifs_readdata *);
400 int (*async_writev)(struct cifs_writedata *,
403 int (*sync_read)(const unsigned int, struct cifs_fid *,
407 int (*sync_write)(const unsigned int, struct cifs_fid *,
411 int (*query_dir_first)(const unsigned int, struct cifs_tcon *,
416 int (*query_dir_next)(const unsigned int, struct cifs_tcon *,
420 int (*close_dir)(const unsigned int, struct cifs_tcon *,
423 unsigned int (*calc_smb_size)(void *buf);
425 bool (*is_status_pending)(char *buf, struct TCP_Server_Info *server);
427 bool (*is_session_expired)(char *);
429 int (*oplock_response)(struct cifs_tcon *, struct cifs_fid *,
432 int (*queryfs)(const unsigned int, struct cifs_tcon *,
435 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
438 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
441 int (*push_mand_locks)(struct cifsFileInfo *);
443 void (*get_lease_key)(struct inode *, struct cifs_fid *);
445 void (*set_lease_key)(struct inode *, struct cifs_fid *);
447 void (*new_lease_key)(struct cifs_fid *);
448 int (*generate_signingkey)(struct cifs_ses *ses,
450 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *,
452 int (*set_integrity)(const unsigned int, struct cifs_tcon *tcon,
454 int (*enum_snapshots)(const unsigned int xid, struct cifs_tcon *tcon,
456 int (*notify)(const unsigned int xid, struct file *pfile,
458 int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
461 int (*create_mf_symlink)(unsigned int, struct cifs_tcon *,
465 bool (*is_read_op)(__u32);
467 void (*set_oplock_level)(struct cifsInodeInfo *, __u32, unsigned int,
470 char * (*create_lease_buf)(u8 *lease_key, u8 oplock);
472 __u8 (*parse_lease_buf)(void *buf, unsigned int *epoch, char *lkey);
473 ssize_t (*copychunk_range)(const unsigned int,
477 int (*duplicate_extents)(const unsigned int, struct cifsFileInfo *src,
480 int (*validate_negotiate)(const unsigned int, struct cifs_tcon *);
481 ssize_t (*query_all_EAs)(const unsigned int, struct cifs_tcon *,
484 int (*set_EA)(const unsigned int, struct cifs_tcon *, const char *,
487 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
489 struct cifs_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *,
491 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
494 unsigned int (*wp_retry_size)(struct inode *);
496 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
499 int (*adjust_credits)(struct TCP_Server_Info *server,
503 bool (*dir_needs_close)(struct cifsFileInfo *);
504 long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t,
507 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
509 int (*is_transform_hdr)(void *buf);
510 int (*receive_transform)(struct TCP_Server_Info *,
512 enum securityEnum (*select_sectype)(struct TCP_Server_Info *,
514 int (*next_header)(char *);
516 int (*ioctl_query_info)(const unsigned int xid,
522 int (*make_node)(unsigned int xid,
530 int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *,
533 loff_t (*llseek)(struct file *, struct cifs_tcon *, loff_t, int);
535 bool (*is_status_io_timeout)(char *buf);
537 void (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv);