Lines Matching full:const
59 extern const char *build_path_from_dentry(struct dentry *, void *);
78 extern char *cifs_compose_mount_options(const char *sb_mountdata,
79 const char *fullpath, const struct dfs_info3_param *ref,
82 extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer,
90 extern int smb3_parse_devname(const char *devname, struct smb3_fs_context *ctx);
91 extern int smb3_parse_opt(const char *options, const char *key, char **val);
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);
185 extern int cifs_posix_open(const char *full_path, struct inode **inode,
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,
208 unsigned int xid, const char *full_path, __u32 dosattr);
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 *pnmode,
221 const char *, u32 *, u32);
223 const struct cifs_fid *, u32 *, u32);
225 const char *, int);
271 const char *path);
291 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon,
292 const struct nls_table *nlsc);
294 extern int cifs_negotiate_protocol(const unsigned int xid,
296 extern int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
299 extern int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses);
301 extern int CIFSTCon(const unsigned int xid, struct cifs_ses *ses,
302 const char *tree, struct cifs_tcon *tcon,
303 const struct nls_table *);
305 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
306 const char *searchName, struct cifs_sb_info *cifs_sb,
311 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
315 extern int CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
316 const __u16 search_handle);
318 extern int CIFSSMBQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
320 extern int CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
321 const char *search_Name, FILE_ALL_INFO *data,
323 const struct nls_table *nls_codepage, int remap);
324 extern int SMBQueryInformation(const unsigned int xid, struct cifs_tcon *tcon,
325 const char *search_name, FILE_ALL_INFO *data,
326 const struct nls_table *nls_codepage, int remap);
328 extern int CIFSSMBUnixQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
330 extern int CIFSSMBUnixQPathInfo(const unsigned int xid,
332 const unsigned char *searchName,
334 const struct nls_table *nls_codepage, int remap);
336 extern int CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses,
337 const char *search_name,
340 const struct nls_table *nls_codepage, int remap);
345 const struct nls_table *nls_codepage, int remap,
346 const char *searchName, bool is_unicode);
350 extern int CIFSSMBQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
352 extern int SMBOldQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
354 extern int CIFSSMBSetFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon,
357 extern int CIFSSMBQFSAttributeInfo(const unsigned int xid,
359 extern int CIFSSMBQFSDeviceInfo(const unsigned int xid, struct cifs_tcon *tcon);
360 extern int CIFSSMBQFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon);
361 extern int CIFSSMBQFSPosixInfo(const unsigned int xid, struct cifs_tcon *tcon,
364 extern int CIFSSMBSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
365 const char *fileName, const FILE_BASIC_INFO *data,
366 const struct nls_table *nls_codepage,
368 extern int CIFSSMBSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
369 const FILE_BASIC_INFO *data, __u16 fid,
371 extern int CIFSSMBSetFileDisposition(const unsigned int xid,
375 extern int CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon,
376 const char *file_name, __u64 size,
378 extern int CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon,
392 extern int CIFSSMBUnixSetFileInfo(const unsigned int xid,
394 const struct cifs_unix_set_info_args *args,
397 extern int CIFSSMBUnixSetPathInfo(const unsigned int xid,
398 struct cifs_tcon *tcon, const char *file_name,
399 const struct cifs_unix_set_info_args *args,
400 const struct nls_table *nls_codepage,
403 extern int CIFSSMBMkDir(const unsigned int xid, struct inode *inode,
405 const char *name, struct cifs_sb_info *cifs_sb);
406 extern int CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon,
407 const char *name, struct cifs_sb_info *cifs_sb);
408 extern int CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon,
409 const char *name, __u16 type,
410 const struct nls_table *nls_codepage,
412 extern int CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon,
413 const char *name, struct cifs_sb_info *cifs_sb);
414 extern int CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon,
415 const char *from_name, const char *to_name,
417 extern int CIFSSMBRenameOpenFile(const unsigned int xid, struct cifs_tcon *tcon,
418 int netfid, const char *target_name,
419 const struct nls_table *nls_codepage,
421 extern int CIFSCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon,
422 const char *from_name, const char *to_name,
424 extern int CIFSUnixCreateHardLink(const unsigned int xid,
426 const char *fromName, const char *toName,
427 const struct nls_table *nls_codepage,
429 extern int CIFSUnixCreateSymLink(const unsigned int xid,
431 const char *fromName, const char *toName,
432 const struct nls_table *nls_codepage, int remap);
433 extern int CIFSSMBUnixQuerySymLink(const unsigned int xid,
435 const unsigned char *searchName, char **syminfo,
436 const struct nls_table *nls_codepage, int remap);
437 extern int CIFSSMBQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon,
439 const struct nls_table *nls_codepage);
440 extern int CIFSSMB_set_compression(const unsigned int xid,
442 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
444 extern int SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon,
445 const char *fileName, const int disposition,
446 const int access_flags, const int omode,
448 const struct nls_table *nls_codepage, int remap);
449 extern int CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *tcon,
452 __u32 *pOplock, const char *name,
453 const struct nls_table *nls_codepage, int remap);
454 extern int CIFSSMBClose(const unsigned int xid, struct cifs_tcon *tcon,
455 const int smb_file_id);
457 extern int CIFSSMBFlush(const unsigned int xid, struct cifs_tcon *tcon,
458 const int smb_file_id);
460 extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
463 extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
464 unsigned int *nbytes, const char *buf);
465 extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
466 unsigned int *nbytes, struct kvec *iov, const int nvec);
467 extern int CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon,
468 const char *search_name, __u64 *inode_number,
469 const struct nls_table *nls_codepage,
472 extern int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon,
473 const __u16 netfid, const __u8 lock_type,
474 const __u32 num_unlock, const __u32 num_lock,
476 extern int CIFSSMBLock(const unsigned int xid, struct cifs_tcon *tcon,
477 const __u16 netfid, const __u32 netpid, const __u64 len,
478 const __u64 offset, const __u32 numUnlock,
479 const __u32 numLock, const __u8 lockType,
480 const bool waitFlag, const __u8 oplock_level);
481 extern int CIFSSMBPosixLock(const unsigned int xid, struct cifs_tcon *tcon,
482 const __u16 smb_file_id, const __u32 netpid,
483 const loff_t start_offset, const __u64 len,
484 struct file_lock *, const __u16 lock_type,
485 const bool waitFlag);
486 extern int CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon);
488 extern int CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses);
503 extern int setup_ntlmv2_rsp(struct cifs_ses *, const struct nls_table *);
511 const char *fromName,
512 const __u16 target_tid,
513 const char *toName, const int flags,
514 const struct nls_table *nls_codepage,
516 extern ssize_t CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon,
517 const unsigned char *searchName,
518 const unsigned char *ea_name, char *EAData,
520 extern int CIFSSMBSetEA(const unsigned int xid, struct cifs_tcon *tcon,
521 const char *fileName, const char *ea_name,
522 const void *ea_value, const __u16 ea_value_len,
523 const struct nls_table *nls_codepage,
525 extern int CIFSSMBGetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon,
527 extern int CIFSSMBSetCIFSACL(const unsigned int, struct cifs_tcon *, __u16,
529 extern int CIFSSMBGetPosixACL(const unsigned int xid, struct cifs_tcon *tcon,
530 const unsigned char *searchName,
531 char *acl_inf, const int buflen, const int acl_type,
532 const struct nls_table *nls_codepage, int remap_special_chars);
533 extern int CIFSSMBSetPosixACL(const unsigned int xid, struct cifs_tcon *tcon,
534 const unsigned char *fileName,
535 const char *local_acl, const int buflen, const int acl_type,
536 const struct nls_table *nls_codepage, int remap_special_chars);
537 extern int CIFSGetExtAttr(const unsigned int xid, struct cifs_tcon *tcon,
538 const int netfid, __u64 *pExtAttrBits, __u64 *pMask);
540 extern bool couldbe_mf_symlink(const struct cifs_fattr *fattr);
544 const unsigned char *path);
545 extern int E_md4hash(const unsigned char *passwd, unsigned char *p16,
546 const struct nls_table *codepage);
549 cifs_setup_volume_info(struct smb3_fs_context *ctx, const char *mntopts, const char *devname);
573 const unsigned char *path, char *pbuf,
577 const unsigned char *path, char *pbuf,
589 int cifs_alloc_hash(const char *name, struct crypto_shash **shash,
602 void extract_unc_hostname(const char *unc, const char **h, size_t *len);
603 int copy_path_name(char *dst, const char *src);
611 char *extract_hostname(const char *unc);
612 char *extract_sharename(const char *unc);
615 static inline int get_dfs_path(const unsigned int xid, struct cifs_ses *ses, in get_dfs_path()
616 const char *old_path, in get_dfs_path()
617 const struct nls_table *nls_codepage, in get_dfs_path()
625 const char *share, size_t share_len,