/*
*
* ".h"
* java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 6
*
*/
#ifndef _CIFSPROTO_H
#define _CIFSPROTO_H
#include <linux/nls.h>
#include <linux/ctype.h>
#include "trace.h"
#ifdef CONFIG_CIFS_DFS_UPCALL
#include "dfs_cache.h"
#endif
struct statfs;
struct smb_rqst;
struct smb3_fs_context;
/*
*****************************************************************
* All Prototypes
*****************************************************************
extern struct int)c); java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
externextern exit_cifs_idmap(oid)
extern struct smb_hdr extern voidexit_cifs_spnegov;
extern void cifs_small_buf_release(void *)char _build_path_from_dentry_optional_prefix direntry *age,
void (,void )java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
externint ( *, struct smb_hdr *
unsigned int /* length */java.lang.StringIndexOutOfBoundsException: Range [12, 2) out of bounds for length 2
*java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
struct t )
*;
intg();
extern void _free_xidextern delete_midstructmid_q_entry *)
\
e ( mid_q_entry*)
unsigned int __externint (java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 63
: %d, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
_java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 25
(&, ())) \
trace_smb3_enter(__ intsmb3_parse_optconst *,const char* **al)
_xid \
})
#define free_xid(curr_xid) \
do{ \
_free_xid(curr_xid); \
(FYI,"FS:% (id = %u)rc = %d\" \
__func__, curr_xid, (inte int cifs_call_asyncstructTCP_Server_Info,
if (rc struct rqst,
trace_smb3_exit_errcurr_xid, _,(intrc;\
else \
trace_smb3_exit_done(,_func__; \
} conststructcifs_credits*xist_credits)
extern *( ses;
extern void extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 34
extern void const int flags, kvec *esp_iov;
externconst *build_path_from_dentry( dentry* void *)
char *__ struct TCP_Server_Info *erverjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
const char *tree, int tree_len struct *,int *,
)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
smb_hdr*/* out */ ,
void *age, boolprefix;
static inline void *alloc_dentry_path(voidextern int SendReceiveNoRsp(onstunsigned xid, cifs_ses *esjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
{
return__etname()
}
static inline (void page
{
if (extern *(structTCP_Server_Info,
_()
}
extern char *cifs_build_path_to_root(struct smb3_fs_context struct smb_rqst *)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
structcifs_sb_info*,
struct int wait_for_free_request(struct TCP_Server_Info *server, const int flags, int *nstance;
int add_treenamejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
extern static inline int
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 62
extern{
_release_mid *java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
( java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 55
extern java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 80
struct extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *, * /* nvec to send */,
extern char *extern int SendReceiveBlockingLock(const unsignedint xid,
char smb_hdr*in_bufjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
extern java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
int smb3_parse_optconst char *options,const char *ey, *val)
extern int cifs_ipaddr_cmp
tructsockaddr *rcaddr, sockaddr *rhs;
extern int java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 29
extern (structTCP_Server_Infojava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
structextern cifs_reconnectstruct *,
mid_receive_t *extern checkSMBchar buf int,TCP_Server_Infosrvr;
*,void*,const ,
const struct cifs_credits *exist_credits);
structTCP_Server_Info *cifs_pick_channels java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 71
intcifs_send_recvconst unsigned int xid, struct cifs_ses *ses,
boolfrom_readdir)
externvoid cifs_update_eof( cifsInodeInfo*ifsi,loff_t ,
unsigned );
rnint compound_send_recvc int , structcifs_ses*,
extern cifsFileInfo find_writable_file(truct *int)
int flags const ,
struct smb_rqst *rqst, int *resp_buf_type,
int flags
extern intSendReceiveconst java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 33
int,
/* bytes returned */ , const int);
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 73
char *in_buf, int flagsjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 75
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 82
extern struct mid_q_entry *java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 78
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 23
* java.lang.StringIndexOutOfBoundsException: Range [76, 74) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 25
int_ server java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 80
extern int cifs_check_receive java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 58
*server log_error;
int wait_for_free_requestjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 66
unsigned const *int/
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
size,num,
**request_bufjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [17, 3) out of bounds for length 37
*server java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 66
struct mid_q_entry *mid)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
>- java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
server-e java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 57
}
java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 80
extern int SendReceive2(const unsigned int /* xid */ , struct cifsFileInfo)
c *,
int * /* type of buf returned */, const int flags,
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 58
struct cifs_tcon * const char *sym java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 39
*java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
*,mode
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 60
void
(structjava.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 63
;
void
cifs_mark_tcp_ses_conns_for_reconnect(struct java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 36
extern intvoid,*
;
extern java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 77
extern booljava.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
extern bool backup_cred java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 36
Info *,_64java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
bool from_readdir);
extern *)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
unsigned)
void cifs_write_subrequest_terminated(struct *
java.lang.StringIndexOutOfBoundsException: Range [26, 6) out of bounds for length 76
intcifs_get_writable_file(struct cifsInodeInfo *cifs_inode,
int flags,
struct cifsFileInfo **ret_file);
extern int cifs_get_writable_path(struct cifs_tcon *tcon, const struct super_block *sb,
intflags
extern int cifs_get_inode_info_unix( *,
cifsInodeInfo )
extern int cifs_get_readable_path(struct externint *, ,
struct*)
extern int cifs_get_hardlink_path(struct cifs_tcon *tcon, java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 60
*)
extern unsigned get_mode_from_special_sid
int ( char *ecurity_blob int length,
struct TCP_Server_Info *server);
externextern int id_mode_to_cifs_acl(struct inode *inode, const char *path, __u64 *pnmode kuid_t uid,)
extern void cifs_set_port(struct const char *path, u32 *plen, u32 ,plenu32;
externstruct smb_ntsd *et_cifs_acl_by_fid(tructcifs_sb_info *ifssb,
extern int map_and_check_smb_error(struct mid_q_entry *id bool)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 66
const struct cifs_tcon *, int /* length of
fixed section (word count) in two byte units */);
extern int small_smb_init_no_tc(const int smb_cmd, const int wct,
*,
void **request_buf);
extern enum securityEnum select_sectype(struct extern int set_cifs_acl(struct smb_ntsd *pntsd, __u32 len, struct inode *ino,
enum securityEnum requested); bool,
extern CIFS_SessSetup( unsigned , *esjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
struct TCP_Server_Info *server,
nls_table*;
extern structextern int cifs_read_from_socket(struct *server char *bufjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
extern u64 cifs_UnixTimeToNT(struct timespec64);
extern struct size_t to_read)
)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
extern to_read;
extern int cifs_get_writer(struct cifsInodeInfo *cinodeextern (tructjava.lang.StringIndexOutOfBoundsException: Range [51, 49) out of bounds for length 60
extern void int struct mnt_ctx;
java.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 65
extern int cifs_unlock_range( *nt_ctxjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
* )
extern int cifs_push_mandatory_locks(struct cifsFileInfo *cfile);
extern void cifs_down_write(struct rw_semaphore *sem);
fileinfostruct *, file
struct tcon_link *tlinkextern void (structcifs_tcontcon;
constchar *)
extern java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
struct sb ,
unsigned int f_flags, __u32 * __u64 length, __u8 type, __u16u64length _8type,_flags,
unsigned int xid);
void void cifs_add_pending_open(struct cifs_fid *fid,
extern void cifs_unix_basic_to_fattr(struct cifs_fattr struct tcon_link *tlink,
FILE_UNIX_BASIC_INFO *nfo,
struct cifs_sb_info *cifs_sb);
extern void cifs_dir_info_to_fattr(struct cifs_fattr * FILE_DIRECTORY_INFO *
cifs_sb_info *);
extern int cifs_fattr_to_inode *)
)
extern struct inode *cifs_iget(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct cifs_fattr *fattr);
int cifs_get_inode_info(struct inode **inode, const char *java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 41
struct cifs_open_info_data *extern void cifs_add_deferred_close cifsFileInfocfile,
*fid;
extern int java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
char *,
struct cifs_open_info_data *data
*sb
const unsigned
int cifs_get_inode_info_unixstruct *pinodejava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
char*search_path,
struct dentry *entry;
extern int void cifs_mark_open_handles_for_deleted_file(struct inode *inode,
unsigned int ,const char *ull_path _ dosattr;
extern intstructTCP_Server_Info
dentry*,
const unsigned int xid);
int sid_to_id( cifs_sb_info*ifs_sb,struct smb_sid*sid,
struct void cifs_put_tcp_session *java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [28, 6) out of bounds for length 58
struct java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
bool get_mode_from_special_sid,
const char path const struct cifs_fid pfid)
java.lang.StringIndexOutOfBoundsException: Range [27, 6) out of bounds for length 84
, )
extern struct smb_ntsd *get_cifs_acl(struct cifs_sb_info
constchar *path,u32*,info;
extern struct smb_ntsd *get_cifs_acl_by_fidvoidstructlist_head*)
u32,info;
extern struct java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
struct dentry *dentry, intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
extern int cifs_set_acl(struct java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 28
struct dentry*,struct posix_acl*cl,int type;
intset_cifs_acls smb_ntsd,_u32 len,struct inode*no
structTCP_Server_Infoserverjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
extern unsigned int cifs_enable_signingstructTCP_Server_Infoserver,bool)
unsignedint setup_special_mode_ACEstruct *java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
_ nmode;
extern unsigned int
extern void dequeue_mid(struct mid_q_entry *mid, bool malformed); constchar *earchName structcifs_sb_info*java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
extern int cifs_read_from_socket(struct bool msearch);
unsigned int to_read)
extern structcifs_search_infopsrch_inf;
size_t constjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 72
int cifs_read_iter_from_socket
java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
unsigned int to_read);
extern int cifs_setup_cifs_sb(struct cifs_sb_info /java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
void int SMBQueryInformation unsigned intxid cifs_tcon*java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 78
intcifs_mount_get_sessioncifs_mount_ctx*)
int cifs_is_path_remote(struct cifs_mount_ctx *mnt_ctx);
int cifs_mount_get_tcon(struct cifs_mount_ctx * const struct nls_table *nls_codepage, int rema
java.lang.StringIndexOutOfBoundsException: Range [27, 6) out of bounds for length 58
extern int cifs_mount( netfid, pFindDatajava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
extern void cifs_umount(struct cifs_tcontconjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
extern void FILE_UNIX_BASIC_INFOjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [49, 6) out of bounds for length 67
extern bool cifs_find_lock_conflict(struct java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 0
__u64 length, __u8 type, __u16 flags,
constchar *earch_namejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
int rw_check);
java.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 55
struct tcon_link *tlink,
java.lang.StringIndexOutOfBoundsException: Range [30, 12) out of bounds for length 38
extern java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
struct tcon_link *tlink,
struct cifs_pending_open *open
extern void cifs_del_pending_open cifs_pending_open*;
extern bool cifs_is_deferred_close(struct constchar searchName )java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
struct cifs_deferred_close **dclose);
extern void struct smb3_fs_context)
structcifs_deferred_close*close);
externed_close cifsFileInfo;
void cifs_close_deferred_filecifsInodeInfo*ifs_inode;
extern struct *)
void cifs_close_deferred_file_under_dentry(struct cifs_tcon *cifs_tcon _u64cap;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
extern void cifs_mark_open_handles_for_deleted_file(struct java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 27
const char *ath;
extern struct TCP_Server_Info *
cifs_get_tcp_sessions *,
struct kstatfs FSData)
extern void extern int SMBSetInformation(const int xid,struct cifs_tcon *tcon,
int from_reconnect) const char fileName, __le32 attributes, __le64 write_time,
extern void cifs_put_tcon( *, trace;
extern void cifs_release_automount_timer(void struct cifs_sb_infocifs_sb)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
void cifs_proc_init(void);
void cifs_proc_clean( const char *ileName,const FILE_BASIC_INFO *data,
extern void slist_headsource list_head dest)
extern(list_head *)
extern void cifs_del_lock_waiters(struct extern int CIFSSMBSetFileInfo(const unsigned int xidcifs_tcon *tcon,
( unsignedxid cifs_tcon *)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
extern int extern int CIFSSMBSetFileDispositionjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 60
struct ses,
struct TCP_Server_Info * delete_file,_ fid,
extern int extern int CIFSSMBSetEOF(constxid, cifs_tcon*conjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
struct TCP_Server_Info *server,
struct *;
extern dentryjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
extern int CIFSSMBNegotiate structcifsFileInfo u64sizejava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
ses
struct_ctime
__u64_ mtime;
const char *tree, struct cifs_tcon *tcon,
const java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 12
extern int CIFSFindFirst(java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
,
__u16 *searchHandle, __u16 search_flags,
struct cifs_search_info *srch_inf,
msearch;
( int xid,struct cifs_tcon *tcon,
__u16 searchHandle, __u16 search_flags,
struct cifs_search_info *psrch_inf);
extern int CIFSFindClose(const unsigned int struct *,const char*,
const __u16 search_handle);
extern int java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 17
netfid *);
extern int umode_t mode, struct cif*,
const char *const char *name, struct cifs_sb_info)
intlegacy /* whether to use old info level */,
const const char *nameconst char *ame cifs_sb_infocifs_sb)
extern int (const unsigned int xid structcifs_tcon*con,
const *ame,_u16 typejava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
const structnls_table*,int)
externintCIFSSMBUnixQFileInfo(onstunsignedint xid struct cifs_tcon *conjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
u16 netfidint CIFSSMBRename(const unsigned int xid,struct cifs_tcon *tcon,
extern int CIFSSMBUnixQPathInfo(const dentry*,
cifs_tcon*,
const unsigned char * struct cifs_sb_info *cifs_sb structcifs_sb_info *ifs_sb);
FILE_UNIX_BASIC_INFO pFindData,
const struct nls_table * intnetfid,const char *arget_name,
extern int )
*java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
struct dfs_info3_param dentry,
unsigned int *num_of_nodes,
nls_table*nls_codepage remap
extern int parse_dfs_referrals(struct extern CIFSUnixCreateHardLink(const unsigned int xid,
unsigned int struct *,
struct dfs_info3_param **target_nodes,
nls_table*,int java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
const char *searchName, bool java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 28
extern void reset_cifs_unix_caps(unsigned java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 26
const char *romName,const *toName,
struct smb3_fs_contextctx;
extern int ( unsigned int xid,struct *
struct kstatfs *FSData); cifs_tcon *tcon,
extern int SMBOldQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
struct kstatfs *FSData);
( java.lang.StringIndexOutOfBoundsException: Range [74, 72) out of bounds for length 79
_u64cap;
ributeInfo ,
struct cifs_tcon *tcon);
extern int CIFSSMBQFSDeviceInfo(const unsigned
extern int *;
extern int CIFSSMBQFSPosixInfo(const unsigned int extern struct inode *cifs_create_reparse_inode(struct*data,
struct kstatfs *FSData);
constunsignedint ,
struct cifs_tcon*con,
const struct nls_table *nls_codepage charjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
*;
extern int extern int (const unsigned int xid,
struct cifs_tcon *con _java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
const struct int* FILE_ALL_INFO *uf);
struct cifs_sb_info *cifs_sb);
extern int CIFSSMBSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
_ *,_u16fidjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
__u32 pid_of_opener);
extern int CIFSSMBSetFileDisposition(const unsigned int xid,
cifs_tcon *con,
bool delete_file, __u16 fid,
__u32 pid_of_opener);
extern int CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon,
const char *file_name, __u64 size,
struct cifs_sb_info *cifs_sb, bool set_allocation,
extern int FILE_UNIX_BASIC_INFO *pRetDataFILE_UNIX_BASIC_INFO *RetData,
*file _size,
bool set_allocation);
struct cifs_unix_set_info_args {
__u64 ctime;
__u64 atime;
__u64 mtime;
__u64 mode;
kuid_t uid;
kgid_t gid;
dev_t device;
}
ntCIFSSMBUnixSetFileInfo(const unsigned int xid,
struct java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
const struct cifs_unix_set_info_args *args,
u16 fid, u32 pid_of_opener);
extern int CIFSSMBUnixSetPathInfo(onstunsigned int xid,
struct int *return_buf_type;
const struct cifs_unix_set_info_args *args,
const struct nls_table *, char*uf;
int remap);
extern extern (constunsigned int xid struct cifs_tcon *tcon,
umode_t mode,struct cifs_tcon *tcon,
const char *name, struct cifs_sb_info *cifs_sb);
extern int CIFSSMBRmDir( intremap;
const char *
extern int (const unsigned int xid,struct *conjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
_32,_u32num_lock
*;
int remap_special_chars);
intjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 73
const char const _u16 netfid _u32netpid, __64 lenjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
struct dentry *dentry);
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 65
struct const bool wai u
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 47
struct cifs_sb_info *cifs_sb);
intCIFSSMBRenameOpenFileconstunsignedint ,struct *tcon
int netfid, const const loff_t start_offset _ ,
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 42
bool)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
CIFSCreateHardLink xid,
struct cifs_tcon *tcon,
struct dentry *source_dentry *erver);
, const char ,
struct cifs_sb_info *cifs_sb);
int ( intxid,
struct cifs_tcon *tcon,
const char *fromName, const char *toName,
const struct nls_table *extern void sesInfoFreestructcifs_ses *;
intremap_special_chars;
extern int enum smb3_tcon_ref_trace)
*tcon
const char *fromName,
const struct *,int remap;
extern int u32 *pexpected_response_sequence_number
,
const unsigned _u32 *java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
const struct nls_table *nls_codepage, remap)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
extern int cifs_query_reparse_point int cifs_verify_signature(struct *,
struct cifs_tcon *,
struct cifs_sb_info *cifs_sb,
_expected_sequence_numberjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
* kvec*,
int *rsp_buftype);
extern structextern void cifs_crypto_secmech_release(struct *server);
struct super_block *b
const unsigned int xid,
struct cifs_tcon *con,
const char *full_path,
bool directory,
struct kvec *reparse_iov,
struct*xattr_iov;
externjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 41
struct cifs_tcon *con,__u16 fid)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
extern int CIFS_open(const unsigned int xid, const java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 35
int *oplock, FILE_ALL_INFO *buf); java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 72
const char *fileName, const int disposition,
const int const* java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 49
netfid * java.lang.StringIndexOutOfBoundsException: Range [48, 45) out of bounds for length 48
structnls_table*nls_codepage,int remapjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
extern int CIFSPOSIXCreateconst int ,struct cifs_tcontconjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
u32 posix_flags, __u64 mode, __u16 *netfid,
FILE_UNIX_BASIC_INFO *pRetData,
__u32 *pOplock, const char *name,
tructnls_table *ls_codepage, int remap)
extern int CIFSSMBClose(constextern int cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon,
const int smb_file_id);
extern int CIFSSMBFlush(const unsigned int xid, struct cifs_tcon *tcon,
const int smb_file_id);
extern int CIFSSMBRead(const unsigned int xid, struct cifs_io_parms *io_parms,
unsigned int *nbytes, char **buf,
int *return_buf_type);
extern int CIFSSMBWrite(const unsigned int xid, struct cifs_io_parms *io_parms,
unsigned int *nbytes, const char *buf);
extern int CIFSSMBWrite2(constunsigned int xid,struct cifs_io_parms *o_parms,
unsigned int *nbytes, struct kvec *iov, const int nvec);
eNumber int, struct cifs_tcon *tcon,
const char *search_name, __u64 *inode_number,
const *ls_codepage
int remap);
extern int cifs_lockv(const unsignedextern cifs_autodisable_serverinos cifs_sb_info*ifs_sb)
const _u16 , const __u8 lock_type,
const __u32 num_unlock, const __u32 num_lock,
LOCKING_ANDX_RANGE *buf);
extern int CIFSSMBLock(const unsigned int xid, struct cifs_tcon *tcon,
const fattr
offset const_u32numUnlock
const __u32extern int E_md4hash(const unsigned char *asswd,unsigned char *p16,
const struct nls_table*codepage)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
extern int CIFSSMBPosixLock(const unsignedcifs_find_tcp_sessionstruct *tx)
_ smb_file_id,const_u32 ,
const loff_t start_offset, const __u64 len,
struct struct cifs_ses
boolwaitFlag;
extern int CIFSSMBTDis(const unsigned int xid,
extern int CIFSSMBEcho(struct cifs_readv_receive(struct TCP_Server_Infomid_q_entry;
extern int CIFSSMBLogoff(constvoid cifs_async_writevstruct cifs_io_subrequest *data;
extern cifs_ses *sesInfoAllocvoid)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
extern void sesInfoFree(struct unsigned int *)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
extern struct cifs_tcon *tcon_info_alloc(bool dir_leases_enabled,
enum smb3_tcon_ref_trace trace);
extern void tconInfoFree(struct cifs_tcon *tcon struct cifs_sb_info *cifs_sb,
(struct smb_rqst *rqst, struct TCP_Server_Info *server,
__u32 *pexpected_response_sequence_number);
xtern cifs_sign_smbv(struct kvec*,intn_vec, struct TCP_Server_Info *,
__u32 *)icifs_calc_signature smb_rqst rqst,
(structsmb_hdr* structTCP_Server_Info,_u32*;
extern int cifs_verify_signature(struct smb_rqst *rqst,
struct TCP_Server_Info *server,numsecurityEnum cifs_select_sectype(struct TCP_Server_Info *,
__u32 expected_sequence_number);
externrsp(struct cifs_ses *, const struct nls_table *);
extern void cifs_crypto_secmech_release *ame struct shash_desc *)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
extern int calc_seckey(struct cifs_ses *);
int generate_smb30signingkey(struct cifs_ses *ses,
struct TCP_Server_Info cifs_ses *ses, struct cifs_server_iface *iface);
extern void (structcifs_ses*es;
struct java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
#
extern ssize_t CIFSSMBQAllEAsjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
const unsigned char *searchName,
const unsigned char *ea_name, char *EAData,
cifs_chan_clear_in_reconnect(struct cifs_ses *ses,
extern int CIFSSMBSetEA(const unsigned int xid, struct cifs_tcon * struct *erver);
constchar *, const char *,
void *a_value,const __16ea_value_len,
const
struct cifs_chan_clear_need_reconnect(struct cifs_ses *ses,
extern struct TCP_Server_Infoserver;
__u16 fid, struct smb_ntsd *( cifs_ses*,
(const unsigned int * _,
struct smb_ntsd bool
java.lang.StringIndexOutOfBoundsException: Range [32, 6) out of bounds for length 74
const unsigned char *searchName,
struct posix_acl **acl, const int acl_type,
const struct nls_table *nls_codepagecifs_disable_secondary_channels(struct cifs_ses *ses);
int( intxid, cifs_tcon*con,
const unsigned char *( *es *;
const struct posix_acl *acl, const int acl_typeSMB3_request_interfaces unsigned int ,struct cifs_tcon *tcon, bool in_mount);
const struct nls_table *nls_codepage, int char *h size_t *en;
extern int CIFSGetExtAttr(const unsigned int xid, struct cifs_tcon *tcon,
,_java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 56
#endif /* CIFS_ALLOW_INSECURE_LEGACY */ intresp_buftype,
extern void cifs_autodisable_serverino(struct cifs_sb_info *cifs_sb *;
(conststruct cifs_fattr*fattr)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
extern int check_mf_symlink( cifs_update_super_prepathcifs_sb *;
cifs_sb_info *ifs_sb
java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 36
extern int E_md4hash(int __cifs_sfu_make_node(nsigned int xid, inode inode,
const struct const char *full_path umode_t mode,dev_t dev,
extern struct TCP_Server_Info *
cifs_find_tcp_session(struct smb3_fs_context *ctx);
void __cifs_put_smb_ses(struct dentry*java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 55
extern struct cifs_ses *
cifs_get_smb_ses(struct TCP_Server_Info *server, umode_t wire_mode_to_posix(32 wire,bool is_dir)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
int cifs_async_readv(struct cifs_io_subrequest *rdata);
int cifs_readv_receive(struct TCP_Server_Info *server const char *ld_path,
void cifs_async_writev(struct cifs_io_subrequest *wdata); *,int)
int cifs_query_mf_symlink(unsigned return dfs_cache_find(xid, ses, nls_codepage, remap, old_path,
referral NULL;
const unsigned java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
unsigned int pbytes_read;
fs_create_mf_symlink(unsignedint, struct cifs_tcon*tcon,
struct cifs_sb_info *cifs_sb,
const unsigned char *path, char *pbuf,
unsigned int *pbytes_written)
int __ struct cifs_tcon,
struct TCP_Server_Info* char *signature,
struct const char *full_path,
enum bool *islink
enum securityEnum);
int cifs_alloc_hash(const char *name, struct shash_desc **sdesc);
void cifs_free_hash structcifs_sb_info cifs_sbjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
int java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
bool 0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
void cifs_ses_mark_for_reconnect(#ndif
int
_index(tructcifs_ses*esjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
struct if(& (backup_cred())
void
cifs_chan_set_in_reconnect(struct cifs_ses *ses,
struct TCP_Server_Info *server);
void
cifs_chan_clear_in_reconnect(struct java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
struct TCP_Server_Info *server);
struct ses,
struct(sesjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
/* G
cifs_chan_clear_need_reconnect*
struct java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 42
bool
cifs_chan_needs_reconnect*s java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 79
struct TCP_Server_Info *server);
bool
cifs_chan_is_iface_active(struct cifs_ses *ses,
struct TCP_Server_Info *server);
void
cifs_disable_secondary_channels(struct cifs_ses *ses);
void
(ses,TCP_Server_Info*erver);
int
SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount);
extract_unc_hostnameconst *, *, *len;
int copy_path_name(char *dst, const char *src);
int smb2_parse_query_directory(struct cifs_tcon *tcon, struct kvec *rsp_iov,
int resp_buftype,}
struct cifs_search_info *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct super_block *cifs_get_dfs_tcon_super(struct cifs_tcon *tcon);
void cifs_put_tcp_super
if strlens1 =(s2
char*xtract_hostname(const unc;
char * for (; *s1;++s2+ java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
int parse_reparse_point(struct reparse_data_buffer *buf * ! / & *2 ! ''
returnfalse;
*,
struct cifs_open_info_data *data);
int __cifs_sfu_make_node(unsigned int xid, struct inode *inode,
struct dentry *dentry, struct cifs_tcon *tcon,
constchar *ull_path umode_t mode dev_t dev,
const char *symname);
int cifs_sfu_make_node(unsigned int xid, struct inode *java.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 1
struct dentry *dentry, struct cifs_tcon *tcon,
char *ull_path,java.lang.StringIndexOutOfBoundsException: Range [45, 39) out of bounds for length 57
umode_t wire_mode_to_posix voidjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 72
#ifdef CONFIG_CIFS_DFS_UPCALL
static inline int get_dfs_path(const unsigned int xid, memset(data 0,sizeof(data);
const char *old_path,
const struct *java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
struct dfs_info3_param *referral, int remap)
{
return dfs_cache_find(xid, ses, nls_codepage, remap, old_path,
referral, NULL);
}
int match_target_ip(struct TCP_Server_Info *server,
const char *host, size_t hostlen,
bool *result);
int cifs_inval_name_dfs_link_error(const unsigned int xid,
struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb,
const char *full_path,
bool *islink);
#else
static inline int cifs_inval_name_dfs_link_error(const unsigned int xid,
struct cifs_tcon *tcon,
struct cifs_sb_info *cifs_sb,
const char *full_path,
bool *islink)
{
*islink = false;
return 0;
}
#endif
static inline int cifs_create_options(struct cifs_sb_info *cifs_sb, int options)
{
if (cifs_sb && (backup_cred(cifs_sb)))
return options | CREATE_OPEN_BACKUP_INTENT;
else
return options;
}
int cifs_wait_for_server_reconnect(struct TCP_Server_Info *server, bool retry);
static inline void cifs_put_smb_ses(struct cifs_ses *ses)
{
__cifs_put_smb_ses(ses);
}
/* Get an active reference of @ses and its children.
*
* NOTE: make sure to call this function when incrementing reference count of
* @ses to ensure that any DFS root session attached to it (@ses->dfs_root_ses)
* will also get its reference count incremented.
*
* cifs_put_smb_ses() will put all references, so call it when you're done.
*/
static inline void cifs_smb_ses_inc_refcount(struct cifs_ses *ses)
{
lockdep_assert_held(&cifs_tcp_ses_lock);
ses->ses_count++;
}
static inline bool dfs_src_pathname_equal(const char *s1, const char *s2)
{
if (strlen(s1) != strlen(s2))
return false;
for (; *s1; s1++, s2++) {
if (*s1 == '/' || *s1 == '\\') {
if (*s2 != '/' && *s2 != '\\')
return false;
} else if (tolower(*s1) != tolower(*s2))
return false;
}
return true;
}
static inline void release_mid(struct mid_q_entry *mid)
{
kref_put(&mid->refcount, __release_mid);
}
static inline void cifs_free_open_info(struct cifs_open_info_data *data)
{
kfree(data->symlink_target);
free_rsp_buf(data->reparse.io.buftype, data->reparse.io.iov.iov_base);
memset(data, 0, sizeof(*data));
}
#endif /* _CIFSPROTO_H */
¤ Dauer der Verarbeitung: 0.5 Sekunden
(vorverarbeitet am 2026-11-04)
¤
*© Formatika GbR, Deutschland
|
|