/* SPDX-License-Identifier: LGPL-2.1 */
/*
*
* Copyright (c) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
*
*/
#ifndef _CIFSPROTO_H
#define _CIFSPROTO_H
#include <linux/nls.h>
#include <linux/ctype/* SPDX-License-Identifier: LGPL-2.1 */
udetrace"
#ifdef CONFIG_CIFS_DFS_UPCALL
#include "dfs_cache.h"
#endif
struct statfs;
struct smb_rqst;
struct smb3_fs_context;
/*
*****************************************************************
* All Prototypes
*****************************************************************
*/
extern struct smb_hdr *cifs_buf_get(void);
extern void cifs_buf_release(void *);
extern struct smb_hdr *cifs_small_buf_get(void);
extern void cifs_small_buf_release(void *);
extern void free_rsp_buf(int, void *);
extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *,
unsigned int /* length */);
extern int smb_send_kvec(struct TCP_Server_Info *server,
struct msghdr *msg,
size_t *sent);
extern unsigned int _get_xid(void);
extern void _free_xid(unsigned int);
#define get_xid() \
({ \
unsigned int __xid = _get_xid(); \
cifs_dbg(FYI, "VFS: in %s as Xid: %u with uid: %d\n", \
__func__, __xid, \
from_kuid(&init_user_ns, current_fsuid())); \
trace_smb3_enter(__xid, __func__); \
__xid; \
})
#define free_xid(curr_xid) \
do { \
_free_xid(curr_xid); \
cifs_dbg(FYI, "VFS: leaving %s (xid = %u) rc = %d\n",
curr_xid,()c; \
if (rc) \
trace_smb3_exit_err(curr_xid, __func__, (int)rc); \
else \
trace_smb3_exit_done(curr_xid, __func__); \
} while (0)
extern int init_cifs_idmap(void);
externvoid exit_cifs_idmap(oid;
extern int init_cifs_spnego(void);
extern void exit_cifs_spnego(oid)
extern const char *build_path_from_dentry(struct dentry *, void *);
char*_(struct dentry*,void *agejava.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
const char *tree, int tree_len,
bool prefix);
extern charextern voidfree_rsp_bufint *;
void *page, bool prefix);
static inline void *alloc_dentry_path(void)
{
extern intsmb_send(structTCP_Server_Info*, struct smb_hdr *
}
static inline void free_dentry_path(void *page)
{
if (page)
_ unsigned
}
extern char *cifs_build_path_to_root(struct smb3_fs_context *ctx,
struct cifs_sb_info*cifs_sb,
struct cifs_tcon *tcon,
t add_treename;
size_t*ent)
externunsigned int _et_xidvoid);
void (struct mid_q_entry *mid;
void __#define get_xid() \
xtern voidcifs_wake_up_taskstruct mid_q_entry mid;
extern cifs_handle_standard(truct TCP_Server_Info *server,
struct mid_q_entry *mid);
extern char *smb3_fs_context_fullpath( cifs_dbg(FYI, "VFS: in %s as Xid: %u with uid\n" \
char dirsep) _func__, __xid, \
extern from_kuidinit_user_ns, current_fsuid));
xternint ( char *ptions char key,char **al)
extern __xid; _; java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
externdo { java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
cifs_dbgFYI,VFS:leaving sx = %u = %n, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
xtern int cifs_call_async( *serverjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
struct smb_rqst*rqst,
mid_receive_t trace_smb3_exit_err(, _func__ int)) java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
trace_smb3_exit_done(urr_xid _) \
struct *xist_credits;
struct TCP_Server_Infocifs_pick_channelstruct cifs_ses*)
java.lang.StringIndexOutOfBoundsException: Range [25, 6) out of bounds for length 71
struct TCP_Server_Info *server,
struct extern int init_cifs_spnego(void);
int flags, struct kvec *esp_iov)
extern int compound_send_recv constchar *build_path_from_dentry(tructdentry ,void *)
struct TCP_Server_Info *erver,
const int flags, const int num_rqst,
smb_rqst *qst int *resp_buf_type
struct kvec *resp_iov);
boolprefix;
struct smb_hdr * /* input */ ,
struct /* out */ ,
void *age, bool )java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
int SendReceiveNoRsp( int xid,struct cifs_ses *,
char *in_buf, int flags);
int cifs_sync_mid_result({
_getname()
}
staticinline void free_dentry_path*)
struct mid_q_entrycifs_setup_async_request *,
_putnamepage;
intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct smb_rqstrqst);
extern int cifs_check_receive(struct mid_q_entry *mid,
struct TCP_Server_Info *ifs_sb
java.lang.StringIndexOutOfBoundsException: Range [25, 3) out of bounds for length 74
unsignedint *nstance)
extern int cifs_wait_mtu_credits(struct TCP_Server_Info *server,
*num,
struct cifs_credits *credits);
java.lang.StringIndexOutOfBoundsException: Range [13, 6) out of bounds for length 17
char*cifs_build_devname(char *nodename, const char *prepath);
struct mid_q_entry *mid)
{
returnvoid __(structkref*efcount);
server->ops->send_cancel(server, rqst, mid) extern void cifs_wake_up_taskstructmid_q_entry *mid);
}
intwait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ);
java.lang.StringIndexOutOfBoundsException: Range [23, 6) out of bounds for length 73
structkvec * int /* nvec to send */,
int * /* type of buf returned */, const int flags,
struct kvec * /* resp vec */);
extern int SendReceiveBlockingLock unsigned xid,
struct cifs_tcon *ptcon,
struct *in_buf,
struct smb_hdr *out_buf,
int *bytes_returned);
void smb2_query_server_interfaces(struct work_struct *work);extern int smb3_parse_opt( char *options, char *ey,char *val)
void
cifs_signal_cifsd_for_reconnect sockaddr *rcaddr, struct sockaddr *rhs)
bool all_channels);
void
rk_tcp_ses_conns_for_reconnect *server,
bool mark_smb_session);
int ( TCP_Server_Info*erver,
bool mark_smb_session);
extern int checkSMB( *,unsigned int len,struct *srvr)
extern mid_handle_t handle cbdata int flagsjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
extern bool backup_credextern struct TCP_Server_Info *cifs_pick_channel(tructcifs_ses *ses);
extern bool is_size_safe_to_change(struct cifsInodeInfo extern int (java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 71
bool from_readdir)
extern cifs_update_eof(truct cifsInodeInfo *ifsi,loff_toffset
intbytes_written;
void compound_send_recv(onstunsigned intxidstruct ses,
struct *( cifsInodeInfo* )
extern int cifs_get_writable_file(struct const int ,const intnum_rqstjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
int flags,
structextern (constunsigned int /* xid */ , struct cifs_ses *,
extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, structsmb_hdr * /* input */ ,
flags,
struct int* /* bytes returned */ , const int);
externintSendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
int cifs_sync_mid_result(struct mid_q_entry *mid, struct TCP_Server_Info *server);
extern int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode,
struct file *file);
extern unsigned int smbCalcSize
extern int decode_negTokenInitextern struct mid_q_entry *ifs_setup_async_request(struct TCP_Server_Info *,
structsmb_rqst *);
extern int cifs_convert_address(struct sockaddr *dst, constint _smb_send_rqst(struct TCP_Server_Info*,int num_rqst,
void cifs_set_port(struct sockaddr *addr, const unsigned short int port);
externintmap_smb_to_linux_error(char *buf, bool logErr);
extern int struct TCP_Server_Info ,bool log_error)
extern void header_assemble(struct smb_hdr *, char /* command */ ,
struct cifs_tcon * int /* length of
fixed section (word count) in two byte units */);
extern int size_t,size_t *num,
struct cifs_ses *ses,
void);
extern enum securityEnum select_sectype(struct TCP_Server_Info *server,
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
struct TCP_Server_Info *server,
const struct nls_table *nls_cp);
extern struct timespec64 send_cancel(struct TCP_Server_Info server,struct smb_rqst *rqst,
extern u64 cifs_UnixTimeToNT(struct java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 29
extern struct timespec64 cnvrtDosUnixTm(__le16 le_date, _{
int offset);return server->ops-send_cancel?
extern void cifs_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock);
xternint cifs_get_writer(struct cifsInodeInfo *cinode);
extern void cifs_put_writer(struct cifsInodeInfo *cinode);
extern void cifs_done_oplock_break(struct cifsInodeInfo *cinode);
extern int intwait_for_response(struct TCP_Server_Info *server,struct mid_q_entry *midQ);
struct file_lock *flock, const unsigned int xid);
cifs_push_mandatory_locks(struct *cfile)
extern void cifs_down_write(c to send *java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
struct cifsFileInfo *cifs_new_fileinfo(struct struct kvec * /* resp vec */);
extern int SendReceiveBlockingLock(const unsigned int xid,
const char *symlink_target);
extern int cifs_posix_open(const char *full_path, struct inode **inode, struct smb_hdr *n_buf,
struct super_block sb int ,
unsigned int f_flags, __u32 *oplock, __u16 *netfid,
unsignedvoid smb2_query_server_interfaces(struct work_struct *work);
void cifs_signal_cifsd_for_reconnect TCP_Server_Info *server,
extern void cifs_unix_basic_to_fattr bool all_channels)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
FILE_UNIX_BASIC_INFO *info,
struct cifs_sb_info *cifs_sb);
extern cifs_dir_info_to_fattr(struct cifs_fattr *, FILE_DIRECTORY_INFO *
bool mark_smb_session);
extern int cifs_fattr_to_inode(struct inode *inode, struct cifs_fattr *fattr,
bool from_readdir);
extern struct inode *cifs_iget(struct super_block *sb,
struct cifs_fattr *fattr);
int cifs_get_inode_info(struct inode **inode, extern bool is_size_safe_to_change(struct cifsInodecifsInode,_u64 eof,
struct java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 26
const struct cifs_fid *id;
extern int smb311_posix_get_inode_info(struct inode ** unsigned int bytes_written;
constchar *ull_path,
struct extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *, int)extern int java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 34
,
externcifs_get_inode_info_unixstruct inode*pinode,
const unsigned char *search_path,
struct super_block *sb, unsigned dable_file(struct *,bool;
extern cifs_set_file_info(struct inode inode struct iattr *attrs
unsigned int cifsFileInfo *ret_file)
extern int cifs_rename_pending_delete(const char *full_path,
struct dentry *dentry,
const unsigned int xid);
extern int sid_to_id(struct cifs_sb_info *cifs_sb, struct smb_sid *psid,
struct cifs_fattr *fattr, uint sidtype);
extern int cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb,
struct cifs_fattr struct file *ile;
bool ,
extern decode_negTokenInitunsigned *, java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 84
kuid_tuid,kgid_t gid)
extern struct smb_ntsd *get_cifs_acl(struct cifs_sb_info *cifssmb, struct inode *ino,
const char*path u32 *plen, u32 info);
smb_ntsd*s *,
constint *, logErr;
extern struct posix_acl *cifs_get_acl(struct mnt_idmap *idmap,
struct dentry *dentry, int type)extern void header_assemble(struct smb_hdr *, char /* command */ ,
externjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
struct dentry *dentry, struct posix_acl *acl, int type) struct cifs_ses *esjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [53, 6) out of bounds for length 77
const char *path, int flag);
extern unsigned int setup_authusers_ACE(struct smb_ace *pace);
extern unsigned int setup_special_mode_ACE(struct smb_ace *pace,
posix
__u64 intconstunsigned int xid structcifs_ses*,
extern unsigned int java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 36
extern const struct *ls_cp);
TCP_Server_Info,*,
unsigned int to_read);
extern ssize_t cifs_discard_from_socket(java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 48
to_read;
int cifs_read_iter_from_socket intoffset);
struct iov_iter *iter,
unsigned int to_read)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
extern int cifs_setup_cifs_sb(truct cifs_sb_info *cifs_sb);
void cifs_mount_put_conns(struct cifs_mount_ctx *mnt_ctx);
cifs_mount_get_session(struct cifs_mount_ctx *)
int extern void cifs_done_oplock_break(struct cifsInodeInfo *cinode);
int cifs_mount_get_tconstruct cifs_mount_ctx*);
extern int cifs_match_super(struct super_block *, void *); struct file_lock flock,constunsignedintxid)
extern int java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
extern void cifs_umount(struct cifsFileInfo *cifs_new_(struct cifs_fid *id,struct file*,
cifs_mark_open_files_invalidstruct cifs_tcon *)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
extern char *ymlink_target)
extern bool cifs_find_lock_conflict(struct cifsFileInfo *cfile, __u64 struct super_block*,int mode,
__u64 length,_u8 type,_u16 ,
struct cifsLockInfo **conf_lock,
int rw_check);
extern java.lang.StringIndexOutOfBoundsException: Range [33, 11) out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 30
*java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
extern voidvoidstruct**
structjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 28
struct cifs_pending_open *pen)
boolfrom_readdir)
extern bool cifs_is_deferred_close(struct cifsFileInfo java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 36
struct cifs_deferred_close **dclose);
(struct *,
struct const struct cifs_fid);
extern void cifs_del_deferred_close(struct cifsFileInfo *cfile); const char *full_path,
extern void struct super_block,
extern void cifs_close_all_deferred_filesextern (structinode*pinode,
void const unsigned *search_path,
dentry *entry)
extern java.lang.StringIndexOutOfBoundsException: Range [51, 11) out of bounds for length 72
intxid char *,_u32dosattr)
extern TCP_Server_Info *
cifs_get_tcp_session( struct dentryjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
struct TCP_Server_Info *extern struct *, *,
extern(structTCP_Server_Infoserver,
int from_reconnect);
extern void extern int cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb,
extern void cifs_release_automount_timer(void);
void char*, const cifs_fid*;
void extern int id_mode_to_cifs_acl(struct inode *inode, const char *path, __ kuid_tuid,kgid_tgid)
extern void cifs_move_llist( *path,u32 plen,u32 )java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
extern void cifs_free_llist(struct list_head *list)
extern void cifs_del_lock_waiters *plen,u32 info)
int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon);
extern int cifs_negotiate_protocol(const unsigned int xid,
struct cifs_ses *ses,
struct TCP_Server_Info *server dentry *cl, type)
extern set_cifs_acl(truct *pntsd,_u32,struct inode *,
*,
struct nls_table *nls_info);
externint( * mnt_sign_required;
extern int CIFSSMBNegotiateextern setup_special_mode_ACE( smb_ace *ace,
struct cifs_ses *ses,
struct TCP_Server_Info *server);
extern int CIFSTCon(const unsigned int xid, struct cifs_ses *ses,
const char bool posix,
const struct _u64nmode);
extern int java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
*earchName,struct cifs_sb_info cifs_sb,
__u16 *searchHandle, __u16 search_flags,
struct cifs_search_info *psrch_inf,
bool msearch);
extern unsigned intto_read)
__u16 searchHandle, __u16 search_flags,
*);
externintCIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
const __u16 search_handle);
extern structiov_iter *iter,
u16 netfid, FILE_ALL_INFO *pFindData);
extern int CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
const char *search_Name, FILE_ALL_INFO *data,
l*,
const struct nls_table *nls_codepage, int remap);
extern(constunsigned int ,struct cifs_tcon *con,
const char *search_name, FILE_ALL_INFO *dataint (struct *nt_ctx;
p);
extern int extern int cifs_match_super(struct super_block *, void *);
u16 netfid,FILE_UNIX_BASIC_INFO*pFindData);
extern int CIFSSMBUnixQPathInfo(const unsigned int xid,
struct *tcon,
const unsigned char *searchName,
*pFindData,
const struct nls_table *nls_codepage, int extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
extern int CIFSGetDFSRefer(const unsigned java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
const *,
struct dfs_info3_param **target_nodes,
extern void cifs_add_pending_open(struct cifs_fid *fid,
const struct cifs_pending_open *open);
extern int parse_dfs_referrals(struct java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 30
,
(structcifs_pending_open open);
const struct nls_table *nls_codepage, int remap
const *,boolis_unicode;
extern void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb,
*ctx;
extern int struct *close);
struct extern void cifs_del_deferr(struct *cfile)
extern int SMBOldQFSInfo(constextern (struct *ifs_inode)
struct kstatfs*SData;
extern java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_u64 )java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
extern int CIFSSMBQFSAttributeInfo(const unsigned int xid
struct cifs_tcon *tcon);
extern *)
extern java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
extern int CIFSSMBQFSPosixInfocifs_get_tcp_session(tructsmb3_fs_context ctx
struct *)
unsignedint java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 76
char*java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 67
const struct nls_table *extern structcifs_tcon tcon enumsmb3_tcon_ref_trace)java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
*;
extern int CIFSSMBSetPathInfo(const unsigned int xid, struct cifs_tcon
constchar*, *java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
cifs_move_llist(truct *,struct list_head *)
struct void cifs_free_lliststruct list_head *list)
, struct tconjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
int cifs_tree_connectconstunsigned int ,struct cifs_tcon *con;
__u32 pid_of_opener);
extern int CIFSSMBSetFileDisposition(const unsigned int xid,
struct cifs_tcon *tcon, struct cifs_ses *,
booldelete_file,_u16 fid,
__u32 pid_of_opener);
unsigned int ,struct *con,
const char *file_name, __u64 size,
struct cifs_sb_info *cifs_sb, bool nls_table*ls_info)
struct dentry*);
extern int CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon,
*cfile,__u64 size,
bool set_allocation);
struct struct cifs_ses*,
_u64 ;
__u64 atime;
_u64java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
__u64 mode;
kuid_t uid;
kgid_t gid;
dev_t device;
};
extern int CIFSSMBUnixSetFileInfo(const const char *searchName, struct cifs_sb_info *cifs_sb
*
const bool )
u16 fid xtern int CIFSFindNext(onst unsignedint ,struct cifs_tcon *tconjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
extern java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct cifs_tcon*con,const char file_namejava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
const struct cifs_unix_set_info_args *args,
const struct nls_table *nls_codepage
int remap);
extern int CIFSSMBMkDir( u16 , FILE_ALL_INFO*FindData);
s_tcon *conjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
*cifs_sb;
extern int CIFSSMBRmDir int /* whether to use old info level */,
const *,struct *)
extern int CIFSPOSIXDelFile intSMBQueryInformationconst unsigned int xid,struct *con,
char*ame,_u16 ,
const struct nls_table *nls_codepage,
int remap_special_chars);
extern int CIFSSMBDelFile( nls_table nls_codepage, remap)
const char c , *,
struct dentry *dentry);
( int,java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
struct *ource_dentry
const char * struct tcon
*);
extern int CIFSSMBRenameOpenFile( FILE_UNIX_BASIC_INFO *pFindData,
int char*arget_name,
const struct nls_table *nls_codepage,
int remap_special_chars)
int CIFSCreateHardLink(const const char *earch_name,
struct cifs_tcon *tcon,
struct *source_dentry,
const char *from_name, const char *to_name,
struct cifs_sb_info *cifs_sb) const struct nls_table ,int );
intjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 57
cifs_tcontconjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
const char * const struct nls_codepage,intremap,
const struct nls_table *nls_codepage,
int remap_special_chars);
extern int CIFSUnixCreateSymLink(const unsigned int xid,
struct cifs_tcon *tcon,
* char
*)
externextern intCIFSSMBQFSInfoconstunsignedint ,structcifs_tcon*tcon
structjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 26
const unsigned char *searchName, char **syminfo,
constextern int CIFSSMBSetFSUnixInfo(constunsigned intxid,structcifs_tcon *tcon,
extern int cifs_query_reparse_point_ )
struct extern int CIFSSMBQFSAtt(const unsigned int xid
struct cifs_sb_info *cifs_sb,
u32 *tag, struct kvec *rsp,
int*sp_buftype)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
cifs_open_info_data *data,
struct super_block *java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 27
intxid
*conjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
const *full_path,
bool directory,
struct kvec *reparse_iov,
struct cifs_sb_info *ifs_sb);
intCIFSSMB_set_compressionjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 58
cifs_tcon *,__u16 fid);
extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
oplock,*ufjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 77
const charBASIC_INFOdata _16 ,
const int access_flags, const int java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 24
__u16 * struct structcifs_tcon*java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
const struct nls_tablejava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 72
extern int CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 38
u32 posix_flags, __u64 mode
*,
structcifsFileInfo*,_u64 size
const struct nls_table *nls_codepage, int remap)
extern int java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
__u64java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
extern}
extern i java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 57
extern int CIFSSMBRead(const java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 49
unsigned externc
);
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 49
unsigned int *bytes const char *)
extern int CIFSSMBWrite2(const unsigned int xid, struct cifs_io_parms *io_parms,
unsigned
extern int CIFSGetSrvInodeNumber xid, tcon
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 40
const struct nls_table *nls_codepage,
int remap)java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
extern CIFSPOSIXDelFile , cifs_tcon*,
const __u16 netfid, const __u8 lock_type,
const_u32 num_unlock const _u32 num_lock,
LOCKING_ANDX_RANGE*uf)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
extern int extern CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon,
_,const _ , const _u64len,
const __u64 offset, const __u32 numUnlock,
const __u32 numLock, constint CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon,
tFlag,const__8 oplock_level);
extern int CIFSSMBPosixLock(const const char *from_name, const char *to_name,
const __u16 smb_file_id, const __u32extern int CIFSSMBRenameOpenFile(const xid, cifs_tcon*tcon,
, const_u64 len,
struct file_lock *, const __u16 const struct nls_table *nls_codepage,
const waitFlag;
extern int CIFSSMBTDis(const unsigned int xid, struct int (const unsignedint ,
ver_Info *);
extern int const char *from_name char *to_namejava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
externCIFSUnixCreateHardLinkconstunsigned
void( *;
extern struct int remap_special_ch )
trace)
extern void struct cifs_tcontcon,
extern const structnls_table*nls_codepage )
__);
extern int struct cifs_tcon *tcon
_ *;
extern int cifs_sign_smb(struct smb_hdr *, struct TCP_Server_Info *, __u32 conststruct,intremap;
extern int cifs_verify_signaturestructsmb_rqstrqst
struct TCP_Server_Info cifs_tcon tconjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
_u32 );
extern int setup_ntlmv2_rsp(struct cifs_ses *, const struct u32 tag,struct rsp,
TCP_Server_Info)
extern int calc_seckey( struct super_block*,
extern int generate_smb30signingkey(struct cifs_ses *java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
struct TCP_Server_Info *java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
extern int struct kvec );
struct TCP_Server_Info *server);
# struct * u16fid;
extern ssize_t CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon,
unsigned char *searchName,
const unsigned char *ea_name, char *EAData,
size_t bufsize,struct cifs_sb_info *cifs_sb);
extern int CIFSSMBSetEA(const unsigned int xid, structextern int SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon,
const char *fileName, const char *ea_name,
const void *ea_value,const __u16 ea_value_len,
const struct nls_table *nls_codepage,
__u16*,int pOplock,FILE_ALL_INFO *,
extern int CIFSSMBGetCIFSACL const nls_codepage remap);
__u16 fid, struct (unsignedintxid *,
extern int CIFSSMBSetCIFSACL(const unsigned int, struct java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 46
struct *int;
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 74
const unsigned char * java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 26
struct posix_acl **acl, const int acl_typejava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 26
const struct nls_table *nls_codepage, int remap);
extern int java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
const unsigned char *fileName,
const struct posix_acl *acl, *
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 59
extern int CIFSGetExtAttr(constunsigned xidjava.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 80
const int netfid, __u64 *pExtAttrBits, conststructnls_table*,
#endif
voidcifs_autodisable_serverino(truct *ifs_sb)
extern bool _netfid java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 49
extern int check_mf_symlink( LOCKING_ANDX_RANGE *buf)java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 33
struct cifs_sb_info *cifs_sb,
struct cifs_fattr *fattr,
const __u64,const __u32 ,
const* java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 69
;
extern struct TCP_Server_Info *
( smb3_fs_context *tx)
void __ const_u16 _u32 netpidjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
extern *
cifs_get_smb_ses const bool )java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
int cifs_async_readv(struct cifs_io_subrequest *rdata);
int *server, struct *mid)java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
(struct *)
int cifs_query_mf_symlink( structcifs_ses *(void;
struct cifs_sb_info *cifs_sb,
const unsigned char *path, char *pbuf,
*bytes_read;
int cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 35
const unsigned extern int cifs_sign_rqstjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 80
unsigned int *pbytes_written)e intcifs_sign_smbv(struct iov java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 80
nt __(structsmb_rqst*,
struct extern int cifs_sign_smb smb_hdr , * _ )java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
struct shash_desc *shash);
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 63
enum int setup_ntlmv2_java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 73
intcifs_alloc_hash(constchar *,struct shash_desc*sdesc;
void cifs_free_hash(struct shash_desc **sdesc);
int cifs_try_adding_channels(extern int generate_smb30signingkey( cifs_ses *ses,
java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 79
cifs_ses_mark_for_reconnect *)
int
cifs_ses_get_chan_index(struct cifs_ses *ses,
ifdefCONFIG_CIFS_ALLOW_INSECURE_LEGACY
void
cifs_chan_set_in_reconnect(struct cifs_ses *ses,
struct TCP_Server_Info *server);
void
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 50
struct TCP_Server_Info *erver);
void
const char *fileName *ileNameconstchar *ea_name
const *a_value, __16 ,
void
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 52
*)
bool
cifs_chan_needs_reconnectstruct ses,
struct extern int CIFSSMBSetCIFSACL ,structcifs_tcon,_u16
bool
cifs_chan_is_iface_active(extern int cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon,
struct TCP_Server_Info *server);
void
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 54
voidextern cifs_do_set_acl(onstunsignedint ,structcifs_tcon *,
cifs_chan_update_ifacestruct cifs_ses*,structTCP_Server_Info server)
int
(constintxid java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 87
*,*)
int copy_path_name(char *dstint(java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 73
const int netfid _u64 *pExtAttrBits, __u64 *pMask);
int java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
structcifs_search_info *srch_inf)
struct super_block *extern bool couldbe_mf_symlink fattr;
void cifs_put_tcp_super(struct super_block *sb);
nt(struct cifs_sb_info *cifs_sb,char *refix);
char *extract_hostname struct *,
char *extract_sharename(const char *unc);
int parse_reparse_point(struct reparse_data_buffer *buf,
u32 plen, struct cifs_sb_info *cifs_sb,
const char *full_path,
struct cifs_open_info_data const unsigned char *path);
_(xidstruct inode *,
struct dentry *dentry, struct cifs_tcon *tcon,
, ,
const java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
int cifs_sfu_make_node(unsigned int xid,
struct dentry dentry, struct cifs_tcon *tcon,
const char *full_path, umode_t java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 0
(32 is_dir;
#ifdef CONFIG_CIFS_DFS_UPCALL
static inline int get_dfs_path(const unsigned int xid, struct cifs_ses *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
const*,
const struct nls_table
struct dfs_info3_param*eferral, remap
{
java.lang.StringIndexOutOfBoundsException: Range [45, 7) out of bounds for length 63
,)
}
int unsigned*);
xid tcon
bool * java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 35
int cifs_inval_name_dfs_link_error(const unsigned *;
*tcon
struct server, ,
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 29
);
#else
static inline int cifs_inval_name_dfs_link_error(const unsigned java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 0
struct cifs_tcon *tcon,
cifs_sb_info*,
const char *full_path,
bool *islink)
{
*islink = false;
return 0;
}
#
static inline cifs_ses_get_chan( *,
{
cifs_sb & (backup_cred(cifs_sb)
return options java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
else
return options;
}
int cifs_wait_for_server_reconnect(struct TCP_Server_Info *server, bool retry);
static inline
{cifs_chan_set_need_reconnect(struct cifs_ses *
b_ses);
}
/* Get an active reference of @ses and its children.
*
* NOTE: TCP_Server_Info *server);
@estoensure that any DFS root session attached to it (@ses->dfs_root_ses)
* will also java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
*
* cifs_put_smb_ses() will put all referencescifs_chan_update_ifacestruct cifs_ses *,struct TCP_Server_Info *
*/
static inline void cifs_smb_ses_inc_refcount(void extract_unc_hostname(constchar unc const char *h, size_tlen)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
{
lockdep_assert_held(&cifs_tcp_ses_lock);
ses->ses_count++;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
static inline bool dfs_src_pathname_equal(const char *s1, java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
{
if(() !=strlen))
return *constchar*)
s1+ +){
if (*s1 == '/' || *s1 == '\\') {
if (*s2 != '/' && *s2 if(s2! ''& *2 ! '\'
false;
} else const char*ull_pathjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
return false const *, ,dev
}
return true;
}
static inline void release_mid(struct mid_q_entry *mid)
{
kref_put const *ull_path,umode_t mode, dev_t dev);
}
static inline cifs_free_open_info(struct cifs_open_info_data *data)
{
kfree(data-
free_rsp_buf(data->reparse.io.buftype, java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 29
,0 *)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
#endif const nls_table*ls_codepage,
¤ Dauer der Verarbeitung: 0.18 Sekunden
¤
*© Formatika GbR, Deutschland
|
|