tag | line | file | source code |
finfo | 43 | fs/smbfs/dir.c | smb_iget(struct inode *dir, char *path, struct smb_dirent *finfo); |
finfo | 350 | fs/smbfs/dir.c | char *parentname = SMB_INOP(dir)->finfo.path; |
finfo | 351 | fs/smbfs/dir.c | int parentlen = SMB_INOP(dir)->finfo.len; |
finfo | 468 | fs/smbfs/dir.c | smb_iget(struct inode *dir, char *path, struct smb_dirent *finfo) |
finfo | 488 | fs/smbfs/dir.c | if (!finfo) { |
finfo | 495 | fs/smbfs/dir.c | finfo = &newent; |
finfo | 497 | fs/smbfs/dir.c | DPRINTK("smb_iget: finfo->attr = 0x%X\n", finfo->attr); |
finfo | 512 | fs/smbfs/dir.c | new_inode_info->finfo = *finfo; |
finfo | 513 | fs/smbfs/dir.c | new_inode_info->finfo.opened = 0; |
finfo | 514 | fs/smbfs/dir.c | new_inode_info->finfo.path = path; |
finfo | 515 | fs/smbfs/dir.c | new_inode_info->finfo.len = len; |
finfo | 553 | fs/smbfs/dir.c | smb_kfree_s(i->finfo.path, i->finfo.len+1); |
finfo | 568 | fs/smbfs/dir.c | root->finfo.path = server->m.root_path; |
finfo | 569 | fs/smbfs/dir.c | root->finfo.len = strlen(root->finfo.path); |
finfo | 570 | fs/smbfs/dir.c | root->finfo.opened = 0; |
finfo | 585 | fs/smbfs/dir.c | if (root->finfo.len == 0) { |
finfo | 586 | fs/smbfs/dir.c | result = smb_proc_getattr(server, "\\", 1, &(root->finfo)); |
finfo | 591 | fs/smbfs/dir.c | root->finfo.path, root->finfo.len, |
finfo | 592 | fs/smbfs/dir.c | &(root->finfo)); |
finfo | 630 | fs/smbfs/dir.c | ino->finfo.opened = 0; |
finfo | 651 | fs/smbfs/dir.c | if (strcmp(result->finfo.path, path) == 0) |
finfo | 666 | fs/smbfs/dir.c | struct smb_dirent finfo; |
finfo | 734 | fs/smbfs/dir.c | finfo = c_entry[i]; |
finfo | 735 | fs/smbfs/dir.c | finfo.path = NULL; /* It's not ours! */ |
finfo | 746 | fs/smbfs/dir.c | error = smb_proc_getattr(SMB_SERVER(dir), name, len, &finfo); |
finfo | 754 | fs/smbfs/dir.c | if (!(*result = smb_iget(dir, name, &finfo))) { |
finfo | 43 | fs/smbfs/file.c | dirent = &(SMB_INOP(i)->finfo); |
finfo | 96 | fs/smbfs/inode.c | if (SMB_INOP(inode)->finfo.attr & aDIR) |
finfo | 106 | fs/smbfs/inode.c | inode->i_size = SMB_INOP(inode)->finfo.size; |
finfo | 115 | fs/smbfs/inode.c | inode->i_mtime = SMB_INOP(inode)->finfo.mtime; |
finfo | 116 | fs/smbfs/inode.c | inode->i_ctime = SMB_INOP(inode)->finfo.ctime; |
finfo | 117 | fs/smbfs/inode.c | inode->i_atime = SMB_INOP(inode)->finfo.atime; |
finfo | 131 | fs/smbfs/inode.c | struct smb_dirent *finfo = SMB_FINFO(inode); |
finfo | 133 | fs/smbfs/inode.c | if (finfo->opened != 0) { |
finfo | 136 | fs/smbfs/inode.c | finfo->mtime = inode->i_mtime; |
finfo | 138 | fs/smbfs/inode.c | if (smb_proc_close(SMB_SERVER(inode), finfo)) { |
finfo | 374 | fs/smbfs/inode.c | struct smb_dirent finfo; |
finfo | 376 | fs/smbfs/inode.c | finfo.attr = 0; |
finfo | 379 | fs/smbfs/inode.c | finfo.ctime = attr->ia_ctime; |
finfo | 381 | fs/smbfs/inode.c | finfo.ctime = inode->i_ctime; |
finfo | 384 | fs/smbfs/inode.c | finfo.mtime = attr->ia_mtime; |
finfo | 386 | fs/smbfs/inode.c | finfo.mtime = inode->i_mtime; |
finfo | 389 | fs/smbfs/inode.c | finfo.atime = attr->ia_atime; |
finfo | 391 | fs/smbfs/inode.c | finfo.atime = inode->i_atime; |
finfo | 394 | fs/smbfs/inode.c | inode, &finfo)) >= 0) { |
finfo | 395 | fs/smbfs/inode.c | inode->i_ctime = finfo.ctime; |
finfo | 396 | fs/smbfs/inode.c | inode->i_mtime = finfo.mtime; |
finfo | 397 | fs/smbfs/inode.c | inode->i_atime = finfo.atime; |
finfo | 598 | fs/smbfs/proc.c | smb_proc_close(struct smb_server *server, struct smb_dirent *finfo) |
finfo | 603 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 604 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, utc2local(finfo->mtime)); |
finfo | 616 | fs/smbfs/proc.c | smb_proc_read(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 625 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 654 | fs/smbfs/proc.c | smb_proc_read_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 666 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 678 | fs/smbfs/proc.c | smb_proc_write(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 686 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 706 | fs/smbfs/proc.c | smb_proc_write_raw(struct smb_server *server, struct smb_dirent *finfo, |
finfo | 718 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, finfo->fileid); |
finfo | 1066 | fs/smbfs/proc.c | smb_decode_long_dirent(char *p, struct smb_dirent *finfo, int level) |
finfo | 1070 | fs/smbfs/proc.c | if (finfo) { |
finfo | 1073 | fs/smbfs/proc.c | finfo->ctime = finfo->mtime = finfo->atime = 0; |
finfo | 1079 | fs/smbfs/proc.c | if (finfo) |
finfo | 1082 | fs/smbfs/proc.c | strcpy(finfo->path,p+27); |
finfo | 1083 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1084 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1085 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1087 | fs/smbfs/proc.c | finfo->ctime = date_dos2unix(WVAL(p, 6), WVAL(p, 4)); |
finfo | 1088 | fs/smbfs/proc.c | finfo->atime = date_dos2unix(WVAL(p, 10), WVAL(p, 8)); |
finfo | 1089 | fs/smbfs/proc.c | finfo->mtime = date_dos2unix(WVAL(p, 14), WVAL(p, 12)); |
finfo | 1095 | fs/smbfs/proc.c | if (finfo) |
finfo | 1097 | fs/smbfs/proc.c | strcpy(finfo->path,p+31); |
finfo | 1098 | fs/smbfs/proc.c | finfo->len = strlen(finfo->path); |
finfo | 1099 | fs/smbfs/proc.c | finfo->size = DVAL(p,16); |
finfo | 1100 | fs/smbfs/proc.c | finfo->attr = BVAL(p,24); |
finfo | 1102 | fs/smbfs/proc.c | finfo->atime = make_unix_date2(p+8); |
finfo | 1103 | fs/smbfs/proc.c | finfo->mtime = make_unix_date2(p+12); |
finfo | 1111 | fs/smbfs/proc.c | if (finfo) |
finfo | 1123 | fs/smbfs/proc.c | finfo->size = DVAL(p,0); |
finfo | 1126 | fs/smbfs/proc.c | finfo->attr = BVAL(p,0); |
finfo | 1133 | fs/smbfs/proc.c | strncpy(finfo->path,p,namelen); |
finfo | 1134 | fs/smbfs/proc.c | finfo->len = namelen; |
finfo | 1539 | fs/smbfs/proc.c | struct smb_dirent *finfo = SMB_FINFO(inode); |
finfo | 1545 | fs/smbfs/proc.c | return smb_proc_setattrE(server, finfo->fileid, new_finfo); |
finfo | 1547 | 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; |