Home
last modified time | relevance | path

Searched refs:d_name (Results 1 – 25 of 117) sorted by relevance

12345

/fs/affs/
Dnamei.c141 const u8 *name = dentry->d_name.name; in affs_match()
142 int len = dentry->d_name.len; in affs_match()
178 pr_debug("AFFS: find_entry(\"%.*s\")\n", (int)dentry->d_name.len, dentry->d_name.name); in affs_find_entry()
184 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry()
206 pr_debug("AFFS: lookup(\"%.*s\")\n",(int)dentry->d_name.len,dentry->d_name.name); in affs_lookup()
239 (int)dentry->d_name.len, dentry->d_name.name); in affs_unlink()
251 pr_debug("AFFS: create(%lu,\"%.*s\",0%o)\n",dir->i_ino,(int)dentry->d_name.len, in affs_create()
252 dentry->d_name.name,mode); in affs_create()
281 (int)dentry->d_name.len,dentry->d_name.name,mode); in affs_mkdir()
308 (int)dentry->d_name.len, dentry->d_name.name); in affs_rmdir()
[all …]
/fs/ncpfs/
Ddir.c300 dentry->d_parent->d_name.name, dentry->d_name.name, in __ncp_lookup_validate()
305 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in __ncp_lookup_validate()
306 dentry->d_name.len, 1); in __ncp_lookup_validate()
310 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in __ncp_lookup_validate()
311 dentry->d_name.len, !ncp_preserve_case(dir)); in __ncp_lookup_validate()
317 dentry->d_parent->d_name.name, __name, res); in __ncp_lookup_validate()
355 if (dent->d_name.len <= NCP_MAXPATHLEN && in ncp_dget_fpos()
420 dentry->d_parent->d_name.name, dentry->d_name.name, in ncp_readdir()
483 res = filldir(dirent, dent->d_name.name, in ncp_readdir()
484 dent->d_name.len, filp->f_pos, in ncp_readdir()
[all …]
Dfile.c115 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_read()
177 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_read()
195 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_write()
272 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_write()
/fs/ocfs2/
Ddcache.c52 dentry->d_name.len, dentry->d_name.name); in ocfs2_dentry_revalidate()
56 mlog(0, "negative dentry: %.*s\n", dentry->d_name.len, in ocfs2_dentry_revalidate()
57 dentry->d_name.name); in ocfs2_dentry_revalidate()
150 dentry->d_name.len, dentry->d_name.name); in ocfs2_find_local_alias()
207 dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_attach_lock()
222 dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_attach_lock()
248 dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_attach_lock()
395 ino, dentry->d_flags, dentry->d_name.len, in ocfs2_dentry_iput()
396 dentry->d_name.name); in ocfs2_dentry_iput()
403 dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_iput()
Dnamei.c111 dentry->d_name.len, dentry->d_name.name); in ocfs2_lookup()
113 if (dentry->d_name.len > OCFS2_MAX_FILENAME_LEN) { in ocfs2_lookup()
118 mlog(0, "find name %.*s in directory %llu\n", dentry->d_name.len, in ocfs2_lookup()
119 dentry->d_name.name, (unsigned long long)OCFS2_I(dir)->ip_blkno); in ocfs2_lookup()
129 status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name, in ocfs2_lookup()
130 dentry->d_name.len, &blkno); in ocfs2_lookup()
244 (unsigned long)dev, dentry->d_name.len, in ocfs2_mknod()
245 dentry->d_name.name); in ocfs2_mknod()
269 status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name, in ocfs2_mknod()
270 dentry->d_name.len); in ocfs2_mknod()
[all …]
/fs/nfs/
Dfile.c123 filp->f_path.dentry->d_parent->d_name.name, in nfs_file_open()
124 filp->f_path.dentry->d_name.name); in nfs_file_open()
141 dentry->d_parent->d_name.name, in nfs_file_release()
142 dentry->d_name.name); in nfs_file_release()
184 filp->f_path.dentry->d_parent->d_name.name, in nfs_file_llseek()
185 filp->f_path.dentry->d_name.name, in nfs_file_llseek()
241 dentry->d_parent->d_name.name, in nfs_file_flush()
242 dentry->d_name.name); in nfs_file_flush()
268 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_file_read()
288 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_file_splice_read()
[all …]
Ddir.c137 filp->f_path.dentry->d_parent->d_name.name, in nfs_opendir()
138 filp->f_path.dentry->d_name.name); in nfs_opendir()
539 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_readdir()
603 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_readdir()
614 dentry->d_parent->d_name.name, in nfs_llseek_dir()
615 dentry->d_name.name, in nfs_llseek_dir()
645 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_fsync_dir()
797 __func__, dentry->d_parent->d_name.name, in nfs_lookup_revalidate()
798 dentry->d_name.name); in nfs_lookup_revalidate()
815 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); in nfs_lookup_revalidate()
[all …]
/fs/autofs/
Droot.c91 if (!(ent = autofs_hash_lookup(&sbi->dirhash, &dentry->d_name))) { in try_to_fill_dentry()
95 …arning: lookup failure on positive dentry, status = %d, name = %s\n", status, dentry->d_name.name); in try_to_fill_dentry()
108 status = autofs_wait(sbi, &dentry->d_name); in try_to_fill_dentry()
109 } while (!(ent = autofs_hash_lookup(&sbi->dirhash, &dentry->d_name))); in try_to_fill_dentry()
128 return !autofs_wait(sbi, &dentry->d_name); in try_to_fill_dentry()
206 autofs_say(dentry->d_name.name,dentry->d_name.len); in autofs_root_lookup()
208 if (dentry->d_name.len > NAME_MAX) { in autofs_root_lookup()
280 autofs_say(dentry->d_name.name,dentry->d_name.len); in autofs_root_symlink()
288 if (autofs_hash_lookup(dh, &dentry->d_name)) { in autofs_root_symlink()
317 ent->name = kmalloc(dentry->d_name.len+1, GFP_KERNEL); in autofs_root_symlink()
[all …]
/fs/autofs4/
Dexpire.c54 dentry, (int)dentry->d_name.len, dentry->d_name.name); in autofs4_mount_busy()
125 top, (int) top->d_name.len, top->d_name.name); in autofs4_direct_busy()
154 top, (int)top->d_name.len, top->d_name.name); in autofs4_tree_busy()
167 p, (int) p->d_name.len, p->d_name.name); in autofs4_tree_busy()
226 parent, (int)parent->d_name.len, parent->d_name.name); in autofs4_check_leaves()
235 p, (int) p->d_name.len, p->d_name.name); in autofs4_check_leaves()
345 dentry, (int)dentry->d_name.len, dentry->d_name.name); in autofs4_expire_indirect()
405 expired, (int)expired->d_name.len, expired->d_name.name); in autofs4_expire_indirect()
428 dentry, dentry->d_name.len, dentry->d_name.name); in autofs4_expire_wait()
464 pkt.len = dentry->d_name.len; in autofs4_expire_run()
[all …]
Droot.c81 file, dentry, dentry->d_name.len, dentry->d_name.name); in autofs4_dir_open()
113 dentry, dentry->d_name.len, dentry->d_name.name, dentry->d_inode); in try_to_fill_dentry()
121 dentry->d_name.len, dentry->d_name.name); in try_to_fill_dentry()
142 dentry->d_name.len, dentry->d_name.name); in try_to_fill_dentry()
180 dentry, dentry->d_name.len, dentry->d_name.name, oz_mode, in autofs4_follow_link()
301 dentry, dentry->d_name.len, dentry->d_name.name); in autofs4_revalidate()
387 qstr = &dentry->d_name; in autofs4_lookup_active()
389 if (dentry->d_name.hash != hash) in autofs4_lookup_active()
439 qstr = &dentry->d_name; in autofs4_lookup_expiring()
441 if (dentry->d_name.hash != hash) in autofs4_lookup_expiring()
[all …]
/fs/afs/
Ddir.c455 _enter("{%lu},%p{%s},", dir->i_ino, dentry, dentry->d_name.name); in afs_do_lookup()
460 cookie.name = dentry->d_name.name; in afs_do_lookup()
461 cookie.nlen = dentry->d_name.len; in afs_do_lookup()
499 vnode->fid.vid, vnode->fid.vnode, dentry, dentry->d_name.name); in afs_lookup()
503 if (dentry->d_name.len >= AFSNAMEMAX) { in afs_lookup()
577 vnode->fid.vid, vnode->fid.vnode, dentry->d_name.name, in afs_d_revalidate()
580 _enter("{neg n=%s}", dentry->d_name.name); in afs_d_revalidate()
598 _debug("%s: parent dir deleted", dentry->d_name.name); in afs_d_revalidate()
617 parent->d_name.name, dentry->d_name.name); in afs_d_revalidate()
625 dentry->d_name.name, fid.vnode, in afs_d_revalidate()
[all …]
Dmntpt.c113 dentry->d_parent->d_name.name : (const unsigned char *) "", in afs_mntpt_lookup()
114 dentry->d_name.name); in afs_mntpt_lookup()
128 file->f_path.dentry->d_parent->d_name.name : in afs_mntpt_open()
130 file->f_path.dentry->d_name.name); in afs_mntpt_open()
147 _enter("{%s}", mntpt->d_name.name); in afs_mntpt_do_automount()
220 dentry->d_name.name, in afs_mntpt_follow_link()
223 nd->path.dentry->d_name.name); in afs_mntpt_follow_link()
/fs/ubifs/
Ddir.c209 dentry->d_name.len, dentry->d_name.name, dir->i_ino); in ubifs_lookup()
211 if (dentry->d_name.len > UBIFS_MAX_NLEN) in ubifs_lookup()
218 dent_key_init(c, &key, dir->i_ino, &dentry->d_name); in ubifs_lookup()
220 err = ubifs_tnc_lookup_nm(c, &key, dent, &dentry->d_name); in ubifs_lookup()
229 if (dbg_check_name(dent, &dentry->d_name)) { in ubifs_lookup()
242 dentry->d_name.len, dentry->d_name.name, err); in ubifs_lookup()
266 int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); in ubifs_create()
277 dentry->d_name.len, dentry->d_name.name, mode, dir->i_ino); in ubifs_create()
293 err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); in ubifs_create()
517 int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); in ubifs_link()
[all …]
/fs/coda/
Ddir.c102 const char *name = entry->d_name.name; in coda_lookup()
103 size_t length = entry->d_name.len; in coda_lookup()
203 const char *name=de->d_name.name; in coda_create()
204 int length=de->d_name.len; in coda_create()
243 const char *name = de->d_name.name; in coda_mkdir()
244 int len = de->d_name.len; in coda_mkdir()
285 const char * name = de->d_name.name; in coda_link()
286 int len = de->d_name.len; in coda_link()
318 const char *name = de->d_name.name; in coda_symlink()
319 int len = de->d_name.len; in coda_symlink()
[all …]
/fs/bfs/
Ddir.c125 err = bfs_add_entry(dir, dentry->d_name.name, dentry->d_name.len, in bfs_create()
146 if (dentry->d_name.len > BFS_NAMELEN) in bfs_lookup()
150 bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); in bfs_lookup()
173 err = bfs_add_entry(dir, new->d_name.name, new->d_name.len, in bfs_link()
197 bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); in bfs_unlink()
239 old_dentry->d_name.name, in bfs_rename()
240 old_dentry->d_name.len, &old_de); in bfs_rename()
248 new_dentry->d_name.name, in bfs_rename()
249 new_dentry->d_name.len, &new_de); in bfs_rename()
257 new_dentry->d_name.name, in bfs_rename()
[all …]
/fs/jffs2/
Ddir.c84 if (target->d_name.len > JFFS2_MAX_NAME_LEN) in jffs2_lookup()
93 …for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->… in jffs2_lookup()
94 if (fd_list->nhash == target->d_name.hash && in jffs2_lookup()
96 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup()
97 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup()
218 dentry->d_name.name, dentry->d_name.len); in jffs2_create()
250 ret = jffs2_do_unlink(c, dir_f, dentry->d_name.name, in jffs2_unlink()
251 dentry->d_name.len, dead_f, now); in jffs2_unlink()
282 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now… in jffs2_link()
325 namelen = dentry->d_name.len; in jffs2_symlink()
[all …]
/fs/qnx4/
Dnamei.c115 const char *name = dentry->d_name.name; in qnx4_lookup()
116 int len = dentry->d_name.len; in qnx4_lookup()
164 QNX4DEBUG(("qnx4: qnx4_rmdir [%s]\n", dentry->d_name.name)); in qnx4_rmdir()
166 bh = qnx4_find_entry(dentry->d_name.len, dir, dentry->d_name.name, in qnx4_rmdir()
212 QNX4DEBUG(("qnx4: qnx4_unlink [%s]\n", dentry->d_name.name)); in qnx4_unlink()
214 bh = qnx4_find_entry(dentry->d_name.len, dir, dentry->d_name.name, in qnx4_unlink()
/fs/
Dreaddir.c57 #define NAME_OFFSET(de) ((int) ((de)->d_name - (char __user *) (de)))
65 char d_name[1]; member
90 (unsigned long)(dirent->d_name + namlen + 1) - in fillonedir()
96 __copy_to_user(dirent->d_name, name, namlen) || in fillonedir()
97 __put_user(0, dirent->d_name + namlen)) in fillonedir()
139 char d_name[1]; member
175 if (copy_to_user(dirent->d_name, name, namlen)) in filldir()
177 if (__put_user(0, dirent->d_name + namlen)) in filldir()
259 if (copy_to_user(dirent->d_name, name, namlen)) in filldir64()
261 if (__put_user(0, dirent->d_name + namlen)) in filldir64()
Ddcache.c73 kfree(dentry->d_name.name); in __d_free()
665 dentry->d_name.name, in shrink_dcache_for_umount_subtree()
934 dentry->d_name.name = dname; in d_alloc()
936 dentry->d_name.len = name->len; in d_alloc()
937 dentry->d_name.hash = name->hash; in d_alloc()
1034 int len = entry->d_name.len; in __d_instantiate_unique()
1035 const char *name = entry->d_name.name; in __d_instantiate_unique()
1036 unsigned int hash = entry->d_name.hash; in __d_instantiate_unique()
1044 struct qstr *qstr = &alias->d_name; in __d_instantiate_unique()
1386 if (dentry->d_name.hash != hash) in __d_lookup()
[all …]
/fs/hfs/
Ddir.c31 hfs_cat_build_key(dir->i_sb, fd.search_key, dir->i_ino, &dentry->d_name); in hfs_lookup()
186 inode = hfs_new_inode(dir, &dentry->d_name, mode); in hfs_create()
190 res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); in hfs_create()
215 inode = hfs_new_inode(dir, &dentry->d_name, S_IFDIR | mode); in hfs_mkdir()
219 res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); in hfs_mkdir()
245 res = hfs_cat_delete(inode->i_ino, dir, &dentry->d_name); in hfs_unlink()
273 res = hfs_cat_delete(inode->i_ino, dir, &dentry->d_name); in hfs_rmdir()
307 old_dir, &old_dentry->d_name, in hfs_rename()
308 new_dir, &new_dentry->d_name); in hfs_rename()
312 new_dir->i_ino, &new_dentry->d_name); in hfs_rename()
/fs/fat/
Dnamei_msdos.c211 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup()
290 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_create()
294 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_create()
339 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_rmdir()
371 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_mkdir()
375 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_mkdir()
427 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_unlink()
628 err = msdos_format_name(old_dentry->d_name.name, in msdos_rename()
629 old_dentry->d_name.len, old_msdos_name, in msdos_rename()
633 err = msdos_format_name(new_dentry->d_name.name, in msdos_rename()
[all …]
/fs/nfsd/
Dnfsfh.c63 dprintk("nfsd_acceptable failed at %p %s\n", tdentry, tdentry->d_name.name); in nfsd_acceptable()
249 dentry->d_parent->d_name.name, dentry->d_name.name); in nfsd_set_fh_dentry()
355 dentry->d_parent->d_name.name, in fh_verify()
356 dentry->d_name.name, in fh_verify()
427 parent->d_name.name, dentry->d_name.name, in fh_compose()
512 parent->d_name.name, dentry->d_name.name); in fh_compose()
517 parent->d_name.name, dentry->d_name.name); in fh_compose()
592 dentry->d_parent->d_name.name, dentry->d_name.name); in fh_update()
/fs/reiserfs/
Dnamei.c334 if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len) in reiserfs_lookup()
340 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_lookup()
640 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_create()
641 dentry->d_name.len, inode, 1 /*visible */ ); in reiserfs_create()
723 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mknod()
724 dentry->d_name.len, inode, 1 /*visible */ ); in reiserfs_mknod()
809 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mkdir()
810 dentry->d_name.len, inode, 1 /*visible */ ); in reiserfs_mkdir()
874 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_rmdir()
963 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_unlink()
[all …]
/fs/hfsplus/
Ddir.c43 hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, &dentry->d_name); in hfsplus_lookup()
248 res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); in hfsplus_create()
281 src_dir, &src_dentry->d_name, in hfsplus_link()
291 res = hfsplus_create_cat(cnid, src_dir, &src_dentry->d_name, inode); in hfsplus_link()
298 res = hfsplus_create_cat(cnid, dst_dir, &dst_dentry->d_name, inode); in hfsplus_link()
331 dir, &dentry->d_name, in hfsplus_unlink()
337 res = hfsplus_delete_cat(cnid, dir, &dentry->d_name); in hfsplus_unlink()
375 res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); in hfsplus_mkdir()
395 res = hfsplus_delete_cat(inode->i_ino, dir, &dentry->d_name); in hfsplus_rmdir()
426 res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); in hfsplus_symlink()
[all …]
/fs/gfs2/
Dops_inode.c61 inode = gfs2_createi(ghs, &dentry->d_name, S_IFREG | mode, 0); in gfs2_create()
77 inode = gfs2_lookupi(dir, &dentry->d_name, 0); in gfs2_create()
112 inode = gfs2_lookupi(dir, &dentry->d_name, 0); in gfs2_lookup()
174 error = gfs2_dir_check(dir, &dentry->d_name, NULL); in gfs2_link()
200 alloc_required = error = gfs2_diradd_alloc_required(dir, &dentry->d_name); in gfs2_link()
234 error = gfs2_dir_add(dir, &dentry->d_name, ip, IF2DT(inode->i_mode)); in gfs2_link()
309 error = gfs2_unlink_ok(dip, &dentry->d_name, ip); in gfs2_unlink()
317 error = gfs2_dir_del(dip, &dentry->d_name); in gfs2_unlink()
366 inode = gfs2_createi(ghs, &dentry->d_name, S_IFLNK | S_IRWXUGO, 0); in gfs2_symlink()
419 inode = gfs2_createi(ghs, &dentry->d_name, S_IFDIR | mode, 0); in gfs2_mkdir()
[all …]

12345