Searched refs:NCP_FINFO (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/fs/ncpfs/ |
D | file.c | 45 atomic_read(&NCP_FINFO(inode)->opened), in ncp_make_open() 46 NCP_FINFO(inode)->volNumber, in ncp_make_open() 47 NCP_FINFO(inode)->dirEntNum); in ncp_make_open() 49 down(&NCP_FINFO(inode)->open_sem); in ncp_make_open() 50 if (!atomic_read(&NCP_FINFO(inode)->opened)) { in ncp_make_open() 54 finfo.i.dirEntNum = NCP_FINFO(inode)->dirEntNum; in ncp_make_open() 55 finfo.i.volNumber = NCP_FINFO(inode)->volNumber; in ncp_make_open() 87 atomic_set(&NCP_FINFO(inode)->opened, 1); in ncp_make_open() 90 access = NCP_FINFO(inode)->access; in ncp_make_open() 93 atomic_inc(&NCP_FINFO(inode)->opened); in ncp_make_open() [all …]
|
D | inode.c | 58 NCP_FINFO(inode)->DosDirNum = nwinfo->i.DosDirNum; in ncp_update_inode() 59 NCP_FINFO(inode)->dirEntNum = nwinfo->i.dirEntNum; in ncp_update_inode() 60 NCP_FINFO(inode)->volNumber = nwinfo->i.volNumber; in ncp_update_inode() 63 NCP_FINFO(inode)->nwattr = nwinfo->i.attributes; in ncp_update_inode() 65 NCP_FINFO(inode)->access = nwinfo->access; in ncp_update_inode() 66 NCP_FINFO(inode)->server_file_handle = nwinfo->server_file_handle; in ncp_update_inode() 67 memcpy(NCP_FINFO(inode)->file_handle, nwinfo->file_handle, in ncp_update_inode() 70 nwinfo->i.entryName, NCP_FINFO(inode)->volNumber, in ncp_update_inode() 71 NCP_FINFO(inode)->dirEntNum); in ncp_update_inode() 79 if (!atomic_read(&NCP_FINFO(inode)->opened)) { in ncp_update_inode2() [all …]
|
D | ncplib_kernel.c | 218 down(&NCP_FINFO(inode)->open_sem); in ncp_make_closed() 219 if (atomic_read(&NCP_FINFO(inode)->opened) == 1) { in ncp_make_closed() 220 atomic_set(&NCP_FINFO(inode)->opened, 0); in ncp_make_closed() 221 err = ncp_close_file(NCP_SERVER(inode), NCP_FINFO(inode)->file_handle); in ncp_make_closed() 225 NCP_FINFO(inode)->volNumber, in ncp_make_closed() 226 NCP_FINFO(inode)->dirEntNum, err); in ncp_make_closed() 228 up(&NCP_FINFO(inode)->open_sem); in ncp_make_closed() 272 __u8 volnum = NCP_FINFO(dir)->volNumber; in ncp_obtain_info() 273 __u32 dirent = NCP_FINFO(dir)->dirEntNum; in ncp_obtain_info() 476 __u8 volnum = NCP_FINFO(dir)->volNumber; in ncp_modify_file_or_subdir_dos_info_path() [all …]
|
D | ioctl.c | 118 info.volume_number = NCP_FINFO(inode)->volNumber; in ncp_ioctl() 119 info.directory_id = NCP_FINFO(inode)->DosDirNum; in ncp_ioctl() 145 info2.volume_number = NCP_FINFO(inode)->volNumber; in ncp_ioctl() 146 info2.directory_id = NCP_FINFO(inode)->DosDirNum; in ncp_ioctl() 184 sr.volNumber = NCP_FINFO(inode)->volNumber; in ncp_ioctl() 185 sr.dirEntNum = NCP_FINFO(inode)->dirEntNum; in ncp_ioctl() 233 NCP_FINFO(inode)->volNumber = i.volNumber; in ncp_ioctl() 234 NCP_FINFO(inode)->dirEntNum = i.dirEntNum; in ncp_ioctl() 235 NCP_FINFO(inode)->DosDirNum = i.DosDirNum; in ncp_ioctl() 346 NCP_FINFO(inode)->file_handle, in ncp_ioctl() [all …]
|
D | symlink.c | 63 error=ncp_read_kernel(NCP_SERVER(inode),NCP_FINFO(inode)->file_handle, in ncp_symlink_readpage() 143 if(ncp_write_kernel(NCP_SERVER(inode), NCP_FINFO(inode)->file_handle, in ncp_symlink()
|
D | dir.c | 182 old_nwattr = NCP_FINFO(inode)->nwattr; in ncp_force_unlink() 211 __u32 old_nwattr = NCP_FINFO(old_inode)->nwattr; in ncp_force_rename() 225 new_nwattr = NCP_FINFO(new_dentry->d_inode)->nwattr; in ncp_force_rename() 313 if (finfo.i.dirEntNum == NCP_FINFO(dentry->d_inode)->dirEntNum) { in __ncp_lookup_validate() 686 dentry->d_name.name, NCP_FINFO(dir)->volNumber, in ncp_do_readdir() 687 NCP_FINFO(dir)->dirEntNum); in ncp_do_readdir() 731 NCP_FINFO(ino)->volNumber = i.volNumber; in ncp_conn_logged_in() 732 NCP_FINFO(ino)->dirEntNum = i.dirEntNum; in ncp_conn_logged_in() 733 NCP_FINFO(ino)->DosDirNum = i.DosDirNum; in ncp_conn_logged_in()
|
D | mmap.c | 64 NCP_FINFO(inode)->file_handle, in ncp_file_mmap_nopage()
|
D | ncplib_kernel.h | 61 atomic_dec(&NCP_FINFO(inode)->opened); in ncp_inode_close()
|
/linux-2.4.37.9/include/linux/ |
D | ncp_fs.h | 195 #define NCP_FINFO(inode) (&((inode)->u.ncpfs_i)) macro 264 #define ncp_namespace(i) (NCP_SERVER(i)->name_space[NCP_FINFO(i)->volNumber])
|