Searched refs:tcon (Results 1 - 19 of 19) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/cifs/
H A Dcifsproto.h106 const char *tree, struct cifsTconInfo *tcon,
109 extern int CIFSFindFirst(const int xid, struct cifsTconInfo *tcon,
114 extern int CIFSFindNext(const int xid, struct cifsTconInfo *tcon,
117 extern int CIFSFindClose(const int, struct cifsTconInfo *tcon,
120 extern int CIFSSMBQPathInfo(const int xid, struct cifsTconInfo *tcon,
125 extern int SMBQueryInformation(const int xid, struct cifsTconInfo *tcon,
131 struct cifsTconInfo *tcon,
151 extern void reset_cifs_unix_caps(int xid, struct cifsTconInfo *tcon,
153 extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon,
155 extern int SMBOldQFSInfo(const int xid, struct cifsTconInfo *tcon,
[all...]
H A Dioctl.c43 struct cifsTconInfo *tcon; local
55 tcon = cifs_sb->tcon;
56 if (tcon)
57 caps = le64_to_cpu(tcon->fsUnixInfo.Capability);
80 rc = CIFSGetExtAttr(xid, tcon, pSMBFile->netfid,
97 /* rc= CIFSGetExtAttr(xid,tcon,pSMBFile->netfid,
H A Dcifs_debug.c119 struct cifsTconInfo *tcon; local
211 tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList);
212 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType);
217 i, tcon->treeName,
218 atomic_read(&tcon->useCount),
219 tcon->nativeFileSystem,
220 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics),
221 le32_to_cpu(tcon->fsAttrInfo.Attributes),
222 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength),
223 tcon
270 struct cifsTconInfo *tcon; local
315 struct cifsTconInfo *tcon; local
[all...]
H A Dcifssmb.c103 to this tcon */
108 small_smb_init(int smb_command, int wct, struct cifsTconInfo *tcon, argument
113 /* SMBs NegProt, SessSetup, uLogoff do not have tcon yet so
116 if(tcon) {
117 if(tcon->tidStatus == CifsExiting) {
119 (and ulogoff which does not have tcon)
129 if((tcon->ses) && (tcon->ses->status != CifsExiting) &&
130 (tcon->ses->server)){
135 while(tcon
245 smb_init(int smb_command, int wct, struct cifsTconInfo *tcon, void **request_buf , void **response_buf ) argument
654 CIFSSMBTDis(const int xid, struct cifsTconInfo *tcon) argument
777 CIFSSMBDelFile(const int xid, struct cifsTconInfo *tcon, const char *fileName, const struct nls_table *nls_codepage, int remap) argument
823 CIFSSMBRmDir(const int xid, struct cifsTconInfo *tcon, const char *dirName, const struct nls_table *nls_codepage, int remap) argument
867 CIFSSMBMkDir(const int xid, struct cifsTconInfo *tcon, const char *name, const struct nls_table *nls_codepage, int remap) argument
911 CIFSPOSIXCreate(const int xid, struct cifsTconInfo *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) argument
1065 SMBLegacyOpen(const int xid, struct cifsTconInfo *tcon, const char *fileName, const int openDisposition, const int access_flags, const int create_options, __u16 * netfid, int *pOplock, FILE_ALL_INFO * pfile_info, const struct nls_table *nls_codepage, int remap) argument
1174 CIFSSMBOpen(const int xid, struct cifsTconInfo *tcon, const char *fileName, const int openDisposition, const int access_flags, const int create_options, __u16 * netfid, int *pOplock, FILE_ALL_INFO * pfile_info, const struct nls_table *nls_codepage, int remap) argument
1277 CIFSSMBRead(const int xid, struct cifsTconInfo *tcon, const int netfid, const unsigned int count, const __u64 lseek, unsigned int *nbytes, char **buf, int * pbuf_type) argument
1380 CIFSSMBWrite(const int xid, struct cifsTconInfo *tcon, const int netfid, const unsigned int count, const __u64 offset, unsigned int *nbytes, const char *buf, const char __user * ubuf, const int long_op) argument
1486 CIFSSMBWrite2(const int xid, struct cifsTconInfo *tcon, const int netfid, const unsigned int count, const __u64 offset, unsigned int *nbytes, struct kvec *iov, int n_vec, const int long_op) argument
1576 CIFSSMBLock(const int xid, struct cifsTconInfo *tcon, const __u16 smb_file_id, const __u64 len, const __u64 offset, const __u32 numUnlock, const __u32 numLock, const __u8 lockType, const int waitFlag) argument
1646 CIFSSMBPosixLock(const int xid, struct cifsTconInfo *tcon, const __u16 smb_file_id, const int get_flag, const __u64 len, struct file_lock *pLockData, const __u16 lock_type, const int waitFlag) argument
1766 CIFSSMBClose(const int xid, struct cifsTconInfo *tcon, int smb_file_id) argument
1806 CIFSSMBRename(const int xid, struct cifsTconInfo *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage, int remap) argument
1954 CIFSSMBCopy(const int xid, struct cifsTconInfo *tcon, const char * fromName, const __u16 target_tid, const char *toName, const int flags, const struct nls_table *nls_codepage, int remap) argument
2022 CIFSUnixCreateSymLink(const int xid, struct cifsTconInfo *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage) argument
2115 CIFSUnixCreateHardLink(const int xid, struct cifsTconInfo *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage, int remap) argument
2201 CIFSCreateHardLink(const int xid, struct cifsTconInfo *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage, int remap) argument
2271 CIFSSMBUnixQuerySymLink(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, char *symlinkinfo, const int buflen, const struct nls_table *nls_codepage) argument
2377 smb_init_ntransact(const __u16 sub_command, const int setup_count, const int parm_len, struct cifsTconInfo *tcon, void ** ret_buf) argument
2454 CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, char *symlinkinfo, const int buflen,__u16 fid, const struct nls_table *nls_codepage) argument
2687 CIFSSMBGetPosixACL(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, char *acl_inf, const int buflen, const int acl_type, const struct nls_table *nls_codepage, int remap) argument
2774 CIFSSMBSetPosixACL(const int xid, struct cifsTconInfo *tcon, const unsigned char *fileName, const char *local_acl, const int buflen, const int acl_type, const struct nls_table *nls_codepage, int remap) argument
2853 CIFSGetExtAttr(const int xid, struct cifsTconInfo *tcon, const int netfid, __u64 * pExtAttrBits, __u64 *pMask) argument
2952 CIFSSMBGetCIFSACL(const int xid, struct cifsTconInfo *tcon, __u16 fid, char *acl_inf, const int buflen, const int acl_type ) argument
3025 SMBQueryInformation(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, FILE_ALL_INFO * pFinfo, const struct nls_table *nls_codepage, int remap) argument
3093 CIFSSMBQPathInfo(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, FILE_ALL_INFO * pFindData, int legacy , const struct nls_table *nls_codepage, int remap) argument
3189 CIFSSMBUnixQPathInfo(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, FILE_UNIX_BASIC_INFO * pFindData, const struct nls_table *nls_codepage, int remap) argument
3273 CIFSFindFirst(const int xid, struct cifsTconInfo *tcon, const char *searchName, const struct nls_table *nls_codepage, __u16 * pnetfid, struct cifs_search_info * psrch_inf, int remap, const char dirsep) argument
3407 CIFSFindNext(const int xid, struct cifsTconInfo *tcon, __u16 searchHandle, struct cifs_search_info * psrch_inf) argument
3538 CIFSFindClose(const int xid, struct cifsTconInfo *tcon, const __u16 searchHandle) argument
3574 CIFSGetSrvInodeNumber(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, __u64 * inode_number, const struct nls_table *nls_codepage, int remap) argument
3849 SMBOldQFSInfo(const int xid, struct cifsTconInfo *tcon, struct kstatfs *FSData) argument
3934 CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon, struct kstatfs *FSData) argument
4014 CIFSSMBQFSAttributeInfo(const int xid, struct cifsTconInfo *tcon) argument
4082 CIFSSMBQFSDeviceInfo(const int xid, struct cifsTconInfo *tcon) argument
4151 CIFSSMBQFSUnixInfo(const int xid, struct cifsTconInfo *tcon) argument
4220 CIFSSMBSetFSUnixInfo(const int xid, struct cifsTconInfo *tcon, __u64 cap) argument
4293 CIFSSMBQFSPosixInfo(const int xid, struct cifsTconInfo *tcon, struct kstatfs *FSData) argument
4380 CIFSSMBSetEOF(const int xid, struct cifsTconInfo *tcon, const char *fileName, __u64 size, int SetAllocation, const struct nls_table *nls_codepage, int remap) argument
4470 CIFSSMBSetFileSize(const int xid, struct cifsTconInfo *tcon, __u64 size, __u16 fid, __u32 pid_of_opener, int SetAllocation) argument
4564 CIFSSMBSetFileTimes(const int xid, struct cifsTconInfo *tcon, const FILE_BASIC_INFO * data, __u16 fid) argument
4637 CIFSSMBSetTimes(const int xid, struct cifsTconInfo *tcon, const char *fileName, const FILE_BASIC_INFO * data, const struct nls_table *nls_codepage, int remap) argument
4769 CIFSSMBUnixSetPerms(const int xid, struct cifsTconInfo *tcon, char *fileName, __u64 mode, __u64 uid, __u64 gid, dev_t device, const struct nls_table *nls_codepage, int remap) argument
4877 CIFSSMBNotify(const int xid, struct cifsTconInfo *tcon, const int notify_subdirs, const __u16 netfid, __u32 filter, struct file * pfile, int multishot, const struct nls_table *nls_codepage) argument
4950 CIFSSMBQAllEAs(const int xid, struct cifsTconInfo *tcon, const unsigned char *searchName, char * EAData, size_t buf_size, const struct nls_table *nls_codepage, int remap) argument
5094 CIFSSMBQueryEA(const int xid,struct cifsTconInfo * tcon, const unsigned char * searchName,const unsigned char * ea_name, unsigned char * ea_value, size_t buf_size, const struct nls_table *nls_codepage, int remap) argument
5242 CIFSSMBSetEA(const int xid, struct cifsTconInfo *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) argument
[all...]
H A Dcifs_fs_sb.h35 struct cifsTconInfo *tcon; /* primary mount */ member in struct:cifs_sb_info
H A Dcifsglob.h302 struct list_head tlist; /* pointer to next fid owned by tcon */
362 static inline void cifs_stats_bytes_written(struct cifsTconInfo *tcon, argument
366 spin_lock(&tcon->stat_lock);
367 tcon->bytes_written += bytes;
368 spin_unlock(&tcon->stat_lock);
372 static inline void cifs_stats_bytes_read(struct cifsTconInfo *tcon, argument
375 spin_lock(&tcon->stat_lock);
376 tcon->bytes_read += bytes;
377 spin_unlock(&tcon->stat_lock);
382 #define cifs_stats_bytes_written(tcon, byte
411 struct cifsTconInfo * tcon; member in struct:oplock_q_entry
[all...]
H A Dcifsfs.c121 /* if (cifs_sb->tcon->ses->server->maxBuf > MAX_CIFS_HDR_SIZE + 512)
122 sb->s_blocksize = cifs_sb->tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE; */
191 pTcon = cifs_sb->tcon;
223 /* BB get from info in tcon struct at mount time call to QFSAttrInfo */
296 if (cifs_sb->tcon) {
298 seq_printf(s, ",unc=%s", cifs_sb->tcon->treeName);
299 if (cifs_sb->tcon->ses) {
300 if (cifs_sb->tcon->ses->userName)
302 cifs_sb->tcon->ses->userName);
303 if (cifs_sb->tcon
429 struct cifsTconInfo * tcon; local
[all...]
H A Dlink.c46 pTcon = cifs_sb_target->tcon;
58 if (cifs_sb_target->tcon->ses->capabilities & CAP_UNIX)
125 pTcon = cifs_sb->tcon;
175 pTcon = cifs_sb->tcon;
188 if (cifs_sb->tcon->ses->capabilities & CAP_UNIX)
238 pTcon = cifs_sb->tcon;
266 if (cifs_sb->tcon->ses->capabilities & CAP_UNIX)
H A Dreaddir.c71 pTcon = cifs_sb->tcon;
112 static void AdjustForTZ(struct cifsTconInfo * tcon, struct inode * inode) argument
114 if ((tcon) && (tcon->ses) && (tcon->ses->server)) {
115 inode->i_ctime.tv_sec += tcon->ses->server->timeAdj;
116 inode->i_mtime.tv_sec += tcon->ses->server->timeAdj;
117 inode->i_atime.tv_sec += tcon->ses->server->timeAdj;
165 AdjustForTZ(cifs_sb->tcon, tmp_inode);
263 if ((cifs_sb->tcon)
[all...]
H A Dconnect.c122 struct cifsTconInfo *tcon; local
152 tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList);
153 if((tcon) && (tcon->ses) && (tcon->ses->server == server)) {
154 tcon->tidStatus = CifsNeedReconnect;
1305 struct cifsTconInfo *tcon; local
1309 cFYI(1, ("Next tcon"));
1310 tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList);
1311 if (tcon
1619 reset_cifs_unix_caps(int xid, struct cifsTconInfo * tcon, struct super_block * sb, struct smb_vol * vol_info) argument
1708 struct cifsTconInfo *tcon = NULL; local
3163 CIFSTCon(unsigned int xid, struct cifsSesInfo *ses, const char *tree, struct cifsTconInfo *tcon, const struct nls_table *nls_codepage) argument
[all...]
H A Dfcntl.c85 pTcon = cifs_sb->tcon;
H A Dxattr.c63 pTcon = cifs_sb->tcon;
115 pTcon = cifs_sb->tcon;
220 pTcon = cifs_sb->tcon;
335 pTcon = cifs_sb->tcon;
H A Dmisc.c354 cFYI(1,("Multiuser mode and UID did not match tcon uid"));
501 struct cifsTconInfo *tcon; local
553 /* look up tcon based on tid & uid */
556 tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList);
557 if ((tcon->tid == buf->Tid) && (srv == tcon->ses->server)) {
558 cifs_stats_inc(&tcon->num_oplock_brks);
559 list_for_each(tmp1,&tcon->openFileList){
575 tcon);
H A Dtransport.c113 AllocOplockQEntry(struct inode * pinode, __u16 fid, struct cifsTconInfo * tcon) argument
116 if ((pinode== NULL) || (tcon == NULL)) {
126 temp->tcon = tcon;
775 send_nt_cancel(struct cifsTconInfo *tcon, struct smb_hdr *in_buf, argument
779 struct cifsSesInfo *ses = tcon->ses;
782 header_assemble(in_buf, SMB_COM_NT_CANCEL, tcon, 0);
800 send_lock_cancel(const unsigned int xid, struct cifsTconInfo *tcon, argument
805 struct cifsSesInfo *ses = tcon->ses;
822 SendReceiveBlockingLock(const unsigned int xid, struct cifsTconInfo *tcon, argument
[all...]
H A Ddir.c148 pTcon = cifs_sb->tcon;
190 if (cifs_sb->tcon->ses->capabilities & CAP_NT_SMBS)
210 if ((cifs_sb->tcon->ses->capabilities & CAP_UNIX) &&
334 pTcon = cifs_sb->tcon;
457 pTcon = cifs_sb->tcon;
H A Dfile.c177 pTcon = cifs_sb->tcon;
265 if (cifs_sb->tcon->ses->capabilities & CAP_NT_SMBS)
306 if (cifs_sb->tcon->ses->capabilities & CAP_UNIX) {
383 pTcon = cifs_sb->tcon;
479 pTcon = cifs_sb->tcon;
559 pTcon = cifs_sb->tcon;
671 pTcon = cifs_sb->tcon;
679 posix_locking = (cifs_sb->tcon->ses->capabilities & CAP_UNIX) &&
680 (CIFS_UNIX_FCNTL_CAP & le64_to_cpu(cifs_sb->tcon->fsUnixInfo.Capability));
799 pTcon = cifs_sb->tcon;
[all...]
H A Dinode.c42 pTcon = cifs_sb->tcon;
225 struct cifsTconInfo *pTcon = cifs_sb->tcon;
302 rc = CIFSSMBQueryEA(xid, cifs_sb->tcon, path, "SETFILEBITS",
336 pTcon = cifs_sb->tcon;
359 failed at least once - set flag in tcon or mount */
587 if (cifs_sb->tcon->ses->capabilities & CAP_UNIX)
613 pTcon = cifs_sb->tcon;
834 if((cifs_sb->tcon) && (cifs_sb->tcon->ses) &&
835 (cifs_sb->tcon
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-s3c24xx/
H A Dtime.c159 unsigned long tcon; local
168 tcon = __raw_readl(S3C2410_TCON);
221 printk("timer tcon=%08lx, tcnt %04lx, tcfg %08lx,%08lx, usec %08lx\n",
222 tcon, tcnt, tcfg0, tcfg1, timer_usec_ticks);
238 tcon &= ~(7<<20);
239 tcon |= S3C2410_TCON_T4RELOAD;
240 tcon |= S3C2410_TCON_T4MANUALUPD;
242 __raw_writel(tcon, S3C2410_TCON);
247 tcon |= S3C2410_TCON_T4START;
248 tcon
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/
H A Dselinuxfs.c490 char *scon, *tcon; local
506 tcon = kzalloc(size+1, GFP_KERNEL);
507 if (!tcon)
511 if (sscanf(buf, "%s %s %hu %x", scon, tcon, &tclass, &req) != 4)
517 length = security_context_to_sid(tcon, strlen(tcon)+1, &tsid);
531 kfree(tcon);
539 char *scon, *tcon; local
555 tcon = kzalloc(size+1, GFP_KERNEL);
556 if (!tcon)
598 char *scon, *tcon; local
716 char *scon, *tcon; local
[all...]

Completed in 156 milliseconds