tag | line | file | source code |
finfo | 37 | 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 | 562 | fs/smbfs/dir.c | root->finfo.path = server->m.root_path; |
finfo | 563 | fs/smbfs/dir.c | root->finfo.len = strlen(root->finfo.path); |
finfo | 564 | fs/smbfs/dir.c | root->finfo.opened = 0; |
finfo | 579 | fs/smbfs/dir.c | if (root->finfo.len == 0) { |
finfo | 580 | fs/smbfs/dir.c | result = smb_proc_getattr(server, "\\", 1, &(root->finfo)); |
finfo | 585 | fs/smbfs/dir.c | root->finfo.path, root->finfo.len, |
finfo | 586 | fs/smbfs/dir.c | &(root->finfo)); |
finfo | 624 | fs/smbfs/dir.c | ino->finfo.opened = 0; |
finfo | 645 | fs/smbfs/dir.c | if (strcmp(result->finfo.path, path) == 0) |
finfo | 660 | fs/smbfs/dir.c | struct smb_dirent finfo; |
finfo | 728 | fs/smbfs/dir.c | finfo = c_entry[i]; |
finfo | 729 | fs/smbfs/dir.c | finfo.path = NULL; /* It's not ours! */ |
finfo | 740 | fs/smbfs/dir.c | error = smb_proc_getattr(SMB_SERVER(dir), name, len, &finfo); |
finfo | 748 | fs/smbfs/dir.c | if (!(*result = smb_iget(dir, name, &finfo))) { |
finfo | 37 | 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 | 591 | fs/smbfs/proc.c | smb_proc_close(struct smb_server *server, struct smb_dirent *finfo) |
finfo | 596 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 597 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, utc2local(finfo->mtime)); |
finfo | 609 | fs/smbfs/proc.c | smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 618 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 647 | fs/smbfs/proc.c | smb_proc_read_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 659 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 671 | fs/smbfs/proc.c | smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 679 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 699 | fs/smbfs/proc.c | smb_proc_write_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 711 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 1059 | fs/smbfs/proc.c | smb_decode_long_dirent(char *p, struct smb_dirent *finfo, int level) |
finfo | 1063 | fs/smbfs/proc.c | if (finfo) { |
finfo | 1066 | fs/smbfs/proc.c | finfo->ctime = finfo->mtime = finfo->atime = 0; |
finfo | 1072 | fs/smbfs/proc.c | if (finfo) |
finfo | 1075 | fs/smbfs/proc.c | strcpy(finfo->path,p+27); |
finfo | 1076 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1077 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1078 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1080 | fs/smbfs/proc.c | finfo->ctime = date_dos2unix(WVAL(p, 6), WVAL(p, 4)); |
finfo | 1081 | fs/smbfs/proc.c | finfo->atime = date_dos2unix(WVAL(p, 10), WVAL(p, 8)); |
finfo | 1082 | fs/smbfs/proc.c | finfo->mtime = date_dos2unix(WVAL(p, 14), WVAL(p, 12)); |
finfo | 1088 | fs/smbfs/proc.c | if (finfo) |
finfo | 1090 | fs/smbfs/proc.c | strcpy(finfo->path,p+31); |
finfo | 1091 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1092 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1093 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1095 | fs/smbfs/proc.c | finfo->atime = make_unix_date2(p+8); |
finfo | 1096 | fs/smbfs/proc.c | finfo->mtime = make_unix_date2(p+12); |
finfo | 1104 | fs/smbfs/proc.c | if (finfo) |
finfo | 1116 | fs/smbfs/proc.c | finfo->size = DVAL(p,0); |
finfo | 1119 | fs/smbfs/proc.c | finfo->attr = BVAL(p,0); |
finfo | 1126 | fs/smbfs/proc.c | strncpy(finfo->path,p,namelen); |
finfo | 1127 | fs/smbfs/proc.c | finfo->len = namelen; |
finfo | 1532 | fs/smbfs/proc.c | struct smb_dirent *finfo = SMB_FINFO(inode); |
finfo | 1538 | fs/smbfs/proc.c | return smb_proc_setattrE(server, finfo->fileid, new_finfo); |
finfo | 1540 | 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 | 130 | include/linux/smb_fs.h | int smb_proc_close(struct smb_server *server, struct smb_dirent *finfo); |
finfo | 131 | include/linux/smb_fs.h | int smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 133 | include/linux/smb_fs.h | int smb_proc_read_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 135 | include/linux/smb_fs.h | int smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 137 | 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; |