Searched refs:newdent (Results 1 – 2 of 2) sorted by relevance
/fs/smbfs/ |
D | cache.c | 127 struct dentry *newdent, *dentry = filp->f_path.dentry; in smb_fill_cache() local 140 newdent = d_lookup(dentry, qname); in smb_fill_cache() 142 if (!newdent) { in smb_fill_cache() 143 newdent = d_alloc(dentry, qname); in smb_fill_cache() 144 if (!newdent) in smb_fill_cache() 148 memcpy((char *) newdent->d_name.name, qname->name, in smb_fill_cache() 149 newdent->d_name.len); in smb_fill_cache() 152 if (!newdent->d_inode) { in smb_fill_cache() 153 smb_renew_times(newdent); in smb_fill_cache() 157 smb_new_dentry(newdent); in smb_fill_cache() [all …]
|
/fs/ncpfs/ |
D | dir.c | 557 struct dentry *newdent, *dentry = filp->f_path.dentry; in ncp_fill_cache() local 579 newdent = d_lookup(dentry, &qname); in ncp_fill_cache() 581 if (!newdent) { in ncp_fill_cache() 582 newdent = d_alloc(dentry, &qname); in ncp_fill_cache() 583 if (!newdent) in ncp_fill_cache() 587 memcpy((char *) newdent->d_name.name, qname.name, in ncp_fill_cache() 588 newdent->d_name.len); in ncp_fill_cache() 591 if (!newdent->d_inode) { in ncp_fill_cache() 596 newdent->d_op = &ncp_dentry_operations; in ncp_fill_cache() 597 d_instantiate(newdent, newino); in ncp_fill_cache() [all …]
|