Lines Matching defs:smb_version_operations
276 struct smb_version_operations { struct
277 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
279 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
281 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
285 struct mid_q_entry *(*setup_async_request)(struct TCP_Server_Info *,
288 int (*check_receive)(struct mid_q_entry *, struct TCP_Server_Info *,
290 void (*add_credits)(struct TCP_Server_Info *server,
293 void (*set_credits)(struct TCP_Server_Info *, const int);
294 int * (*get_credits_field)(struct TCP_Server_Info *, const int);
295 unsigned int (*get_credits)(struct mid_q_entry *);
296 __u64 (*get_next_mid)(struct TCP_Server_Info *);
297 void (*revert_current_mid)(struct TCP_Server_Info *server,
300 unsigned int (*read_data_offset)(char *);
308 unsigned int (*read_data_length)(char *, bool in_remaining);
310 int (*map_error)(char *, bool);
312 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
313 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
314 void (*clear_stats)(struct cifs_tcon *);
315 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
316 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
318 int (*check_message)(char *, unsigned int, struct TCP_Server_Info *);
319 bool (*is_oplock_break)(char *, struct TCP_Server_Info *);
320 int (*handle_cancelled_mid)(struct mid_q_entry *, struct TCP_Server_Info *);
321 void (*downgrade_oplock)(struct TCP_Server_Info *server,
325 bool (*check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *,
328 bool (*need_neg)(struct TCP_Server_Info *);
330 int (*negotiate)(const unsigned int xid,
334 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
336 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx);
338 int (*sess_setup)(const unsigned int, struct cifs_ses *,
342 int (*logoff)(const unsigned int, struct cifs_ses *);
344 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
347 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
349 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
353 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
356 int (*query_server_interfaces)(const unsigned int, struct cifs_tcon *,
359 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
362 int (*query_path_info)(const unsigned int xid,
368 int (*query_file_info)(const unsigned int xid, struct cifs_tcon *tcon,
371 int (*query_reparse_point)(const unsigned int xid,
378 int (*get_srv_inum)(const unsigned int xid, struct cifs_tcon *tcon,
382 int (*set_path_size)(const unsigned int, struct cifs_tcon *,
386 int (*set_file_size)(const unsigned int, struct cifs_tcon *,
389 int (*set_file_info)(struct inode *, const char *, FILE_BASIC_INFO *,
391 int (*set_compression)(const unsigned int, struct cifs_tcon *,
394 bool (*can_echo)(struct TCP_Server_Info *);
396 int (*echo)(struct TCP_Server_Info *);
398 int (*posix_mkdir)(const unsigned int xid, struct inode *inode,
402 int (*mkdir)(const unsigned int xid, struct inode *inode, umode_t mode,
406 void (*mkdir_setinfo)(struct inode *, const char *,
410 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *,
413 int (*unlink)(const unsigned int, struct cifs_tcon *, const char *,
416 int (*rename_pending_delete)(const char *, struct dentry *,
419 int (*rename)(const unsigned int xid,
425 int (*create_hardlink)(const unsigned int xid,
431 int (*query_symlink)(const unsigned int xid,
437 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
440 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
442 int (*close)(const unsigned int, struct cifs_tcon *,
445 int (*close_getattr)(const unsigned int xid, struct cifs_tcon *tcon,
448 int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
450 int (*async_readv)(struct cifs_io_subrequest *);
452 void (*async_writev)(struct cifs_io_subrequest *);
454 int (*sync_read)(const unsigned int, struct cifs_fid *,
458 int (*sync_write)(const unsigned int, struct cifs_fid *,
462 int (*query_dir_first)(const unsigned int, struct cifs_tcon *,
467 int (*query_dir_next)(const unsigned int, struct cifs_tcon *,
471 int (*close_dir)(const unsigned int, struct cifs_tcon *,
474 unsigned int (*calc_smb_size)(void *buf);
476 bool (*is_status_pending)(char *buf, struct TCP_Server_Info *server);
478 bool (*is_session_expired)(char *);
480 int (*oplock_response)(struct cifs_tcon *tcon, __u64 persistent_fid, __u64 volatile_fid,
483 int (*queryfs)(const unsigned int, struct cifs_tcon *,
486 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
489 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
492 int (*push_mand_locks)(struct cifsFileInfo *);
494 void (*get_lease_key)(struct inode *, struct cifs_fid *);
496 void (*set_lease_key)(struct inode *, struct cifs_fid *);
498 void (*new_lease_key)(struct cifs_fid *);
499 int (*generate_signingkey)(struct cifs_ses *ses,
501 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *,
503 int (*set_integrity)(const unsigned int, struct cifs_tcon *tcon,
505 int (*enum_snapshots)(const unsigned int xid, struct cifs_tcon *tcon,
507 int (*notify)(const unsigned int xid, struct file *pfile,
509 int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
512 int (*create_mf_symlink)(unsigned int, struct cifs_tcon *,
516 bool (*is_read_op)(__u32);
518 void (*set_oplock_level)(struct cifsInodeInfo *, __u32, unsigned int,
521 char * (*create_lease_buf)(u8 *lease_key, u8 oplock);
523 __u8 (*parse_lease_buf)(void *buf, unsigned int *epoch, char *lkey);
524 ssize_t (*copychunk_range)(const unsigned int,
528 int (*duplicate_extents)(const unsigned int, struct cifsFileInfo *src,
531 int (*validate_negotiate)(const unsigned int, struct cifs_tcon *);
532 ssize_t (*query_all_EAs)(const unsigned int, struct cifs_tcon *,
535 int (*set_EA)(const unsigned int, struct cifs_tcon *, const char *,
538 struct smb_ntsd * (*get_acl)(struct cifs_sb_info *cifssb, struct inode *ino,
540 struct smb_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *cifssmb,
542 int (*set_acl)(struct smb_ntsd *pntsd, __u32 len, struct inode *ino, const char *path,
545 unsigned int (*wp_retry_size)(struct inode *);
547 int (*wait_mtu_credits)(struct TCP_Server_Info *, size_t,
550 int (*adjust_credits)(struct TCP_Server_Info *server,
554 bool (*dir_needs_close)(struct cifsFileInfo *);
555 long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t,
558 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
560 int (*is_transform_hdr)(void *buf);
561 int (*receive_transform)(struct TCP_Server_Info *,
563 enum securityEnum (*select_sectype)(struct TCP_Server_Info *,
565 int (*next_header)(struct TCP_Server_Info *server, char *buf,
568 int (*ioctl_query_info)(const unsigned int xid,
574 int (*make_node)(unsigned int xid,
582 int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *,
585 loff_t (*llseek)(struct file *, struct cifs_tcon *, loff_t, int);
587 bool (*is_status_io_timeout)(char *buf);
589 bool (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv);
590 int (*parse_reparse_point)(struct cifs_sb_info *cifs_sb,
593 int (*create_reparse_symlink)(const unsigned int xid,