Home
last modified time | relevance | path

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

12345

/linux-2.4.37.9/fs/umsdos/
Dnamei.c251 ret = umsdos_parse (dentry->d_name.name, dentry->d_name.len, &info); in umsdos_create_any()
288 dentry->d_parent->d_name.name, dentry->d_name.name, in umsdos_create_any()
302 dentry->d_parent->d_name.name, info.fake.fname); in umsdos_create_any()
353 err = umsdos_parse (old_dentry->d_name.name, in umsdos_rename_f()
354 old_dentry->d_name.len, &old_info); in umsdos_rename_f()
357 err = umsdos_parse (new_dentry->d_name.name, in umsdos_rename_f()
358 new_dentry->d_name.len, &new_info); in umsdos_rename_f()
384 new_dentry->d_parent->d_name.name, new_info.entry.name); in umsdos_rename_f()
447 old_emd->d_parent->d_name.name, old_info.entry.name, in umsdos_rename_f()
542 dentry->d_parent->d_name.name, dentry->d_name.name, in UMSDOS_link()
[all …]
Ddir.c161 demd->d_parent->d_name.name, demd->d_name.name); in umsdos_readdir_x()
186 filp->f_dentry->d_name.name, entry.name); in umsdos_readdir_x()
209 dret->d_parent->d_name.name, dret->d_name.name, inode->i_ino); in umsdos_readdir_x()
213 dret->d_parent->d_name.name, info.fake.fname, dret->d_inode->i_ino, in umsdos_readdir_x()
225 dret->d_parent->d_name.name, dret->d_name.name); in umsdos_readdir_x()
243 dret->d_parent->d_name.name, dret->d_name.name, inode->i_ino)); in umsdos_readdir_x()
262 filp->f_dentry->d_name.name, info.entry.name); in umsdos_readdir_x()
418 && dentry->d_name.len == 3 in umsdos_is_pseudodos()
419 && dentry->d_name.name[0] == 'D' in umsdos_is_pseudodos()
420 && dentry->d_name.name[1] == 'O' in umsdos_is_pseudodos()
[all …]
Dioctl.c39 copy_to_user (d->ent->d_name, name, name_len); in umsdos_ioctl_fill()
40 put_user ('\0', d->ent->d_name + name_len); in umsdos_ioctl_fill()
82 dentry->d_parent->d_name.name, dentry->d_name.name, cmd, data_ptr)); in UMSDOS_ioctl_dir()
203 if (copy_to_user (&idata->dos_dirent.d_name, in UMSDOS_ioctl_dir()
232 dentry->d_parent->d_name.name, dentry->d_name.name, ret)); in UMSDOS_ioctl_dir()
275 data.dos_dirent.d_name, in UMSDOS_ioctl_dir()
286 old_dentry->d_parent->d_name.name, old_dentry->d_name.name, in UMSDOS_ioctl_dir()
287 new_dentry->d_parent->d_name.name, new_dentry->d_name.name); in UMSDOS_ioctl_dir()
319 dentry->d_name.name, info.entry.name, ret); in UMSDOS_ioctl_dir()
333 temp = umsdos_lookup_dentry(dentry, data.dos_dirent.d_name, in UMSDOS_ioctl_dir()
[all …]
Dinode.c73 dir->d_parent->d_name.name, dir->d_name.name); in umsdos_setup_dir()
84 dir->d_parent->d_name.name, dir->d_name.name)); in umsdos_setup_dir()
167 ret = umsdos_parse (dentry->d_name.name, dentry->d_name.len, in UMSDOS_notify_change()
174 dentry->d_parent->d_name.name, dentry->d_name.name, ret); in UMSDOS_notify_change()
185 dentry->d_parent->d_name.name, dentry->d_name.name, info.fake.fname)); in UMSDOS_notify_change()
236 dentry->d_parent->d_name.name, dentry->d_name.name, inode->u.umsdos_i.i_patched)); in umsdos_notify_change_locked()
253 demd->d_parent->d_name.name, demd->d_name.name)); in umsdos_notify_change_locked()
294 dentry->d_parent->d_name.name, dentry->d_name.name,ret); in umsdos_notify_change_locked()
432 root->d_parent->d_name.name, root->d_name.name); in check_pseudo_root()
445 …pseudo_root: found %s/%s, enabling pseudo-root\n", init->d_parent->d_name.name, init->d_name.name); in check_pseudo_root()
Drdir.c88 dentry->d_name.len == UMSDOS_PSDROOT_LEN && in umsdos_rlookup_x()
89 memcmp (dentry->d_name.name, UMSDOS_PSDROOT_NAME, UMSDOS_PSDROOT_LEN) == 0) { in umsdos_rlookup_x()
103 dentry->d_parent->d_name.name, dentry->d_name.name, in umsdos_rlookup_x()
113 dentry->d_parent->d_name.name, dentry->d_name.name)); in umsdos_rlookup_x()
/linux-2.4.37.9/fs/hfs/
Ddir_dbl.c121 hfs_nameout(dir, &cname, dentry->d_name.name, dentry->d_name.len); in dbl_lookup()
139 if (!inode && (dentry->d_name.name[0] == '%')) { in dbl_lookup()
140 hfs_nameout(dir, &cname, dentry->d_name.name+1, in dbl_lookup()
141 dentry->d_name.len-1); in dbl_lookup()
272 if (is_hdr(dir, dentry->d_name.name, dentry->d_name.len)) { in dbl_create()
293 if (is_hdr(parent, dentry->d_name.name, dentry->d_name.len)) { in dbl_mkdir()
314 if ((error == -ENOENT) && is_hdr(dir, dentry->d_name.name, in dbl_unlink()
315 dentry->d_name.len)) { in dbl_unlink()
334 if ((error == -ENOENT) && is_hdr(parent, dentry->d_name.name, in dbl_rmdir()
335 dentry->d_name.len)) { in dbl_rmdir()
[all …]
Ddir.c176 if (build_key(&key, dir, dentry->d_name.name, dentry->d_name.len)) in hfs_create()
221 if (build_key(&key, parent, dentry->d_name.name, in hfs_mkdir()
222 dentry->d_name.len)) in hfs_mkdir()
259 if (build_key(&key, dir, dentry->d_name.name, in hfs_unlink()
260 dentry->d_name.len)) in hfs_unlink()
301 if (build_key(&key, parent, dentry->d_name.name, in hfs_rmdir()
302 dentry->d_name.len)) in hfs_rmdir()
358 if (build_key(&key, old_dir, old_dentry->d_name.name, in hfs_rename()
359 old_dentry->d_name.len) || in hfs_rename()
367 if (build_key(&key, new_dir, new_dentry->d_name.name, in hfs_rename()
[all …]
Ddir_nat.c112 hfs_nameout(dir, &cname, dentry->d_name.name, dentry->d_name.len); in nat_lookup()
301 dentry->d_name.name, dentry->d_name.len); in hfs_nat_drop_dentry()
333 hfs_nameout(parent, &cname, dentry->d_name.name, dentry->d_name.len); in nat_rmdir()
378 hfs_nameout(dir, &cname, dentry->d_name.name, in nat_hdr_unlink()
379 dentry->d_name.len); in nat_hdr_unlink()
429 hfs_nameout(old_dir, &cname, old_dentry->d_name.name, in nat_hdr_rename()
430 old_dentry->d_name.len); in nat_hdr_rename()
/linux-2.4.37.9/fs/nfs/
Ddir.c494 dentry->d_parent->d_name.name, dentry->d_name.name); in nfs_lookup_revalidate()
508 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); in nfs_lookup_revalidate()
541 dentry->d_parent->d_name.name, dentry->d_name.name, in nfs_dentry_delete()
587 dentry->d_parent->d_name.name, dentry->d_name.name); in nfs_lookup()
590 if (dentry->d_name.len > NFS_SERVER(dir)->namelen) in nfs_lookup()
596 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); in nfs_lookup()
625 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr); in nfs_instantiate()
655 dir->i_dev, dir->i_ino, dentry->d_name.name); in nfs_create()
667 error = NFS_PROTO(dir)->create(dir, &dentry->d_name, in nfs_create()
687 dir->i_dev, dir->i_ino, dentry->d_name.name); in nfs_mknod()
[all …]
/linux-2.4.37.9/fs/affs/
Dnamei.c153 const u8 *name = dentry->d_name.name; in affs_match()
154 int len = dentry->d_name.len; in affs_match()
190 pr_debug("AFFS: find_entry(\"%.*s\")\n", (int)dentry->d_name.len, dentry->d_name.name); in affs_find_entry()
196 …key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)… in affs_find_entry()
218 pr_debug("AFFS: lookup(\"%.*s\")\n",(int)dentry->d_name.len,dentry->d_name.name); in affs_lookup()
250 (int)dentry->d_name.len, dentry->d_name.name); in affs_unlink()
265 pr_debug("AFFS: create(%lu,\"%.*s\",0%o)\n",dir->i_ino,(int)dentry->d_name.len, in affs_create()
266 dentry->d_name.name,mode); in affs_create()
295 (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 …]
/linux-2.4.37.9/fs/ncpfs/
Ddir.c291 dentry->d_parent->d_name.name, dentry->d_name.name, in __ncp_lookup_validate()
296 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in __ncp_lookup_validate()
297 dentry->d_name.len, 1); in __ncp_lookup_validate()
301 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in __ncp_lookup_validate()
302 dentry->d_name.len, !ncp_preserve_case(dir)); in __ncp_lookup_validate()
307 dentry->d_parent->d_name.name, __name, res); in __ncp_lookup_validate()
344 if (dent->d_name.len <= NCP_MAXPATHLEN && in ncp_dget_fpos()
408 dentry->d_parent->d_name.name, dentry->d_name.name, in ncp_readdir()
472 res = filldir(dirent, dent->d_name.name, in ncp_readdir()
473 dent->d_name.len, filp->f_pos, in ncp_readdir()
[all …]
Dfile.c116 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_read()
184 dentry->d_parent->d_name.name, dentry->d_name.name); in ncp_file_read()
203 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()
/linux-2.4.37.9/fs/autofs4/
Droot.c83 dentry, dentry->d_name.len, dentry->d_name.name, in try_to_fill_dentry()
86 status = autofs4_wait(sbi, &dentry->d_name, NFY_NONE); in try_to_fill_dentry()
94 dentry, dentry->d_name.len, dentry->d_name.name, dentry->d_inode)); in try_to_fill_dentry()
99 dentry->d_name.len, dentry->d_name.name, in try_to_fill_dentry()
101 status = autofs4_wait(sbi, &dentry->d_name, NFY_MOUNT); in try_to_fill_dentry()
127 return autofs4_wait(sbi, &dentry->d_name, NFY_MOUNT) == 0; in try_to_fill_dentry()
171 dentry, dentry->d_name.len, dentry->d_name.name)); in autofs4_root_revalidate()
236 dentry->d_parent->d_name.len, dentry->d_parent->d_name.name, in autofs4_dir_lookup()
237 dentry->d_name.len, dentry->d_name.name)); in autofs4_dir_lookup()
252 dentry->d_name.len, dentry->d_name.name)); in autofs4_root_lookup()
[all …]
/linux-2.4.37.9/fs/autofs/
Droot.c86 if ( !(ent = autofs_hash_lookup(&sbi->dirhash, &dentry->d_name)) ) { in try_to_fill_dentry()
90 …arning: lookup failure on positive dentry, status = %d, name = %s\n", status, dentry->d_name.name); in try_to_fill_dentry()
103 status = autofs_wait(sbi, &dentry->d_name); in try_to_fill_dentry()
104 } while (!(ent = autofs_hash_lookup(&sbi->dirhash, &dentry->d_name)) ); in try_to_fill_dentry()
123 return !autofs_wait(sbi, &dentry->d_name); in try_to_fill_dentry()
200 autofs_say(dentry->d_name.name,dentry->d_name.len); in autofs_root_lookup()
202 if (dentry->d_name.len > NAME_MAX) in autofs_root_lookup()
260 autofs_say(dentry->d_name.name,dentry->d_name.len); in autofs_root_symlink()
265 if ( autofs_hash_lookup(dh, &dentry->d_name) ) in autofs_root_symlink()
288 ent->name = kmalloc(dentry->d_name.len+1, GFP_KERNEL); in autofs_root_symlink()
[all …]
/linux-2.4.37.9/fs/coda/
Ddir.c101 const char *name = entry->d_name.name; in coda_lookup()
102 size_t length = entry->d_name.len; in coda_lookup()
208 const char *name=de->d_name.name; in coda_create()
209 int length=de->d_name.len; in coda_create()
246 const char *name=de->d_name.name; in coda_mknod()
247 int length=de->d_name.len; in coda_mknod()
289 const char *name = de->d_name.name; in coda_mkdir()
290 int len = de->d_name.len; in coda_mkdir()
333 const char * name = de->d_name.name; in coda_link()
334 int len = de->d_name.len; in coda_link()
[all …]
/linux-2.4.37.9/fs/bfs/
Ddir.c107 err = bfs_add_entry(dir, dentry->d_name.name, dentry->d_name.len, inode->i_ino); in bfs_create()
124 if (dentry->d_name.len > BFS_NAMELEN) in bfs_lookup()
127 bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); in bfs_lookup()
147 err = bfs_add_entry(dir, new->d_name.name, new->d_name.len, inode->i_ino); in bfs_link()
167 bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); in bfs_unlink()
205 old_dentry->d_name.name, in bfs_rename()
206 old_dentry->d_name.len, &old_de); in bfs_rename()
214 new_dentry->d_name.name, in bfs_rename()
215 new_dentry->d_name.len, &new_de); in bfs_rename()
223 new_dentry->d_name.name, in bfs_rename()
[all …]
/linux-2.4.37.9/fs/msdos/
Dnamei.c224 res = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &bh, in msdos_lookup()
286 res = msdos_format_name(dentry->d_name.name,dentry->d_name.len, in msdos_create()
290 is_hid = (dentry->d_name.name[0]=='.') && (msdos_name[0]!='.'); in msdos_create()
321 res = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, in msdos_rmdir()
359 res = msdos_format_name(dentry->d_name.name,dentry->d_name.len, in msdos_mkdir()
363 is_hid = (dentry->d_name.name[0]=='.') && (msdos_name[0]!='.'); in msdos_mkdir()
423 res = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, in msdos_unlink()
473 old_dentry->d_parent->d_name.name, in do_msdos_rename()
474 old_dentry->d_name.name, error); in do_msdos_rename()
553 error = msdos_format_name(old_dentry->d_name.name, in msdos_rename()
[all …]
/linux-2.4.37.9/fs/
Ddcache.c67 kfree(dentry->d_name.name); in d_free()
507 dentry->d_parent->d_name.name, dentry->d_name.name, found); in select_parent()
520 this_parent->d_parent->d_name.name, this_parent->d_name.name, found); in select_parent()
617 dentry->d_name.name = str; in d_alloc()
618 dentry->d_name.len = name->len; in d_alloc()
619 dentry->d_name.hash = name->hash; in d_alloc()
724 if (dentry->d_name.hash != hash) in d_lookup()
729 if (parent->d_op->d_compare(parent, &dentry->d_name, name)) in d_lookup()
732 if (dentry->d_name.len != len) in d_lookup()
734 if (memcmp(dentry->d_name.name, str, len)) in d_lookup()
[all …]
Dreaddir.c138 …if (filldir(dirent, next->d_name.name, next->d_name.len, filp->f_pos, next->d_inode->i_ino, DT_UNK… in dcache_readdir()
170 #define NAME_OFFSET(de) ((int) ((de)->d_name - (char *) (de)))
179 char d_name[1]; member
200 copy_to_user(dirent->d_name, name, namlen); in fillonedir()
201 put_user(0, dirent->d_name + namlen); in fillonedir()
238 char d_name[1]; member
265 copy_to_user(dirent->d_name, name, namlen); in filldir()
266 put_user(0, dirent->d_name + namlen); in filldir()
314 char d_name[0]; member
348 copy_to_user(dirent->d_name, name, namlen); in filldir64()
[all …]
/linux-2.4.37.9/fs/jffs2/
Ddir.c107 …for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->… in jffs2_lookup()
108 if (fd_list->nhash == target->d_name.hash && in jffs2_lookup()
110 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup()
111 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup()
216 namelen = dentry->d_name.len; in jffs2_create()
302 rd->name_crc = crc32(0, dentry->d_name.name, namelen); in jffs2_create()
304 fd = jffs2_write_dirent(dir_i, rd, dentry->d_name.name, namelen, phys_ofs, &writtenlen); in jffs2_create()
350 ret = jffs2_reserve_space(c, sizeof(*rd)+dentry->d_name.len, &phys_ofs, &alloclen, ALLOC_DELETION); in jffs2_do_unlink()
362 rd->totlen = sizeof(*rd) + dentry->d_name.len; in jffs2_do_unlink()
369 rd->nsize = dentry->d_name.len; in jffs2_do_unlink()
[all …]
/linux-2.4.37.9/fs/intermezzo/
Ddcache.c136 dentry->d_name.name); in presto_try_find_fset()
148 temp_dentry->d_name.len,temp_dentry->d_name.name); in presto_try_find_fset()
291 dentry->d_name.len, dentry->d_name.name); in presto_set_dd()
304 dentry->d_name.len, dentry->d_name.name); in presto_set_dd()
324 dentry, dentry->d_name.len, dentry->d_name.name, in presto_set_dd()
/linux-2.4.37.9/fs/qnx4/
Dnamei.c114 const char *name = dentry->d_name.name; in qnx4_lookup()
115 int len = dentry->d_name.len; in qnx4_lookup()
157 QNX4DEBUG(("qnx4: qnx4_rmdir [%s]\n", dentry->d_name.name)); in qnx4_rmdir()
158 bh = qnx4_find_entry(dentry->d_name.len, dir, dentry->d_name.name, in qnx4_rmdir()
203 QNX4DEBUG(("qnx4: qnx4_unlink [%s]\n", dentry->d_name.name)); in qnx4_unlink()
204 bh = qnx4_find_entry(dentry->d_name.len, dir, dentry->d_name.name, in qnx4_unlink()
/linux-2.4.37.9/fs/nfsd/
Dnfsfh.c216 printk("nfsd: d_splice with no-root target: %s/%s\n", parent->d_name.name, name->name); in d_splice()
218 printk("nfsd: d_splice with non-DISCONNECTED target: %s/%s\n", parent->d_name.name, name->name); in d_splice()
253 parent->d_name.name, target->d_name.name); in d_splice()
373 printk("nfsd-fh: found a name that I didn't expect: %s/%s\n", parent->d_name.name, qs.name); in splice()
377 dprintk("nfsd_fh: found name %s for ino %ld\n", child->d_name.name, child->d_inode->i_ino); in splice()
655 dentry->d_parent->d_name.name, dentry->d_name.name); in fh_verify()
715 dentry->d_parent->d_name.name, in fh_verify()
716 dentry->d_name.name); in fh_verify()
728 dentry->d_parent->d_name.name, dentry->d_name.name, access, (error >> 24)); in fh_verify()
808 parent->d_name.name, dentry->d_name.name, in fh_compose()
[all …]
/linux-2.4.37.9/fs/reiserfs/
Dnamei.c319 if (REISERFS_MAX_NAME (dir->i_sb->s_blocksize) < dentry->d_name.len) in reiserfs_lookup()
323 … retval = reiserfs_find_entry (dir, dentry->d_name.name, dentry->d_name.len, &path_to_entry, &de); in reiserfs_lookup()
549 retval = reiserfs_add_entry (&th, dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_create()
599 retval = reiserfs_add_entry (&th, dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_mknod()
659 retval = reiserfs_add_entry (&th, dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_mkdir()
713 …if ( (retval = reiserfs_find_entry (dir, dentry->d_name.name, dentry->d_name.len, &path, &de)) == … in reiserfs_rmdir()
796 …if ( (retval = reiserfs_find_entry (dir, dentry->d_name.name, dentry->d_name.len, &path, &de)) == … in reiserfs_unlink()
914 retval = reiserfs_add_entry (&th, parent_dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_symlink()
961 retval = reiserfs_add_entry (&th, dir, dentry->d_name.name, dentry->d_name.len, in reiserfs_link()
1062 retval = reiserfs_find_entry (old_dir, old_dentry->d_name.name, old_dentry->d_name.len, in reiserfs_rename()
[all …]
/linux-2.4.37.9/fs/devpts/
Droot.c106 if ( dentry->d_name.len == 1 && dentry->d_name.name[0] == '0' ) { in devpts_root_lookup()
108 } else if ( dentry->d_name.len < 1 ) { in devpts_root_lookup()
111 p = dentry->d_name.name; in devpts_root_lookup()
116 for ( i = dentry->d_name.len-1 ; i ; i-- ) { in devpts_root_lookup()

12345