Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cifsproto.h File Reference
#include <linux/nls.h>

Go to the source code of this file.

Data Structures

struct  cifs_unix_set_info_args
 

Macros

#define get_xid()
 
#define free_xid(curr_xid)
 
#define cifs_dfs_release_automount_timer()   do { } while (0)
 

Functions

struct smb_hdrcifs_buf_get (void)
 
void cifs_buf_release (void *)
 
struct smb_hdrcifs_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)
 
charbuild_path_from_dentry (struct dentry *)
 
charbuild_wildcard_path_from_dentry (struct dentry *direntry)
 
charcifs_compose_mount_options (const char *sb_mountdata, const char *fullpath, const struct dfs_info3_param *ref, char **devname)
 
struct mid_q_entryAllocMidQEntry (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_entrycifs_setup_request (struct cifs_ses *, struct smb_rqst *)
 
struct mid_q_entrycifs_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 cifsFileInfofind_writable_file (struct cifsInodeInfo *, bool)
 
struct cifsFileInfofind_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 cifsFileInfocifs_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 inodecifs_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_ntsdget_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_volcifs_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_sessesInfoAlloc (void)
 
void sesInfoFree (struct cifs_ses *)
 
struct cifs_tcontconInfoAlloc (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_writedatacifs_writedata_alloc (unsigned int nr_pages, work_func_t complete)
 
void cifs_writedata_release (struct kref *refcount)
 

Variables

struct cifs_unix_set_info_args __attribute__
 

Macro Definition Documentation

#define cifs_dfs_release_automount_timer (   void)    do { } while (0)

Definition at line 200 of file cifsproto.h.

#define free_xid (   curr_xid)
Value:
do { \
_free_xid(curr_xid); \
cFYI(1, "CIFS VFS: leaving %s (xid = %u) rc = %d", \
__func__, curr_xid, (int)rc); \
} while (0)

Definition at line 53 of file cifsproto.h.

#define get_xid ( )
Value:
({ \
unsigned int __xid = _get_xid(); \
cFYI(1, "CIFS VFS: in %s as Xid: %u with uid: %d", \
__func__, __xid, current_fsuid()); \
__xid; \
})

Definition at line 45 of file cifsproto.h.

Function Documentation

void _free_xid ( unsigned  int)

Definition at line 64 of file misc.c.

unsigned int _get_xid ( void  )

Definition at line 46 of file misc.c.

struct mid_q_entry* AllocMidQEntry ( const struct smb_hdr smb_buffer,
struct TCP_Server_Info server 
)
read

Definition at line 47 of file transport.c.

bool backup_cred ( struct cifs_sb_info )

Definition at line 569 of file misc.c.

char* build_path_from_dentry ( struct dentry )

Definition at line 49 of file dir.c.

char* build_wildcard_path_from_dentry ( struct dentry direntry)
int calc_seckey ( struct cifs_ses )

Definition at line 661 of file cifsencrypt.c.

int checkSMB ( char buf,
unsigned int  length 
)

Definition at line 310 of file misc.c.

int cifs_acl_to_fattr ( struct cifs_sb_info cifs_sb,
struct cifs_fattr fattr,
struct inode inode,
const char path,
const __u16 pfid 
)

Definition at line 1267 of file cifsacl.c.

void cifs_add_pending_open ( struct cifs_fid fid,
struct tcon_link tlink,
struct cifs_pending_open open 
)

Definition at line 605 of file misc.c.

void cifs_add_pending_open_locked ( struct cifs_fid fid,
struct tcon_link tlink,
struct cifs_pending_open open 
)

Definition at line 592 of file misc.c.

int cifs_async_readv ( struct cifs_readdata rdata)

Definition at line 1576 of file cifssmb.c.

int cifs_async_writev ( struct cifs_writedata wdata)

Definition at line 2026 of file cifssmb.c.

void cifs_autodisable_serverino ( struct cifs_sb_info cifs_sb)

Definition at line 535 of file misc.c.

struct smb_hdr* cifs_buf_get ( void  )
read

Definition at line 146 of file misc.c.

void cifs_buf_release ( void )

Definition at line 180 of file misc.c.

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 
)

Definition at line 492 of file transport.c.

int cifs_check_receive ( struct mid_q_entry mid,
struct TCP_Server_Info server,
bool  log_error 
)

Definition at line 609 of file transport.c.

void cifs_cleanup_volume_info ( struct smb_vol pvolume_info)

Definition at line 3273 of file connect.c.

char* cifs_compose_mount_options ( const char sb_mountdata,
const char fullpath,
const struct dfs_info3_param ref,
char **  devname 
)

cifs_compose_mount_options - creates mount options for refferral : parent/root DFS mount options (template) : full path in UNC format server's referral : pointer for saving device name

creates mount options for submount based on template options sb_mountdata and replacing unc,ip,prefixpath options with ones we've got form ref_unc.

Returns: pointer to new mount options or ERR_PTR. Caller is responcible for freeing retunrned value if it is not error.

Definition at line 119 of file cifs_dfs_ref.c.

int cifs_convert_address ( struct sockaddr dst,
const char src,
int  len 
)

Definition at line 169 of file netmisc.c.

int cifs_crypto_shash_allocate ( struct TCP_Server_Info )

Definition at line 727 of file cifsencrypt.c.

void cifs_crypto_shash_release ( struct TCP_Server_Info )

Definition at line 708 of file cifsencrypt.c.

void cifs_del_lock_waiters ( struct cifsLockInfo lock)

Definition at line 733 of file file.c.

void cifs_del_pending_open ( struct cifs_pending_open open)

Definition at line 584 of file misc.c.

void cifs_delete_mid ( struct mid_q_entry mid)

Definition at line 115 of file transport.c.

void cifs_destroy_idmaptrees ( void  )

Definition at line 603 of file cifsacl.c.

void cifs_dir_info_to_fattr ( struct cifs_fattr ,
FILE_DIRECTORY_INFO *  ,
struct cifs_sb_info  
)

Definition at line 158 of file readdir.c.

void cifs_fattr_to_inode ( struct inode inode,
struct cifs_fattr fattr 
)

Definition at line 123 of file inode.c.

int cifs_fill_sockaddr ( struct sockaddr dst,
const char src,
int  len,
const unsigned short int  port 
)

Definition at line 224 of file netmisc.c.

void cifs_fill_uniqueid ( struct super_block sb,
struct cifs_fattr fattr 
)

Definition at line 176 of file inode.c.

bool cifs_find_lock_conflict ( struct cifsFileInfo cfile,
__u64  offset,
__u64  length,
__u8  type,
struct cifsLockInfo **  conf_lock,
bool  rw_check 
)

Definition at line 770 of file file.c.

void cifs_free_llist ( struct list_head llist)

Definition at line 1282 of file file.c.

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 
)

Definition at line 606 of file inode.c.

int cifs_get_inode_info_unix ( struct inode **  pinode,
const unsigned char search_path,
struct super_block sb,
unsigned int  xid 
)

Definition at line 311 of file inode.c.

struct smb_vol* cifs_get_volume_info ( char mount_data,
const char devname 
)
read

Definition at line 3410 of file connect.c.

struct inode* cifs_iget ( struct super_block sb,
struct cifs_fattr fattr 
)
read

Definition at line 824 of file inode.c.

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 
)

Definition at line 2213 of file cifssmb.c.

void cifs_mark_open_files_invalid ( struct cifs_tcon tcon)

Definition at line 94 of file cifssmb.c.

int cifs_match_super ( struct super_block ,
void  
)

Definition at line 2712 of file connect.c.

int cifs_mount ( struct cifs_sb_info ,
struct smb_vol  
)

Definition at line 3429 of file connect.c.

void cifs_move_llist ( struct list_head source,
struct list_head dest 
)

Definition at line 1274 of file file.c.

int cifs_negotiate_protocol ( const unsigned int  xid,
struct cifs_ses ses 
)

Definition at line 3814 of file connect.c.

struct cifsFileInfo* cifs_new_fileinfo ( struct cifs_fid fid,
struct file file,
struct tcon_link tlink,
__u32  oplock 
)
read

Definition at line 242 of file file.c.

struct timespec cifs_NTtimeToUnix ( __le64  utc_nanoseconds_since_1601)
read

Definition at line 932 of file netmisc.c.

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 
)

Definition at line 108 of file file.c.

void cifs_proc_clean ( void  )
inline

Definition at line 652 of file cifs_debug.c.

void cifs_proc_init ( void  )
inline

Definition at line 648 of file cifs_debug.c.

int cifs_push_mandatory_locks ( struct cifsFileInfo cfile)

Definition at line 945 of file file.c.

int cifs_read_from_socket ( struct TCP_Server_Info server,
char buf,
unsigned int  to_read 
)

Definition at line 597 of file connect.c.

void cifs_readdata_release ( struct kref refcount)

Definition at line 2546 of file file.c.

int cifs_readv_from_socket ( struct TCP_Server_Info server,
struct kvec iov_orig,
unsigned int  nr_segs,
unsigned int  to_read 
)

Definition at line 538 of file connect.c.

int cifs_readv_receive ( struct TCP_Server_Info server,
struct mid_q_entry mid 
)

Definition at line 1420 of file cifssmb.c.

int cifs_reconnect ( struct TCP_Server_Info server)

Definition at line 297 of file connect.c.

int cifs_rename_pending_delete ( const char full_path,
struct dentry dentry,
const unsigned int  xid 
)

Definition at line 970 of file inode.c.

void cifs_rqst_page_to_kvec ( struct smb_rqst rqst,
unsigned int  idx,
struct kvec iov 
)

rqst_page_to_kvec - Turn a slot in the smb_rqst page array into a kvec : pointer to smb_rqst : index into the array of the page : pointer to struct kvec that will hold the result

Helper function to convert a slot in the rqst->rq_pages array into a kvec. The page will be kmapped and the address placed into iov_base. The length will then be adjusted according to the ptailoff.

Definition at line 261 of file transport.c.

int CIFS_SessSetup ( const unsigned int  xid,
struct cifs_ses ses,
const struct nls_table nls_cp 
)

Definition at line 559 of file sess.c.

int cifs_set_file_info ( struct inode inode,
struct iattr attrs,
unsigned int  xid,
char full_path,
__u32  dosattr 
)

Definition at line 916 of file inode.c.

void cifs_set_oplock_level ( struct cifsInodeInfo cinode,
__u32  oplock 
)

Definition at line 548 of file misc.c.

int cifs_set_port ( struct sockaddr addr,
const unsigned short int  port 
)

Definition at line 208 of file netmisc.c.

struct mid_q_entry* cifs_setup_async_request ( struct TCP_Server_Info ,
struct smb_rqst  
)
read

Definition at line 464 of file transport.c.

void cifs_setup_cifs_sb ( struct smb_vol pvolume_info,
struct cifs_sb_info cifs_sb 
)

Definition at line 3173 of file connect.c.

struct mid_q_entry* cifs_setup_request ( struct cifs_ses ,
struct smb_rqst  
)
read

Definition at line 638 of file transport.c.

int cifs_setup_session ( const unsigned int  xid,
struct cifs_ses ses,
struct nls_table nls_info 
)

Definition at line 3842 of file connect.c.

int cifs_sign_rqst ( struct smb_rqst rqst,
struct TCP_Server_Info server,
__u32 pexpected_response_sequence_number 
)

Definition at line 115 of file cifsencrypt.c.

int cifs_sign_smb ( struct smb_hdr ,
struct TCP_Server_Info ,
__u32  
)

Definition at line 160 of file cifsencrypt.c.

int cifs_sign_smbv ( struct kvec iov,
int  n_vec,
struct TCP_Server_Info ,
__u32  
)

Definition at line 150 of file cifsencrypt.c.

struct smb_hdr* cifs_small_buf_get ( void  )
read

Definition at line 193 of file misc.c.

void cifs_small_buf_release ( void )

Definition at line 215 of file misc.c.

void cifs_umount ( struct cifs_sb_info )

Definition at line 3786 of file connect.c.

void cifs_unix_basic_to_fattr ( struct cifs_fattr fattr,
FILE_UNIX_BASIC_INFO *  info,
struct cifs_sb_info cifs_sb 
)

Definition at line 188 of file inode.c.

u64 cifs_UnixTimeToNT ( struct timespec  )

Definition at line 948 of file netmisc.c.

int cifs_unlock_range ( struct cifsFileInfo cfile,
struct file_lock flock,
const unsigned int  xid 
)

Definition at line 1293 of file file.c.

void cifs_update_eof ( struct cifsInodeInfo cifsi,
loff_t  offset,
unsigned int  bytes_written 
)

Definition at line 1525 of file file.c.

int cifs_verify_signature ( struct smb_rqst rqst,
struct TCP_Server_Info server,
__u32  expected_sequence_number 
)

Definition at line 172 of file cifsencrypt.c.

void cifs_wake_up_task ( struct mid_q_entry mid)

Definition at line 41 of file transport.c.

struct cifs_writedata* cifs_writedata_alloc ( unsigned int  nr_pages,
work_func_t  complete 
)
read

Definition at line 1953 of file cifssmb.c.

void cifs_writedata_release ( struct kref refcount)

Definition at line 1879 of file cifssmb.c.

void cifs_writev_complete ( struct work_struct work)

Definition at line 1922 of file cifssmb.c.

int CIFSCheckMFSymlink ( struct cifs_fattr fattr,
const unsigned char path,
struct cifs_sb_info cifs_sb,
unsigned int  xid 
)

Definition at line 308 of file link.c.

bool CIFSCouldBeMFSymlink ( const struct cifs_fattr fattr)

Definition at line 294 of file link.c.

int CIFSCreateHardLink ( const unsigned int  xid,
struct cifs_tcon tcon,
const char from_name,
const char to_name,
struct cifs_sb_info cifs_sb 
)

Definition at line 2908 of file cifssmb.c.

int CIFSFindClose ( const unsigned int  xid,
struct cifs_tcon tcon,
const __u16  search_handle 
)

Definition at line 4506 of file cifssmb.c.

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 
)

Definition at line 4216 of file cifssmb.c.

int CIFSFindNext ( const unsigned int  xid,
struct cifs_tcon tcon,
__u16  searchHandle,
__u16  search_flags,
struct cifs_search_info psrch_inf 
)

Definition at line 4370 of file cifssmb.c.

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 
)

Definition at line 4744 of file cifssmb.c.

int CIFSGetExtAttr ( const unsigned int  xid,
struct cifs_tcon tcon,
const int  netfid,
__u64 pExtAttrBits,
__u64 pMask 
)
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 
)

Definition at line 4538 of file cifssmb.c.

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 
)

Definition at line 1017 of file cifssmb.c.

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 
)

Definition at line 805 of file cifssmb.c.

int CIFSSMBClose ( const unsigned int  xid,
struct cifs_tcon tcon,
const int  smb_file_id 
)

Definition at line 2461 of file cifssmb.c.

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 
)

Definition at line 2666 of file cifssmb.c.

int CIFSSMBDelFile ( const unsigned int  xid,
struct cifs_tcon tcon,
const char name,
struct cifs_sb_info cifs_sb 
)

Definition at line 881 of file cifssmb.c.

int CIFSSMBEcho ( struct TCP_Server_Info server)

Definition at line 723 of file cifssmb.c.

int CIFSSMBFlush ( const unsigned int  xid,
struct cifs_tcon tcon,
const int  smb_file_id 
)

Definition at line 2494 of file cifssmb.c.

int CIFSSMBGetCIFSACL ( const unsigned int  xid,
struct cifs_tcon tcon,
__u16  fid,
struct cifs_ntsd **  acl_inf,
__u32 buflen 
)
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 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 
)

Definition at line 2255 of file cifssmb.c.

int CIFSSMBLogoff ( const unsigned int  xid,
struct cifs_ses ses 
)

Definition at line 758 of file cifssmb.c.

int CIFSSMBMkDir ( const unsigned int  xid,
struct cifs_tcon tcon,
const char name,
struct cifs_sb_info cifs_sb 
)

Definition at line 972 of file cifssmb.c.

int CIFSSMBNegotiate ( const unsigned int  xid,
struct cifs_ses ses 
)

Definition at line 371 of file cifssmb.c.

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 
)

Definition at line 1291 of file cifssmb.c.

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 
)

Definition at line 2325 of file cifssmb.c.

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 CIFSSMBQFileInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
u16  netfid,
FILE_ALL_INFO *  pFindData 
)

Definition at line 3893 of file cifssmb.c.

int CIFSSMBQFSAttributeInfo ( const unsigned int  xid,
struct cifs_tcon tcon 
)

Definition at line 5018 of file cifssmb.c.

int CIFSSMBQFSDeviceInfo ( const unsigned int  xid,
struct cifs_tcon tcon 
)

Definition at line 5088 of file cifssmb.c.

int CIFSSMBQFSInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
struct kstatfs FSData 
)

Definition at line 4938 of file cifssmb.c.

int CIFSSMBQFSPosixInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
struct kstatfs FSData 
)

Definition at line 5303 of file cifssmb.c.

int CIFSSMBQFSUnixInfo ( const unsigned int  xid,
struct cifs_tcon tcon 
)

Definition at line 5159 of file cifssmb.c.

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 
)

Definition at line 3960 of file cifssmb.c.

int CIFSSMBRead ( const unsigned int  xid,
struct cifs_io_parms io_parms,
unsigned int nbytes,
char **  buf,
int return_buf_type 
)

Definition at line 1640 of file cifssmb.c.

int CIFSSMBRename ( const unsigned int  xid,
struct cifs_tcon tcon,
const char from_name,
const char to_name,
struct cifs_sb_info cifs_sb 
)

Definition at line 2515 of file cifssmb.c.

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 
)

Definition at line 2584 of file cifssmb.c.

int CIFSSMBRmDir ( const unsigned int  xid,
struct cifs_tcon tcon,
const char name,
struct cifs_sb_info cifs_sb 
)

Definition at line 927 of file cifssmb.c.

int CIFSSMBSetCIFSACL ( const unsigned  int,
struct cifs_tcon ,
__u16  ,
struct cifs_ntsd ,
__u32  ,
int   
)
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 CIFSSMBSetEOF ( const unsigned int  xid,
struct cifs_tcon tcon,
const char file_name,
__u64  size,
struct cifs_sb_info cifs_sb,
bool  set_allocation 
)

Definition at line 5396 of file cifssmb.c.

int CIFSSMBSetFileDisposition ( const unsigned int  xid,
struct cifs_tcon tcon,
bool  delete_file,
__u16  fid,
__u32  pid_of_opener 
)

Definition at line 5632 of file cifssmb.c.

int CIFSSMBSetFileInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
const FILE_BASIC_INFO *  data,
__u16  fid,
__u32  pid_of_opener 
)

Definition at line 5569 of file cifssmb.c.

int CIFSSMBSetFileSize ( const unsigned int  xid,
struct cifs_tcon tcon,
struct cifsFileInfo cfile,
__u64  size,
bool  set_allocation 
)

Definition at line 5487 of file cifssmb.c.

int CIFSSMBSetFSUnixInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
__u64  cap 
)

Definition at line 5229 of file cifssmb.c.

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 
)

Definition at line 5688 of file cifssmb.c.

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 CIFSSMBTDis ( const unsigned int  xid,
struct cifs_tcon tcon 
)

Definition at line 669 of file cifssmb.c.

int CIFSSMBUnixQFileInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
u16  netfid,
FILE_UNIX_BASIC_INFO *  pFindData 
)

Definition at line 4061 of file cifssmb.c.

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 
)

Definition at line 4130 of file cifssmb.c.

int CIFSSMBUnixQuerySymLink ( const unsigned int  xid,
struct cifs_tcon tcon,
const unsigned char searchName,
char **  syminfo,
const struct nls_table nls_codepage 
)

Definition at line 2982 of file cifssmb.c.

int CIFSSMBUnixSetFileInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
const struct cifs_unix_set_info_args args,
u16  fid,
u32  pid_of_opener 
)

Definition at line 5860 of file cifssmb.c.

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 
)

Definition at line 5924 of file cifssmb.c.

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 
)

Definition at line 1752 of file cifssmb.c.

int CIFSSMBWrite2 ( const unsigned int  xid,
struct cifs_io_parms io_parms,
unsigned int nbytes,
struct kvec iov,
const int  nvec 
)

Definition at line 2107 of file cifssmb.c.

int CIFSTCon ( const unsigned int  xid,
struct cifs_ses ses,
const char tree,
struct cifs_tcon tcon,
const struct nls_table  
)

Definition at line 3629 of file connect.c.

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 
)

Definition at line 2823 of file cifssmb.c.

int CIFSUnixCreateSymLink ( const unsigned int  xid,
struct cifs_tcon tcon,
const char fromName,
const char toName,
const struct nls_table nls_codepage 
)

Definition at line 2734 of file cifssmb.c.

struct timespec cnvrtDosUnixTm ( __le16  le_date,
__le16  le_time,
int  offset 
)
read

Definition at line 957 of file netmisc.c.

int decode_negTokenInit ( unsigned char security_blob,
int  length,
struct TCP_Server_Info server 
)

Definition at line 494 of file asn1.c.

void DeleteMidQEntry ( struct mid_q_entry midEntry)

Definition at line 84 of file transport.c.

void dequeue_mid ( struct mid_q_entry mid,
bool  malformed 
)

Definition at line 653 of file connect.c.

int E_md4hash ( const unsigned char passwd,
unsigned char p16,
const struct nls_table codepage 
)

Definition at line 207 of file smbencrypt.c.

void exit_cifs_idmap ( void  )

Definition at line 593 of file cifsacl.c.

struct cifsFileInfo* find_readable_file ( struct cifsInodeInfo ,
bool   
)
read

Definition at line 1619 of file file.c.

struct cifsFileInfo* find_writable_file ( struct cifsInodeInfo ,
bool   
)
read

Definition at line 1653 of file file.c.

struct cifs_ntsd* get_cifs_acl ( struct cifs_sb_info ,
struct inode ,
const char ,
u32  
)
read

Definition at line 1204 of file cifsacl.c.

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 
)

Definition at line 2764 of file connect.c.

void header_assemble ( struct smb_hdr ,
char  ,
const struct cifs_tcon ,
int   
)

Definition at line 231 of file misc.c.

int id_mode_to_cifs_acl ( struct inode inode,
const char path,
__u64  ,
uid_t  ,
gid_t   
)

Definition at line 1297 of file cifsacl.c.

int init_cifs_idmap ( void  )

Definition at line 529 of file cifsacl.c.

bool is_size_safe_to_change ( struct cifsInodeInfo ,
__u64  eof 
)

Definition at line 3388 of file file.c.

bool is_valid_oplock_break ( char ,
struct TCP_Server_Info  
)

Definition at line 394 of file misc.c.

int map_smb_to_linux_error ( char buf,
bool  logErr 
)

Definition at line 838 of file netmisc.c.

int mdfour ( unsigned char ,
unsigned char ,
int   
)

Definition at line 132 of file smbencrypt.c.

void reset_cifs_unix_caps ( unsigned int  xid,
struct cifs_tcon tcon,
struct cifs_sb_info cifs_sb,
struct smb_vol vol 
)

Definition at line 3068 of file connect.c.

int SendReceive ( const unsigned  int,
struct cifs_ses ,
struct smb_hdr ,
struct smb_hdr ,
int ,
const int   
)

Definition at line 783 of file transport.c.

int SendReceive2 ( const unsigned  int,
struct cifs_ses ,
struct kvec ,
int  ,
int ,
const int  flags 
)

Definition at line 656 of file transport.c.

int SendReceiveBlockingLock ( const unsigned int  xid,
struct cifs_tcon ptcon,
struct smb_hdr in_buf,
struct smb_hdr out_buf,
int bytes_returned 
)

Definition at line 914 of file transport.c.

int SendReceiveNoRsp ( const unsigned int  xid,
struct cifs_ses ses,
char in_buf,
int  flags 
)

Definition at line 551 of file transport.c.

struct cifs_ses* sesInfoAlloc ( void  )
read

Definition at line 74 of file misc.c.

void sesInfoFree ( struct cifs_ses )

Definition at line 91 of file misc.c.

int set_cifs_acl ( struct cifs_ntsd ,
__u32  ,
struct inode ,
const char ,
int   
)

Definition at line 1222 of file cifsacl.c.

int setup_ntlm_response ( struct cifs_ses ,
const struct nls_table  
)

Definition at line 228 of file cifsencrypt.c.

int setup_ntlmv2_rsp ( struct cifs_ses ,
const struct nls_table  
)

Definition at line 565 of file cifsencrypt.c.

int small_smb_init_no_tc ( const int  smb_cmd,
const int  wct,
struct cifs_ses ses,
void **  request_buf 
)

Definition at line 263 of file cifssmb.c.

int smb_send ( struct TCP_Server_Info ,
struct smb_hdr ,
unsigned  int 
)

Definition at line 355 of file transport.c.

unsigned int smbCalcSize ( void buf)

Definition at line 916 of file netmisc.c.

int SMBencrypt ( unsigned char passwd,
const unsigned char c8,
unsigned char p24 
)

Definition at line 182 of file smbencrypt.c.

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 
)

Definition at line 1184 of file cifssmb.c.

int SMBNTencrypt ( unsigned char ,
unsigned char ,
unsigned char ,
const struct nls_table  
)

Definition at line 230 of file smbencrypt.c.

int SMBOldQFSInfo ( const unsigned int  xid,
struct cifs_tcon tcon,
struct kstatfs FSData 
)

Definition at line 4858 of file cifssmb.c.

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 
)

Definition at line 3825 of file cifssmb.c.

struct cifs_tcon* tconInfoAlloc ( void  )
read

Definition at line 112 of file misc.c.

void tconInfoFree ( struct cifs_tcon )

Definition at line 130 of file misc.c.

Variable Documentation