Lines Matching full:const
64 extern char *cifs_compose_mount_options(const char *sb_mountdata,
65 const char *fullpath, const struct dfs_info3_param *ref,
68 extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer,
75 extern int SendReceive(const unsigned int /* xid */ , struct cifs_ses *,
78 int * /* bytes returned */ , const int long_op);
79 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
83 extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *,
85 int * /* type of buf returned */ , const int flags);
86 extern int SendReceiveBlockingLock(const unsigned int xid,
103 extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len);
104 extern int cifs_set_port(struct sockaddr *addr, const unsigned short int port);
105 extern int cifs_fill_sockaddr(struct sockaddr *dst, const char *src, int len,
106 const unsigned short int port);
109 const struct cifs_tcon *, int /* length of
111 extern int small_smb_init_no_tc(const int smb_cmd, const int wct,
115 const struct nls_table *nls_cp);
140 const unsigned char *search_path,
142 struct super_block *sb, int xid, const __u16 *pfid);
145 const unsigned char *search_path,
149 const char *path, const __u16 *pfid);
150 extern int id_mode_to_cifs_acl(struct inode *inode, const char *path, __u64,
153 const char *, u32 *);
155 const char *, int);
168 const char *devname);
182 const char *tree, struct cifs_tcon *tcon,
183 const struct nls_table *);
185 extern int CIFSFindFirst(const int xid, struct cifs_tcon *tcon,
186 const char *searchName, const struct nls_table *nls_codepage,
188 int map, const char dirsep);
190 extern int CIFSFindNext(const int xid, struct cifs_tcon *tcon,
193 extern int CIFSFindClose(const int, struct cifs_tcon *tcon,
194 const __u16 search_handle);
196 extern int CIFSSMBQFileInfo(const int xid, struct cifs_tcon *tcon,
198 extern int CIFSSMBQPathInfo(const int xid, struct cifs_tcon *tcon,
199 const unsigned char *searchName,
202 const struct nls_table *nls_codepage, int remap);
203 extern int SMBQueryInformation(const int xid, struct cifs_tcon *tcon,
204 const unsigned char *searchName,
206 const struct nls_table *nls_codepage, int remap);
208 extern int CIFSSMBUnixQFileInfo(const int xid, struct cifs_tcon *tcon,
210 extern int CIFSSMBUnixQPathInfo(const int xid,
212 const unsigned char *searchName,
214 const struct nls_table *nls_codepage, int remap);
216 extern int CIFSGetDFSRefer(const int xid, struct cifs_ses *ses,
217 const unsigned char *searchName,
220 const struct nls_table *nls_codepage, int remap);
223 const char *old_path,
224 const struct nls_table *nls_codepage,
231 extern int CIFSSMBQFSInfo(const int xid, struct cifs_tcon *tcon,
233 extern int SMBOldQFSInfo(const int xid, struct cifs_tcon *tcon,
235 extern int CIFSSMBSetFSUnixInfo(const int xid, struct cifs_tcon *tcon,
238 extern int CIFSSMBQFSAttributeInfo(const int xid,
240 extern int CIFSSMBQFSDeviceInfo(const int xid, struct cifs_tcon *tcon);
241 extern int CIFSSMBQFSUnixInfo(const int xid, struct cifs_tcon *tcon);
242 extern int CIFSSMBQFSPosixInfo(const int xid, struct cifs_tcon *tcon,
245 extern int CIFSSMBSetPathInfo(const int xid, struct cifs_tcon *tcon,
246 const char *fileName, const FILE_BASIC_INFO *data,
247 const struct nls_table *nls_codepage,
249 extern int CIFSSMBSetFileInfo(const int xid, struct cifs_tcon *tcon,
250 const FILE_BASIC_INFO *data, __u16 fid,
252 extern int CIFSSMBSetFileDisposition(const int xid, struct cifs_tcon *tcon,
257 const struct nls_table *nls_codepage);
259 extern int CIFSSMBSetEOF(const int xid, struct cifs_tcon *tcon,
260 const char *fileName, __u64 size,
262 const struct nls_table *nls_codepage,
264 extern int CIFSSMBSetFileSize(const int xid, struct cifs_tcon *tcon,
278 extern int CIFSSMBUnixSetFileInfo(const int xid, struct cifs_tcon *tcon,
279 const struct cifs_unix_set_info_args *args,
282 extern int CIFSSMBUnixSetPathInfo(const int xid, struct cifs_tcon *pTcon,
284 const struct cifs_unix_set_info_args *args,
285 const struct nls_table *nls_codepage,
288 extern int CIFSSMBMkDir(const int xid, struct cifs_tcon *tcon,
289 const char *newName,
290 const struct nls_table *nls_codepage,
292 extern int CIFSSMBRmDir(const int xid, struct cifs_tcon *tcon,
293 const char *name, const struct nls_table *nls_codepage,
295 extern int CIFSPOSIXDelFile(const int xid, struct cifs_tcon *tcon,
296 const char *name, __u16 type,
297 const struct nls_table *nls_codepage,
299 extern int CIFSSMBDelFile(const int xid, struct cifs_tcon *tcon,
300 const char *name,
301 const struct nls_table *nls_codepage,
303 extern int CIFSSMBRename(const int xid, struct cifs_tcon *tcon,
304 const char *fromName, const char *toName,
305 const struct nls_table *nls_codepage,
307 extern int CIFSSMBRenameOpenFile(const int xid, struct cifs_tcon *pTcon,
308 int netfid, const char *target_name,
309 const struct nls_table *nls_codepage,
311 extern int CIFSCreateHardLink(const int xid,
313 const char *fromName, const char *toName,
314 const struct nls_table *nls_codepage,
316 extern int CIFSUnixCreateHardLink(const int xid,
318 const char *fromName, const char *toName,
319 const struct nls_table *nls_codepage,
321 extern int CIFSUnixCreateSymLink(const int xid,
323 const char *fromName, const char *toName,
324 const struct nls_table *nls_codepage);
325 extern int CIFSSMBUnixQuerySymLink(const int xid,
327 const unsigned char *searchName, char **syminfo,
328 const struct nls_table *nls_codepage);
330 extern int CIFSSMBQueryReparseLinkInfo(const int xid,
332 const unsigned char *searchName,
333 char *symlinkinfo, const int buflen, __u16 fid,
334 const struct nls_table *nls_codepage);
336 extern int CIFSSMBOpen(const int xid, struct cifs_tcon *tcon,
337 const char *fileName, const int disposition,
338 const int access_flags, const int omode,
340 const struct nls_table *nls_codepage, int remap);
341 extern int SMBLegacyOpen(const int xid, struct cifs_tcon *tcon,
342 const char *fileName, const int disposition,
343 const int access_flags, const int omode,
345 const struct nls_table *nls_codepage, int remap);
346 extern int CIFSPOSIXCreate(const int xid, struct cifs_tcon *tcon,
349 __u32 *pOplock, const char *name,
350 const struct nls_table *nls_codepage, int remap);
351 extern int CIFSSMBClose(const int xid, struct cifs_tcon *tcon,
352 const int smb_file_id);
354 extern int CIFSSMBFlush(const int xid, struct cifs_tcon *tcon,
355 const int smb_file_id);
357 extern int CIFSSMBRead(const int xid, struct cifs_io_parms *io_parms,
360 extern int CIFSSMBWrite(const int xid, struct cifs_io_parms *io_parms,
361 unsigned int *nbytes, const char *buf,
362 const char __user *ubuf, const int long_op);
363 extern int CIFSSMBWrite2(const int xid, struct cifs_io_parms *io_parms,
364 unsigned int *nbytes, struct kvec *iov, const int nvec,
365 const int long_op);
366 extern int CIFSGetSrvInodeNumber(const int xid, struct cifs_tcon *tcon,
367 const unsigned char *searchName, __u64 *inode_number,
368 const struct nls_table *nls_codepage,
371 extern int cifs_lockv(const int xid, struct cifs_tcon *tcon, const __u16 netfid,
372 const __u8 lock_type, const __u32 num_unlock,
373 const __u32 num_lock, LOCKING_ANDX_RANGE *buf);
374 extern int CIFSSMBLock(const int xid, struct cifs_tcon *tcon,
375 const __u16 netfid, const __u32 netpid, const __u64 len,
376 const __u64 offset, const __u32 numUnlock,
377 const __u32 numLock, const __u8 lockType,
378 const bool waitFlag, const __u8 oplock_level);
379 extern int CIFSSMBPosixLock(const int xid, struct cifs_tcon *tcon,
380 const __u16 smb_file_id, const __u32 netpid,
381 const int get_flag, const __u64 len, struct file_lock *,
382 const __u16 lock_type, const bool waitFlag);
383 extern int CIFSSMBTDis(const int xid, struct cifs_tcon *tcon);
385 extern int CIFSSMBLogoff(const int xid, struct cifs_ses *ses);
399 const struct nls_table *);
400 extern int setup_ntlm_response(struct cifs_ses *, const struct nls_table *);
401 extern int setup_ntlmv2_rsp(struct cifs_ses *, const struct nls_table *);
407 extern int calc_lanman_hash(const char *password, const char *cryptkey,
411 extern int CIFSSMBNotify(const int xid, struct cifs_tcon *tcon,
412 const int notify_subdirs, const __u16 netfid,
414 const struct nls_table *nls_codepage);
418 const char *fromName,
419 const __u16 target_tid,
420 const char *toName, const int flags,
421 const struct nls_table *nls_codepage,
423 extern ssize_t CIFSSMBQAllEAs(const int xid, struct cifs_tcon *tcon,
424 const unsigned char *searchName,
425 const unsigned char *ea_name, char *EAData,
426 size_t bufsize, const struct nls_table *nls_codepage,
428 extern int CIFSSMBSetEA(const int xid, struct cifs_tcon *tcon,
429 const char *fileName, const char *ea_name,
430 const void *ea_value, const __u16 ea_value_len,
431 const struct nls_table *nls_codepage, int remap_special_chars);
432 extern int CIFSSMBGetCIFSACL(const int xid, struct cifs_tcon *tcon,
434 extern int CIFSSMBSetCIFSACL(const int, struct cifs_tcon *, __u16,
436 extern int CIFSSMBGetPosixACL(const int xid, struct cifs_tcon *tcon,
437 const unsigned char *searchName,
438 char *acl_inf, const int buflen, const int acl_type,
439 const struct nls_table *nls_codepage, int remap_special_chars);
440 extern int CIFSSMBSetPosixACL(const int xid, struct cifs_tcon *tcon,
441 const unsigned char *fileName,
442 const char *local_acl, const int buflen, const int acl_type,
443 const struct nls_table *nls_codepage, int remap_special_chars);
444 extern int CIFSGetExtAttr(const int xid, struct cifs_tcon *tcon,
445 const int netfid, __u64 *pExtAttrBits, __u64 *pMask);
447 extern bool CIFSCouldBeMFSymlink(const struct cifs_fattr *fattr);
449 const unsigned char *path,
452 extern int E_md4hash(const unsigned char *passwd, unsigned char *p16,
453 const struct nls_table *codepage);
454 extern int SMBencrypt(unsigned char *passwd, const unsigned char *c8,