Lines Matching full:const
80 extern char *cifs_compose_mount_options(const char *sb_mountdata,
81 const char *fullpath, const struct dfs_info3_param *ref,
84 extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer,
97 mid_handle_t *handle, void *cbdata, const int flags,
98 const struct cifs_credits *exist_credits);
100 extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
103 const int flags, struct kvec *resp_iov);
104 extern int compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
106 const int flags, const int num_rqst,
109 extern int SendReceive(const unsigned int /* xid */ , struct cifs_ses *,
112 int * /* bytes returned */ , const int);
113 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
125 extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *,
127 int * /* type of buf returned */, const int flags,
129 extern int SendReceiveBlockingLock(const unsigned int xid,
145 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
149 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
154 extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len);
155 extern void cifs_set_port(struct sockaddr *addr, const unsigned short int port);
159 const struct cifs_tcon *, int /* length of
161 extern int small_smb_init_no_tc(const int smb_cmd, const int wct,
166 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
167 const struct nls_table *nls_cp);
177 struct file_lock *flock, const unsigned int xid);
199 extern int cifs_get_inode_info(struct inode **inode, const char *full_path,
201 int xid, const struct cifs_fid *fid);
202 extern int smb311_posix_get_inode_info(struct inode **pinode, const char *search_path,
205 const unsigned char *search_path,
209 extern int cifs_rename_pending_delete(const char *full_path,
211 const unsigned int xid);
217 const char *path, const struct cifs_fid *pfid);
218 extern int id_mode_to_cifs_acl(struct inode *inode, const char *path, __u64,
221 const char *, u32 *);
223 const struct cifs_fid *, u32 *);
225 const char *, int);
242 const char *devname, bool is_smb3);
277 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon,
278 const struct nls_table *nlsc);
280 extern int cifs_negotiate_protocol(const unsigned int xid,
282 extern int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
285 extern int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses);
287 extern int CIFSTCon(const unsigned int xid, struct cifs_ses *ses,
288 const char *tree, struct cifs_tcon *tcon,
289 const struct nls_table *);
291 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
292 const char *searchName, struct cifs_sb_info *cifs_sb,
297 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
301 extern int CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
302 const __u16 search_handle);
304 extern int CIFSSMBQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
306 extern int CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
307 const char *search_Name, FILE_ALL_INFO *data,
309 const struct nls_table *nls_codepage, int remap);
310 extern int SMBQueryInformation(const unsigned int xid, struct cifs_tcon *tcon,
311 const char *search_name, FILE_ALL_INFO *data,
312 const struct nls_table *nls_codepage, int remap);
314 extern int CIFSSMBUnixQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
316 extern int CIFSSMBUnixQPathInfo(const unsigned int xid,
318 const unsigned char *searchName,
320 const struct nls_table *nls_codepage, int remap);
322 extern int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses,
323 const char *search_name,
326 const struct nls_table *nls_codepage, int remap);
331 const struct nls_table *nls_codepage, int remap,
332 const char *searchName, bool is_unicode);
336 extern int CIFSSMBQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
338 extern int SMBOldQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
340 extern int CIFSSMBSetFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon,
343 extern int CIFSSMBQFSAttributeInfo(const unsigned int xid,
345 extern int CIFSSMBQFSDeviceInfo(const unsigned int xid, struct cifs_tcon *tcon);
346 extern int CIFSSMBQFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon);
347 extern int CIFSSMBQFSPosixInfo(const unsigned int xid, struct cifs_tcon *tcon,
350 extern int CIFSSMBSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
351 const char *fileName, const FILE_BASIC_INFO *data,
352 const struct nls_table *nls_codepage,
354 extern int CIFSSMBSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
355 const FILE_BASIC_INFO *data, __u16 fid,
357 extern int CIFSSMBSetFileDisposition(const unsigned int xid,
364 const struct nls_table *nls_codepage);
366 extern int CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon,
367 const char *file_name, __u64 size,
369 extern int CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon,
383 extern int CIFSSMBUnixSetFileInfo(const unsigned int xid,
385 const struct cifs_unix_set_info_args *args,
388 extern int CIFSSMBUnixSetPathInfo(const unsigned int xid,
389 struct cifs_tcon *tcon, const char *file_name,
390 const struct cifs_unix_set_info_args *args,
391 const struct nls_table *nls_codepage,
394 extern int CIFSSMBMkDir(const unsigned int xid, struct inode *inode,
396 const char *name, struct cifs_sb_info *cifs_sb);
397 extern int CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon,
398 const char *name, struct cifs_sb_info *cifs_sb);
399 extern int CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon,
400 const char *name, __u16 type,
401 const struct nls_table *nls_codepage,
403 extern int CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon,
404 const char *name, struct cifs_sb_info *cifs_sb);
405 extern int CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon,
406 const char *from_name, const char *to_name,
408 extern int CIFSSMBRenameOpenFile(const unsigned int xid, struct cifs_tcon *tcon,
409 int netfid, const char *target_name,
410 const struct nls_table *nls_codepage,
412 extern int CIFSCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon,
413 const char *from_name, const char *to_name,
415 extern int CIFSUnixCreateHardLink(const unsigned int xid,
417 const char *fromName, const char *toName,
418 const struct nls_table *nls_codepage,
420 extern int CIFSUnixCreateSymLink(const unsigned int xid,
422 const char *fromName, const char *toName,
423 const struct nls_table *nls_codepage, int remap);
424 extern int CIFSSMBUnixQuerySymLink(const unsigned int xid,
426 const unsigned char *searchName, char **syminfo,
427 const struct nls_table *nls_codepage, int remap);
428 extern int CIFSSMBQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon,
430 const struct nls_table *nls_codepage);
431 extern int CIFSSMB_set_compression(const unsigned int xid,
433 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
435 extern int SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon,
436 const char *fileName, const int disposition,
437 const int access_flags, const int omode,
439 const struct nls_table *nls_codepage, int remap);
440 extern int CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *tcon,
443 __u32 *pOplock, const char *name,
444 const struct nls_table *nls_codepage, int remap);
445 extern int CIFSSMBClose(const unsigned int xid, struct cifs_tcon *tcon,
446 const int smb_file_id);
448 extern int CIFSSMBFlush(const unsigned int xid, struct cifs_tcon *tcon,
449 const int smb_file_id);
451 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
454 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
455 unsigned int *nbytes, const char *buf);
456 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
457 unsigned int *nbytes, struct kvec *iov, const int nvec);
458 extern int CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon,
459 const char *search_name, __u64 *inode_number,
460 const struct nls_table *nls_codepage,
463 extern int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon,
464 const __u16 netfid, const __u8 lock_type,
465 const __u32 num_unlock, const __u32 num_lock,
467 extern int CIFSSMBLock(const unsigned int xid, struct cifs_tcon *tcon,
468 const __u16 netfid, const __u32 netpid, const __u64 len,
469 const __u64 offset, const __u32 numUnlock,
470 const __u32 numLock, const __u8 lockType,
471 const bool waitFlag, const __u8 oplock_level);
472 extern int CIFSSMBPosixLock(const unsigned int xid, struct cifs_tcon *tcon,
473 const __u16 smb_file_id, const __u32 netpid,
474 const loff_t start_offset, const __u64 len,
475 struct file_lock *, const __u16 lock_type,
476 const bool waitFlag);
477 extern int CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon);
479 extern int CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses);
495 const struct nls_table *);
496 extern int setup_ntlm_response(struct cifs_ses *, const struct nls_table *);
497 extern int setup_ntlmv2_rsp(struct cifs_ses *, const struct nls_table *);
504 extern int calc_lanman_hash(const char *password, const char *cryptkey,
508 extern int CIFSSMBNotify(const unsigned int xid, struct cifs_tcon *tcon,
509 const int notify_subdirs, const __u16 netfid,
511 const struct nls_table *nls_codepage);
515 const char *fromName,
516 const __u16 target_tid,
517 const char *toName, const int flags,
518 const struct nls_table *nls_codepage,
520 extern ssize_t CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon,
521 const unsigned char *searchName,
522 const unsigned char *ea_name, char *EAData,
524 extern int CIFSSMBSetEA(const unsigned int xid, struct cifs_tcon *tcon,
525 const char *fileName, const char *ea_name,
526 const void *ea_value, const __u16 ea_value_len,
527 const struct nls_table *nls_codepage,
529 extern int CIFSSMBGetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon,
531 extern int CIFSSMBSetCIFSACL(const unsigned int, struct cifs_tcon *, __u16,
533 extern int CIFSSMBGetPosixACL(const unsigned int xid, struct cifs_tcon *tcon,
534 const unsigned char *searchName,
535 char *acl_inf, const int buflen, const int acl_type,
536 const struct nls_table *nls_codepage, int remap_special_chars);
537 extern int CIFSSMBSetPosixACL(const unsigned int xid, struct cifs_tcon *tcon,
538 const unsigned char *fileName,
539 const char *local_acl, const int buflen, const int acl_type,
540 const struct nls_table *nls_codepage, int remap_special_chars);
541 extern int CIFSGetExtAttr(const unsigned int xid, struct cifs_tcon *tcon,
542 const int netfid, __u64 *pExtAttrBits, __u64 *pMask);
544 extern bool couldbe_mf_symlink(const struct cifs_fattr *fattr);
548 const unsigned char *path);
550 extern int E_md4hash(const unsigned char *passwd, unsigned char *p16,
551 const struct nls_table *codepage);
552 extern int SMBencrypt(unsigned char *passwd, const unsigned char *c8,
557 const char *devname, bool is_smb3);
583 const unsigned char *path, char *pbuf,
587 const unsigned char *path, char *pbuf,
599 int cifs_alloc_hash(const char *name, struct crypto_shash **shash,
614 void extract_unc_hostname(const char *unc, const char **h, size_t *len);
615 int copy_path_name(char *dst, const char *src);
625 static inline int get_dfs_path(const unsigned int xid, struct cifs_ses *ses, in get_dfs_path()
626 const char *old_path, in get_dfs_path()
627 const struct nls_table *nls_codepage, in get_dfs_path()
635 const char *share, size_t share_len,