|
struct smb_hdr * | cifs_buf_get (void) |
|
void | cifs_buf_release (void *) |
|
struct smb_hdr * | cifs_small_buf_get (void) |
|
void | cifs_small_buf_release (void *) |
|
void | cifs_rqst_page_to_kvec (struct smb_rqst *rqst, unsigned int idx, struct kvec *iov) |
|
int | smb_send (struct TCP_Server_Info *, struct smb_hdr *, unsigned int) |
|
unsigned int | _get_xid (void) |
|
void | _free_xid (unsigned int) |
|
int | init_cifs_idmap (void) |
|
void | exit_cifs_idmap (void) |
|
void | cifs_destroy_idmaptrees (void) |
|
char * | build_path_from_dentry (struct dentry *) |
|
char * | build_wildcard_path_from_dentry (struct dentry *direntry) |
|
char * | cifs_compose_mount_options (const char *sb_mountdata, const char *fullpath, const struct dfs_info3_param *ref, char **devname) |
|
struct mid_q_entry * | AllocMidQEntry (const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) |
|
void | DeleteMidQEntry (struct mid_q_entry *midEntry) |
|
void | cifs_delete_mid (struct mid_q_entry *mid) |
|
void | cifs_wake_up_task (struct mid_q_entry *mid) |
|
int | cifs_call_async (struct TCP_Server_Info *server, struct smb_rqst *rqst, mid_receive_t *receive, mid_callback_t *callback, void *cbdata, const int flags) |
|
int | SendReceive (const unsigned int, struct cifs_ses *, struct smb_hdr *, struct smb_hdr *, int *, const int) |
|
int | SendReceiveNoRsp (const unsigned int xid, struct cifs_ses *ses, char *in_buf, int flags) |
|
struct mid_q_entry * | cifs_setup_request (struct cifs_ses *, struct smb_rqst *) |
|
struct mid_q_entry * | cifs_setup_async_request (struct TCP_Server_Info *, struct smb_rqst *) |
|
int | cifs_check_receive (struct mid_q_entry *mid, struct TCP_Server_Info *server, bool log_error) |
|
int | SendReceive2 (const unsigned int, struct cifs_ses *, struct kvec *, int, int *, const int flags) |
|
int | SendReceiveBlockingLock (const unsigned int xid, struct cifs_tcon *ptcon, struct smb_hdr *in_buf, struct smb_hdr *out_buf, int *bytes_returned) |
|
int | cifs_reconnect (struct TCP_Server_Info *server) |
|
int | checkSMB (char *buf, unsigned int length) |
|
bool | is_valid_oplock_break (char *, struct TCP_Server_Info *) |
|
bool | backup_cred (struct cifs_sb_info *) |
|
bool | is_size_safe_to_change (struct cifsInodeInfo *, __u64 eof) |
|
void | cifs_update_eof (struct cifsInodeInfo *cifsi, loff_t offset, unsigned int bytes_written) |
|
struct cifsFileInfo * | find_writable_file (struct cifsInodeInfo *, bool) |
|
struct cifsFileInfo * | find_readable_file (struct cifsInodeInfo *, bool) |
|
unsigned int | smbCalcSize (void *buf) |
|
int | decode_negTokenInit (unsigned char *security_blob, int length, struct TCP_Server_Info *server) |
|
int | cifs_convert_address (struct sockaddr *dst, const char *src, int len) |
|
int | cifs_set_port (struct sockaddr *addr, const unsigned short int port) |
|
int | cifs_fill_sockaddr (struct sockaddr *dst, const char *src, int len, const unsigned short int port) |
|
int | map_smb_to_linux_error (char *buf, bool logErr) |
|
void | header_assemble (struct smb_hdr *, char, const struct cifs_tcon *, int) |
|
int | small_smb_init_no_tc (const int smb_cmd, const int wct, struct cifs_ses *ses, void **request_buf) |
|
int | CIFS_SessSetup (const unsigned int xid, struct cifs_ses *ses, const struct nls_table *nls_cp) |
|
struct timespec | cifs_NTtimeToUnix (__le64 utc_nanoseconds_since_1601) |
|
u64 | cifs_UnixTimeToNT (struct timespec) |
|
struct timespec | cnvrtDosUnixTm (__le16 le_date, __le16 le_time, int offset) |
|
void | cifs_set_oplock_level (struct cifsInodeInfo *cinode, __u32 oplock) |
|
int | cifs_unlock_range (struct cifsFileInfo *cfile, struct file_lock *flock, const unsigned int xid) |
|
int | cifs_push_mandatory_locks (struct cifsFileInfo *cfile) |
|
struct cifsFileInfo * | cifs_new_fileinfo (struct cifs_fid *fid, struct file *file, struct tcon_link *tlink, __u32 oplock) |
|
int | cifs_posix_open (char *full_path, struct inode **inode, struct super_block *sb, int mode, unsigned int f_flags, __u32 *oplock, __u16 *netfid, unsigned int xid) |
|
void | cifs_fill_uniqueid (struct super_block *sb, struct cifs_fattr *fattr) |
|
void | cifs_unix_basic_to_fattr (struct cifs_fattr *fattr, FILE_UNIX_BASIC_INFO *info, struct cifs_sb_info *cifs_sb) |
|
void | cifs_dir_info_to_fattr (struct cifs_fattr *, FILE_DIRECTORY_INFO *, struct cifs_sb_info *) |
|
void | cifs_fattr_to_inode (struct inode *inode, struct cifs_fattr *fattr) |
|
struct inode * | cifs_iget (struct super_block *sb, struct cifs_fattr *fattr) |
|
int | cifs_get_inode_info (struct inode **inode, const char *full_path, FILE_ALL_INFO *data, struct super_block *sb, int xid, const __u16 *fid) |
|
int | cifs_get_inode_info_unix (struct inode **pinode, const unsigned char *search_path, struct super_block *sb, unsigned int xid) |
|
int | cifs_set_file_info (struct inode *inode, struct iattr *attrs, unsigned int xid, char *full_path, __u32 dosattr) |
|
int | cifs_rename_pending_delete (const char *full_path, struct dentry *dentry, const unsigned int xid) |
|
int | cifs_acl_to_fattr (struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr, struct inode *inode, const char *path, const __u16 *pfid) |
|
int | id_mode_to_cifs_acl (struct inode *inode, const char *path, __u64, uid_t, gid_t) |
|
struct cifs_ntsd * | get_cifs_acl (struct cifs_sb_info *, struct inode *, const char *, u32 *) |
|
int | set_cifs_acl (struct cifs_ntsd *, __u32, struct inode *, const char *, int) |
|
void | dequeue_mid (struct mid_q_entry *mid, bool malformed) |
|
int | cifs_read_from_socket (struct TCP_Server_Info *server, char *buf, unsigned int to_read) |
|
int | cifs_readv_from_socket (struct TCP_Server_Info *server, struct kvec *iov_orig, unsigned int nr_segs, unsigned int to_read) |
|
void | cifs_setup_cifs_sb (struct smb_vol *pvolume_info, struct cifs_sb_info *cifs_sb) |
|
int | cifs_match_super (struct super_block *, void *) |
|
void | cifs_cleanup_volume_info (struct smb_vol *pvolume_info) |
|
struct smb_vol * | cifs_get_volume_info (char *mount_data, const char *devname) |
|
int | cifs_mount (struct cifs_sb_info *, struct smb_vol *) |
|
void | cifs_umount (struct cifs_sb_info *) |
|
void | cifs_mark_open_files_invalid (struct cifs_tcon *tcon) |
|
bool | cifs_find_lock_conflict (struct cifsFileInfo *cfile, __u64 offset, __u64 length, __u8 type, struct cifsLockInfo **conf_lock, bool rw_check) |
|
void | cifs_add_pending_open (struct cifs_fid *fid, struct tcon_link *tlink, struct cifs_pending_open *open) |
|
void | cifs_add_pending_open_locked (struct cifs_fid *fid, struct tcon_link *tlink, struct cifs_pending_open *open) |
|
void | cifs_del_pending_open (struct cifs_pending_open *open) |
|
void | cifs_proc_init (void) |
|
void | cifs_proc_clean (void) |
|
void | cifs_move_llist (struct list_head *source, struct list_head *dest) |
|
void | cifs_free_llist (struct list_head *llist) |
|
void | cifs_del_lock_waiters (struct cifsLockInfo *lock) |
|
int | cifs_negotiate_protocol (const unsigned int xid, struct cifs_ses *ses) |
|
int | cifs_setup_session (const unsigned int xid, struct cifs_ses *ses, struct nls_table *nls_info) |
|
int | CIFSSMBNegotiate (const unsigned int xid, struct cifs_ses *ses) |
|
int | CIFSTCon (const unsigned int xid, struct cifs_ses *ses, const char *tree, struct cifs_tcon *tcon, const struct nls_table *) |
|
int | CIFSFindFirst (const unsigned int xid, struct cifs_tcon *tcon, const char *searchName, struct cifs_sb_info *cifs_sb, __u16 *searchHandle, __u16 search_flags, struct cifs_search_info *psrch_inf, bool msearch) |
|
int | CIFSFindNext (const unsigned int xid, struct cifs_tcon *tcon, __u16 searchHandle, __u16 search_flags, struct cifs_search_info *psrch_inf) |
|
int | CIFSFindClose (const unsigned int xid, struct cifs_tcon *tcon, const __u16 search_handle) |
|
int | CIFSSMBQFileInfo (const unsigned int xid, struct cifs_tcon *tcon, u16 netfid, FILE_ALL_INFO *pFindData) |
|
int | CIFSSMBQPathInfo (const unsigned int xid, struct cifs_tcon *tcon, const char *search_Name, FILE_ALL_INFO *data, int legacy, const struct nls_table *nls_codepage, int remap) |
|
int | SMBQueryInformation (const unsigned int xid, struct cifs_tcon *tcon, const char *search_name, FILE_ALL_INFO *data, const struct nls_table *nls_codepage, int remap) |
|
int | CIFSSMBUnixQFileInfo (const unsigned int xid, struct cifs_tcon *tcon, u16 netfid, FILE_UNIX_BASIC_INFO *pFindData) |
|
int | CIFSSMBUnixQPathInfo (const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, FILE_UNIX_BASIC_INFO *pFindData, const struct nls_table *nls_codepage, int remap) |
|
int | CIFSGetDFSRefer (const unsigned int xid, struct cifs_ses *ses, const char *search_name, struct dfs_info3_param **target_nodes, unsigned int *num_of_nodes, const struct nls_table *nls_codepage, int remap) |
|
int | get_dfs_path (const unsigned int xid, struct cifs_ses *ses, const char *old_path, const struct nls_table *nls_codepage, unsigned int *num_referrals, struct dfs_info3_param **referrals, int remap) |
|
void | reset_cifs_unix_caps (unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct smb_vol *vol) |
|
int | CIFSSMBQFSInfo (const unsigned int xid, struct cifs_tcon *tcon, struct kstatfs *FSData) |
|
int | SMBOldQFSInfo (const unsigned int xid, struct cifs_tcon *tcon, struct kstatfs *FSData) |
|
int | CIFSSMBSetFSUnixInfo (const unsigned int xid, struct cifs_tcon *tcon, __u64 cap) |
|
int | CIFSSMBQFSAttributeInfo (const unsigned int xid, struct cifs_tcon *tcon) |
|
int | CIFSSMBQFSDeviceInfo (const unsigned int xid, struct cifs_tcon *tcon) |
|
int | CIFSSMBQFSUnixInfo (const unsigned int xid, struct cifs_tcon *tcon) |
|
int | CIFSSMBQFSPosixInfo (const unsigned int xid, struct cifs_tcon *tcon, struct kstatfs *FSData) |
|
int | CIFSSMBSetPathInfo (const unsigned int xid, struct cifs_tcon *tcon, const char *fileName, const FILE_BASIC_INFO *data, const struct nls_table *nls_codepage, int remap_special_chars) |
|
int | CIFSSMBSetFileInfo (const unsigned int xid, struct cifs_tcon *tcon, const FILE_BASIC_INFO *data, __u16 fid, __u32 pid_of_opener) |
|
int | CIFSSMBSetFileDisposition (const unsigned int xid, struct cifs_tcon *tcon, bool delete_file, __u16 fid, __u32 pid_of_opener) |
|
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) |
|
int | CIFSSMBSetFileSize (const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, __u64 size, bool set_allocation) |
|
int | CIFSSMBUnixSetFileInfo (const unsigned int xid, struct cifs_tcon *tcon, const struct cifs_unix_set_info_args *args, u16 fid, u32 pid_of_opener) |
|
int | CIFSSMBUnixSetPathInfo (const unsigned int xid, struct cifs_tcon *tcon, const char *file_name, const struct cifs_unix_set_info_args *args, const struct nls_table *nls_codepage, int remap) |
|
int | CIFSSMBMkDir (const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) |
|
int | CIFSSMBRmDir (const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) |
|
int | CIFSPOSIXDelFile (const unsigned int xid, struct cifs_tcon *tcon, const char *name, __u16 type, const struct nls_table *nls_codepage, int remap_special_chars) |
|
int | CIFSSMBDelFile (const unsigned int xid, struct cifs_tcon *tcon, const char *name, struct cifs_sb_info *cifs_sb) |
|
int | CIFSSMBRename (const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) |
|
int | CIFSSMBRenameOpenFile (const unsigned int xid, struct cifs_tcon *tcon, int netfid, const char *target_name, const struct nls_table *nls_codepage, int remap_special_chars) |
|
int | CIFSCreateHardLink (const unsigned int xid, struct cifs_tcon *tcon, const char *from_name, const char *to_name, struct cifs_sb_info *cifs_sb) |
|
int | CIFSUnixCreateHardLink (const unsigned int xid, struct cifs_tcon *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage, int remap_special_chars) |
|
int | CIFSUnixCreateSymLink (const unsigned int xid, struct cifs_tcon *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage) |
|
int | CIFSSMBUnixQuerySymLink (const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, char **syminfo, const struct nls_table *nls_codepage) |
|
int | CIFSSMBOpen (const unsigned int xid, struct cifs_tcon *tcon, const char *fileName, const int disposition, const int access_flags, const int omode, __u16 *netfid, int *pOplock, FILE_ALL_INFO *, const struct nls_table *nls_codepage, int remap) |
|
int | SMBLegacyOpen (const unsigned int xid, struct cifs_tcon *tcon, const char *fileName, const int disposition, const int access_flags, const int omode, __u16 *netfid, int *pOplock, FILE_ALL_INFO *, const struct nls_table *nls_codepage, int remap) |
|
int | CIFSPOSIXCreate (const unsigned int xid, struct cifs_tcon *tcon, u32 posix_flags, __u64 mode, __u16 *netfid, FILE_UNIX_BASIC_INFO *pRetData, __u32 *pOplock, const char *name, const struct nls_table *nls_codepage, int remap) |
|
int | CIFSSMBClose (const unsigned int xid, struct cifs_tcon *tcon, const int smb_file_id) |
|
int | CIFSSMBFlush (const unsigned int xid, struct cifs_tcon *tcon, const int smb_file_id) |
|
int | CIFSSMBRead (const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, char **buf, int *return_buf_type) |
|
int | CIFSSMBWrite (const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, const char *buf, const char __user *ubuf, const int long_op) |
|
int | CIFSSMBWrite2 (const unsigned int xid, struct cifs_io_parms *io_parms, unsigned int *nbytes, struct kvec *iov, const int nvec) |
|
int | CIFSGetSrvInodeNumber (const unsigned int xid, struct cifs_tcon *tcon, const char *search_name, __u64 *inode_number, const struct nls_table *nls_codepage, int remap) |
|
int | cifs_lockv (const unsigned int xid, struct cifs_tcon *tcon, const __u16 netfid, const __u8 lock_type, const __u32 num_unlock, const __u32 num_lock, LOCKING_ANDX_RANGE *buf) |
|
int | CIFSSMBLock (const unsigned int xid, struct cifs_tcon *tcon, const __u16 netfid, const __u32 netpid, const __u64 len, const __u64 offset, const __u32 numUnlock, const __u32 numLock, const __u8 lockType, const bool waitFlag, const __u8 oplock_level) |
|
int | CIFSSMBPosixLock (const unsigned int xid, struct cifs_tcon *tcon, const __u16 smb_file_id, const __u32 netpid, const loff_t start_offset, const __u64 len, struct file_lock *, const __u16 lock_type, const bool waitFlag) |
|
int | CIFSSMBTDis (const unsigned int xid, struct cifs_tcon *tcon) |
|
int | CIFSSMBEcho (struct TCP_Server_Info *server) |
|
int | CIFSSMBLogoff (const unsigned int xid, struct cifs_ses *ses) |
|
struct cifs_ses * | sesInfoAlloc (void) |
|
void | sesInfoFree (struct cifs_ses *) |
|
struct cifs_tcon * | tconInfoAlloc (void) |
|
void | tconInfoFree (struct cifs_tcon *) |
|
int | cifs_sign_rqst (struct smb_rqst *rqst, struct TCP_Server_Info *server, __u32 *pexpected_response_sequence_number) |
|
int | cifs_sign_smbv (struct kvec *iov, int n_vec, struct TCP_Server_Info *, __u32 *) |
|
int | cifs_sign_smb (struct smb_hdr *, struct TCP_Server_Info *, __u32 *) |
|
int | cifs_verify_signature (struct smb_rqst *rqst, struct TCP_Server_Info *server, __u32 expected_sequence_number) |
|
int | SMBNTencrypt (unsigned char *, unsigned char *, unsigned char *, const struct nls_table *) |
|
int | setup_ntlm_response (struct cifs_ses *, const struct nls_table *) |
|
int | setup_ntlmv2_rsp (struct cifs_ses *, const struct nls_table *) |
|
int | cifs_crypto_shash_allocate (struct TCP_Server_Info *) |
|
void | cifs_crypto_shash_release (struct TCP_Server_Info *) |
|
int | calc_seckey (struct cifs_ses *) |
|
int | CIFSSMBCopy (unsigned int xid, struct cifs_tcon *source_tcon, const char *fromName, const __u16 target_tid, const char *toName, const int flags, const struct nls_table *nls_codepage, int remap_special_chars) |
|
ssize_t | CIFSSMBQAllEAs (const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, const unsigned char *ea_name, char *EAData, size_t bufsize, const struct nls_table *nls_codepage, int remap_special_chars) |
|
int | CIFSSMBSetEA (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, int remap_special_chars) |
|
int | CIFSSMBGetCIFSACL (const unsigned int xid, struct cifs_tcon *tcon, __u16 fid, struct cifs_ntsd **acl_inf, __u32 *buflen) |
|
int | CIFSSMBSetCIFSACL (const unsigned int, struct cifs_tcon *, __u16, struct cifs_ntsd *, __u32, int) |
|
int | CIFSSMBGetPosixACL (const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, char *acl_inf, const int buflen, const int acl_type, const struct nls_table *nls_codepage, int remap_special_chars) |
|
int | CIFSSMBSetPosixACL (const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *fileName, const char *local_acl, const int buflen, const int acl_type, const struct nls_table *nls_codepage, int remap_special_chars) |
|
int | CIFSGetExtAttr (const unsigned int xid, struct cifs_tcon *tcon, const int netfid, __u64 *pExtAttrBits, __u64 *pMask) |
|
void | cifs_autodisable_serverino (struct cifs_sb_info *cifs_sb) |
|
bool | CIFSCouldBeMFSymlink (const struct cifs_fattr *fattr) |
|
int | CIFSCheckMFSymlink (struct cifs_fattr *fattr, const unsigned char *path, struct cifs_sb_info *cifs_sb, unsigned int xid) |
|
int | mdfour (unsigned char *, unsigned char *, int) |
|
int | E_md4hash (const unsigned char *passwd, unsigned char *p16, const struct nls_table *codepage) |
|
int | SMBencrypt (unsigned char *passwd, const unsigned char *c8, unsigned char *p24) |
|
void | cifs_readdata_release (struct kref *refcount) |
|
int | cifs_async_readv (struct cifs_readdata *rdata) |
|
int | cifs_readv_receive (struct TCP_Server_Info *server, struct mid_q_entry *mid) |
|
int | cifs_async_writev (struct cifs_writedata *wdata) |
|
void | cifs_writev_complete (struct work_struct *work) |
|
struct cifs_writedata * | cifs_writedata_alloc (unsigned int nr_pages, work_func_t complete) |
|
void | cifs_writedata_release (struct kref *refcount) |
|