Lines Matching defs:smb_version_operations

227 struct smb_version_operations {  struct
228 int (*send_cancel)(struct TCP_Server_Info *, struct smb_rqst *,
230 bool (*compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *);
232 struct mid_q_entry *(*setup_request)(struct cifs_ses *,
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);
245 unsigned int (*get_credits)(struct mid_q_entry *);
246 __u64 (*get_next_mid)(struct TCP_Server_Info *);
247 void (*revert_current_mid)(struct TCP_Server_Info *server,
250 unsigned int (*read_data_offset)(char *);
258 unsigned int (*read_data_length)(char *, bool in_remaining);
260 int (*map_error)(char *, bool);
262 struct mid_q_entry * (*find_mid)(struct TCP_Server_Info *, char *);
263 void (*dump_detail)(void *buf, struct TCP_Server_Info *ptcp_info);
264 void (*clear_stats)(struct cifs_tcon *);
265 void (*print_stats)(struct seq_file *m, struct cifs_tcon *);
266 void (*dump_share_caps)(struct seq_file *, struct cifs_tcon *);
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 *);
279 int (*negotiate)(const unsigned int, struct cifs_ses *);
281 unsigned int (*negotiate_wsize)(struct cifs_tcon *, struct smb_vol *);
283 unsigned int (*negotiate_rsize)(struct cifs_tcon *, struct smb_vol *);
285 int (*sess_setup)(const unsigned int, struct cifs_ses *,
288 int (*logoff)(const unsigned int, struct cifs_ses *);
290 int (*tree_connect)(const unsigned int, struct cifs_ses *, const char *,
293 int (*tree_disconnect)(const unsigned int, struct cifs_tcon *);
295 int (*get_dfs_refer)(const unsigned int, struct cifs_ses *,
299 void (*qfs_tcon)(const unsigned int, struct cifs_tcon *);
301 int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
304 int (*query_path_info)(const unsigned int, struct cifs_tcon *,
308 int (*query_file_info)(const unsigned int, struct cifs_tcon *,
311 int (*get_srv_inum)(const unsigned int, struct cifs_tcon *,
315 int (*set_path_size)(const unsigned int, struct cifs_tcon *,
318 int (*set_file_size)(const unsigned int, struct cifs_tcon *,
321 int (*set_file_info)(struct inode *, const char *, FILE_BASIC_INFO *,
323 int (*set_compression)(const unsigned int, struct cifs_tcon *,
326 bool (*can_echo)(struct TCP_Server_Info *);
328 int (*echo)(struct TCP_Server_Info *);
330 int (*posix_mkdir)(const unsigned int xid, struct inode *inode,
334 int (*mkdir)(const unsigned int xid, struct inode *inode, umode_t mode,
338 void (*mkdir_setinfo)(struct inode *, const char *,
342 int (*rmdir)(const unsigned int, struct cifs_tcon *, const char *,
345 int (*unlink)(const unsigned int, struct cifs_tcon *, const char *,
348 int (*rename_pending_delete)(const char *, struct dentry *,
351 int (*rename)(const unsigned int, struct cifs_tcon *, const char *,
354 int (*create_hardlink)(const unsigned int, struct cifs_tcon *,
358 int (*query_symlink)(const unsigned int, struct cifs_tcon *,
362 int (*open)(const unsigned int, struct cifs_open_parms *,
365 void (*set_fid)(struct cifsFileInfo *, struct cifs_fid *, __u32);
367 void (*close)(const unsigned int, struct cifs_tcon *,
370 int (*flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *);
372 int (*async_readv)(struct cifs_readdata *);
374 int (*async_writev)(struct cifs_writedata *,
377 int (*sync_read)(const unsigned int, struct cifs_fid *,
381 int (*sync_write)(const unsigned int, struct cifs_fid *,
385 int (*query_dir_first)(const unsigned int, struct cifs_tcon *,
390 int (*query_dir_next)(const unsigned int, struct cifs_tcon *,
394 int (*close_dir)(const unsigned int, struct cifs_tcon *,
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);
401 bool (*is_session_expired)(char *);
403 int (*oplock_response)(struct cifs_tcon *, struct cifs_fid *,
406 int (*queryfs)(const unsigned int, struct cifs_tcon *,
409 int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
412 int (*mand_unlock_range)(struct cifsFileInfo *, struct file_lock *,
415 int (*push_mand_locks)(struct cifsFileInfo *);
417 void (*get_lease_key)(struct inode *, struct cifs_fid *);
419 void (*set_lease_key)(struct inode *, struct cifs_fid *);
421 void (*new_lease_key)(struct cifs_fid *);
422 int (*generate_signingkey)(struct cifs_ses *);
423 int (*calc_signature)(struct smb_rqst *, struct TCP_Server_Info *);
424 int (*set_integrity)(const unsigned int, struct cifs_tcon *tcon,
426 int (*enum_snapshots)(const unsigned int xid, struct cifs_tcon *tcon,
428 int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
431 int (*create_mf_symlink)(unsigned int, struct cifs_tcon *,
435 bool (*is_read_op)(__u32);
437 void (*set_oplock_level)(struct cifsInodeInfo *, __u32, unsigned int,
440 char * (*create_lease_buf)(u8 *lease_key, u8 oplock);
442 __u8 (*parse_lease_buf)(void *buf, unsigned int *epoch, char *lkey);
443 ssize_t (*copychunk_range)(const unsigned int,
447 int (*duplicate_extents)(const unsigned int, struct cifsFileInfo *src,
450 int (*validate_negotiate)(const unsigned int, struct cifs_tcon *);
451 ssize_t (*query_all_EAs)(const unsigned int, struct cifs_tcon *,
454 int (*set_EA)(const unsigned int, struct cifs_tcon *, const char *,
457 struct cifs_ntsd * (*get_acl)(struct cifs_sb_info *, struct inode *,
459 struct cifs_ntsd * (*get_acl_by_fid)(struct cifs_sb_info *,
461 int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
464 unsigned int (*wp_retry_size)(struct inode *);
466 int (*wait_mtu_credits)(struct TCP_Server_Info *, unsigned int,
469 int (*adjust_credits)(struct TCP_Server_Info *server,
473 bool (*dir_needs_close)(struct cifsFileInfo *);
474 long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t,
477 int (*init_transform_rq)(struct TCP_Server_Info *, int num_rqst,
479 int (*is_transform_hdr)(void *buf);
480 int (*receive_transform)(struct TCP_Server_Info *,
482 enum securityEnum (*select_sectype)(struct TCP_Server_Info *,
484 int (*next_header)(char *);
486 int (*ioctl_query_info)(const unsigned int xid,
491 int (*make_node)(unsigned int xid,
499 int (*fiemap)(struct cifs_tcon *tcon, struct cifsFileInfo *,
502 loff_t (*llseek)(struct file *, struct cifs_tcon *, loff_t, int);