Lines Matching defs:smb_version_operations

314 struct smb_version_operations {  struct
315 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
317 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
319 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
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);
333 unsigned int (*get_credits)(struct mid_q_entry *);
334 __u64 (*get_next_mid)(struct TCP_Server_Info *);
335 void (*revert_current_mid)(struct TCP_Server_Info *server,
338 unsigned int (*read_data_offset)(char *);
346 unsigned int (*read_data_length)(char *, bool in_remaining);
348 int (*map_error)(char *, bool);
350 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
351 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
352 void (*clear_stats)(struct cifs_tcon *);
353 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
354 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
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 *);
368 int (*negotiate)(const unsigned int xid,
372 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
374 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
376 int (*sess_setup)(const unsigned int, struct cifs_ses *,
380 int (*logoff)(const unsigned int, struct cifs_ses *);
382 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
385 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
387 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
391 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
394 int (*query_server_interfaces)(const unsigned int, struct cifs_tcon *,
397 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
400 int (*query_path_info)(const unsigned int xid,
406 int (*query_file_info)(const unsigned int xid, struct cifs_tcon *tcon,
409 int (*query_reparse_point)(const unsigned int xid,
416 int (*get_srv_inum)(const unsigned int xid, struct cifs_tcon *tcon,
420 int (*set_path_size)(const unsigned int, struct cifs_tcon *,
424 int (*set_file_size)(const unsigned int, struct cifs_tcon *,
427 int (*set_file_info)(struct inode *, const char *, FILE_BASIC_INFO *,
429 int (*set_compression)(const unsigned int, struct cifs_tcon *,
432 bool (*can_echo)(struct TCP_Server_Info *);
434 int (*echo)(struct TCP_Server_Info *);
436 int (*posix_mkdir)(const unsigned int xid, struct inode *inode,
440 int (*mkdir)(const unsigned int xid, struct inode *inode, umode_t mode,
444 void (*mkdir_setinfo)(struct inode *, const char *,
448 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *,
451 int (*unlink)(const unsigned int, struct cifs_tcon *, const char *,
454 int (*rename_pending_delete)(const char *, struct dentry *,
457 int (*rename)(const unsigned int xid,
463 int (*create_hardlink)(const unsigned int xid,
469 int (*query_symlink)(const unsigned int xid,
475 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
478 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
480 int (*close)(const unsigned int, struct cifs_tcon *,
483 int (*close_getattr)(const unsigned int xid, struct cifs_tcon *tcon,
486 int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
488 int (*async_readv)(struct cifs_io_subrequest *);
490 void (*async_writev)(struct cifs_io_subrequest *);
492 int (*sync_read)(const unsigned int, struct cifs_fid *,
496 int (*sync_write)(const unsigned int, struct cifs_fid *,
500 int (*query_dir_first)(const unsigned int, struct cifs_tcon *,
505 int (*query_dir_next)(const unsigned int, struct cifs_tcon *,
509 int (*close_dir)(const unsigned int, struct cifs_tcon *,
512 unsigned int (*calc_smb_size)(void *buf);
514 bool (*is_status_pending)(char *buf, struct TCP_Server_Info *server);
516 bool (*is_session_expired)(char *);
518 int (*oplock_response)(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid,
521 int (*queryfs)(const unsigned int, struct cifs_tcon *,
524 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
527 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
530 int (*push_mand_locks)(struct cifsFileInfo *);
532 void (*get_lease_key)(struct inode *, struct cifs_fid *);
534 void (*set_lease_key)(struct inode *, struct cifs_fid *);
536 void (*new_lease_key)(struct cifs_fid *);
537 int (*generate_signingkey)(struct cifs_ses *ses,
539 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *,
541 int (*set_integrity)(const unsigned int, struct cifs_tcon *tcon,
543 int (*enum_snapshots)(const unsigned int xid, struct cifs_tcon *tcon,
545 int (*notify)(const unsigned int xid, struct file *pfile,
547 int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
550 int (*create_mf_symlink)(unsigned int, struct cifs_tcon *,
554 bool (*is_read_op)(__u32);
556 void (*set_oplock_level)(struct cifsInodeInfo *cinode, __u32 oplock, __u16 epoch,
559 char * (*create_lease_buf)(u8 *lease_key, u8 oplock);
561 __u8 (*parse_lease_buf)(void *buf, __u16 *epoch, char *lkey);
562 ssize_t (*copychunk_range)(const unsigned int,
566 int (*duplicate_extents)(const unsigned int, struct cifsFileInfo *src,
569 int (*validate_negotiate)(const unsigned int, struct cifs_tcon *);
570 ssize_t (*query_all_EAs)(const unsigned int, struct cifs_tcon *,
573 int (*set_EA)(const unsigned int, struct cifs_tcon *, const char *,
576 struct smb_ntsd * (*get_acl)(struct cifs_sb_info *cifssb, struct inode *ino,
578 struct smb_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *cifssmb,
580 int (*set_acl)(struct smb_ntsd *pntsd, __u32 len, struct inode *ino, const char *path,
583 unsigned int (*wp_retry_size)(struct inode *);
585 int (*wait_mtu_credits)(struct TCP_Server_Info *, size_t,
588 int (*adjust_credits)(struct TCP_Server_Info *server,
592 bool (*dir_needs_close)(struct cifsFileInfo *);
593 long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t,
596 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
598 int (*is_transform_hdr)(void *buf);
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,
606 int (*ioctl_query_info)(const unsigned int xid,
612 int (*make_node)(unsigned int xid,
620 int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *,
623 loff_t (*llseek)(struct file *, struct cifs_tcon *, loff_t, int);
625 bool (*is_status_io_timeout)(char *buf);
627 bool (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv);
628 int (*parse_reparse_point)(struct cifs_sb_info *cifs_sb,
632 int (*create_reparse_symlink)(const unsigned int xid,