Searched refs:NCP_FINFO (Results 1 - 9 of 9) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ncpfs/
H A Dfile.c45 atomic_read(&NCP_FINFO(inode)->opened),
46 NCP_FINFO(inode)->volNumber,
47 NCP_FINFO(inode)->dirEntNum);
49 mutex_lock(&NCP_FINFO(inode)->open_mutex);
50 if (!atomic_read(&NCP_FINFO(inode)->opened)) {
85 atomic_set(&NCP_FINFO(inode)->opened, 1);
88 access = NCP_FINFO(inode)->access;
91 atomic_inc(&NCP_FINFO(inode)->opened);
96 mutex_unlock(&NCP_FINFO(inode)->open_mutex);
154 NCP_FINFO(inod
[all...]
H A Dsymlink.c59 error=ncp_read_kernel(NCP_SERVER(inode),NCP_FINFO(inode)->file_handle,
68 if (NCP_FINFO(inode)->flags & NCPI_KLUDGE_SYMLINK) {
119 if (ncp_is_nfs_extras(NCP_SERVER(dir), NCP_FINFO(dir)->volNumber))
166 if (ncp_write_kernel(NCP_SERVER(inode), NCP_FINFO(inode)->file_handle,
H A Dinode.c64 kmem_cache_free(ncp_inode_cachep, NCP_FINFO(inode));
115 NCP_FINFO(inode)->DosDirNum = nwinfo->i.DosDirNum;
116 NCP_FINFO(inode)->dirEntNum = nwinfo->i.dirEntNum;
117 NCP_FINFO(inode)->volNumber = nwinfo->volume;
123 NCP_FINFO(inode)->nwattr = nwinfo->i.attributes;
124 NCP_FINFO(inode)->access = nwinfo->access;
125 memcpy(NCP_FINFO(inode)->file_handle, nwinfo->file_handle,
128 nwinfo->i.entryName, NCP_FINFO(inode)->volNumber,
129 NCP_FINFO(inode)->dirEntNum);
173 NCP_FINFO(inod
[all...]
H A Dncplib_kernel.c292 mutex_lock(&NCP_FINFO(inode)->open_mutex);
293 if (atomic_read(&NCP_FINFO(inode)->opened) == 1) {
294 atomic_set(&NCP_FINFO(inode)->opened, 0);
295 err = ncp_close_file(NCP_SERVER(inode), NCP_FINFO(inode)->file_handle);
299 NCP_FINFO(inode)->volNumber,
300 NCP_FINFO(inode)->dirEntNum, err);
302 mutex_unlock(&NCP_FINFO(inode)->open_mutex);
423 __u8 volnum = NCP_FINFO(dir)->volNumber;
424 __le32 dirent = NCP_FINFO(dir)->dirEntNum;
644 __u8 volnum = NCP_FINFO(di
[all...]
H A Dioctl.c59 info.volume_number = NCP_FINFO(inode)->volNumber;
60 info.directory_id = NCP_FINFO(inode)->DosDirNum;
88 info2.volume_number = NCP_FINFO(inode)->volNumber;
89 info2.directory_id = NCP_FINFO(inode)->DosDirNum;
159 info2.volume_number = NCP_FINFO(inode)->volNumber;
160 info2.directory_id = NCP_FINFO(inode)->DosDirNum;
392 sr.volNumber = NCP_FINFO(s_inode)->volNumber;
393 sr.dirEntNum = NCP_FINFO(s_inode)->dirEntNum;
443 NCP_FINFO(s_inode)->volNumber = vnum;
444 NCP_FINFO(s_inod
[all...]
H A Dmmap.c62 NCP_FINFO(inode)->file_handle,
H A Ddir.c187 old_nwattr = NCP_FINFO(inode)->nwattr;
216 __le32 old_nwattr = NCP_FINFO(old_inode)->nwattr;
230 new_nwattr = NCP_FINFO(new_dentry->d_inode)->nwattr;
323 if (finfo.i.dirEntNum == NCP_FINFO(dentry->d_inode)->dirEntNum) {
702 dentry->d_name.name, NCP_FINFO(dir)->volNumber,
703 NCP_FINFO(dir)->dirEntNum);
778 NCP_FINFO(ino)->volNumber = volNumber;
779 NCP_FINFO(ino)->dirEntNum = dirEntNum;
780 NCP_FINFO(ino)->DosDirNum = DosDirNum;
1177 if (ncp_is_nfs_extras(NCP_SERVER(dir), NCP_FINFO(di
[all...]
H A Dncplib_kernel.h65 atomic_dec(&NCP_FINFO(inode)->opened);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dncp_fs.h193 static inline struct ncp_inode_info *NCP_FINFO(struct inode *inode) function
244 #define ncp_namespace(i) (NCP_SERVER(i)->name_space[NCP_FINFO(i)->volNumber])

Completed in 87 milliseconds