tag | line | file | source code |
finfo | 43 | fs/smbfs/dir.c | smb_iget(struct inode *dir, char *path, struct smb_dirent *finfo); |
finfo | 344 | fs/smbfs/dir.c | char *parentname = SMB_INOP(dir)->finfo.path; |
finfo | 345 | fs/smbfs/dir.c | int parentlen = SMB_INOP(dir)->finfo.len; |
finfo | 462 | fs/smbfs/dir.c | smb_iget(struct inode *dir, char *path, struct smb_dirent *finfo) |
finfo | 482 | fs/smbfs/dir.c | if (!finfo) { |
finfo | 489 | fs/smbfs/dir.c | finfo = &newent; |
finfo | 491 | fs/smbfs/dir.c | DPRINTK("smb_iget: finfo->attr = 0x%X\n", finfo->attr); |
finfo | 506 | fs/smbfs/dir.c | new_inode_info->finfo = *finfo; |
finfo | 507 | fs/smbfs/dir.c | new_inode_info->finfo.opened = 0; |
finfo | 508 | fs/smbfs/dir.c | new_inode_info->finfo.path = path; |
finfo | 509 | fs/smbfs/dir.c | new_inode_info->finfo.len = len; |
finfo | 547 | fs/smbfs/dir.c | smb_kfree_s(i->finfo.path, i->finfo.len+1); |
finfo | 563 | fs/smbfs/dir.c | root->finfo.path = server->m.root_path; |
finfo | 564 | fs/smbfs/dir.c | root->finfo.len = strlen(root->finfo.path); |
finfo | 565 | fs/smbfs/dir.c | root->finfo.opened = 0; |
finfo | 572 | fs/smbfs/dir.c | if (root->finfo.len == 0) { |
finfo | 573 | fs/smbfs/dir.c | result = smb_proc_getattr(server, "\\", 1, &(root->finfo)); |
finfo | 578 | fs/smbfs/dir.c | root->finfo.path, root->finfo.len, |
finfo | 579 | fs/smbfs/dir.c | &(root->finfo)); |
finfo | 617 | fs/smbfs/dir.c | ino->finfo.opened = 0; |
finfo | 638 | fs/smbfs/dir.c | if (strcmp(result->finfo.path, path) == 0) |
finfo | 653 | fs/smbfs/dir.c | struct smb_dirent finfo; |
finfo | 725 | fs/smbfs/dir.c | finfo = c_entry[i]; |
finfo | 726 | fs/smbfs/dir.c | finfo.path = NULL; /* It's not ours! */ |
finfo | 736 | fs/smbfs/dir.c | error = smb_proc_getattr(SMB_SERVER(dir), name, len, &finfo); |
finfo | 744 | fs/smbfs/dir.c | if (!(*result = smb_iget(dir, name, &finfo))) { |
finfo | 43 | fs/smbfs/file.c | dirent = &(SMB_INOP(i)->finfo); |
finfo | 97 | fs/smbfs/inode.c | if (SMB_INOP(inode)->finfo.attr & aDIR) |
finfo | 107 | fs/smbfs/inode.c | inode->i_size = SMB_INOP(inode)->finfo.size; |
finfo | 116 | fs/smbfs/inode.c | inode->i_mtime = SMB_INOP(inode)->finfo.mtime; |
finfo | 117 | fs/smbfs/inode.c | inode->i_ctime = SMB_INOP(inode)->finfo.ctime; |
finfo | 118 | fs/smbfs/inode.c | inode->i_atime = SMB_INOP(inode)->finfo.atime; |
finfo | 132 | fs/smbfs/inode.c | struct smb_dirent *finfo = SMB_FINFO(inode); |
finfo | 134 | fs/smbfs/inode.c | if (finfo->opened != 0) { |
finfo | 137 | fs/smbfs/inode.c | finfo->mtime = inode->i_mtime; |
finfo | 139 | fs/smbfs/inode.c | if (smb_proc_close(SMB_SERVER(inode), finfo)) { |
finfo | 368 | fs/smbfs/inode.c | struct smb_dirent finfo; |
finfo | 370 | fs/smbfs/inode.c | finfo.attr = 0; |
finfo | 373 | fs/smbfs/inode.c | finfo.ctime = attr->ia_ctime; |
finfo | 375 | fs/smbfs/inode.c | finfo.ctime = inode->i_ctime; |
finfo | 378 | fs/smbfs/inode.c | finfo.mtime = attr->ia_mtime; |
finfo | 380 | fs/smbfs/inode.c | finfo.mtime = inode->i_mtime; |
finfo | 383 | fs/smbfs/inode.c | finfo.atime = attr->ia_atime; |
finfo | 385 | fs/smbfs/inode.c | finfo.atime = inode->i_atime; |
finfo | 388 | fs/smbfs/inode.c | inode, &finfo)) >= 0) { |
finfo | 389 | fs/smbfs/inode.c | inode->i_ctime = finfo.ctime; |
finfo | 390 | fs/smbfs/inode.c | inode->i_mtime = finfo.mtime; |
finfo | 391 | fs/smbfs/inode.c | inode->i_atime = finfo.atime; |
finfo | 607 | fs/smbfs/proc.c | smb_proc_close(struct smb_server *server, struct smb_dirent *finfo) |
finfo | 612 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 613 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, utc2local(finfo->mtime)); |
finfo | 625 | fs/smbfs/proc.c | smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 634 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 660 | fs/smbfs/proc.c | smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 668 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 993 | fs/smbfs/proc.c | smb_decode_long_dirent(char *p, struct smb_dirent *finfo, int level) |
finfo | 997 | fs/smbfs/proc.c | if (finfo) { |
finfo | 1000 | fs/smbfs/proc.c | finfo->ctime = finfo->mtime = finfo->atime = 0; |
finfo | 1006 | fs/smbfs/proc.c | if (finfo) |
finfo | 1009 | fs/smbfs/proc.c | strcpy(finfo->path,p+27); |
finfo | 1010 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1011 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1012 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1014 | fs/smbfs/proc.c | finfo->ctime = date_dos2unix(WVAL(p, 6), WVAL(p, 4)); |
finfo | 1015 | fs/smbfs/proc.c | finfo->atime = date_dos2unix(WVAL(p, 10), WVAL(p, 8)); |
finfo | 1016 | fs/smbfs/proc.c | finfo->mtime = date_dos2unix(WVAL(p, 14), WVAL(p, 12)); |
finfo | 1022 | fs/smbfs/proc.c | if (finfo) |
finfo | 1024 | fs/smbfs/proc.c | strcpy(finfo->path,p+31); |
finfo | 1025 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1026 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1027 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1029 | fs/smbfs/proc.c | finfo->atime = make_unix_date2(p+8); |
finfo | 1030 | fs/smbfs/proc.c | finfo->mtime = make_unix_date2(p+12); |
finfo | 1038 | fs/smbfs/proc.c | if (finfo) |
finfo | 1050 | fs/smbfs/proc.c | finfo->size = DVAL(p,0); |
finfo | 1053 | fs/smbfs/proc.c | finfo->attr = BVAL(p,0); |
finfo | 1060 | fs/smbfs/proc.c | strncpy(finfo->path,p,namelen); |
finfo | 1061 | fs/smbfs/proc.c | finfo->len = namelen; |
finfo | 1466 | fs/smbfs/proc.c | struct smb_dirent *finfo = SMB_FINFO(inode); |
finfo | 1472 | fs/smbfs/proc.c | return smb_proc_setattrE(server, finfo->fileid, new_finfo); |
finfo | 1474 | fs/smbfs/proc.c | return smb_proc_setattr_core(server, finfo->path, finfo->len, |
finfo | 48 | include/linux/smb_fs.h | #define SMB_FINFO(inode) (&(SMB_INOP(inode)->finfo)) |
finfo | 128 | include/linux/smb_fs.h | int smb_proc_close(struct smb_server *server, struct smb_dirent *finfo); |
finfo | 129 | include/linux/smb_fs.h | int smb_proc_read(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 | 30 | include/linux/smb_fs_i.h | struct smb_dirent finfo; |