Lines Matching full:int
23 extern int map_smb2_to_linux_error(char *buf, bool log_err);
24 extern int smb2_check_message(char *buf, unsigned int length,
26 extern unsigned int smb2_calc_size(void *buf);
27 extern char *smb2_get_data_area_len(int *off, int *len,
32 extern int smb2_verify_signature(struct smb_rqst *, struct TCP_Server_Info *);
33 extern int smb2_check_receive(struct mid_q_entry *mid,
42 extern int smb2_calc_signature(struct smb_rqst *rqst,
45 extern int smb3_calc_signature(struct smb_rqst *rqst,
52 extern int smb3_handle_read_data(struct TCP_Server_Info *server,
54 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon,
59 const unsigned int xid,
65 int smb2_query_reparse_point(const unsigned int xid,
70 int *rsp_buftype);
71 int smb2_query_path_info(const unsigned int xid,
76 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
80 extern int smb2_set_file_info(struct inode *inode, const char *full_path,
81 FILE_BASIC_INFO *buf, const unsigned int xid);
82 extern int smb311_posix_mkdir(const unsigned int xid, struct inode *inode,
86 extern int smb2_mkdir(const unsigned int xid, struct inode *inode,
91 struct cifs_tcon *tcon, const unsigned int xid);
92 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
94 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
97 int smb2_rename_path(const unsigned int xid,
102 int smb2_create_hardlink(const unsigned int xid,
107 extern int smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
109 char *pbuf, unsigned int *pbytes_written);
110 extern int smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
113 unsigned int *pbytes_read);
114 int smb2_fix_symlink_target_type(char **target, bool directory, struct cifs_sb_info *cifs_sb);
115 int smb2_parse_native_symlink(char **target, const char *buf, unsigned int len,
119 int smb2_parse_symlink_response(struct cifs_sb_info *cifs_sb,
123 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
125 extern int smb2_unlock_range(struct cifsFileInfo *cfile,
126 struct file_lock *flock, const unsigned int xid);
127 extern int smb2_push_mandatory_locks(struct cifsFileInfo *cfile);
129 extern int smb3_crypto_aead_allocate(struct TCP_Server_Info *server);
138 int *pretries,
139 int *pcur_sleep);
145 extern int SMB2_negotiate(const unsigned int xid,
148 extern int SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses,
151 extern int SMB2_logoff(const unsigned int xid, struct cifs_ses *ses);
152 extern int SMB2_tcon(const unsigned int xid, struct cifs_ses *ses,
155 extern int SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon);
156 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
160 struct kvec *err_iov, int *resp_buftype);
161 extern int SMB2_open_init(struct cifs_tcon *tcon,
167 extern int SMB2_ioctl(const unsigned int xid, struct cifs_tcon *tcon,
171 extern int SMB2_ioctl_init(struct cifs_tcon *tcon,
178 extern int SMB2_change_notify(const unsigned int xid, struct cifs_tcon *tcon,
183 extern int __SMB2_close(const unsigned int xid, struct cifs_tcon *tcon,
186 extern int SMB2_close(const unsigned int xid, struct cifs_tcon *tcon,
188 extern int SMB2_close_init(struct cifs_tcon *tcon,
194 extern int SMB2_flush(const unsigned int xid, struct cifs_tcon *tcon,
196 extern int SMB2_flush_init(const unsigned int xid, struct smb_rqst *rqst,
201 extern int SMB311_posix_query_info(const unsigned int xid, struct cifs_tcon *tcon,
203 extern int SMB2_query_info(const unsigned int xid, struct cifs_tcon *tcon,
206 extern int SMB2_query_info_init(struct cifs_tcon *tcon,
214 extern int SMB2_query_acl(const unsigned int xid, struct cifs_tcon *tcon,
216 void **data, unsigned int *plen, u32 info);
217 extern int SMB2_get_srv_num(const unsigned int xid, struct cifs_tcon *tcon,
220 extern int smb2_async_readv(struct cifs_io_subrequest *rdata);
221 extern int SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,
222 unsigned int *nbytes, char **buf, int *buf_type);
224 extern int SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,
225 unsigned int *nbytes, struct kvec *iov, int n_vec);
226 extern int SMB2_echo(struct TCP_Server_Info *server);
227 extern int SMB2_query_directory(const unsigned int xid, struct cifs_tcon *tcon,
228 u64 persistent_fid, u64 volatile_fid, int index,
230 extern int SMB2_query_directory_init(unsigned int xid, struct cifs_tcon *tcon,
234 int index, int info_level);
236 extern int SMB2_set_eof(const unsigned int xid, struct cifs_tcon *tcon,
239 extern int SMB2_set_info_init(struct cifs_tcon *tcon,
244 void **data, unsigned int *size);
246 extern int SMB2_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
248 struct smb_ntsd *pnntsd, int pacllen, int aclflag);
249 extern int SMB2_set_ea(const unsigned int xid, struct cifs_tcon *tcon,
251 struct smb2_file_full_ea_info *buf, int len);
252 extern int SMB2_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
254 extern int SMB2_oplock_break(const unsigned int xid, struct cifs_tcon *tcon,
257 extern int smb2_handle_cancelled_close(struct cifs_tcon *tcon,
260 extern int smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server);
262 extern int SMB2_QFS_info(const unsigned int xid, struct cifs_tcon *tcon,
265 extern int SMB311_posix_qfs_info(const unsigned int xid, struct cifs_tcon *tcon,
268 extern int SMB2_QFS_attr(const unsigned int xid, struct cifs_tcon *tcon,
269 u64 persistent_file_id, u64 volatile_file_id, int lvl);
270 extern int SMB2_lock(const unsigned int xid, struct cifs_tcon *tcon,
274 extern int smb2_lockv(const unsigned int xid, struct cifs_tcon *tcon,
278 extern int SMB2_lease_break(const unsigned int xid, struct cifs_tcon *tcon,
280 extern int smb3_validate_negotiate(const unsigned int, struct cifs_tcon *);
284 int smb2_parse_contexts(struct TCP_Server_Info *server,
291 extern int smb3_encryption_required(const struct cifs_tcon *tcon);
292 extern int smb2_validate_iov(unsigned int offset, unsigned int buffer_length,
293 struct kvec *iov, unsigned int min_buf_size);
294 extern int smb2_validate_and_copy_iov(unsigned int offset,
295 unsigned int buffer_length,
297 unsigned int minbufsize, char *data);
301 extern int smb311_crypto_shash_allocate(struct TCP_Server_Info *server);
302 extern int smb311_update_preauth_hash(struct cifs_ses *ses,
304 struct kvec *iov, int nvec);
305 extern int smb2_query_info_compound(const unsigned int xid,
309 struct kvec *rsp, int *buftype,
312 int smb311_posix_query_path_info(const unsigned int xid,
317 int posix_info_parse(const void *beg, const void *end,
319 int posix_info_sid_size(const void *beg, const void *end);
320 int smb2_create_reparse_symlink(const unsigned int xid, struct inode *inode,
323 int smb2_make_nfs_node(unsigned int xid, struct inode *inode,