Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
smb_version_operations Struct Reference

#include <cifsglob.h>

Data Fields

int(* send_cancel )(struct TCP_Server_Info *, void *, struct mid_q_entry *)
 
bool(* compare_fids )(struct cifsFileInfo *, struct cifsFileInfo *)
 
struct mid_q_entry *(* setup_request )(struct cifs_ses *, struct smb_rqst *)
 
struct mid_q_entry *(* setup_async_request )(struct TCP_Server_Info *, struct smb_rqst *)
 
int(* check_receive )(struct mid_q_entry *, struct TCP_Server_Info *, bool)
 
void(* add_credits )(struct TCP_Server_Info *, const unsigned int, const int)
 
void(* set_credits )(struct TCP_Server_Info *, const int)
 
int *(* get_credits_field )(struct TCP_Server_Info *, const int)
 
unsigned int(* get_credits )(struct mid_q_entry *)
 
__u64(* get_next_mid )(struct TCP_Server_Info *)
 
unsigned int(* read_data_offset )(char *)
 
unsigned int(* read_data_length )(char *)
 
int(* map_error )(char *, bool)
 
struct mid_q_entry *(* find_mid )(struct TCP_Server_Info *, char *)
 
void(* dump_detail )(void *)
 
void(* clear_stats )(struct cifs_tcon *)
 
void(* print_stats )(struct seq_file *m, struct cifs_tcon *)
 
int(* check_message )(char *, unsigned int)
 
bool(* is_oplock_break )(char *, struct TCP_Server_Info *)
 
bool(* check_trans2 )(struct mid_q_entry *, struct TCP_Server_Info *, char *, int)
 
bool(* need_neg )(struct TCP_Server_Info *)
 
int(* negotiate )(const unsigned int, struct cifs_ses *)
 
unsigned int(* negotiate_wsize )(struct cifs_tcon *, struct smb_vol *)
 
unsigned int(* negotiate_rsize )(struct cifs_tcon *, struct smb_vol *)
 
int(* sess_setup )(const unsigned int, struct cifs_ses *, const struct nls_table *)
 
int(* logoff )(const unsigned int, struct cifs_ses *)
 
int(* tree_connect )(const unsigned int, struct cifs_ses *, const char *, struct cifs_tcon *, const struct nls_table *)
 
int(* tree_disconnect )(const unsigned int, struct cifs_tcon *)
 
int(* get_dfs_refer )(const unsigned int, struct cifs_ses *, const char *, struct dfs_info3_param **, unsigned int *, const struct nls_table *, int)
 
void(* qfs_tcon )(const unsigned int, struct cifs_tcon *)
 
int(* is_path_accessible )(const unsigned int, struct cifs_tcon *, struct cifs_sb_info *, const char *)
 
int(* query_path_info )(const unsigned int, struct cifs_tcon *, struct cifs_sb_info *, const char *, FILE_ALL_INFO *, bool *)
 
int(* query_file_info )(const unsigned int, struct cifs_tcon *, struct cifs_fid *, FILE_ALL_INFO *)
 
int(* get_srv_inum )(const unsigned int, struct cifs_tcon *, struct cifs_sb_info *, const char *, u64 *uniqueid, FILE_ALL_INFO *)
 
int(* set_path_size )(const unsigned int, struct cifs_tcon *, const char *, __u64, struct cifs_sb_info *, bool)
 
int(* set_file_size )(const unsigned int, struct cifs_tcon *, struct cifsFileInfo *, __u64, bool)
 
int(* set_file_info )(struct inode *, const char *, FILE_BASIC_INFO *, const unsigned int)
 
char *(* build_path_to_root )(struct smb_vol *, struct cifs_sb_info *, struct cifs_tcon *)
 
bool(* can_echo )(struct TCP_Server_Info *)
 
int(* echo )(struct TCP_Server_Info *)
 
int(* mkdir )(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *)
 
void(* mkdir_setinfo )(struct inode *, const char *, struct cifs_sb_info *, struct cifs_tcon *, const unsigned int)
 
int(* rmdir )(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *)
 
int(* unlink )(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *)
 
int(* rename_pending_delete )(const char *, struct dentry *, const unsigned int)
 
int(* rename )(const unsigned int, struct cifs_tcon *, const char *, const char *, struct cifs_sb_info *)
 
int(* create_hardlink )(const unsigned int, struct cifs_tcon *, const char *, const char *, struct cifs_sb_info *)
 
int(* open )(const unsigned int, struct cifs_tcon *, const char *, int, int, int, struct cifs_fid *, __u32 *, FILE_ALL_INFO *, struct cifs_sb_info *)
 
void(* set_fid )(struct cifsFileInfo *, struct cifs_fid *, __u32)
 
void(* close )(const unsigned int, struct cifs_tcon *, struct cifs_fid *)
 
int(* flush )(const unsigned int, struct cifs_tcon *, struct cifs_fid *)
 
int(* async_readv )(struct cifs_readdata *)
 
int(* async_writev )(struct cifs_writedata *)
 
int(* sync_read )(const unsigned int, struct cifsFileInfo *, struct cifs_io_parms *, unsigned int *, char **, int *)
 
int(* sync_write )(const unsigned int, struct cifsFileInfo *, struct cifs_io_parms *, unsigned int *, struct kvec *, unsigned long)
 
int(* query_dir_first )(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *, struct cifs_fid *, __u16, struct cifs_search_info *)
 
int(* query_dir_next )(const unsigned int, struct cifs_tcon *, struct cifs_fid *, __u16, struct cifs_search_info *srch_inf)
 
int(* close_dir )(const unsigned int, struct cifs_tcon *, struct cifs_fid *)
 
unsigned int(* calc_smb_size )(void *)
 
bool(* is_status_pending )(char *, struct TCP_Server_Info *, int)
 
int(* oplock_response )(struct cifs_tcon *, struct cifs_fid *, struct cifsInodeInfo *)
 
int(* queryfs )(const unsigned int, struct cifs_tcon *, struct kstatfs *)
 
int(* mand_lock )(const unsigned int, struct cifsFileInfo *, __u64, __u64, __u32, int, int, bool)
 
int(* mand_unlock_range )(struct cifsFileInfo *, struct file_lock *, const unsigned int)
 
int(* push_mand_locks )(struct cifsFileInfo *)
 
void(* get_lease_key )(struct inode *, struct cifs_fid *fid)
 
void(* set_lease_key )(struct inode *, struct cifs_fid *fid)
 
void(* new_lease_key )(struct cifs_fid *fid)
 

Detailed Description

Definition at line 200 of file cifsglob.h.

Field Documentation

void(* add_credits)(struct TCP_Server_Info *, const unsigned int, const int)

Definition at line 213 of file cifsglob.h.

int(* async_readv)(struct cifs_readdata *)

Definition at line 325 of file cifsglob.h.

int(* async_writev)(struct cifs_writedata *)

Definition at line 327 of file cifsglob.h.

char*(* build_path_to_root)(struct smb_vol *, struct cifs_sb_info *, struct cifs_tcon *)

Definition at line 284 of file cifsglob.h.

unsigned int(* calc_smb_size)(void *)

Definition at line 349 of file cifsglob.h.

bool(* can_echo)(struct TCP_Server_Info *)

Definition at line 287 of file cifsglob.h.

int(* check_message)(char *, unsigned int)

Definition at line 231 of file cifsglob.h.

int(* check_receive)(struct mid_q_entry *, struct TCP_Server_Info *, bool)

Definition at line 211 of file cifsglob.h.

bool(* check_trans2)(struct mid_q_entry *, struct TCP_Server_Info *, char *, int)

Definition at line 234 of file cifsglob.h.

void(* clear_stats)(struct cifs_tcon *)

Definition at line 228 of file cifsglob.h.

void(* close)(const unsigned int, struct cifs_tcon *, struct cifs_fid *)

Definition at line 320 of file cifsglob.h.

int(* close_dir)(const unsigned int, struct cifs_tcon *, struct cifs_fid *)

Definition at line 346 of file cifsglob.h.

bool(* compare_fids)(struct cifsFileInfo *, struct cifsFileInfo *)

Definition at line 203 of file cifsglob.h.

int(* create_hardlink)(const unsigned int, struct cifs_tcon *, const char *, const char *, struct cifs_sb_info *)

Definition at line 310 of file cifsglob.h.

void(* dump_detail)(void *)

Definition at line 227 of file cifsglob.h.

Definition at line 289 of file cifsglob.h.

struct mid_q_entry*(* find_mid)(struct TCP_Server_Info *, char *)
read

Definition at line 226 of file cifsglob.h.

int(* flush)(const unsigned int, struct cifs_tcon *, struct cifs_fid *)

Definition at line 323 of file cifsglob.h.

unsigned int(* get_credits)(struct mid_q_entry *)

Definition at line 217 of file cifsglob.h.

int*(* get_credits_field)(struct TCP_Server_Info *, const int)

Definition at line 216 of file cifsglob.h.

int(* get_dfs_refer)(const unsigned int, struct cifs_ses *, const char *, struct dfs_info3_param **, unsigned int *, const struct nls_table *, int)

Definition at line 255 of file cifsglob.h.

void(* get_lease_key)(struct inode *, struct cifs_fid *fid)

Definition at line 367 of file cifsglob.h.

__u64(* get_next_mid)(struct TCP_Server_Info *)

Definition at line 218 of file cifsglob.h.

int(* get_srv_inum)(const unsigned int, struct cifs_tcon *, struct cifs_sb_info *, const char *, u64 *uniqueid, FILE_ALL_INFO *)

Definition at line 271 of file cifsglob.h.

bool(* is_oplock_break)(char *, struct TCP_Server_Info *)

Definition at line 232 of file cifsglob.h.

int(* is_path_accessible)(const unsigned int, struct cifs_tcon *, struct cifs_sb_info *, const char *)

Definition at line 261 of file cifsglob.h.

bool(* is_status_pending)(char *, struct TCP_Server_Info *, int)

Definition at line 351 of file cifsglob.h.

int(* logoff)(const unsigned int, struct cifs_ses *)

Definition at line 248 of file cifsglob.h.

int(* mand_lock)(const unsigned int, struct cifsFileInfo *, __u64, __u64, __u32, int, int, bool)

Definition at line 359 of file cifsglob.h.

int(* mand_unlock_range)(struct cifsFileInfo *, struct file_lock *, const unsigned int)

Definition at line 362 of file cifsglob.h.

int(* map_error)(char *, bool)

Definition at line 224 of file cifsglob.h.

int(* mkdir)(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *)

Definition at line 291 of file cifsglob.h.

void(* mkdir_setinfo)(struct inode *, const char *, struct cifs_sb_info *, struct cifs_tcon *, const unsigned int)

Definition at line 294 of file cifsglob.h.

bool(* need_neg)(struct TCP_Server_Info *)

Definition at line 237 of file cifsglob.h.

int(* negotiate)(const unsigned int, struct cifs_ses *)

Definition at line 239 of file cifsglob.h.

unsigned int(* negotiate_rsize)(struct cifs_tcon *, struct smb_vol *)

Definition at line 243 of file cifsglob.h.

unsigned int(* negotiate_wsize)(struct cifs_tcon *, struct smb_vol *)

Definition at line 241 of file cifsglob.h.

void(* new_lease_key)(struct cifs_fid *fid)

Definition at line 371 of file cifsglob.h.

int(* open)(const unsigned int, struct cifs_tcon *, const char *, int, int, int, struct cifs_fid *, __u32 *, FILE_ALL_INFO *, struct cifs_sb_info *)

Definition at line 314 of file cifsglob.h.

int(* oplock_response)(struct cifs_tcon *, struct cifs_fid *, struct cifsInodeInfo *)

Definition at line 353 of file cifsglob.h.

void(* print_stats)(struct seq_file *m, struct cifs_tcon *)

Definition at line 229 of file cifsglob.h.

int(* push_mand_locks)(struct cifsFileInfo *)

Definition at line 365 of file cifsglob.h.

void(* qfs_tcon)(const unsigned int, struct cifs_tcon *)

Definition at line 259 of file cifsglob.h.

Definition at line 337 of file cifsglob.h.

int(* query_dir_next)(const unsigned int, struct cifs_tcon *, struct cifs_fid *, __u16, struct cifs_search_info *srch_inf)

Definition at line 342 of file cifsglob.h.

int(* query_file_info)(const unsigned int, struct cifs_tcon *, struct cifs_fid *, FILE_ALL_INFO *)

Definition at line 268 of file cifsglob.h.

int(* query_path_info)(const unsigned int, struct cifs_tcon *, struct cifs_sb_info *, const char *, FILE_ALL_INFO *, bool *)

Definition at line 264 of file cifsglob.h.

int(* queryfs)(const unsigned int, struct cifs_tcon *, struct kstatfs *)

Definition at line 356 of file cifsglob.h.

unsigned int(* read_data_length)(char *)

Definition at line 222 of file cifsglob.h.

unsigned int(* read_data_offset)(char *)

Definition at line 220 of file cifsglob.h.

int(* rename)(const unsigned int, struct cifs_tcon *, const char *, const char *, struct cifs_sb_info *)

Definition at line 307 of file cifsglob.h.

int(* rename_pending_delete)(const char *, struct dentry *, const unsigned int)

Definition at line 304 of file cifsglob.h.

int(* rmdir)(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *)

Definition at line 298 of file cifsglob.h.

int(* send_cancel)(struct TCP_Server_Info *, void *, struct mid_q_entry *)

Definition at line 201 of file cifsglob.h.

int(* sess_setup)(const unsigned int, struct cifs_ses *, const struct nls_table *)

Definition at line 245 of file cifsglob.h.

void(* set_credits)(struct TCP_Server_Info *, const int)

Definition at line 215 of file cifsglob.h.

Definition at line 318 of file cifsglob.h.

int(* set_file_info)(struct inode *, const char *, FILE_BASIC_INFO *, const unsigned int)

Definition at line 281 of file cifsglob.h.

int(* set_file_size)(const unsigned int, struct cifs_tcon *, struct cifsFileInfo *, __u64, bool)

Definition at line 278 of file cifsglob.h.

void(* set_lease_key)(struct inode *, struct cifs_fid *fid)

Definition at line 369 of file cifsglob.h.

int(* set_path_size)(const unsigned int, struct cifs_tcon *, const char *, __u64, struct cifs_sb_info *, bool)

Definition at line 275 of file cifsglob.h.

struct mid_q_entry*(* setup_async_request)(struct TCP_Server_Info *, struct smb_rqst *)
read

Definition at line 208 of file cifsglob.h.

struct mid_q_entry*(* setup_request)(struct cifs_ses *, struct smb_rqst *)
read

Definition at line 205 of file cifsglob.h.

int(* sync_read)(const unsigned int, struct cifsFileInfo *, struct cifs_io_parms *, unsigned int *, char **, int *)

Definition at line 329 of file cifsglob.h.

int(* sync_write)(const unsigned int, struct cifsFileInfo *, struct cifs_io_parms *, unsigned int *, struct kvec *, unsigned long)

Definition at line 333 of file cifsglob.h.

int(* tree_connect)(const unsigned int, struct cifs_ses *, const char *, struct cifs_tcon *, const struct nls_table *)

Definition at line 250 of file cifsglob.h.

int(* tree_disconnect)(const unsigned int, struct cifs_tcon *)

Definition at line 253 of file cifsglob.h.

int(* unlink)(const unsigned int, struct cifs_tcon *, const char *, struct cifs_sb_info *)

Definition at line 301 of file cifsglob.h.


The documentation for this struct was generated from the following file: