tag | line | file | source code |
finfo | 41 | fs/ncpfs/dir.c | ncp_iget(struct inode *dir, struct nw_file_info *finfo); |
finfo | 457 | fs/ncpfs/dir.c | ncp_iget(struct inode *dir, struct nw_file_info *finfo) |
finfo | 469 | fs/ncpfs/dir.c | if (finfo == NULL) |
finfo | 481 | fs/ncpfs/dir.c | finfo->i.entryName); |
finfo | 488 | fs/ncpfs/dir.c | new_inode_info->finfo = *finfo; |
finfo | 530 | fs/ncpfs/dir.c | i->finfo.i.entryName); |
finfo | 545 | fs/ncpfs/dir.c | struct nw_info_struct *i = &(root->finfo.i); |
finfo | 551 | fs/ncpfs/dir.c | root->finfo.opened = 0; |
finfo | 610 | fs/ncpfs/dir.c | if ( (result->dir->finfo.i.DosDirNum == dir_info->DosDirNum) |
finfo | 611 | fs/ncpfs/dir.c | && (strcmp(result->finfo.i.entryName, name) == 0)) |
finfo | 627 | fs/ncpfs/dir.c | struct nw_file_info finfo; |
finfo | 716 | fs/ncpfs/dir.c | finfo.i = c_entry[i].i; |
finfo | 740 | fs/ncpfs/dir.c | &(finfo.i)) != 0) |
finfo | 747 | fs/ncpfs/dir.c | finfo.opened = 0; |
finfo | 748 | fs/ncpfs/dir.c | str_lower(finfo.i.entryName); |
finfo | 750 | fs/ncpfs/dir.c | if (!(*result = ncp_iget(dir, &finfo))) |
finfo | 764 | fs/ncpfs/dir.c | struct nw_file_info finfo; |
finfo | 784 | fs/ncpfs/dir.c | &finfo) != 0) |
finfo | 792 | fs/ncpfs/dir.c | str_lower(finfo.i.entryName); |
finfo | 793 | fs/ncpfs/dir.c | finfo.access = O_RDWR; |
finfo | 795 | fs/ncpfs/dir.c | if (!(*result = ncp_iget(dir, &finfo)) < 0) |
finfo | 797 | fs/ncpfs/dir.c | ncp_close_file(NCP_SERVER(dir), finfo.file_handle); |
finfo | 35 | fs/ncpfs/file.c | struct nw_file_info *finfo; |
finfo | 43 | fs/ncpfs/file.c | finfo = NCP_FINFO(i); |
finfo | 45 | fs/ncpfs/file.c | DPRINTK("ncp_make_open: dirent->opened = %d\n", finfo->opened); |
finfo | 47 | fs/ncpfs/file.c | if (finfo->opened == 0) |
finfo | 54 | fs/ncpfs/file.c | finfo) == 0) |
finfo | 56 | fs/ncpfs/file.c | finfo->access = O_RDWR; |
finfo | 62 | fs/ncpfs/file.c | finfo) == 0) |
finfo | 64 | fs/ncpfs/file.c | finfo->access = O_RDONLY; |
finfo | 72 | fs/ncpfs/file.c | if ( ((right == O_RDONLY) && ( (finfo->access == O_RDONLY) |
finfo | 73 | fs/ncpfs/file.c | || (finfo->access == O_RDWR))) |
finfo | 74 | fs/ncpfs/file.c | || ((right == O_WRONLY) && ( (finfo->access == O_WRONLY) |
finfo | 75 | fs/ncpfs/file.c | || (finfo->access == O_RDWR))) |
finfo | 76 | fs/ncpfs/file.c | || ((right == O_RDWR) && (finfo->access == O_RDWR))) |
finfo | 91 | fs/ncpfs/inode.c | inode_info->finfo.i.entryName); |
finfo | 152 | fs/ncpfs/inode.c | struct nw_file_info *finfo = NCP_FINFO(inode); |
finfo | 154 | fs/ncpfs/inode.c | if (finfo->opened != 0) |
finfo | 156 | fs/ncpfs/inode.c | if (ncp_close_file(NCP_SERVER(inode), finfo->file_handle)!=0) |
finfo | 164 | fs/ncpfs/inode.c | finfo->i.entryName); |
finfo | 37 | fs/smbfs/dir.c | smb_iget(struct inode *dir, char *path, struct smb_dirent *finfo); |
finfo | 346 | fs/smbfs/dir.c | char *parentname = SMB_INOP(dir)->finfo.path; |
finfo | 347 | fs/smbfs/dir.c | int parentlen = SMB_INOP(dir)->finfo.len; |
finfo | 464 | fs/smbfs/dir.c | smb_iget(struct inode *dir, char *path, struct smb_dirent *finfo) |
finfo | 484 | fs/smbfs/dir.c | if (!finfo) { |
finfo | 491 | fs/smbfs/dir.c | finfo = &newent; |
finfo | 493 | fs/smbfs/dir.c | DPRINTK("smb_iget: finfo->attr = 0x%X\n", finfo->attr); |
finfo | 508 | fs/smbfs/dir.c | new_inode_info->finfo = *finfo; |
finfo | 509 | fs/smbfs/dir.c | new_inode_info->finfo.opened = 0; |
finfo | 510 | fs/smbfs/dir.c | new_inode_info->finfo.path = path; |
finfo | 511 | fs/smbfs/dir.c | new_inode_info->finfo.len = len; |
finfo | 549 | fs/smbfs/dir.c | smb_kfree_s(i->finfo.path, i->finfo.len+1); |
finfo | 564 | fs/smbfs/dir.c | root->finfo.path = server->m.root_path; |
finfo | 565 | fs/smbfs/dir.c | root->finfo.len = strlen(root->finfo.path); |
finfo | 566 | fs/smbfs/dir.c | root->finfo.opened = 0; |
finfo | 581 | fs/smbfs/dir.c | if (root->finfo.len == 0) { |
finfo | 582 | fs/smbfs/dir.c | result = smb_proc_getattr(server, "\\", 1, &(root->finfo)); |
finfo | 587 | fs/smbfs/dir.c | root->finfo.path, root->finfo.len, |
finfo | 588 | fs/smbfs/dir.c | &(root->finfo)); |
finfo | 626 | fs/smbfs/dir.c | ino->finfo.opened = 0; |
finfo | 647 | fs/smbfs/dir.c | if (strcmp(result->finfo.path, path) == 0) |
finfo | 662 | fs/smbfs/dir.c | struct smb_dirent finfo; |
finfo | 730 | fs/smbfs/dir.c | finfo = c_entry[i]; |
finfo | 731 | fs/smbfs/dir.c | finfo.path = NULL; /* It's not ours! */ |
finfo | 742 | fs/smbfs/dir.c | error = smb_proc_getattr(SMB_SERVER(dir), name, len, &finfo); |
finfo | 750 | fs/smbfs/dir.c | if (!(*result = smb_iget(dir, name, &finfo))) { |
finfo | 42 | fs/smbfs/file.c | dirent = &(SMB_INOP(i)->finfo); |
finfo | 89 | fs/smbfs/inode.c | if (SMB_INOP(inode)->finfo.attr & aDIR) |
finfo | 99 | fs/smbfs/inode.c | inode->i_size = SMB_INOP(inode)->finfo.size; |
finfo | 108 | fs/smbfs/inode.c | inode->i_mtime = SMB_INOP(inode)->finfo.mtime; |
finfo | 109 | fs/smbfs/inode.c | inode->i_ctime = SMB_INOP(inode)->finfo.ctime; |
finfo | 110 | fs/smbfs/inode.c | inode->i_atime = SMB_INOP(inode)->finfo.atime; |
finfo | 124 | fs/smbfs/inode.c | struct smb_dirent *finfo = SMB_FINFO(inode); |
finfo | 126 | fs/smbfs/inode.c | if (finfo->opened != 0) { |
finfo | 129 | fs/smbfs/inode.c | finfo->mtime = inode->i_mtime; |
finfo | 131 | fs/smbfs/inode.c | if (smb_proc_close(SMB_SERVER(inode), finfo)) { |
finfo | 367 | fs/smbfs/inode.c | struct smb_dirent finfo; |
finfo | 369 | fs/smbfs/inode.c | finfo.attr = 0; |
finfo | 372 | fs/smbfs/inode.c | finfo.ctime = attr->ia_ctime; |
finfo | 374 | fs/smbfs/inode.c | finfo.ctime = inode->i_ctime; |
finfo | 377 | fs/smbfs/inode.c | finfo.mtime = attr->ia_mtime; |
finfo | 379 | fs/smbfs/inode.c | finfo.mtime = inode->i_mtime; |
finfo | 382 | fs/smbfs/inode.c | finfo.atime = attr->ia_atime; |
finfo | 384 | fs/smbfs/inode.c | finfo.atime = inode->i_atime; |
finfo | 387 | fs/smbfs/inode.c | inode, &finfo)) >= 0) { |
finfo | 388 | fs/smbfs/inode.c | inode->i_ctime = finfo.ctime; |
finfo | 389 | fs/smbfs/inode.c | inode->i_mtime = finfo.mtime; |
finfo | 390 | fs/smbfs/inode.c | inode->i_atime = finfo.atime; |
finfo | 596 | fs/smbfs/proc.c | smb_proc_close(struct smb_server *server, struct smb_dirent *finfo) |
finfo | 601 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 602 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, utc2local(finfo->mtime)); |
finfo | 614 | fs/smbfs/proc.c | smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 623 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 652 | fs/smbfs/proc.c | smb_proc_read_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 664 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 676 | fs/smbfs/proc.c | smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 684 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 704 | fs/smbfs/proc.c | smb_proc_write_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 716 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 1064 | fs/smbfs/proc.c | smb_decode_long_dirent(char *p, struct smb_dirent *finfo, int level) |
finfo | 1068 | fs/smbfs/proc.c | if (finfo) { |
finfo | 1071 | fs/smbfs/proc.c | finfo->ctime = finfo->mtime = finfo->atime = 0; |
finfo | 1077 | fs/smbfs/proc.c | if (finfo) |
finfo | 1080 | fs/smbfs/proc.c | strcpy(finfo->path,p+27); |
finfo | 1081 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1082 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1083 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1085 | fs/smbfs/proc.c | finfo->ctime = date_dos2unix(WVAL(p, 6), WVAL(p, 4)); |
finfo | 1086 | fs/smbfs/proc.c | finfo->atime = date_dos2unix(WVAL(p, 10), WVAL(p, 8)); |
finfo | 1087 | fs/smbfs/proc.c | finfo->mtime = date_dos2unix(WVAL(p, 14), WVAL(p, 12)); |
finfo | 1093 | fs/smbfs/proc.c | if (finfo) |
finfo | 1095 | fs/smbfs/proc.c | strcpy(finfo->path,p+31); |
finfo | 1096 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1097 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1098 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1100 | fs/smbfs/proc.c | finfo->atime = make_unix_date2(p+8); |
finfo | 1101 | fs/smbfs/proc.c | finfo->mtime = make_unix_date2(p+12); |
finfo | 1109 | fs/smbfs/proc.c | if (finfo) |
finfo | 1121 | fs/smbfs/proc.c | finfo->size = DVAL(p,0); |
finfo | 1124 | fs/smbfs/proc.c | finfo->attr = BVAL(p,0); |
finfo | 1131 | fs/smbfs/proc.c | strncpy(finfo->path,p,namelen); |
finfo | 1132 | fs/smbfs/proc.c | finfo->len = namelen; |
finfo | 1538 | fs/smbfs/proc.c | struct smb_dirent *finfo = SMB_FINFO(inode); |
finfo | 1544 | fs/smbfs/proc.c | return smb_proc_setattrE(server, finfo->fileid, new_finfo); |
finfo | 1546 | fs/smbfs/proc.c | return smb_proc_setattr_core(server, finfo->path, finfo->len, |
finfo | 75 | include/linux/ncp_fs.h | #define NCP_FINFO(inode) (&(NCP_INOP(inode)->finfo)) |
finfo | 31 | include/linux/ncp_fs_i.h | struct nw_file_info finfo; |
finfo | 48 | include/linux/smb_fs.h | #define SMB_FINFO(inode) (&(SMB_INOP(inode)->finfo)) |
finfo | 126 | include/linux/smb_fs.h | int smb_proc_close(struct smb_server *server, struct smb_dirent *finfo); |
finfo | 127 | include/linux/smb_fs.h | int smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 129 | include/linux/smb_fs.h | int smb_proc_read_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 131 | include/linux/smb_fs.h | int smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 133 | include/linux/smb_fs.h | int smb_proc_write_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 30 | include/linux/smb_fs_i.h | struct smb_dirent finfo; |