Home
last modified time | relevance | path

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

123456

/fs/affs/
Dnamei.c155 const u8 *name = dentry->d_name.name; in affs_match()
156 int len = dentry->d_name.len; in affs_match()
192 pr_debug("AFFS: find_entry(\"%.*s\")\n", (int)dentry->d_name.len, dentry->d_name.name); in affs_find_entry()
198 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry()
220 pr_debug("AFFS: lookup(\"%.*s\")\n",(int)dentry->d_name.len,dentry->d_name.name); in affs_lookup()
252 (int)dentry->d_name.len, dentry->d_name.name); in affs_unlink()
264 pr_debug("AFFS: create(%lu,\"%.*s\",0%ho)\n",dir->i_ino,(int)dentry->d_name.len, in affs_create()
265 dentry->d_name.name,mode); in affs_create()
294 (int)dentry->d_name.len,dentry->d_name.name,mode); in affs_mkdir()
321 (int)dentry->d_name.len, dentry->d_name.name); in affs_rmdir()
[all …]
/fs/ncpfs/
Ddir.c327 dentry->d_parent->d_name.name, dentry->d_name.name, in ncp_lookup_validate()
332 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in ncp_lookup_validate()
333 dentry->d_name.len, 1); in ncp_lookup_validate()
340 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in ncp_lookup_validate()
341 dentry->d_name.len, !ncp_preserve_case(dir)); in ncp_lookup_validate()
347 dentry->d_parent->d_name.name, __name, res); in ncp_lookup_validate()
379 if (dent->d_name.len <= NCP_MAXPATHLEN && in ncp_dget_fpos()
442 dentry->d_parent->d_name.name, dentry->d_name.name, in ncp_readdir()
506 res = filldir(dirent, dent->d_name.name, in ncp_readdir()
507 dent->d_name.len, filp->f_pos, in ncp_readdir()
[all …]
Dfile.c111 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_read()
170 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_read()
188 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_write()
268 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_write()
/fs/nfs/
Dfile.c84 filp->f_path.dentry->d_parent->d_name.name, in nfs_file_open()
85 filp->f_path.dentry->d_name.name); in nfs_file_open()
100 filp->f_path.dentry->d_parent->d_name.name, in nfs_file_release()
101 filp->f_path.dentry->d_name.name); in nfs_file_release()
141 filp->f_path.dentry->d_parent->d_name.name, in nfs_file_llseek()
142 filp->f_path.dentry->d_name.name, in nfs_file_llseek()
170 dentry->d_parent->d_name.name, in nfs_file_flush()
171 dentry->d_name.name); in nfs_file_flush()
193 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_file_read()
215 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_file_splice_read()
[all …]
Ddir.c169 filp->f_path.dentry->d_parent->d_name.name, in nfs_opendir()
170 filp->f_path.dentry->d_name.name); in nfs_opendir()
369 desc->file->f_dentry->d_parent->d_name.name, in nfs_readdir_search_for_cookie()
370 desc->file->f_dentry->d_name.name, in nfs_readdir_search_for_cookie()
862 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_readdir()
918 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_readdir()
930 dentry->d_parent->d_name.name, in nfs_llseek_dir()
931 dentry->d_name.name, in nfs_llseek_dir()
966 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_fsync_dir()
1122 __func__, dentry->d_parent->d_name.name, in nfs_lookup_revalidate()
[all …]
/fs/afs/
Ddir.c452 _enter("{%lu},%p{%s},", dir->i_ino, dentry, dentry->d_name.name); in afs_do_lookup()
457 cookie.name = dentry->d_name.name; in afs_do_lookup()
458 cookie.nlen = dentry->d_name.len; in afs_do_lookup()
489 const char *devname = dentry->d_name.name; in afs_try_auto_mntpt()
530 vnode->fid.vid, vnode->fid.vnode, dentry, dentry->d_name.name); in afs_lookup()
534 if (dentry->d_name.len >= AFSNAMEMAX) { in afs_lookup()
617 vnode->fid.vid, vnode->fid.vnode, dentry->d_name.name, in afs_d_revalidate()
620 _enter("{neg n=%s}", dentry->d_name.name); in afs_d_revalidate()
638 _debug("%s: parent dir deleted", dentry->d_name.name); in afs_d_revalidate()
657 parent->d_name.name, dentry->d_name.name); in afs_d_revalidate()
[all …]
Dmntpt.c114 dentry->d_parent->d_name.name : (const unsigned char *) "", in afs_mntpt_lookup()
115 dentry->d_name.name); in afs_mntpt_lookup()
129 file->f_path.dentry->d_parent->d_name.name : in afs_mntpt_open()
131 file->f_path.dentry->d_name.name); in afs_mntpt_open()
149 _enter("{%s}", mntpt->d_name.name); in afs_mntpt_do_automount()
166 unsigned size = mntpt->d_name.len; in afs_mntpt_do_automount()
172 if (mntpt->d_name.name[0] == '.') { in afs_mntpt_do_automount()
174 memcpy(devname + 1, mntpt->d_name.name, size - 1); in afs_mntpt_do_automount()
180 memcpy(devname + 1, mntpt->d_name.name, size); in afs_mntpt_do_automount()
245 _enter("{%s}", path->dentry->d_name.name); in afs_d_automount()
/fs/ocfs2/
Ddcache.c65 trace_ocfs2_dentry_revalidate(dentry, dentry->d_name.len, in ocfs2_dentry_revalidate()
66 dentry->d_name.name); in ocfs2_dentry_revalidate()
77 trace_ocfs2_dentry_revalidate_negative(dentry->d_name.len, in ocfs2_dentry_revalidate()
78 dentry->d_name.name, in ocfs2_dentry_revalidate()
182 trace_ocfs2_find_local_alias(dentry->d_name.len, in ocfs2_find_local_alias()
183 dentry->d_name.name); in ocfs2_find_local_alias()
241 trace_ocfs2_dentry_attach_lock(dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_attach_lock()
262 dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_attach_lock()
288 dentry->d_name.len, dentry->d_name.name, in ocfs2_dentry_attach_lock()
471 ino, dentry->d_flags, dentry->d_name.len, in ocfs2_dentry_iput()
[all …]
Dnamei.c109 trace_ocfs2_lookup(dir, dentry, dentry->d_name.len, in ocfs2_lookup()
110 dentry->d_name.name, in ocfs2_lookup()
113 if (dentry->d_name.len > OCFS2_MAX_FILENAME_LEN) { in ocfs2_lookup()
126 status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name, in ocfs2_lookup()
127 dentry->d_name.len, &blkno); in ocfs2_lookup()
234 trace_ocfs2_mknod(dir, dentry, dentry->d_name.len, dentry->d_name.name, in ocfs2_mknod()
262 status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name, in ocfs2_mknod()
263 dentry->d_name.len); in ocfs2_mknod()
269 dentry->d_name.name, in ocfs2_mknod()
270 dentry->d_name.len, &lookup); in ocfs2_mknod()
[all …]
/fs/ubifs/
Ddir.c204 dentry->d_name.len, dentry->d_name.name, dir->i_ino); in ubifs_lookup()
206 if (dentry->d_name.len > UBIFS_MAX_NLEN) in ubifs_lookup()
213 dent_key_init(c, &key, dir->i_ino, &dentry->d_name); in ubifs_lookup()
215 err = ubifs_tnc_lookup_nm(c, &key, dent, &dentry->d_name); in ubifs_lookup()
224 if (dbg_check_name(c, dent, &dentry->d_name)) { in ubifs_lookup()
237 dentry->d_name.len, dentry->d_name.name, err); in ubifs_lookup()
261 int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); in ubifs_create()
272 dentry->d_name.len, dentry->d_name.name, mode, dir->i_ino); in ubifs_create()
288 err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); in ubifs_create()
536 int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); in ubifs_link()
[all …]
/fs/autofs4/
Dexpire.c51 dentry, (int)dentry->d_name.len, dentry->d_name.name); in autofs4_mount_busy()
207 top, (int) top->d_name.len, top->d_name.name); in autofs4_direct_busy()
236 top, (int)top->d_name.len, top->d_name.name); in autofs4_tree_busy()
245 p, (int) p->d_name.len, p->d_name.name); in autofs4_tree_busy()
298 parent, (int)parent->d_name.len, parent->d_name.name); in autofs4_check_leaves()
303 p, (int) p->d_name.len, p->d_name.name); in autofs4_check_leaves()
396 dentry, (int)dentry->d_name.len, dentry->d_name.name); in autofs4_expire_indirect()
452 expired, (int)expired->d_name.len, expired->d_name.name); in autofs4_expire_indirect()
479 dentry, dentry->d_name.len, dentry->d_name.name); in autofs4_expire_wait()
515 pkt.len = dentry->d_name.len; in autofs4_expire_run()
[all …]
Droot.c112 file, dentry, dentry->d_name.len, dentry->d_name.name); in autofs4_dir_open()
166 struct qstr *name = &dentry->d_name; in autofs4_lookup_active()
188 qstr = &active->d_name; in autofs4_lookup_active()
190 if (active->d_name.hash != hash) in autofs4_lookup_active()
218 struct qstr *name = &dentry->d_name; in autofs4_lookup_expiring()
240 qstr = &expiring->d_name; in autofs4_lookup_expiring()
242 if (expiring->d_name.hash != hash) in autofs4_lookup_expiring()
274 dentry->d_name.len, dentry->d_name.name); in autofs4_mount_wait()
314 struct dentry *new = d_lookup(parent, &dentry->d_name); in autofs4_mountpoint_changed()
333 dentry, dentry->d_name.len, dentry->d_name.name); in autofs4_d_automount()
[all …]
/fs/coda/
Ddir.c100 const char *name = entry->d_name.name; in coda_lookup()
101 size_t length = entry->d_name.len; in coda_lookup()
194 const char *name=de->d_name.name; in coda_create()
195 int length=de->d_name.len; in coda_create()
227 const char *name = de->d_name.name; in coda_mkdir()
228 int len = de->d_name.len; in coda_mkdir()
262 const char * name = de->d_name.name; in coda_link()
263 int len = de->d_name.len; in coda_link()
287 const char *name = de->d_name.name; in coda_symlink()
288 int len = de->d_name.len; in coda_symlink()
[all …]
/fs/jffs2/
Ddir.c86 if (target->d_name.len > JFFS2_MAX_NAME_LEN) in jffs2_lookup()
94 …for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->… in jffs2_lookup()
95 if (fd_list->nhash == target->d_name.hash && in jffs2_lookup()
97 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup()
98 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup()
217 ret = jffs2_do_create(c, dir_f, f, ri, &dentry->d_name); 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/bfs/
Ddir.c122 err = bfs_add_entry(dir, dentry->d_name.name, dentry->d_name.len, in bfs_create()
143 if (dentry->d_name.len > BFS_NAMELEN) in bfs_lookup()
147 bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); in bfs_lookup()
170 err = bfs_add_entry(dir, new->d_name.name, new->d_name.len, in bfs_link()
194 bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); in bfs_unlink()
236 old_dentry->d_name.name, in bfs_rename()
237 old_dentry->d_name.len, &old_de); in bfs_rename()
245 new_dentry->d_name.name, in bfs_rename()
246 new_dentry->d_name.len, &new_de); in bfs_rename()
254 new_dentry->d_name.name, in bfs_rename()
[all …]
/fs/cachefiles/
Dxattr.c55 dentry->d_name.len, dentry->d_name.len, in cachefiles_check_object_type()
56 dentry->d_name.name, dentry->d_inode->i_ino, in cachefiles_check_object_type()
68 dentry->d_name.len, dentry->d_name.len, in cachefiles_check_object_type()
69 dentry->d_name.name, dentry->d_inode->i_ino, in cachefiles_check_object_type()
96 dentry->d_name.len, dentry->d_name.len, in cachefiles_check_object_type()
97 dentry->d_name.name, dentry->d_inode->i_ino, in cachefiles_check_object_type()
/fs/ceph/
Ddir.c164 dentry->d_name.len, dentry->d_name.name, di->offset, in __dcache_readdir()
178 dentry, dentry->d_name.len, dentry->d_name.name, dentry->d_inode); in __dcache_readdir()
180 err = filldir(dirent, dentry->d_name.name, in __dcache_readdir()
181 dentry->d_name.len, di->offset, in __dcache_readdir()
298 err = note_last_dentry(fi, fi->dentry->d_name.name, in ceph_readdir()
299 fi->dentry->d_name.len); in ceph_readdir()
519 strcmp(dentry->d_name.name, in ceph_handle_snapdir()
523 dentry, dentry->d_name.len, dentry->d_name.name, inode); in ceph_handle_snapdir()
571 strncmp(dentry->d_name.name, ".ceph", 5) == 0; in is_root_ceph_dentry()
588 dir, dentry, dentry->d_name.len, dentry->d_name.name); in ceph_lookup()
[all …]
/fs/
Dreaddir.c65 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
155 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir()
176 if (copy_to_user(dirent->d_name, name, namlen)) in filldir()
178 if (__put_user(0, dirent->d_name + namlen)) in filldir()
241 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, in filldir64()
261 if (copy_to_user(dirent->d_name, name, namlen)) in filldir64()
[all …]
Ddcache.c207 kfree(dentry->d_name.name); in __d_free()
400 b = d_hash(dentry->d_parent, dentry->d_name.hash); in __d_shrink()
945 dentry->d_name.name, in shrink_dcache_for_umount_subtree()
1276 dentry->d_name.name = dname; in __d_alloc()
1278 dentry->d_name.len = name->len; in __d_alloc()
1279 dentry->d_name.hash = name->hash; in __d_alloc()
1438 int len = entry->d_name.len; in __d_instantiate_unique()
1439 const char *name = entry->d_name.name; in __d_instantiate_unique()
1440 unsigned int hash = entry->d_name.hash; in __d_instantiate_unique()
1448 struct qstr *qstr = &alias->d_name; in __d_instantiate_unique()
[all …]
/fs/reiserfs/
Dnamei.c333 if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len) in reiserfs_lookup()
345 reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_lookup()
596 retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); in reiserfs_create()
621 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_create()
622 dentry->d_name.len, inode, 1 /*visible */ ); in reiserfs_create()
670 retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); in reiserfs_mknod()
701 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mknod()
702 dentry->d_name.len, inode, 1 /*visible */ ); in reiserfs_mknod()
750 retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security); in reiserfs_mkdir()
786 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mkdir()
[all …]
/fs/hfs/
Ddir.c29 hfs_cat_build_key(dir->i_sb, fd.search_key, dir->i_ino, &dentry->d_name); in hfs_lookup()
195 inode = hfs_new_inode(dir, &dentry->d_name, mode); in hfs_create()
199 res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); in hfs_create()
224 inode = hfs_new_inode(dir, &dentry->d_name, S_IFDIR | mode); in hfs_mkdir()
228 res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); in hfs_mkdir()
258 res = hfs_cat_delete(inode->i_ino, dir, &dentry->d_name); in hfs_remove()
292 old_dir, &old_dentry->d_name, in hfs_rename()
293 new_dir, &new_dentry->d_name); in hfs_rename()
297 new_dir->i_ino, &new_dentry->d_name); in hfs_rename()
/fs/fat/
Dnamei_msdos.c212 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup()
279 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_create()
283 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_create()
328 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_rmdir()
360 err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, in msdos_mkdir()
364 is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); in msdos_mkdir()
416 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_unlink()
617 err = msdos_format_name(old_dentry->d_name.name, in msdos_rename()
618 old_dentry->d_name.len, old_msdos_name, in msdos_rename()
622 err = msdos_format_name(new_dentry->d_name.name, in msdos_rename()
[all …]
/fs/nfsd/
Dnfsfh.c50 dprintk("nfsd_acceptable failed at %p %s\n", tdentry, tdentry->d_name.name); in nfsd_acceptable()
257 dentry->d_parent->d_name.name, dentry->d_name.name); in nfsd_set_fh_dentry()
366 dentry->d_parent->d_name.name, in fh_verify()
367 dentry->d_name.name, in fh_verify()
524 parent->d_name.name, dentry->d_name.name, in fh_compose()
538 parent->d_name.name, dentry->d_name.name); in fh_compose()
543 parent->d_name.name, dentry->d_name.name); in fh_compose()
617 dentry->d_parent->d_name.name, dentry->d_name.name); in fh_update()
/fs/ext2/
Dnamei.c63 if (dentry->d_name.len > EXT2_NAME_LEN) in ext2_lookup()
66 ino = ext2_inode_by_name(dir, &dentry->d_name); in ext2_lookup()
103 inode = ext2_new_inode(dir, mode, &dentry->d_name); in ext2_create()
132 inode = ext2_new_inode (dir, mode, &dentry->d_name); in ext2_mknod()
158 inode = ext2_new_inode (dir, S_IFLNK | S_IRWXUGO, &dentry->d_name); in ext2_symlink()
223 inode = ext2_new_inode(dir, S_IFDIR | mode, &dentry->d_name); in ext2_mkdir()
269 de = ext2_find_entry (dir, &dentry->d_name, &page); in ext2_unlink()
314 old_de = ext2_find_entry (old_dir, &old_dentry->d_name, &old_page); in ext2_rename()
334 new_de = ext2_find_entry (new_dir, &new_dentry->d_name, &new_page); in ext2_rename()
/fs/hpfs/
Dnamei.c13 const unsigned char *name = dentry->d_name.name; in hpfs_mkdir()
14 unsigned len = dentry->d_name.len; in hpfs_mkdir()
120 const unsigned char *name = dentry->d_name.name; in hpfs_create()
121 unsigned len = dentry->d_name.len; in hpfs_create()
206 const unsigned char *name = dentry->d_name.name; in hpfs_mknod()
207 unsigned len = dentry->d_name.len; in hpfs_mknod()
281 const unsigned char *name = dentry->d_name.name; in hpfs_symlink()
282 unsigned len = dentry->d_name.len; in hpfs_symlink()
358 const unsigned char *name = dentry->d_name.name; in hpfs_unlink()
359 unsigned len = dentry->d_name.len; in hpfs_unlink()
[all …]

123456