dentry 289 arch/x86/ia32/ia32_aout.c i_size_read(bprm->file->f_path.dentry->d_inode) < dentry 375 arch/x86/ia32/ia32_aout.c bprm->file->f_path.dentry->d_name.name); dentry 457 arch/x86/ia32/ia32_aout.c inode = file->f_path.dentry->d_inode; dentry 489 arch/x86/ia32/ia32_aout.c file->f_path.dentry->d_name.name); dentry 89 arch/x86/kernel/cpuid.c int cpu = iminor(file->f_path.dentry->d_inode); dentry 123 arch/x86/kernel/cpuid.c cpu = iminor(file->f_path.dentry->d_inode); dentry 19 arch/x86/kernel/kdebugfs.c struct dentry *arch_debugfs_dir; dentry 85 arch/x86/kernel/kdebugfs.c struct dentry *d, *type, *data; dentry 120 arch/x86/kernel/kdebugfs.c struct dentry *d; dentry 177 arch/x86/kernel/kdebugfs.c struct dentry *dbp, *version, *data; dentry 74 arch/x86/kernel/msr.c int cpu = iminor(file->f_path.dentry->d_inode); dentry 105 arch/x86/kernel/msr.c int cpu = iminor(file->f_path.dentry->d_inode); dentry 132 arch/x86/kernel/msr.c unsigned int cpu = iminor(file->f_path.dentry->d_inode); dentry 137 arch/x86/kernel/msr.c cpu = iminor(file->f_path.dentry->d_inode); dentry 329 arch/x86/mm/dump_pagetables.c struct dentry *pe; dentry 64 arch/x86/mm/mmio-mod.c static struct dentry *marker_file; dentry 340 arch/x86/oprofile/nmi_int.c struct dentry *dir; dentry 471 arch/x86/oprofile/op_model_amd.c static int (*create_arch_files)(struct super_block * sb, struct dentry * root); dentry 476 arch/x86/oprofile/op_model_amd.c struct dentry *dir; dentry 7 arch/x86/xen/debugfs.c static struct dentry *d_xen_debug; dentry 9 arch/x86/xen/debugfs.c struct dentry * __init xen_init_debugfs(void) dentry 76 arch/x86/xen/debugfs.c struct inode *inode = file->f_path.dentry->d_inode; dentry 110 arch/x86/xen/debugfs.c struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode, dentry 4 arch/x86/xen/debugfs.h struct dentry * __init xen_init_debugfs(void); dentry 6 arch/x86/xen/debugfs.h struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode, dentry 1127 arch/x86/xen/mmu.c static struct dentry *d_mmu_debug; dentry 1131 arch/x86/xen/mmu.c struct dentry *d_xen = xen_init_debugfs(); dentry 250 arch/x86/xen/multicalls.c static struct dentry *d_mc_debug; dentry 254 arch/x86/xen/multicalls.c struct dentry *d_xen = xen_init_debugfs(); dentry 377 arch/x86/xen/spinlock.c static struct dentry *d_spin_debug; dentry 381 arch/x86/xen/spinlock.c struct dentry *d_xen = xen_init_debugfs(); dentry 182 block/blktrace.c static struct dentry *blk_tree_root; dentry 203 block/blktrace.c static struct dentry *blk_create_tree(const char *blk_name) dentry 205 block/blktrace.c struct dentry *dir = NULL; dentry 339 block/blktrace.c debugfs_remove(dentry); dentry 343 block/blktrace.c static struct dentry *blk_create_buf_file_callback(const char *filename, dentry 366 block/blktrace.c struct dentry *dir = NULL; dentry 48 fs/9p/fid.c fid->fid, dentry->d_iname); dentry 50 fs/9p/fid.c dent = dentry->d_fsdata; dentry 58 fs/9p/fid.c dentry->d_fsdata = dent; dentry 82 fs/9p/fid.c dentry->d_iname, dentry, uid, any); dentry 83 fs/9p/fid.c dent = (struct v9fs_dentry *) dentry->d_fsdata; dentry 114 fs/9p/fid.c struct dentry *d, *ds; dentry 118 fs/9p/fid.c v9ses = v9fs_inode2v9ses(dentry->d_inode); dentry 138 fs/9p/fid.c fid = v9fs_fid_find(dentry, uid, any); dentry 142 fs/9p/fid.c ds = dentry->d_parent; dentry 146 fs/9p/fid.c for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) dentry 170 fs/9p/fid.c if (ds == dentry) dentry 177 fs/9p/fid.c for (d = dentry, i = (n-1); i >= 0; i--, d = d->d_parent) dentry 195 fs/9p/fid.c v9fs_fid_add(dentry, fid); dentry 203 fs/9p/fid.c fid = v9fs_fid_lookup(dentry); dentry 96 fs/9p/v9fs.h struct dentry *debugfs_dir; dentry 99 fs/9p/v9fs.h extern struct dentry *v9fs_debugfs_root; dentry 55 fs/9p/vfs_dentry.c P9_DPRINTK(P9_DEBUG_VFS, " dentry: %s (%p)\n", dentry->d_iname, dentry); dentry 71 fs/9p/vfs_dentry.c struct inode *inode = dentry->d_inode; dentry 72 fs/9p/vfs_dentry.c P9_DPRINTK(P9_DEBUG_VFS, " dentry: %s (%p)\n", dentry->d_iname, dentry); dentry 91 fs/9p/vfs_dentry.c P9_DPRINTK(P9_DEBUG_VFS, " dentry: %s (%p)\n", dentry->d_iname, dentry); dentry 92 fs/9p/vfs_dentry.c dent = dentry->d_fsdata; dentry 100 fs/9p/vfs_dentry.c dentry->d_fsdata = NULL; dentry 77 fs/9p/vfs_dir.c P9_DPRINTK(P9_DEBUG_VFS, "name %s\n", filp->f_path.dentry->d_name.name); dentry 78 fs/9p/vfs_dir.c inode = filp->f_path.dentry->d_inode; dentry 65 fs/9p/vfs_file.c fid = v9fs_fid_clone(file->f_path.dentry); dentry 106 fs/9p/vfs_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 161 fs/9p/vfs_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 423 fs/9p/vfs_inode.c name = (char *) dentry->d_name.name; dentry 424 fs/9p/vfs_inode.c dfid = v9fs_fid_clone(dentry->d_parent); dentry 460 fs/9p/vfs_inode.c dentry->d_op = &v9fs_cached_dentry_operations; dentry 462 fs/9p/vfs_inode.c dentry->d_op = &v9fs_dentry_operations; dentry 464 fs/9p/vfs_inode.c d_instantiate(dentry, inode); dentry 465 fs/9p/vfs_inode.c v9fs_fid_add(dentry, fid); dentry 510 fs/9p/vfs_inode.c fid = v9fs_create(v9ses, dir, dentry, NULL, perm, dentry 520 fs/9p/vfs_inode.c filp = lookup_instantiate_filp(nd, dentry, v9fs_open_created); dentry 554 fs/9p/vfs_inode.c P9_DPRINTK(P9_DEBUG_VFS, "name %s\n", dentry->d_name.name); dentry 558 fs/9p/vfs_inode.c fid = v9fs_create(v9ses, dir, dentry, NULL, perm, P9_OREAD); dentry 578 fs/9p/vfs_inode.c static struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, dentry 589 fs/9p/vfs_inode.c dir, dentry->d_name.name, dentry, nameidata); dentry 593 fs/9p/vfs_inode.c dfid = v9fs_fid_lookup(dentry->d_parent); dentry 597 fs/9p/vfs_inode.c name = (char *) dentry->d_name.name; dentry 602 fs/9p/vfs_inode.c d_add(dentry, NULL); dentry 616 fs/9p/vfs_inode.c result = v9fs_fid_add(dentry, fid); dentry 621 fs/9p/vfs_inode.c dentry->d_op = &v9fs_cached_dentry_operations; dentry 623 fs/9p/vfs_inode.c dentry->d_op = &v9fs_dentry_operations; dentry 625 fs/9p/vfs_inode.c d_add(dentry, inode); dentry 739 fs/9p/vfs_inode.c P9_DPRINTK(P9_DEBUG_VFS, "dentry: %p\n", dentry); dentry 741 fs/9p/vfs_inode.c v9ses = v9fs_inode2v9ses(dentry->d_inode); dentry 743 fs/9p/vfs_inode.c return simple_getattr(mnt, dentry, stat); dentry 745 fs/9p/vfs_inode.c fid = v9fs_fid_lookup(dentry); dentry 753 fs/9p/vfs_inode.c v9fs_stat2inode(st, dentry->d_inode, dentry->d_inode->i_sb); dentry 754 fs/9p/vfs_inode.c generic_fillattr(dentry->d_inode, stat); dentry 776 fs/9p/vfs_inode.c v9ses = v9fs_inode2v9ses(dentry->d_inode); dentry 777 fs/9p/vfs_inode.c fid = v9fs_fid_lookup(dentry); dentry 804 fs/9p/vfs_inode.c retval = inode_setattr(dentry->d_inode, iattr); dentry 909 fs/9p/vfs_inode.c P9_DPRINTK(P9_DEBUG_VFS, " %s\n", dentry->d_name.name); dentry 911 fs/9p/vfs_inode.c v9ses = v9fs_inode2v9ses(dentry->d_inode); dentry 912 fs/9p/vfs_inode.c fid = v9fs_fid_lookup(dentry); dentry 936 fs/9p/vfs_inode.c "%s -> %.*s (%s)\n", dentry->d_name.name, st->extension.len, dentry 967 fs/9p/vfs_inode.c P9_DPRINTK(P9_DEBUG_VFS, " dentry: %s (%p)\n", dentry->d_iname, dentry); dentry 969 fs/9p/vfs_inode.c retval = v9fs_readlink(dentry, link, buflen); dentry 995 fs/9p/vfs_inode.c P9_DPRINTK(P9_DEBUG_VFS, "%s n", dentry->d_name.name); dentry 1000 fs/9p/vfs_inode.c len = v9fs_readlink(dentry, link, PATH_MAX); dentry 1026 fs/9p/vfs_inode.c P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name, s); dentry 1054 fs/9p/vfs_inode.c fid = v9fs_create(v9ses, dir, dentry, (char *) extension, perm, dentry 1077 fs/9p/vfs_inode.c dentry->d_name.name, symname); dentry 1079 fs/9p/vfs_inode.c return v9fs_vfs_mkspecial(dir, dentry, S_IFLNK, symname); dentry 1099 fs/9p/vfs_inode.c " %lu,%s,%s\n", dir->i_ino, dentry->d_name.name, dentry 1113 fs/9p/vfs_inode.c retval = v9fs_vfs_mkspecial(dir, dentry, P9_DMLINK, name); dentry 1138 fs/9p/vfs_inode.c dentry->d_name.name, mode, MAJOR(rdev), MINOR(rdev)); dentry 1158 fs/9p/vfs_inode.c retval = v9fs_vfs_mkspecial(dir, dentry, mode, name); dentry 112 fs/9p/vfs_super.c struct dentry *root = NULL; dentry 31 fs/adfs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 271 fs/adfs/dir.c static struct dentry * dentry 278 fs/adfs/dir.c dentry->d_op = &adfs_dentry_operations; dentry 280 fs/adfs/dir.c error = adfs_dir_lookup_byname(dir, &dentry->d_name, &obj); dentry 292 fs/adfs/dir.c d_add(dentry, inode); dentry 320 fs/adfs/inode.c struct inode *inode = dentry->d_inode; dentry 222 fs/adfs/super.c struct adfs_sb_info *asb = ADFS_SB(dentry->d_sb); dentry 226 fs/adfs/super.c buf->f_bsize = dentry->d_sb->s_blocksize; dentry 230 fs/adfs/super.c buf->f_bfree = adfs_map_free(dentry->d_sb); dentry 157 fs/affs/affs.h extern struct dentry *affs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *); dentry 127 fs/affs/amigaffs.c struct inode *inode = dentry->d_inode; dentry 128 fs/affs/amigaffs.c void *data = dentry->d_fsdata; dentry 135 fs/affs/amigaffs.c dentry = list_entry(next, struct dentry, d_alias); dentry 136 fs/affs/amigaffs.c if (entry_ino == (u32)(long)dentry->d_fsdata) { dentry 137 fs/affs/amigaffs.c dentry->d_fsdata = data; dentry 151 fs/affs/amigaffs.c struct inode *dir, *inode = dentry->d_inode; dentry 163 fs/affs/amigaffs.c link_ino = (u32)(long)dentry->d_fsdata; dentry 180 fs/affs/amigaffs.c affs_fix_dcache(dentry, link_ino); dentry 273 fs/affs/amigaffs.c dir = dentry->d_parent->d_inode; dentry 277 fs/affs/amigaffs.c inode = dentry->d_inode; dentry 283 fs/affs/amigaffs.c bh = affs_bread(sb, (u32)(long)dentry->d_fsdata); dentry 313 fs/affs/amigaffs.c retval = affs_remove_link(dentry); dentry 506 fs/affs/amigaffs.c int len = min(dentry->d_name.len, 30u); dentry 509 fs/affs/amigaffs.c memcpy(bstr, dentry->d_name.name, len); dentry 45 fs/affs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 75 fs/affs/dir.c if (filldir(dirent, "..", 2, f_pos, parent_ino(filp->f_path.dentry), DT_DIR) < 0) dentry 220 fs/affs/inode.c struct inode *inode = dentry->d_inode; dentry 343 fs/affs/inode.c (u32)inode->i_ino, (int)dentry->d_name.len, dentry->d_name.name, type); dentry 370 fs/affs/inode.c affs_copy_name(AFFS_TAIL(sb, bh)->name, dentry); dentry 387 fs/affs/inode.c dentry->d_fsdata = (void *)(long)bh->b_blocknr; dentry 395 fs/affs/inode.c d_instantiate(dentry, inode); dentry 83 fs/affs/namei.c return __affs_hash_dentry(dentry, qstr, affs_toupper); dentry 88 fs/affs/namei.c return __affs_hash_dentry(dentry, qstr, affs_intl_toupper); dentry 126 fs/affs/namei.c return __affs_compare_dentry(dentry, a, b, affs_toupper); dentry 131 fs/affs/namei.c return __affs_compare_dentry(dentry, a, b, affs_intl_toupper); dentry 141 fs/affs/namei.c const u8 *name = dentry->d_name.name; dentry 142 fs/affs/namei.c int len = dentry->d_name.len; dentry 178 fs/affs/namei.c pr_debug("AFFS: find_entry(\"%.*s\")\n", (int)dentry->d_name.len, dentry->d_name.name); dentry 184 fs/affs/namei.c key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)]); dentry 193 fs/affs/namei.c if (affs_match(dentry, AFFS_TAIL(sb, bh)->name, toupper)) dentry 199 fs/affs/namei.c struct dentry * dentry 206 fs/affs/namei.c pr_debug("AFFS: lookup(\"%.*s\")\n",(int)dentry->d_name.len,dentry->d_name.name); dentry 209 fs/affs/namei.c bh = affs_find_entry(dir, dentry); dentry 217 fs/affs/namei.c dentry->d_fsdata = (void *)(long)ino; dentry 229 fs/affs/namei.c dentry->d_op = AFFS_SB(sb)->s_flags & SF_INTL ? &affs_intl_dentry_operations : &affs_dentry_operations; dentry 230 fs/affs/namei.c d_add(dentry, inode); dentry 238 fs/affs/namei.c dentry->d_inode->i_ino, dentry 239 fs/affs/namei.c (int)dentry->d_name.len, dentry->d_name.name); dentry 241 fs/affs/namei.c return affs_remove_header(dentry); dentry 251 fs/affs/namei.c pr_debug("AFFS: create(%lu,\"%.*s\",0%o)\n",dir->i_ino,(int)dentry->d_name.len, dentry 252 fs/affs/namei.c dentry->d_name.name,mode); dentry 265 fs/affs/namei.c error = affs_add_entry(dir, inode, dentry, ST_FILE); dentry 281 fs/affs/namei.c (int)dentry->d_name.len,dentry->d_name.name,mode); dentry 293 fs/affs/namei.c error = affs_add_entry(dir, inode, dentry, ST_USERDIR); dentry 307 fs/affs/namei.c dentry->d_inode->i_ino, dentry 308 fs/affs/namei.c (int)dentry->d_name.len, dentry->d_name.name); dentry 310 fs/affs/namei.c return affs_remove_header(dentry); dentry 324 fs/affs/namei.c (int)dentry->d_name.len,dentry->d_name.name,symname); dentry 372 fs/affs/namei.c error = affs_add_entry(dir, inode, dentry, ST_SOFTLINK); dentry 391 fs/affs/namei.c (int)dentry->d_name.len,dentry->d_name.name); dentry 393 fs/affs/namei.c return affs_add_entry(dir, inode, dentry, ST_LINKFILE); dentry 534 fs/affs/super.c struct super_block *sb = dentry->d_sb; dentry 22 fs/afs/dir.c static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry, dentry 398 fs/afs/dir.c file->f_pos, file->f_path.dentry->d_inode->i_ino); dentry 403 fs/afs/dir.c ret = afs_dir_iterate(file->f_path.dentry->d_inode, &fpos, dentry 454 fs/afs/dir.c _enter("{%lu},%p{%s},", dir->i_ino, dentry, dentry->d_name.name); dentry 459 fs/afs/dir.c cookie.name = dentry->d_name.name; dentry 460 fs/afs/dir.c cookie.nlen = dentry->d_name.len; dentry 486 fs/afs/dir.c static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry, dentry 498 fs/afs/dir.c vnode->fid.vid, vnode->fid.vnode, dentry, dentry->d_name.name); dentry 500 fs/afs/dir.c ASSERTCMP(dentry->d_inode, ==, NULL); dentry 502 fs/afs/dir.c if (dentry->d_name.len >= AFSNAMEMAX) { dentry 525 fs/afs/dir.c ret = afs_do_lookup(dir, dentry, &fid, key); dentry 529 fs/afs/dir.c d_add(dentry, NULL); dentry 536 fs/afs/dir.c dentry->d_fsdata = (void *)(unsigned long) vnode->status.data_version; dentry 546 fs/afs/dir.c dentry->d_op = &afs_fs_dentry_operations; dentry 548 fs/afs/dir.c d_add(dentry, inode); dentry 552 fs/afs/dir.c dentry->d_inode->i_ino, dentry 553 fs/afs/dir.c (unsigned long long)dentry->d_inode->i_version); dentry 567 fs/afs/dir.c struct dentry *parent; dentry 572 fs/afs/dir.c vnode = AFS_FS_I(dentry->d_inode); dentry 574 fs/afs/dir.c if (dentry->d_inode) dentry 576 fs/afs/dir.c vnode->fid.vid, vnode->fid.vnode, dentry->d_name.name, dentry 579 fs/afs/dir.c _enter("{neg n=%s}", dentry->d_name.name); dentry 581 fs/afs/dir.c key = afs_request_key(AFS_FS_S(dentry->d_sb)->volume->cell); dentry 586 fs/afs/dir.c parent = dget_parent(dentry); dentry 597 fs/afs/dir.c _debug("%s: parent dir deleted", dentry->d_name.name); dentry 602 fs/afs/dir.c if (dentry->d_fsdata == dir_version) dentry 608 fs/afs/dir.c ret = afs_do_lookup(&dir->vfs_inode, dentry, &fid, key); dentry 612 fs/afs/dir.c if (!dentry->d_inode) dentry 614 fs/afs/dir.c if (is_bad_inode(dentry->d_inode)) { dentry 616 fs/afs/dir.c parent->d_name.name, dentry->d_name.name); dentry 624 fs/afs/dir.c dentry->d_name.name, fid.vnode, dentry 634 fs/afs/dir.c dentry->d_name.name, fid.unique, dentry 636 fs/afs/dir.c (unsigned long long)dentry->d_inode->i_version); dentry 646 fs/afs/dir.c _debug("%s: dirent not found", dentry->d_name.name); dentry 647 fs/afs/dir.c if (dentry->d_inode) dentry 658 fs/afs/dir.c dentry->d_fsdata = dir_version; dentry 667 fs/afs/dir.c spin_lock(&dentry->d_lock); dentry 668 fs/afs/dir.c dentry->d_flags |= DCACHE_NFSFS_RENAMED; dentry 669 fs/afs/dir.c spin_unlock(&dentry->d_lock); dentry 672 fs/afs/dir.c if (dentry->d_inode) { dentry 674 fs/afs/dir.c if (have_submounts(dentry)) dentry 679 fs/afs/dir.c parent->d_name.name, dentry->d_name.name); dentry 680 fs/afs/dir.c shrink_dcache_parent(dentry); dentry 681 fs/afs/dir.c d_drop(dentry); dentry 697 fs/afs/dir.c _enter("%s", dentry->d_name.name); dentry 699 fs/afs/dir.c if (dentry->d_flags & DCACHE_NFSFS_RENAMED) dentry 702 fs/afs/dir.c if (dentry->d_inode && dentry 703 fs/afs/dir.c test_bit(AFS_VNODE_DELETED, &AFS_FS_I(dentry->d_inode)->flags)) dentry 719 fs/afs/dir.c _enter("%s", dentry->d_name.name); dentry 739 fs/afs/dir.c dvnode->fid.vid, dvnode->fid.vnode, dentry->d_name.name, mode); dentry 742 fs/afs/dir.c if (dentry->d_name.len >= AFSNAMEMAX) dentry 752 fs/afs/dir.c ret = afs_vnode_create(dvnode, key, dentry->d_name.name, dentry 773 fs/afs/dir.c d_instantiate(dentry, inode); dentry 774 fs/afs/dir.c if (d_unhashed(dentry)) { dentry 776 fs/afs/dir.c d_rehash(dentry); dentry 787 fs/afs/dir.c d_drop(dentry); dentry 804 fs/afs/dir.c dvnode->fid.vid, dvnode->fid.vnode, dentry->d_name.name); dentry 807 fs/afs/dir.c if (dentry->d_name.len >= AFSNAMEMAX) dentry 816 fs/afs/dir.c ret = afs_vnode_remove(dvnode, key, dentry->d_name.name, true); dentry 820 fs/afs/dir.c if (dentry->d_inode) { dentry 821 fs/afs/dir.c vnode = AFS_FS_I(dentry->d_inode); dentry 850 fs/afs/dir.c dvnode->fid.vid, dvnode->fid.vnode, dentry->d_name.name); dentry 853 fs/afs/dir.c if (dentry->d_name.len >= AFSNAMEMAX) dentry 862 fs/afs/dir.c if (dentry->d_inode) { dentry 863 fs/afs/dir.c vnode = AFS_FS_I(dentry->d_inode); dentry 871 fs/afs/dir.c ret = afs_vnode_remove(dvnode, key, dentry->d_name.name, false); dentry 875 fs/afs/dir.c if (dentry->d_inode) { dentry 885 fs/afs/dir.c vnode = AFS_FS_I(dentry->d_inode); dentry 924 fs/afs/dir.c dvnode->fid.vid, dvnode->fid.vnode, dentry->d_name.name, mode); dentry 927 fs/afs/dir.c if (dentry->d_name.len >= AFSNAMEMAX) dentry 937 fs/afs/dir.c ret = afs_vnode_create(dvnode, key, dentry->d_name.name, dentry 958 fs/afs/dir.c d_instantiate(dentry, inode); dentry 959 fs/afs/dir.c if (d_unhashed(dentry)) { dentry 961 fs/afs/dir.c d_rehash(dentry); dentry 972 fs/afs/dir.c d_drop(dentry); dentry 993 fs/afs/dir.c dentry->d_name.name); dentry 996 fs/afs/dir.c if (dentry->d_name.len >= AFSNAMEMAX) dentry 1005 fs/afs/dir.c ret = afs_vnode_link(dvnode, vnode, key, dentry->d_name.name); dentry 1010 fs/afs/dir.c d_instantiate(dentry, &vnode->vfs_inode); dentry 1018 fs/afs/dir.c d_drop(dentry); dentry 1040 fs/afs/dir.c dvnode->fid.vid, dvnode->fid.vnode, dentry->d_name.name, dentry 1044 fs/afs/dir.c if (dentry->d_name.len >= AFSNAMEMAX) dentry 1057 fs/afs/dir.c ret = afs_vnode_symlink(dvnode, key, dentry->d_name.name, content, dentry 1078 fs/afs/dir.c d_instantiate(dentry, inode); dentry 1079 fs/afs/dir.c if (d_unhashed(dentry)) { dentry 1081 fs/afs/dir.c d_rehash(dentry); dentry 1092 fs/afs/dir.c d_drop(dentry); dentry 299 fs/afs/inode.c inode = dentry->d_inode; dentry 363 fs/afs/inode.c struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); dentry 368 fs/afs/inode.c vnode->fid.vid, vnode->fid.vnode, dentry->d_name.name, dentry 24 fs/afs/mntpt.c static struct dentry *afs_mntpt_lookup(struct inode *dir, dentry 104 fs/afs/mntpt.c static struct dentry *afs_mntpt_lookup(struct inode *dir, dentry 110 fs/afs/mntpt.c dentry, dentry 111 fs/afs/mntpt.c dentry->d_parent, dentry 112 fs/afs/mntpt.c dentry->d_parent ? dentry 113 fs/afs/mntpt.c dentry->d_parent->d_name.name : (const unsigned char *) "", dentry 114 fs/afs/mntpt.c dentry->d_name.name); dentry 126 fs/afs/mntpt.c file->f_path.dentry->d_parent, dentry 127 fs/afs/mntpt.c file->f_path.dentry->d_parent ? dentry 128 fs/afs/mntpt.c file->f_path.dentry->d_parent->d_name.name : dentry 130 fs/afs/mntpt.c file->f_path.dentry->d_name.name); dentry 219 fs/afs/mntpt.c dentry, dentry 220 fs/afs/mntpt.c dentry->d_name.name, dentry 222 fs/afs/mntpt.c dentry, dentry 223 fs/afs/mntpt.c nd->path.dentry->d_name.name); dentry 225 fs/afs/mntpt.c dput(nd->path.dentry); dentry 226 fs/afs/mntpt.c nd->path.dentry = dget(dentry); dentry 228 fs/afs/mntpt.c newmnt = afs_mntpt_do_automount(nd->path.dentry); dentry 240 fs/afs/mntpt.c nd->path.dentry = dget(newmnt->mnt_root); dentry 246 fs/afs/mntpt.c while (d_mountpoint(nd->path.dentry) && dentry 247 fs/afs/mntpt.c follow_down(&nd->path.mnt, &nd->path.dentry)) dentry 292 fs/afs/super.c struct dentry *root = NULL; dentry 518 fs/afs/super.c struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); dentry 533 fs/afs/super.c buf->f_type = dentry->d_sb->s_magic; dentry 715 fs/afs/write.c struct dentry *dentry = iocb->ki_filp->f_path.dentry; dentry 716 fs/afs/write.c struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); dentry 741 fs/afs/write.c ret = afs_fsync(iocb->ki_filp, dentry, 1); dentry 782 fs/afs/write.c struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); dentry 786 fs/afs/write.c vnode->fid.vid, vnode->fid.vnode, dentry->d_name.name, dentry 42 fs/anon_inodes.c dentry->d_flags |= DCACHE_UNHASHED; dentry 75 fs/anon_inodes.c struct dentry *dentry; dentry 95 fs/anon_inodes.c dentry = d_alloc(anon_inode_mnt->mnt_sb->s_root, &this); dentry 96 fs/anon_inodes.c if (!dentry) dentry 106 fs/anon_inodes.c dentry->d_op = &anon_inodefs_dentry_operations; dentry 108 fs/anon_inodes.c dentry->d_flags &= ~DCACHE_UNHASHED; dentry 109 fs/anon_inodes.c d_instantiate(dentry, anon_inode_inode); dentry 112 fs/anon_inodes.c file = alloc_file(anon_inode_mnt, dentry, dentry 128 fs/anon_inodes.c dput(dentry); dentry 105 fs/attr.c struct inode *inode = dentry->d_inode; dentry 126 fs/attr.c error = security_inode_need_killpriv(dentry); dentry 128 fs/attr.c error = security_inode_killpriv(dentry); dentry 163 fs/attr.c down_write(&dentry->d_inode->i_alloc_sem); dentry 166 fs/attr.c error = security_inode_setattr(dentry, attr); dentry 168 fs/attr.c error = inode->i_op->setattr(dentry, attr); dentry 172 fs/attr.c error = security_inode_setattr(dentry, attr); dentry 183 fs/attr.c up_write(&dentry->d_inode->i_alloc_sem); dentry 186 fs/attr.c fsnotify_change(dentry, ia_valid); dentry 57 fs/autofs/autofs_i.h struct dentry *dentry; dentry 42 fs/autofs/dirhash.c struct dentry *dentry; dentry 60 fs/autofs/dirhash.c dentry = ent->dentry; dentry 62 fs/autofs/dirhash.c if ( !dentry ) { dentry 69 fs/autofs/dirhash.c if ( !dentry->d_inode ) { dentry 70 fs/autofs/dirhash.c dput(dentry); dentry 79 fs/autofs/dirhash.c if (!S_ISDIR(dentry->d_inode->i_mode)||!d_mountpoint(dentry)) { dentry 84 fs/autofs/dirhash.c dget(dentry); dentry 85 fs/autofs/dirhash.c if (!follow_down(&mnt, &dentry)) { dentry 86 fs/autofs/dirhash.c dput(dentry); dentry 91 fs/autofs/dirhash.c while (d_mountpoint(dentry) && follow_down(&mnt, &dentry)) dentry 93 fs/autofs/dirhash.c dput(dentry); dentry 136 fs/autofs/dirhash.c if (ent->dentry) dentry 137 fs/autofs/dirhash.c dget(ent->dentry); dentry 155 fs/autofs/dirhash.c if ( ent->dentry ) dentry 156 fs/autofs/dirhash.c dput(ent->dentry); dentry 225 fs/autofs/dirhash.c if ( ent->dentry ) { dentry 226 fs/autofs/dirhash.c dput(ent->dentry); dentry 227 fs/autofs/dirhash.c ent->dentry = NULL; dentry 243 fs/autofs/dirhash.c if ( ent->dentry ) dentry 244 fs/autofs/dirhash.c dput(ent->dentry); dentry 137 fs/autofs/inode.c struct dentry * root; dentry 22 fs/autofs/root.c static struct dentry *autofs_root_lookup(struct inode *,struct dentry *, struct nameidata *); dentry 48 fs/autofs/root.c struct inode * inode = filp->f_path.dentry->d_inode; dentry 71 fs/autofs/root.c if (!ent->dentry || d_mountpoint(ent->dentry)) { dentry 91 fs/autofs/root.c if (!(ent = autofs_hash_lookup(&sbi->dirhash, &dentry->d_name))) { dentry 93 fs/autofs/root.c if (status && dentry->d_inode) { dentry 95 fs/autofs/root.c printk("autofs warning: lookup failure on positive dentry, status = %d, name = %s\n", status, dentry->d_name.name); dentry 101 fs/autofs/root.c dentry->d_time = jiffies + AUTOFS_NEGATIVE_TIMEOUT; dentry 102 fs/autofs/root.c dentry->d_flags &= ~DCACHE_AUTOFS_PENDING; dentry 108 fs/autofs/root.c status = autofs_wait(sbi, &dentry->d_name); dentry 109 fs/autofs/root.c } while (!(ent = autofs_hash_lookup(&sbi->dirhash, &dentry->d_name))); dentry 114 fs/autofs/root.c dentry->d_time = (unsigned long) ent; dentry 116 fs/autofs/root.c if (!dentry->d_inode) { dentry 122 fs/autofs/root.c dentry->d_inode = inode; dentry 127 fs/autofs/root.c if (S_ISDIR(dentry->d_inode->i_mode) && !d_mountpoint(dentry)) { dentry 128 fs/autofs/root.c return !autofs_wait(sbi, &dentry->d_name); dentry 137 fs/autofs/root.c dentry->d_flags &= ~DCACHE_AUTOFS_PENDING; dentry 156 fs/autofs/root.c dir = dentry->d_parent->d_inode; dentry 160 fs/autofs/root.c if (dentry->d_flags & DCACHE_AUTOFS_PENDING) { dentry 164 fs/autofs/root.c res = try_to_fill_dentry(dentry, dir->i_sb, sbi); dentry 170 fs/autofs/root.c if (!dentry->d_inode) { dentry 172 fs/autofs/root.c return (dentry->d_time - jiffies <= AUTOFS_NEGATIVE_TIMEOUT); dentry 176 fs/autofs/root.c if (S_ISDIR(dentry->d_inode->i_mode) && !d_mountpoint(dentry)) { dentry 180 fs/autofs/root.c res = try_to_fill_dentry(dentry, dir->i_sb, sbi); dentry 187 fs/autofs/root.c ent = (struct autofs_dir_ent *) dentry->d_time; dentry 199 fs/autofs/root.c static struct dentry *autofs_root_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 206 fs/autofs/root.c autofs_say(dentry->d_name.name,dentry->d_name.len); dentry 208 fs/autofs/root.c if (dentry->d_name.len > NAME_MAX) { dentry 231 fs/autofs/root.c dentry->d_op = &autofs_dentry_operations; dentry 232 fs/autofs/root.c dentry->d_flags |= DCACHE_AUTOFS_PENDING; dentry 233 fs/autofs/root.c d_add(dentry, NULL); dentry 236 fs/autofs/root.c autofs_revalidate(dentry, nd); dentry 243 fs/autofs/root.c if (dentry->d_flags & DCACHE_AUTOFS_PENDING) { dentry 263 fs/autofs/root.c if (dentry->d_inode && d_unhashed(dentry)) dentry 280 fs/autofs/root.c autofs_say(dentry->d_name.name,dentry->d_name.len); dentry 288 fs/autofs/root.c if (autofs_hash_lookup(dh, &dentry->d_name)) { dentry 317 fs/autofs/root.c ent->name = kmalloc(dentry->d_name.len+1, GFP_KERNEL); dentry 330 fs/autofs/root.c ent->hash = dentry->d_name.hash; dentry 331 fs/autofs/root.c memcpy(ent->name, dentry->d_name.name, 1+(ent->len = dentry->d_name.len)); dentry 332 fs/autofs/root.c ent->dentry = NULL; /* We don't keep the dentry for symlinks */ dentry 340 fs/autofs/root.c d_instantiate(dentry, inode); dentry 370 fs/autofs/root.c ent = autofs_hash_lookup(dh, &dentry->d_name); dentry 386 fs/autofs/root.c dentry->d_time = (unsigned long)(struct autofs_dirhash *)NULL; dentry 390 fs/autofs/root.c d_drop(dentry); dentry 408 fs/autofs/root.c ent = autofs_hash_lookup(dh, &dentry->d_name); dentry 419 fs/autofs/root.c if (ent->dentry != dentry) { dentry 420 fs/autofs/root.c printk("autofs_rmdir: odentry != dentry for entry %s\n", dentry->d_name.name); dentry 423 fs/autofs/root.c dentry->d_time = (unsigned long)(struct autofs_dir_ent *)NULL; dentry 426 fs/autofs/root.c d_drop(dentry); dentry 446 fs/autofs/root.c ent = autofs_hash_lookup(dh, &dentry->d_name); dentry 465 fs/autofs/root.c ent->name = kmalloc(dentry->d_name.len+1, GFP_KERNEL); dentry 472 fs/autofs/root.c ent->hash = dentry->d_name.hash; dentry 473 fs/autofs/root.c memcpy(ent->name, dentry->d_name.name, 1+(ent->len = dentry->d_name.len)); dentry 475 fs/autofs/root.c ent->dentry = dentry; dentry 486 fs/autofs/root.c d_instantiate(dentry, inode); dentry 18 fs/autofs/symlink.c char *s=((struct autofs_symlink *)dentry->d_inode->i_private)->data; dentry 50 fs/autofs4/autofs_i.h struct dentry *dentry; dentry 129 fs/autofs4/autofs_i.h return (struct autofs_info *)(dentry->d_fsdata); dentry 143 fs/autofs4/autofs_i.h struct autofs_info *inf = autofs4_dentry_ino(dentry); dentry 145 fs/autofs4/autofs_i.h if (dentry->d_flags & DCACHE_AUTOFS_PENDING) dentry 156 fs/autofs4/autofs_i.h dst->f_path.dentry->d_inode->i_atime = dentry 157 fs/autofs4/autofs_i.h src->f_path.dentry->d_inode->i_atime; dentry 198 fs/autofs4/autofs_i.h while (d_mountpoint(*dentry)) { dentry 199 fs/autofs4/autofs_i.h int followed = follow_down(mnt, dentry); dentry 219 fs/autofs4/autofs_i.h return dentry->d_inode && !d_unhashed(dentry); dentry 224 fs/autofs4/autofs_i.h struct dentry *child; dentry 227 fs/autofs4/autofs_i.h list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) dentry 23 fs/autofs4/expire.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 30 fs/autofs4/expire.c if (dentry->d_flags & DCACHE_AUTOFS_PENDING) dentry 50 fs/autofs4/expire.c struct dentry *top = dentry; dentry 54 fs/autofs4/expire.c dentry, (int)dentry->d_name.len, dentry->d_name.name); dentry 57 fs/autofs4/expire.c dget(dentry); dentry 59 fs/autofs4/expire.c if (!autofs4_follow_mount(&mnt, &dentry)) dentry 63 fs/autofs4/expire.c if (is_autofs4_dentry(dentry)) dentry 76 fs/autofs4/expire.c dput(dentry); dentry 85 fs/autofs4/expire.c static struct dentry *next_dentry(struct dentry *p, struct dentry *root) dentry 99 fs/autofs4/expire.c return list_entry(next, struct dentry, d_u.d_child); dentry 140 fs/autofs4/expire.c struct dentry *p; dentry 207 fs/autofs4/expire.c static struct dentry *autofs4_check_leaves(struct vfsmount *mnt, dentry 212 fs/autofs4/expire.c struct dentry *p; dentry 247 fs/autofs4/expire.c static struct dentry *autofs4_expire_direct(struct super_block *sb, dentry 253 fs/autofs4/expire.c struct dentry *root = dget(sb->s_root); dentry 286 fs/autofs4/expire.c static struct dentry *autofs4_expire_indirect(struct super_block *sb, dentry 292 fs/autofs4/expire.c struct dentry *root = sb->s_root; dentry 293 fs/autofs4/expire.c struct dentry *expired = NULL; dentry 312 fs/autofs4/expire.c struct dentry *dentry = list_entry(next, struct dentry, d_u.d_child); dentry 315 fs/autofs4/expire.c if (!simple_positive(dentry)) { dentry 320 fs/autofs4/expire.c dentry = dget(dentry); dentry 324 fs/autofs4/expire.c ino = autofs4_dentry_ino(dentry); dentry 332 fs/autofs4/expire.c if (d_mountpoint(dentry)) { dentry 334 fs/autofs4/expire.c dentry, (int)dentry->d_name.len, dentry->d_name.name); dentry 338 fs/autofs4/expire.c if (atomic_read(&dentry->d_count) > ino_count) dentry 342 fs/autofs4/expire.c if (autofs4_mount_busy(mnt, dentry)) dentry 346 fs/autofs4/expire.c if (autofs4_can_expire(dentry, timeout, do_now)) { dentry 347 fs/autofs4/expire.c expired = dentry; dentry 353 fs/autofs4/expire.c if (simple_empty(dentry)) dentry 360 fs/autofs4/expire.c if (atomic_read(&dentry->d_count) > ino_count) dentry 363 fs/autofs4/expire.c if (!autofs4_tree_busy(mnt, dentry, timeout, do_now)) { dentry 364 fs/autofs4/expire.c expired = dentry; dentry 374 fs/autofs4/expire.c if (atomic_read(&dentry->d_count) > ino_count) dentry 377 fs/autofs4/expire.c expired = autofs4_check_leaves(mnt, dentry, timeout, do_now); dentry 379 fs/autofs4/expire.c dput(dentry); dentry 385 fs/autofs4/expire.c dput(dentry); dentry 407 fs/autofs4/expire.c struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); dentry 408 fs/autofs4/expire.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 417 fs/autofs4/expire.c dentry, dentry->d_name.len, dentry->d_name.name); dentry 419 fs/autofs4/expire.c status = autofs4_wait(sbi, dentry, NFY_NONE); dentry 424 fs/autofs4/expire.c if (d_unhashed(dentry)) dentry 442 fs/autofs4/expire.c struct dentry *dentry; dentry 450 fs/autofs4/expire.c if ((dentry = autofs4_expire_indirect(sb, mnt, sbi, 0)) == NULL) dentry 453 fs/autofs4/expire.c pkt.len = dentry->d_name.len; dentry 454 fs/autofs4/expire.c memcpy(pkt.name, dentry->d_name.name, pkt.len); dentry 456 fs/autofs4/expire.c dput(dentry); dentry 462 fs/autofs4/expire.c ino = autofs4_dentry_ino(dentry); dentry 475 fs/autofs4/expire.c struct dentry *dentry; dentry 483 fs/autofs4/expire.c dentry = autofs4_expire_direct(sb, mnt, sbi, do_now); dentry 485 fs/autofs4/expire.c dentry = autofs4_expire_indirect(sb, mnt, sbi, do_now); dentry 487 fs/autofs4/expire.c if (dentry) { dentry 488 fs/autofs4/expire.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 492 fs/autofs4/expire.c ret = autofs4_wait(sbi, dentry, NFY_EXPIRE); dentry 502 fs/autofs4/expire.c dput(dentry); dentry 49 fs/autofs4/inode.c ino->dentry = NULL; dentry 78 fs/autofs4/inode.c if (ino->dentry) { dentry 79 fs/autofs4/inode.c ino->dentry->d_fsdata = NULL; dentry 80 fs/autofs4/inode.c if (ino->dentry->d_inode) { dentry 81 fs/autofs4/inode.c struct dentry *parent = ino->dentry->d_parent; dentry 84 fs/autofs4/inode.c if (p_ino && parent != ino->dentry) dentry 87 fs/autofs4/inode.c dput(ino->dentry); dentry 89 fs/autofs4/inode.c ino->dentry = NULL; dentry 104 fs/autofs4/inode.c struct dentry *this_parent = sbi->sb->s_root; dentry 115 fs/autofs4/inode.c struct dentry *dentry = list_entry(next, struct dentry, d_u.d_child); dentry 118 fs/autofs4/inode.c if (!simple_positive(dentry)) { dentry 123 fs/autofs4/inode.c if (!list_empty(&dentry->d_subdirs)) { dentry 124 fs/autofs4/inode.c this_parent = dentry; dentry 132 fs/autofs4/inode.c dentry, (int)dentry->d_name.len, dentry->d_name.name); dentry 134 fs/autofs4/inode.c dput(dentry); dentry 139 fs/autofs4/inode.c struct dentry *dentry = this_parent; dentry 145 fs/autofs4/inode.c dentry, (int)dentry->d_name.len, dentry->d_name.name); dentry 146 fs/autofs4/inode.c dput(dentry); dentry 318 fs/autofs4/inode.c struct dentry * root; dentry 28 fs/autofs4/root.c static struct dentry *autofs4_lookup(struct inode *,struct dentry *, struct nameidata *); dentry 77 fs/autofs4/root.c struct dentry *dentry = file->f_path.dentry; dentry 78 fs/autofs4/root.c struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); dentry 81 fs/autofs4/root.c file, dentry, dentry->d_name.len, dentry->d_name.name); dentry 96 fs/autofs4/root.c if (!d_mountpoint(dentry) && __simple_empty(dentry)) { dentry 108 fs/autofs4/root.c struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); dentry 109 fs/autofs4/root.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 113 fs/autofs4/root.c dentry, dentry->d_name.len, dentry->d_name.name, dentry->d_inode); dentry 119 fs/autofs4/root.c if (dentry->d_inode == NULL) { dentry 121 fs/autofs4/root.c dentry->d_name.len, dentry->d_name.name); dentry 123 fs/autofs4/root.c status = autofs4_wait(sbi, dentry, NFY_MOUNT); dentry 129 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 130 fs/autofs4/root.c dentry->d_flags &= ~DCACHE_AUTOFS_PENDING; dentry 131 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 138 fs/autofs4/root.c } else if (dentry->d_flags & DCACHE_AUTOFS_PENDING || dentry 142 fs/autofs4/root.c dentry->d_name.len, dentry->d_name.name); dentry 144 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 145 fs/autofs4/root.c dentry->d_flags |= DCACHE_AUTOFS_PENDING; dentry 146 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 147 fs/autofs4/root.c status = autofs4_wait(sbi, dentry, NFY_MOUNT); dentry 152 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 153 fs/autofs4/root.c dentry->d_flags &= ~DCACHE_AUTOFS_PENDING; dentry 154 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 163 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 164 fs/autofs4/root.c dentry->d_flags &= ~DCACHE_AUTOFS_PENDING; dentry 165 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 173 fs/autofs4/root.c struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); dentry 174 fs/autofs4/root.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 180 fs/autofs4/root.c dentry, dentry->d_name.len, dentry->d_name.name, oz_mode, dentry 193 fs/autofs4/root.c if (!follow_down(&nd->path.mnt, &nd->path.dentry)) dentry 202 fs/autofs4/root.c autofs4_expire_wait(dentry); dentry 206 fs/autofs4/root.c if (!(lookup_type || dentry->d_flags & DCACHE_AUTOFS_PENDING)) dentry 215 fs/autofs4/root.c if (dentry->d_flags & DCACHE_AUTOFS_PENDING || dentry 216 fs/autofs4/root.c (!d_mountpoint(dentry) && __simple_empty(dentry))) { dentry 219 fs/autofs4/root.c status = try_to_fill_dentry(dentry, 0); dentry 232 fs/autofs4/root.c if (d_mountpoint(dentry)) { dentry 234 fs/autofs4/root.c &nd->path.dentry)) { dentry 256 fs/autofs4/root.c struct inode *dir = dentry->d_parent->d_inode; dentry 264 fs/autofs4/root.c if (autofs4_ispending(dentry)) { dentry 276 fs/autofs4/root.c if (autofs4_expire_wait(dentry) == -EAGAIN) dentry 283 fs/autofs4/root.c status = try_to_fill_dentry(dentry, flags); dentry 292 fs/autofs4/root.c if (dentry->d_inode == NULL) dentry 297 fs/autofs4/root.c if (S_ISDIR(dentry->d_inode->i_mode) && dentry 298 fs/autofs4/root.c !d_mountpoint(dentry) && dentry 299 fs/autofs4/root.c __simple_empty(dentry)) { dentry 301 fs/autofs4/root.c dentry, dentry->d_name.len, dentry->d_name.name); dentry 312 fs/autofs4/root.c status = try_to_fill_dentry(dentry, flags); dentry 344 fs/autofs4/root.c inf->dentry = NULL; dentry 363 fs/autofs4/root.c static struct dentry *autofs4_lookup_active(struct autofs_sb_info *sbi, struct dentry *parent, struct qstr *name) dentry 375 fs/autofs4/root.c struct dentry *dentry; dentry 379 fs/autofs4/root.c dentry = ino->dentry; dentry 381 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 384 fs/autofs4/root.c if (atomic_read(&dentry->d_count) == 0) dentry 387 fs/autofs4/root.c qstr = &dentry->d_name; dentry 389 fs/autofs4/root.c if (dentry->d_name.hash != hash) dentry 391 fs/autofs4/root.c if (dentry->d_parent != parent) dentry 399 fs/autofs4/root.c if (d_unhashed(dentry)) { dentry 400 fs/autofs4/root.c dget(dentry); dentry 401 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 404 fs/autofs4/root.c return dentry; dentry 407 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 415 fs/autofs4/root.c static struct dentry *autofs4_lookup_expiring(struct autofs_sb_info *sbi, struct dentry *parent, struct qstr *name) dentry 427 fs/autofs4/root.c struct dentry *dentry; dentry 431 fs/autofs4/root.c dentry = ino->dentry; dentry 433 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 436 fs/autofs4/root.c if (!dentry->d_inode) dentry 439 fs/autofs4/root.c qstr = &dentry->d_name; dentry 441 fs/autofs4/root.c if (dentry->d_name.hash != hash) dentry 443 fs/autofs4/root.c if (dentry->d_parent != parent) dentry 451 fs/autofs4/root.c if (d_unhashed(dentry)) { dentry 452 fs/autofs4/root.c dget(dentry); dentry 453 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 456 fs/autofs4/root.c return dentry; dentry 459 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 468 fs/autofs4/root.c static struct dentry *autofs4_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 472 fs/autofs4/root.c struct dentry *expiring, *unhashed; dentry 476 fs/autofs4/root.c dentry->d_name.len, dentry->d_name.name); dentry 479 fs/autofs4/root.c if (dentry->d_name.len > NAME_MAX) dentry 488 fs/autofs4/root.c expiring = autofs4_lookup_expiring(sbi, dentry->d_parent, &dentry->d_name); dentry 504 fs/autofs4/root.c unhashed = autofs4_lookup_active(sbi, dentry->d_parent, &dentry->d_name); dentry 506 fs/autofs4/root.c dentry = unhashed; dentry 519 fs/autofs4/root.c dentry->d_op = &autofs4_root_dentry_operations; dentry 530 fs/autofs4/root.c dentry->d_fsdata = ino; dentry 531 fs/autofs4/root.c ino->dentry = dentry; dentry 537 fs/autofs4/root.c d_instantiate(dentry, NULL); dentry 541 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 542 fs/autofs4/root.c dentry->d_flags |= DCACHE_AUTOFS_PENDING; dentry 543 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 544 fs/autofs4/root.c if (dentry->d_op && dentry->d_op->d_revalidate) { dentry 546 fs/autofs4/root.c (dentry->d_op->d_revalidate)(dentry, nd); dentry 555 fs/autofs4/root.c if (dentry->d_flags & DCACHE_AUTOFS_PENDING) { dentry 568 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 569 fs/autofs4/root.c dentry->d_flags &= ~DCACHE_AUTOFS_PENDING; dentry 570 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 580 fs/autofs4/root.c if (!oz_mode && d_unhashed(dentry)) { dentry 588 fs/autofs4/root.c struct dentry *parent = dentry->d_parent; dentry 589 fs/autofs4/root.c struct dentry *new = d_lookup(parent, &dentry->d_name); dentry 591 fs/autofs4/root.c dentry = new; dentry 593 fs/autofs4/root.c dentry = ERR_PTR(-ENOENT); dentry 598 fs/autofs4/root.c return dentry; dentry 612 fs/autofs4/root.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 618 fs/autofs4/root.c dentry->d_name.len, dentry->d_name.name); dentry 635 fs/autofs4/root.c if (!dentry->d_fsdata) dentry 645 fs/autofs4/root.c if (!dentry->d_fsdata) dentry 649 fs/autofs4/root.c d_add(dentry, inode); dentry 652 fs/autofs4/root.c dentry->d_op = &autofs4_root_dentry_operations; dentry 654 fs/autofs4/root.c dentry->d_op = &autofs4_dentry_operations; dentry 656 fs/autofs4/root.c dentry->d_fsdata = ino; dentry 657 fs/autofs4/root.c ino->dentry = dget(dentry); dentry 659 fs/autofs4/root.c p_ino = autofs4_dentry_ino(dentry->d_parent); dentry 660 fs/autofs4/root.c if (p_ino && dentry->d_parent != dentry) dentry 688 fs/autofs4/root.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 696 fs/autofs4/root.c p_ino = autofs4_dentry_ino(dentry->d_parent); dentry 697 fs/autofs4/root.c if (p_ino && dentry->d_parent != dentry) dentry 700 fs/autofs4/root.c dput(ino->dentry); dentry 702 fs/autofs4/root.c dentry->d_inode->i_size = 0; dentry 703 fs/autofs4/root.c clear_nlink(dentry->d_inode); dentry 712 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 713 fs/autofs4/root.c __d_drop(dentry); dentry 714 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 723 fs/autofs4/root.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 727 fs/autofs4/root.c dentry, dentry->d_name.len, dentry->d_name.name); dentry 733 fs/autofs4/root.c if (!list_empty(&dentry->d_subdirs)) { dentry 741 fs/autofs4/root.c spin_lock(&dentry->d_lock); dentry 742 fs/autofs4/root.c __d_drop(dentry); dentry 743 fs/autofs4/root.c spin_unlock(&dentry->d_lock); dentry 747 fs/autofs4/root.c p_ino = autofs4_dentry_ino(dentry->d_parent); dentry 748 fs/autofs4/root.c if (p_ino && dentry->d_parent != dentry) dentry 751 fs/autofs4/root.c dput(ino->dentry); dentry 752 fs/autofs4/root.c dentry->d_inode->i_size = 0; dentry 753 fs/autofs4/root.c clear_nlink(dentry->d_inode); dentry 764 fs/autofs4/root.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 772 fs/autofs4/root.c dentry, dentry->d_name.len, dentry->d_name.name); dentry 785 fs/autofs4/root.c if (!dentry->d_fsdata) dentry 789 fs/autofs4/root.c d_add(dentry, inode); dentry 792 fs/autofs4/root.c dentry->d_op = &autofs4_root_dentry_operations; dentry 794 fs/autofs4/root.c dentry->d_op = &autofs4_dentry_operations; dentry 796 fs/autofs4/root.c dentry->d_fsdata = ino; dentry 797 fs/autofs4/root.c ino->dentry = dget(dentry); dentry 799 fs/autofs4/root.c p_ino = autofs4_dentry_ino(dentry->d_parent); dentry 800 fs/autofs4/root.c if (p_ino && dentry->d_parent != dentry) dentry 863 fs/autofs4/root.c return dentry && dentry->d_inode && dentry 864 fs/autofs4/root.c (dentry->d_op == &autofs4_root_dentry_operations || dentry 865 fs/autofs4/root.c dentry->d_op == &autofs4_dentry_operations) && dentry 866 fs/autofs4/root.c dentry->d_fsdata != NULL; dentry 17 fs/autofs4/symlink.c struct autofs_info *ino = autofs4_dentry_ino(dentry); dentry 187 fs/autofs4/waitq.c struct dentry *root = sbi->sb->s_root; dentry 188 fs/autofs4/waitq.c struct dentry *tmp; dentry 194 fs/autofs4/waitq.c for (tmp = dentry ; tmp != root ; tmp = tmp->d_parent) dentry 203 fs/autofs4/waitq.c p = buf + len - dentry->d_name.len; dentry 204 fs/autofs4/waitq.c strncpy(p, dentry->d_name.name, dentry->d_name.len); dentry 206 fs/autofs4/waitq.c for (tmp = dentry->d_parent; tmp != root ; tmp = tmp->d_parent) { dentry 257 fs/autofs4/waitq.c ino = autofs4_dentry_ino(dentry); dentry 303 fs/autofs4/waitq.c if (!d_unhashed(dentry)) { dentry 311 fs/autofs4/waitq.c if (d_mountpoint(dentry)) dentry 331 fs/autofs4/waitq.c if (!dentry->d_inode) { dentry 342 fs/autofs4/waitq.c else if (!IS_ROOT(dentry->d_parent)) dentry 351 fs/autofs4/waitq.c if (IS_ROOT(dentry) && (sbi->type & AUTOFS_TYPE_DIRECT)) dentry 352 fs/autofs4/waitq.c qstr.len = sprintf(name, "%p", dentry); dentry 354 fs/autofs4/waitq.c qstr.len = autofs4_getpath(sbi, dentry, &name); dentry 368 fs/autofs4/waitq.c ret = validate_request(&wq, sbi, &qstr, dentry, notify); dentry 194 fs/bad_inode.c static struct dentry *bad_inode_lookup(struct inode *dir, dentry 37 fs/befs/linuxvfs.c static struct dentry *befs_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 162 fs/befs/linuxvfs.c static struct dentry * dentry 172 fs/befs/linuxvfs.c const char *name = dentry->d_name.name; dentry 175 fs/befs/linuxvfs.c "name %s inode %ld", dentry->d_name.name, dir->i_ino); dentry 189 fs/befs/linuxvfs.c ret = befs_btree_find(sb, ds, dentry->d_name.name, &offset); dentry 194 fs/befs/linuxvfs.c dentry->d_name.name); dentry 206 fs/befs/linuxvfs.c d_add(dentry, inode); dentry 216 fs/befs/linuxvfs.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 226 fs/befs/linuxvfs.c const char *dirname = filp->f_path.dentry->d_name.name; dentry 463 fs/befs/linuxvfs.c befs_inode_info *befs_ino = BEFS_I(dentry->d_inode); dentry 467 fs/befs/linuxvfs.c struct super_block *sb = dentry->d_sb; dentry 491 fs/befs/linuxvfs.c befs_inode_info *befs_ino = BEFS_I(dentry->d_inode); dentry 899 fs/befs/linuxvfs.c struct super_block *sb = dentry->d_sb; dentry 32 fs/bfs/dir.c struct inode *dir = f->f_path.dentry->d_inode; dentry 124 fs/bfs/dir.c err = bfs_add_entry(dir, dentry->d_name.name, dentry->d_name.len, dentry 133 fs/bfs/dir.c d_instantiate(dentry, inode); dentry 137 fs/bfs/dir.c static struct dentry *bfs_lookup(struct inode *dir, struct dentry *dentry, dentry 145 fs/bfs/dir.c if (dentry->d_name.len > BFS_NAMELEN) dentry 149 fs/bfs/dir.c bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); dentry 160 fs/bfs/dir.c d_add(dentry, inode); dentry 190 fs/bfs/dir.c struct inode *inode = dentry->d_inode; dentry 196 fs/bfs/dir.c bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de); dentry 225 fs/bfs/inode.c struct super_block *s = dentry->d_sb; dentry 274 fs/binfmt_aout.c i_size_read(bprm->file->f_path.dentry->d_inode) < ex.a_text+ex.a_data+N_SYMSIZE(ex)+N_TXTOFF(ex)) { dentry 385 fs/binfmt_aout.c bprm->file->f_path.dentry->d_name.name); dentry 458 fs/binfmt_aout.c inode = file->f_path.dentry->d_inode; dentry 494 fs/binfmt_aout.c file->f_path.dentry->d_name.name); dentry 1171 fs/binfmt_elf.c if (vma->vm_file->f_path.dentry->d_inode->i_nlink == 0 ? dentry 870 fs/binfmt_elf_fdpic.c what, file->f_path.dentry->d_inode->i_ino); dentry 1208 fs/binfmt_elf_fdpic.c if (vma->vm_file->f_path.dentry->d_inode->i_nlink == 0) { dentry 430 fs/binfmt_flat.c inode = bprm->file->f_path.dentry->d_inode; dentry 55 fs/binfmt_misc.c struct dentry *dentry; dentry 515 fs/binfmt_misc.c struct dentry *dentry; dentry 518 fs/binfmt_misc.c dentry = e->dentry; dentry 519 fs/binfmt_misc.c if (dentry) { dentry 521 fs/binfmt_misc.c e->dentry = NULL; dentry 525 fs/binfmt_misc.c if (dentry) { dentry 526 fs/binfmt_misc.c dentry->d_inode->i_nlink--; dentry 527 fs/binfmt_misc.c d_drop(dentry); dentry 528 fs/binfmt_misc.c dput(dentry); dentry 538 fs/binfmt_misc.c Node *e = file->f_path.dentry->d_inode->i_private; dentry 556 fs/binfmt_misc.c struct dentry *root; dentry 557 fs/binfmt_misc.c Node *e = file->f_path.dentry->d_inode->i_private; dentry 590 fs/binfmt_misc.c struct dentry *root, *dentry; dentry 601 fs/binfmt_misc.c dentry = lookup_one_len(e->name, root, strlen(e->name)); dentry 602 fs/binfmt_misc.c err = PTR_ERR(dentry); dentry 603 fs/binfmt_misc.c if (IS_ERR(dentry)) dentry 607 fs/binfmt_misc.c if (dentry->d_inode) dentry 623 fs/binfmt_misc.c e->dentry = dget(dentry); dentry 627 fs/binfmt_misc.c d_instantiate(dentry, inode); dentry 634 fs/binfmt_misc.c dput(dentry); dentry 664 fs/binfmt_misc.c struct dentry *root; dentry 1117 fs/block_dev.c struct dentry fake_dentry = {}; dentry 1120 fs/block_dev.c fake_file.f_path.dentry = &fake_dentry; dentry 1285 fs/block_dev.c inode = nd.path.dentry->d_inode; dentry 2408 fs/buffer.c struct inode *inode = vma->vm_file->f_path.dentry->d_inode; dentry 208 fs/cifs/cifs_dfs_ref.c cifs_sb = CIFS_SB(dentry->d_inode->i_sb); dentry 234 fs/cifs/cifs_dfs_ref.c nd->path.dentry = dget(newmnt->mnt_root); dentry 240 fs/cifs/cifs_dfs_ref.c while (d_mountpoint(nd->path.dentry) && dentry 241 fs/cifs/cifs_dfs_ref.c follow_down(&nd->path.mnt, &nd->path.dentry)) dentry 274 fs/cifs/cifs_dfs_ref.c BUG_ON(IS_ROOT(dentry)); dentry 278 fs/cifs/cifs_dfs_ref.c dput(nd->path.dentry); dentry 279 fs/cifs/cifs_dfs_ref.c nd->path.dentry = dget(dentry); dentry 281 fs/cifs/cifs_dfs_ref.c cifs_sb = CIFS_SB(dentry->d_inode->i_sb); dentry 289 fs/cifs/cifs_dfs_ref.c full_path = build_path_from_dentry(dentry); dentry 312 fs/cifs/cifs_dfs_ref.c nd->path.dentry, dentry 225 fs/cifs/cifsfs.c struct super_block *sb = dentry->d_sb; dentry 593 fs/cifs/cifsfs.c struct inode *inode = iocb->ki_filp->f_path.dentry->d_inode; dentry 611 fs/cifs/cifsfs.c CIFS_I(file->f_path.dentry->d_inode)->time = 0; dentry 613 fs/cifs/cifsfs.c retval = cifs_revalidate(file->f_path.dentry); dentry 42 fs/cifs/cifsfs.h extern struct dentry *cifs_lookup(struct inode *, struct dentry *, dentry 49 fs/cifs/dir.c struct dentry *temp; dentry 473 fs/cifs/dir.c struct dentry * dentry 601 fs/cifs/dir.c struct nls_table *codepage = CIFS_SB(dentry->d_inode->i_sb)->local_nls; dentry 617 fs/cifs/dir.c struct nls_table *codepage = CIFS_SB(dentry->d_inode->i_sb)->local_nls; dentry 49 fs/cifs/export.c static struct dentry *cifs_get_parent(struct dentry *dentry) dentry 52 fs/cifs/export.c cFYI(1, ("get parent for %p", dentry)); dentry 82 fs/cifs/fcntl.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 85 fs/cifs/fcntl.c full_path = build_path_from_dentry(file->f_path.dentry); dentry 129 fs/cifs/file.c if (timespec_equal(&file->f_path.dentry->d_inode->i_mtime, &temp) && dentry 130 fs/cifs/file.c (file->f_path.dentry->d_inode->i_size == dentry 134 fs/cifs/file.c if (file->f_path.dentry->d_inode->i_mapping) { dentry 137 fs/cifs/file.c rc = filemap_write_and_wait(file->f_path.dentry->d_inode->i_mapping); dentry 139 fs/cifs/file.c CIFS_I(file->f_path.dentry->d_inode)->write_behind_rc = rc; dentry 143 fs/cifs/file.c invalidate_remote_inode(file->f_path.dentry->d_inode); dentry 148 fs/cifs/file.c rc = cifs_get_inode_info_unix(&file->f_path.dentry->d_inode, dentry 151 fs/cifs/file.c rc = cifs_get_inode_info(&file->f_path.dentry->d_inode, dentry 158 fs/cifs/file.c file->f_path.dentry->d_inode)); dentry 187 fs/cifs/file.c pCifsInode = CIFS_I(file->f_path.dentry->d_inode); dentry 215 fs/cifs/file.c full_path = build_path_from_dentry(file->f_path.dentry); dentry 300 fs/cifs/file.c pCifsInode = CIFS_I(file->f_path.dentry->d_inode); dentry 374 fs/cifs/file.c if (file->f_path.dentry == NULL) { dentry 381 fs/cifs/file.c inode = file->f_path.dentry->d_inode; dentry 396 fs/cifs/file.c full_path = build_path_from_dentry(file->f_path.dentry); dentry 459 fs/cifs/file.c file->f_path.dentry->d_inode)); dentry 585 fs/cifs/file.c CIFS_SB(file->f_path.dentry->d_sb); dentry 693 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 824 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 842 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size) dentry 899 fs/cifs/file.c if ((file->f_path.dentry) && (file->f_path.dentry->d_inode)) { dentry 900 fs/cifs/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 906 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size) dentry 907 fs/cifs/file.c i_size_write(file->f_path.dentry->d_inode, dentry 911 fs/cifs/file.c mark_inode_dirty_sync(file->f_path.dentry->d_inode); dentry 928 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 933 fs/cifs/file.c *poffset, file->f_path.dentry->d_name.name)); dentry 941 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size) dentry 1017 fs/cifs/file.c if ((file->f_path.dentry) && (file->f_path.dentry->d_inode)) { dentry 1022 fs/cifs/file.c spin_lock(&file->f_path.dentry->d_inode->i_lock); dentry 1023 fs/cifs/file.c if (*poffset > file->f_path.dentry->d_inode->i_size) dentry 1024 fs/cifs/file.c i_size_write(file->f_path.dentry->d_inode, dentry 1026 fs/cifs/file.c spin_unlock(&file->f_path.dentry->d_inode->i_lock); dentry 1028 fs/cifs/file.c mark_inode_dirty_sync(file->f_path.dentry->d_inode); dentry 1511 fs/cifs/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1516 fs/cifs/file.c dentry->d_name.name, datasync)); dentry 1561 fs/cifs/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1601 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 1681 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 1737 fs/cifs/file.c struct dentry *dentry = file->f_path.dentry; dentry 1741 fs/cifs/file.c rc = cifs_revalidate(dentry); dentry 1823 fs/cifs/file.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 1960 fs/cifs/file.c file->f_path.dentry->d_inode->i_atime = dentry 1961 fs/cifs/file.c current_fs_time(file->f_path.dentry->d_inode->i_sb); dentry 839 fs/cifs/inode.c struct inode *inode = dentry->d_inode; dentry 847 fs/cifs/inode.c cFYI(1, ("cifs_unlink, dir=0x%p, dentry=0x%p", dir, dentry)); dentry 853 fs/cifs/inode.c full_path = build_path_from_dentry(dentry); dentry 879 fs/cifs/inode.c d_drop(dentry); dentry 1482 fs/cifs/inode.c int err = cifs_revalidate(dentry); dentry 1484 fs/cifs/inode.c generic_fillattr(dentry->d_inode, stat); dentry 64 fs/cifs/readdir.c struct dentry *tmp_dentry; dentry 70 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 74 fs/cifs/readdir.c tmp_dentry = d_lookup(file->f_path.dentry, qstring); dentry 81 fs/cifs/readdir.c *ptmp_inode = new_inode(file->f_path.dentry->d_sb); dentry 86 fs/cifs/readdir.c if (file->f_path.dentry->d_sb->s_flags & MS_NOATIME) dentry 89 fs/cifs/readdir.c tmp_dentry = d_alloc(file->f_path.dentry, qstring); dentry 96 fs/cifs/readdir.c *ptmp_inode = new_inode(file->f_path.dentry->d_sb); dentry 103 fs/cifs/readdir.c if (file->f_path.dentry->d_sb->s_flags & MS_NOATIME) dentry 460 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 468 fs/cifs/readdir.c full_path = build_path_from_dentry(file->f_path.dentry); dentry 633 fs/cifs/readdir.c struct inode *inode = file->f_path.dentry->d_inode; dentry 909 fs/cifs/readdir.c struct dentry *tmp_dentry; dentry 927 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 1003 fs/cifs/readdir.c cifs_sb = CIFS_SB(file->f_path.dentry->d_sb); dentry 1011 fs/cifs/readdir.c file->f_path.dentry->d_inode->i_ino, DT_DIR) < 0) { dentry 1019 fs/cifs/readdir.c file->f_path.dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) { dentry 87 fs/coda/cache.c struct dentry *de; dentry 92 fs/coda/cache.c de = list_entry(child, struct dentry, d_u.d_child); dentry 104 fs/coda/cache.c struct dentry *alias_de; dentry 4 fs/coda/coda_int.h struct dentry; dentry 33 fs/coda/dir.c static struct dentry *coda_lookup(struct inode *dir, struct dentry *target, struct nameidata *nd); dentry 96 fs/coda/dir.c static struct dentry *coda_lookup(struct inode *dir, struct dentry *entry, struct nameidata *nd) dentry 448 fs/coda/dir.c struct inode *host_inode = host_file->f_path.dentry->d_inode; dentry 495 fs/coda/dir.c struct dentry *de; dentry 508 fs/coda/dir.c de = coda_file->f_path.dentry; dentry 634 fs/coda/dir.c if (!dentry->d_inode) dentry 637 fs/coda/dir.c flags = (ITOC(dentry->d_inode)->c_flags) & C_PURGE; dentry 638 fs/coda/dir.c if (is_bad_inode(dentry->d_inode) || flags) { dentry 658 fs/coda/dir.c struct inode *inode = dentry->d_inode; dentry 65 fs/coda/file.c struct inode *host_inode, *coda_inode = coda_file->f_path.dentry->d_inode; dentry 77 fs/coda/file.c host_inode = host_file->f_path.dentry->d_inode; dentry 105 fs/coda/file.c coda_inode = coda_file->f_path.dentry->d_inode; dentry 106 fs/coda/file.c host_inode = host_file->f_path.dentry->d_inode; dentry 179 fs/coda/file.c host_inode = cfi->cfi_container->f_path.dentry->d_inode; dentry 203 fs/coda/file.c struct dentry *host_dentry; dentry 217 fs/coda/file.c host_dentry = host_file->f_path.dentry; dentry 120 fs/coda/inode.c inode = file->f_path.dentry->d_inode; dentry 225 fs/coda/inode.c int err = coda_revalidate_inode(dentry); dentry 227 fs/coda/inode.c generic_fillattr(dentry->d_inode, stat); dentry 270 fs/coda/inode.c error = venus_statfs(dentry, buf); dentry 76 fs/coda/pioctl.c target_inode = path.dentry->d_inode; dentry 559 fs/coda/upcall.c error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp); dentry 245 fs/compat.c error = vfs_statfs(path.dentry, &tmp); dentry 263 fs/compat.c error = vfs_statfs(file->f_path.dentry, &tmp); dentry 313 fs/compat.c error = vfs_statfs(path.dentry, &tmp); dentry 334 fs/compat.c error = vfs_statfs(file->f_path.dentry, &tmp); dentry 1128 fs/compat.c struct dentry *dentry = file->f_path.dentry; dentry 1130 fs/compat.c fsnotify_access(dentry); dentry 1132 fs/compat.c fsnotify_modify(dentry); dentry 1046 fs/compat_ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 2801 fs/compat_ioctl.c if (S_ISREG(filp->f_path.dentry->d_inode->i_mode)) dentry 2824 fs/compat_ioctl.c if (S_ISSOCK(filp->f_path.dentry->d_inode->i_mode) && dentry 40 fs/configfs/configfs_internal.h struct dentry * s_dentry; dentry 106 fs/configfs/configfs_internal.h struct configfs_dirent * sd = dentry->d_fsdata; dentry 112 fs/configfs/configfs_internal.h struct configfs_dirent * sd = dentry->d_fsdata; dentry 121 fs/configfs/configfs_internal.h if (!d_unhashed(dentry)) { dentry 122 fs/configfs/configfs_internal.h struct configfs_dirent * sd = dentry->d_fsdata; dentry 56 fs/configfs/dir.c struct configfs_dirent * sd = dentry->d_fsdata; dentry 59 fs/configfs/dir.c BUG_ON(sd->s_dentry != dentry); dentry 147 fs/configfs/dir.c sd->s_dentry = dentry; dentry 148 fs/configfs/dir.c if (dentry) { dentry 149 fs/configfs/dir.c dentry->d_fsdata = configfs_get(sd); dentry 150 fs/configfs/dir.c dentry->d_op = &configfs_dentry_ops; dentry 219 fs/configfs/dir.c struct dentry * parent; dentry 231 fs/configfs/dir.c error = create_dir(item,parent,dentry); dentry 233 fs/configfs/dir.c item->ci_dentry = dentry; dentry 282 fs/configfs/dir.c err = configfs_make_dirent(parent->d_fsdata, dentry, sl, mode, dentry 285 fs/configfs/dir.c err = configfs_create(dentry, mode, init_symlink); dentry 287 fs/configfs/dir.c dentry->d_op = &configfs_dentry_ops; dentry 289 fs/configfs/dir.c struct configfs_dirent *sd = dentry->d_fsdata; dentry 303 fs/configfs/dir.c struct dentry * parent = dget(d->d_parent); dentry 333 fs/configfs/dir.c struct dentry * dentry = dget(item->ci_dentry); dentry 335 fs/configfs/dir.c if (!dentry) dentry 338 fs/configfs/dir.c remove_dir(dentry); dentry 342 fs/configfs/dir.c dput(dentry); dentry 354 fs/configfs/dir.c dentry->d_fsdata = configfs_get(sd); dentry 355 fs/configfs/dir.c sd->s_dentry = dentry; dentry 356 fs/configfs/dir.c error = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG, dentry 363 fs/configfs/dir.c dentry->d_op = &configfs_dentry_ops; dentry 364 fs/configfs/dir.c d_rehash(dentry); dentry 369 fs/configfs/dir.c static struct dentry * configfs_lookup(struct inode *dir, dentry 373 fs/configfs/dir.c struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; dentry 394 fs/configfs/dir.c if (strcmp(name, dentry->d_name.name)) dentry 398 fs/configfs/dir.c err = configfs_attach_attr(sd, dentry); dentry 408 fs/configfs/dir.c return simple_lookup(dir, dentry, nd); dentry 425 fs/configfs/dir.c struct configfs_dirent *parent_sd = dentry->d_fsdata; dentry 472 fs/configfs/dir.c struct configfs_dirent *parent_sd = dentry->d_fsdata; dentry 484 fs/configfs/dir.c struct dentry * dentry = dget(item->ci_dentry); dentry 488 fs/configfs/dir.c if (!dentry) dentry 492 fs/configfs/dir.c dentry->d_name.name); dentry 494 fs/configfs/dir.c parent_sd = dentry->d_fsdata; dentry 501 fs/configfs/dir.c configfs_drop_dentry(sd, dentry); dentry 508 fs/configfs/dir.c dput(dentry); dentry 540 fs/configfs/dir.c struct dentry * dentry = dget(group->cg_item.ci_dentry); dentry 541 fs/configfs/dir.c struct dentry *child; dentry 545 fs/configfs/dir.c if (!dentry) dentry 548 fs/configfs/dir.c parent_sd = dentry->d_fsdata; dentry 570 fs/configfs/dir.c dput(dentry); dentry 588 fs/configfs/dir.c struct dentry *child, *parent = parent_group->cg_item.ci_dentry; dentry 743 fs/configfs/dir.c ret = configfs_create_dir(item, dentry); dentry 752 fs/configfs/dir.c mutex_lock(&dentry->d_inode->i_mutex); dentry 754 fs/configfs/dir.c dentry->d_inode->i_flags |= S_DEAD; dentry 755 fs/configfs/dir.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 756 fs/configfs/dir.c d_delete(dentry); dentry 777 fs/configfs/dir.c ret = configfs_attach_item(parent_item, item, dentry); dentry 779 fs/configfs/dir.c sd = dentry->d_fsdata; dentry 791 fs/configfs/dir.c mutex_lock_nested(&dentry->d_inode->i_mutex, I_MUTEX_CHILD); dentry 795 fs/configfs/dir.c dentry->d_inode->i_flags |= S_DEAD; dentry 797 fs/configfs/dir.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 799 fs/configfs/dir.c d_delete(dentry); dentry 990 fs/configfs/dir.c struct dentry *dentry = item->ci_dentry; dentry 992 fs/configfs/dir.c while (dentry != origin) { dentry 993 fs/configfs/dir.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 994 fs/configfs/dir.c dentry = dentry->d_parent; dentry 1106 fs/configfs/dir.c if (dentry->d_parent == configfs_sb->s_root) { dentry 1111 fs/configfs/dir.c sd = dentry->d_parent->d_fsdata; dentry 1128 fs/configfs/dir.c parent_item = configfs_get_config_item(dentry->d_parent); dentry 1155 fs/configfs/dir.c name = kmalloc(dentry->d_name.len + 1, GFP_KERNEL); dentry 1161 fs/configfs/dir.c snprintf(name, dentry->d_name.len + 1, "%s", dentry->d_name.name); dentry 1229 fs/configfs/dir.c ret = configfs_attach_group(parent_item, item, dentry); dentry 1231 fs/configfs/dir.c ret = configfs_attach_item(parent_item, item, dentry); dentry 1236 fs/configfs/dir.c configfs_dir_set_ready(dentry->d_fsdata); dentry 1282 fs/configfs/dir.c if (dentry->d_parent == configfs_sb->s_root) dentry 1285 fs/configfs/dir.c sd = dentry->d_fsdata; dentry 1297 fs/configfs/dir.c parent_item = configfs_get_config_item(dentry->d_parent); dentry 1319 fs/configfs/dir.c ret = configfs_detach_prep(dentry, &wait_mutex); dentry 1321 fs/configfs/dir.c configfs_detach_rollback(dentry); dentry 1338 fs/configfs/dir.c item = configfs_get_config_item(dentry); dentry 1385 fs/configfs/dir.c struct dentry * new_dentry, * parent; dentry 1394 fs/configfs/dir.c parent = item->parent->dentry; dentry 1404 fs/configfs/dir.c d_move(item->dentry, new_dentry); dentry 1421 fs/configfs/dir.c struct dentry * dentry = file->f_path.dentry; dentry 1422 fs/configfs/dir.c struct configfs_dirent * parent_sd = dentry->d_fsdata; dentry 1425 fs/configfs/dir.c mutex_lock(&dentry->d_inode->i_mutex); dentry 1438 fs/configfs/dir.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 1445 fs/configfs/dir.c struct dentry * dentry = file->f_path.dentry; dentry 1448 fs/configfs/dir.c mutex_lock(&dentry->d_inode->i_mutex); dentry 1452 fs/configfs/dir.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 1467 fs/configfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 1468 fs/configfs/dir.c struct configfs_dirent * parent_sd = dentry->d_fsdata; dentry 1476 fs/configfs/dir.c ino = dentry->d_inode->i_ino; dentry 1483 fs/configfs/dir.c ino = parent_ino(dentry); dentry 1528 fs/configfs/dir.c struct dentry * dentry = file->f_path.dentry; dentry 1530 fs/configfs/dir.c mutex_lock(&dentry->d_inode->i_mutex); dentry 1538 fs/configfs/dir.c mutex_unlock(&file->f_path.dentry->d_inode->i_mutex); dentry 1544 fs/configfs/dir.c struct configfs_dirent *sd = dentry->d_fsdata; dentry 1564 fs/configfs/dir.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 1581 fs/configfs/dir.c struct dentry *dentry; dentry 1602 fs/configfs/dir.c dentry = d_alloc(configfs_sb->s_root, &name); dentry 1603 fs/configfs/dir.c if (dentry) { dentry 1604 fs/configfs/dir.c d_add(dentry, NULL); dentry 1607 fs/configfs/dir.c dentry); dentry 1609 fs/configfs/dir.c d_delete(dentry); dentry 1610 fs/configfs/dir.c dput(dentry); dentry 1613 fs/configfs/dir.c configfs_dir_set_ready(dentry->d_fsdata); dentry 1631 fs/configfs/dir.c struct dentry *dentry = group->cg_item.ci_dentry; dentry 1633 fs/configfs/dir.c if (dentry->d_parent != configfs_sb->s_root) { dentry 1640 fs/configfs/dir.c mutex_lock_nested(&dentry->d_inode->i_mutex, I_MUTEX_CHILD); dentry 1643 fs/configfs/dir.c if (configfs_detach_prep(dentry, NULL)) { dentry 1649 fs/configfs/dir.c dentry->d_inode->i_flags |= S_DEAD; dentry 1650 fs/configfs/dir.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 1652 fs/configfs/dir.c d_delete(dentry); dentry 1656 fs/configfs/dir.c dput(dentry); dentry 66 fs/configfs/file.c struct configfs_attribute * attr = to_attr(dentry); dentry 67 fs/configfs/file.c struct config_item * item = to_item(dentry->d_parent); dentry 114 fs/configfs/file.c if ((retval = fill_read_buffer(file->f_path.dentry,buffer))) dentry 172 fs/configfs/file.c struct configfs_attribute * attr = to_attr(dentry); dentry 173 fs/configfs/file.c struct config_item * item = to_item(dentry->d_parent); dentry 206 fs/configfs/file.c len = flush_write_buffer(file->f_path.dentry, buffer, count); dentry 215 fs/configfs/file.c struct config_item *item = configfs_get_config_item(file->f_path.dentry->d_parent); dentry 216 fs/configfs/file.c struct configfs_attribute * attr = to_attr(file->f_path.dentry); dentry 289 fs/configfs/file.c struct config_item * item = to_item(filp->f_path.dentry->d_parent); dentry 290 fs/configfs/file.c struct configfs_attribute * attr = to_attr(filp->f_path.dentry); dentry 59 fs/configfs/inode.c struct inode * inode = dentry->d_inode; dentry 60 fs/configfs/inode.c struct configfs_dirent * sd = dentry->d_fsdata; dentry 160 fs/configfs/inode.c if (dentry) { dentry 161 fs/configfs/inode.c if (!dentry->d_inode) { dentry 162 fs/configfs/inode.c struct configfs_dirent *sd = dentry->d_fsdata; dentry 164 fs/configfs/inode.c if (dentry->d_parent && dentry->d_parent->d_inode) { dentry 165 fs/configfs/inode.c struct inode *p_inode = dentry->d_parent->d_inode; dentry 182 fs/configfs/inode.c d_instantiate(dentry, inode); dentry 184 fs/configfs/inode.c dget(dentry); /* pin link and directory dentries in core */ dentry 218 fs/configfs/inode.c struct dentry * dentry = sd->s_dentry; dentry 220 fs/configfs/inode.c if (dentry) { dentry 222 fs/configfs/inode.c spin_lock(&dentry->d_lock); dentry 223 fs/configfs/inode.c if (!(d_unhashed(dentry) && dentry->d_inode)) { dentry 224 fs/configfs/inode.c dget_locked(dentry); dentry 225 fs/configfs/inode.c __d_drop(dentry); dentry 226 fs/configfs/inode.c spin_unlock(&dentry->d_lock); dentry 228 fs/configfs/inode.c simple_unlink(parent->d_inode, dentry); dentry 230 fs/configfs/inode.c spin_unlock(&dentry->d_lock); dentry 72 fs/configfs/mount.c struct dentry *root; dentry 96 fs/configfs/symlink.c dentry); dentry 118 fs/configfs/symlink.c if (nd->path.dentry->d_sb == configfs_sb) { dentry 119 fs/configfs/symlink.c *target = configfs_get_config_item(nd->path.dentry); dentry 142 fs/configfs/symlink.c if (dentry->d_parent == configfs_sb->s_root) dentry 145 fs/configfs/symlink.c sd = dentry->d_parent->d_fsdata; dentry 154 fs/configfs/symlink.c parent_item = configfs_get_config_item(dentry->d_parent); dentry 169 fs/configfs/symlink.c ret = create_link(parent_item, target_item, dentry); dentry 188 fs/configfs/symlink.c struct configfs_dirent *sd = dentry->d_fsdata; dentry 198 fs/configfs/symlink.c BUG_ON(dentry->d_parent == configfs_sb->s_root); dentry 202 fs/configfs/symlink.c parent_item = configfs_get_config_item(dentry->d_parent); dentry 208 fs/configfs/symlink.c configfs_drop_dentry(sd, dentry->d_parent); dentry 209 fs/configfs/symlink.c dput(dentry); dentry 265 fs/configfs/symlink.c item = configfs_get_config_item(dentry->d_parent); dentry 269 fs/configfs/symlink.c target_item = configfs_get_config_item(dentry); dentry 291 fs/configfs/symlink.c error = configfs_getlink(dentry, (char *)page); dentry 322 fs/cramfs/inode.c struct super_block *sb = dentry->d_sb; dentry 340 fs/cramfs/inode.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 406 fs/cramfs/inode.c static struct dentry * cramfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 422 fs/cramfs/inode.c if (sorted && (dentry->d_name.name[0] < name[0])) dentry 429 fs/cramfs/inode.c if (((dentry->d_name.len + 3) & ~3) != namelen) dentry 441 fs/cramfs/inode.c if (namelen != dentry->d_name.len) dentry 443 fs/cramfs/inode.c retval = memcmp(dentry->d_name.name, name, namelen); dentry 449 fs/cramfs/inode.c d_add(dentry, get_cramfs_inode(dir->i_sb, &entry)); dentry 457 fs/cramfs/inode.c d_add(dentry, NULL); dentry 48 fs/dcache.c #define DNAME_INLINE_LEN (sizeof(struct dentry)-offsetof(struct dentry,d_iname)) dentry 72 fs/dcache.c if (dname_external(dentry)) dentry 73 fs/dcache.c kfree(dentry->d_name.name); dentry 74 fs/dcache.c kmem_cache_free(dentry_cache, dentry); dentry 79 fs/dcache.c struct dentry * dentry = container_of(head, struct dentry, d_u.d_rcu); dentry 80 fs/dcache.c __d_free(dentry); dentry 89 fs/dcache.c if (dentry->d_op && dentry->d_op->d_release) dentry 90 fs/dcache.c dentry->d_op->d_release(dentry); dentry 92 fs/dcache.c if (hlist_unhashed(&dentry->d_hash)) dentry 93 fs/dcache.c __d_free(dentry); dentry 95 fs/dcache.c call_rcu(&dentry->d_u.d_rcu, d_callback); dentry 106 fs/dcache.c struct inode *inode = dentry->d_inode; dentry 108 fs/dcache.c dentry->d_inode = NULL; dentry 109 fs/dcache.c list_del_init(&dentry->d_alias); dentry 110 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 114 fs/dcache.c if (dentry->d_op && dentry->d_op->d_iput) dentry 115 fs/dcache.c dentry->d_op->d_iput(dentry, inode); dentry 119 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 129 fs/dcache.c list_add(&dentry->d_lru, &dentry->d_sb->s_dentry_lru); dentry 130 fs/dcache.c dentry->d_sb->s_nr_dentry_unused++; dentry 136 fs/dcache.c list_add_tail(&dentry->d_lru, &dentry->d_sb->s_dentry_lru); dentry 137 fs/dcache.c dentry->d_sb->s_nr_dentry_unused++; dentry 143 fs/dcache.c if (!list_empty(&dentry->d_lru)) { dentry 144 fs/dcache.c list_del(&dentry->d_lru); dentry 145 fs/dcache.c dentry->d_sb->s_nr_dentry_unused--; dentry 152 fs/dcache.c if (likely(!list_empty(&dentry->d_lru))) { dentry 153 fs/dcache.c list_del_init(&dentry->d_lru); dentry 154 fs/dcache.c dentry->d_sb->s_nr_dentry_unused--; dentry 167 fs/dcache.c static struct dentry *d_kill(struct dentry *dentry) dentry 171 fs/dcache.c struct dentry *parent; dentry 173 fs/dcache.c list_del(&dentry->d_u.d_child); dentry 176 fs/dcache.c dentry_iput(dentry); dentry 177 fs/dcache.c parent = dentry->d_parent; dentry 178 fs/dcache.c d_free(dentry); dentry 179 fs/dcache.c return dentry == parent ? NULL : parent; dentry 213 fs/dcache.c if (!dentry) dentry 217 fs/dcache.c if (atomic_read(&dentry->d_count) == 1) dentry 219 fs/dcache.c if (!atomic_dec_and_lock(&dentry->d_count, &dcache_lock)) dentry 222 fs/dcache.c spin_lock(&dentry->d_lock); dentry 223 fs/dcache.c if (atomic_read(&dentry->d_count)) { dentry 224 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 232 fs/dcache.c if (dentry->d_op && dentry->d_op->d_delete) { dentry 233 fs/dcache.c if (dentry->d_op->d_delete(dentry)) dentry 237 fs/dcache.c if (d_unhashed(dentry)) dentry 239 fs/dcache.c if (list_empty(&dentry->d_lru)) { dentry 240 fs/dcache.c dentry->d_flags |= DCACHE_REFERENCED; dentry 241 fs/dcache.c dentry_lru_add(dentry); dentry 243 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 248 fs/dcache.c __d_drop(dentry); dentry 251 fs/dcache.c dentry_lru_del(dentry); dentry 252 fs/dcache.c dentry = d_kill(dentry); dentry 253 fs/dcache.c if (dentry) dentry 275 fs/dcache.c if (d_unhashed(dentry)) { dentry 283 fs/dcache.c if (!list_empty(&dentry->d_subdirs)) { dentry 285 fs/dcache.c shrink_dcache_parent(dentry); dentry 299 fs/dcache.c spin_lock(&dentry->d_lock); dentry 300 fs/dcache.c if (atomic_read(&dentry->d_count) > 1) { dentry 301 fs/dcache.c if (dentry->d_inode && S_ISDIR(dentry->d_inode->i_mode)) { dentry 302 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 308 fs/dcache.c __d_drop(dentry); dentry 309 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 316 fs/dcache.c static inline struct dentry * __dget_locked(struct dentry *dentry) dentry 318 fs/dcache.c atomic_inc(&dentry->d_count); dentry 319 fs/dcache.c dentry_lru_del_init(dentry); dentry 320 fs/dcache.c return dentry; dentry 323 fs/dcache.c struct dentry * dget_locked(struct dentry *dentry) dentry 325 fs/dcache.c return __dget_locked(dentry); dentry 345 fs/dcache.c static struct dentry * __d_find_alias(struct inode *inode, int want_discon) dentry 348 fs/dcache.c struct dentry *alias, *discon_alias=NULL; dentry 356 fs/dcache.c alias = list_entry(tmp, struct dentry, d_alias); dentry 372 fs/dcache.c struct dentry * d_find_alias(struct inode *inode) dentry 374 fs/dcache.c struct dentry *de = NULL; dentry 390 fs/dcache.c struct dentry *dentry; dentry 393 fs/dcache.c list_for_each_entry(dentry, &inode->i_dentry, d_alias) { dentry 394 fs/dcache.c spin_lock(&dentry->d_lock); dentry 395 fs/dcache.c if (!atomic_read(&dentry->d_count)) { dentry 396 fs/dcache.c __dget_locked(dentry); dentry 397 fs/dcache.c __d_drop(dentry); dentry 398 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 400 fs/dcache.c dput(dentry); dentry 403 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 421 fs/dcache.c __d_drop(dentry); dentry 422 fs/dcache.c dentry = d_kill(dentry); dentry 429 fs/dcache.c while (dentry) { dentry 430 fs/dcache.c if (!atomic_dec_and_lock(&dentry->d_count, &dentry->d_lock)) dentry 433 fs/dcache.c if (dentry->d_op && dentry->d_op->d_delete) dentry 434 fs/dcache.c dentry->d_op->d_delete(dentry); dentry 435 fs/dcache.c dentry_lru_del_init(dentry); dentry 436 fs/dcache.c __d_drop(dentry); dentry 437 fs/dcache.c dentry = d_kill(dentry); dentry 454 fs/dcache.c struct dentry *dentry; dentry 468 fs/dcache.c dentry = list_entry(sb->s_dentry_lru.prev, dentry 469 fs/dcache.c struct dentry, d_lru); dentry 470 fs/dcache.c BUG_ON(dentry->d_sb != sb); dentry 472 fs/dcache.c spin_lock(&dentry->d_lock); dentry 479 fs/dcache.c && (dentry->d_flags & DCACHE_REFERENCED)) { dentry 480 fs/dcache.c dentry->d_flags &= ~DCACHE_REFERENCED; dentry 481 fs/dcache.c list_move_tail(&dentry->d_lru, &referenced); dentry 482 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 484 fs/dcache.c list_move_tail(&dentry->d_lru, &tmp); dentry 485 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 494 fs/dcache.c dentry = list_entry(tmp.prev, struct dentry, d_lru); dentry 495 fs/dcache.c dentry_lru_del_init(dentry); dentry 496 fs/dcache.c spin_lock(&dentry->d_lock); dentry 502 fs/dcache.c if (atomic_read(&dentry->d_count)) { dentry 503 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 506 fs/dcache.c prune_one_dentry(dentry); dentry 617 fs/dcache.c struct dentry *parent; dentry 620 fs/dcache.c BUG_ON(!IS_ROOT(dentry)); dentry 624 fs/dcache.c dentry_lru_del_init(dentry); dentry 625 fs/dcache.c __d_drop(dentry); dentry 630 fs/dcache.c while (!list_empty(&dentry->d_subdirs)) { dentry 631 fs/dcache.c struct dentry *loop; dentry 636 fs/dcache.c list_for_each_entry(loop, &dentry->d_subdirs, dentry 645 fs/dcache.c dentry = list_entry(dentry->d_subdirs.next, dentry 646 fs/dcache.c struct dentry, d_u.d_child); dentry 654 fs/dcache.c if (atomic_read(&dentry->d_count) != 0) { dentry 659 fs/dcache.c dentry, dentry 660 fs/dcache.c dentry->d_inode ? dentry 661 fs/dcache.c dentry->d_inode->i_ino : 0UL, dentry 662 fs/dcache.c dentry->d_name.name, dentry 663 fs/dcache.c atomic_read(&dentry->d_count), dentry 664 fs/dcache.c dentry->d_sb->s_type->name, dentry 665 fs/dcache.c dentry->d_sb->s_id); dentry 669 fs/dcache.c parent = dentry->d_parent; dentry 670 fs/dcache.c if (parent == dentry) dentry 675 fs/dcache.c list_del(&dentry->d_u.d_child); dentry 678 fs/dcache.c inode = dentry->d_inode; dentry 680 fs/dcache.c dentry->d_inode = NULL; dentry 681 fs/dcache.c list_del_init(&dentry->d_alias); dentry 682 fs/dcache.c if (dentry->d_op && dentry->d_op->d_iput) dentry 683 fs/dcache.c dentry->d_op->d_iput(dentry, inode); dentry 688 fs/dcache.c d_free(dentry); dentry 696 fs/dcache.c dentry = parent; dentry 698 fs/dcache.c } while (list_empty(&dentry->d_subdirs)); dentry 700 fs/dcache.c dentry = list_entry(dentry->d_subdirs.next, dentry 701 fs/dcache.c struct dentry, d_u.d_child); dentry 723 fs/dcache.c struct dentry *dentry; dentry 728 fs/dcache.c dentry = sb->s_root; dentry 730 fs/dcache.c atomic_dec(&dentry->d_count); dentry 731 fs/dcache.c shrink_dcache_for_umount_subtree(dentry); dentry 734 fs/dcache.c dentry = hlist_entry(sb->s_anon.first, struct dentry, d_hash); dentry 735 fs/dcache.c shrink_dcache_for_umount_subtree(dentry); dentry 755 fs/dcache.c struct dentry *this_parent = parent; dentry 766 fs/dcache.c struct dentry *dentry = list_entry(tmp, struct dentry, d_u.d_child); dentry 769 fs/dcache.c if (d_mountpoint(dentry)) dentry 771 fs/dcache.c if (!list_empty(&dentry->d_subdirs)) { dentry 772 fs/dcache.c this_parent = dentry; dentry 807 fs/dcache.c struct dentry *this_parent = parent; dentry 817 fs/dcache.c struct dentry *dentry = list_entry(tmp, struct dentry, d_u.d_child); dentry 820 fs/dcache.c dentry_lru_del_init(dentry); dentry 825 fs/dcache.c if (!atomic_read(&dentry->d_count)) { dentry 826 fs/dcache.c dentry_lru_add_tail(dentry); dentry 841 fs/dcache.c if (!list_empty(&dentry->d_subdirs)) { dentry 842 fs/dcache.c this_parent = dentry; dentry 912 fs/dcache.c struct dentry *d_alloc(struct dentry * parent, const struct qstr *name) dentry 914 fs/dcache.c struct dentry *dentry; dentry 917 fs/dcache.c dentry = kmem_cache_alloc(dentry_cache, GFP_KERNEL); dentry 918 fs/dcache.c if (!dentry) dentry 924 fs/dcache.c kmem_cache_free(dentry_cache, dentry); dentry 928 fs/dcache.c dname = dentry->d_iname; dentry 930 fs/dcache.c dentry->d_name.name = dname; dentry 932 fs/dcache.c dentry->d_name.len = name->len; dentry 933 fs/dcache.c dentry->d_name.hash = name->hash; dentry 937 fs/dcache.c atomic_set(&dentry->d_count, 1); dentry 938 fs/dcache.c dentry->d_flags = DCACHE_UNHASHED; dentry 939 fs/dcache.c spin_lock_init(&dentry->d_lock); dentry 940 fs/dcache.c dentry->d_inode = NULL; dentry 941 fs/dcache.c dentry->d_parent = NULL; dentry 942 fs/dcache.c dentry->d_sb = NULL; dentry 943 fs/dcache.c dentry->d_op = NULL; dentry 944 fs/dcache.c dentry->d_fsdata = NULL; dentry 945 fs/dcache.c dentry->d_mounted = 0; dentry 947 fs/dcache.c dentry->d_cookie = NULL; dentry 949 fs/dcache.c INIT_HLIST_NODE(&dentry->d_hash); dentry 950 fs/dcache.c INIT_LIST_HEAD(&dentry->d_lru); dentry 951 fs/dcache.c INIT_LIST_HEAD(&dentry->d_subdirs); dentry 952 fs/dcache.c INIT_LIST_HEAD(&dentry->d_alias); dentry 955 fs/dcache.c dentry->d_parent = dget(parent); dentry 956 fs/dcache.c dentry->d_sb = parent->d_sb; dentry 958 fs/dcache.c INIT_LIST_HEAD(&dentry->d_u.d_child); dentry 963 fs/dcache.c list_add(&dentry->d_u.d_child, &parent->d_subdirs); dentry 967 fs/dcache.c return dentry; dentry 970 fs/dcache.c struct dentry *d_alloc_name(struct dentry *parent, const char *name) dentry 1023 fs/dcache.c static struct dentry *__d_instantiate_unique(struct dentry *entry, dentry 1026 fs/dcache.c struct dentry *alias; dentry 1057 fs/dcache.c struct dentry *d_instantiate_unique(struct dentry *entry, struct inode *inode) dentry 1059 fs/dcache.c struct dentry *result; dentry 1088 fs/dcache.c struct dentry * d_alloc_root(struct inode * root_inode) dentry 1090 fs/dcache.c struct dentry *res = NULL; dentry 1133 fs/dcache.c struct dentry * d_alloc_anon(struct inode *inode) dentry 1136 fs/dcache.c struct dentry *tmp; dentry 1137 fs/dcache.c struct dentry *res; dentry 1194 fs/dcache.c struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry) dentry 1196 fs/dcache.c struct dentry *new = NULL; dentry 1206 fs/dcache.c d_rehash(dentry); dentry 1207 fs/dcache.c d_move(new, dentry); dentry 1211 fs/dcache.c list_add(&dentry->d_alias, &inode->i_dentry); dentry 1212 fs/dcache.c dentry->d_inode = inode; dentry 1213 fs/dcache.c fsnotify_d_instantiate(dentry, inode); dentry 1215 fs/dcache.c security_d_instantiate(dentry, inode); dentry 1216 fs/dcache.c d_rehash(dentry); dentry 1219 fs/dcache.c d_add(dentry, inode); dentry 1239 fs/dcache.c struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, dentry 1243 fs/dcache.c struct dentry *found; dentry 1244 fs/dcache.c struct dentry *new; dentry 1247 fs/dcache.c found = d_hash_and_lookup(dentry->d_parent, name); dentry 1250 fs/dcache.c new = d_alloc(dentry->d_parent, name); dentry 1306 fs/dcache.c new = list_entry(inode->i_dentry.next, struct dentry, d_alias); dentry 1354 fs/dcache.c struct dentry * d_lookup(struct dentry * parent, struct qstr * name) dentry 1356 fs/dcache.c struct dentry * dentry = NULL; dentry 1361 fs/dcache.c dentry = __d_lookup(parent, name); dentry 1362 fs/dcache.c if (dentry) dentry 1365 fs/dcache.c return dentry; dentry 1368 fs/dcache.c struct dentry * __d_lookup(struct dentry * parent, struct qstr * name) dentry 1374 fs/dcache.c struct dentry *found = NULL; dentry 1376 fs/dcache.c struct dentry *dentry; dentry 1380 fs/dcache.c hlist_for_each_entry_rcu(dentry, node, head, d_hash) { dentry 1383 fs/dcache.c if (dentry->d_name.hash != hash) dentry 1385 fs/dcache.c if (dentry->d_parent != parent) dentry 1388 fs/dcache.c spin_lock(&dentry->d_lock); dentry 1395 fs/dcache.c if (dentry->d_parent != parent) dentry 1399 fs/dcache.c if (d_unhashed(dentry)) dentry 1406 fs/dcache.c qstr = &dentry->d_name; dentry 1417 fs/dcache.c atomic_inc(&dentry->d_count); dentry 1418 fs/dcache.c found = dentry; dentry 1419 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 1422 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 1436 fs/dcache.c struct dentry *d_hash_and_lookup(struct dentry *dir, struct qstr *name) dentry 1438 fs/dcache.c struct dentry *dentry = NULL; dentry 1450 fs/dcache.c dentry = d_lookup(dir, name); dentry 1452 fs/dcache.c return dentry; dentry 1473 fs/dcache.c if (!kmem_ptr_validate(dentry_cache, dentry)) dentry 1476 fs/dcache.c if (dentry->d_parent != dparent) dentry 1480 fs/dcache.c base = d_hash(dparent, dentry->d_name.hash); dentry 1485 fs/dcache.c if (dentry == hlist_entry(lhp, struct dentry, d_hash)) { dentry 1486 fs/dcache.c __dget_locked(dentry); dentry 1524 fs/dcache.c spin_lock(&dentry->d_lock); dentry 1525 fs/dcache.c isdir = S_ISDIR(dentry->d_inode->i_mode); dentry 1526 fs/dcache.c if (atomic_read(&dentry->d_count) == 1) { dentry 1527 fs/dcache.c dentry_iput(dentry); dentry 1528 fs/dcache.c fsnotify_nameremove(dentry, isdir); dentry 1532 fs/dcache.c if (!d_unhashed(dentry)) dentry 1533 fs/dcache.c __d_drop(dentry); dentry 1535 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 1538 fs/dcache.c fsnotify_nameremove(dentry, isdir); dentry 1587 fs/dcache.c if (dname_external(dentry)) { dentry 1591 fs/dcache.c do_switch(target->d_name.name, dentry->d_name.name); dentry 1597 fs/dcache.c memcpy(target->d_iname, dentry->d_name.name, dentry 1598 fs/dcache.c dentry->d_name.len + 1); dentry 1599 fs/dcache.c dentry->d_name.name = target->d_name.name; dentry 1603 fs/dcache.c if (dname_external(dentry)) { dentry 1608 fs/dcache.c memcpy(dentry->d_iname, target->d_name.name, dentry 1610 fs/dcache.c target->d_name.name = dentry->d_name.name; dentry 1611 fs/dcache.c dentry->d_name.name = dentry->d_iname; dentry 1616 fs/dcache.c memcpy(dentry->d_iname, target->d_name.name, dentry 1646 fs/dcache.c if (!dentry->d_inode) dentry 1653 fs/dcache.c if (target < dentry) { dentry 1655 fs/dcache.c spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); dentry 1657 fs/dcache.c spin_lock(&dentry->d_lock); dentry 1662 fs/dcache.c if (d_unhashed(dentry)) dentry 1665 fs/dcache.c hlist_del_rcu(&dentry->d_hash); dentry 1669 fs/dcache.c __d_rehash(dentry, list); dentry 1674 fs/dcache.c list_del(&dentry->d_u.d_child); dentry 1678 fs/dcache.c switch_names(dentry, target); dentry 1679 fs/dcache.c do_switch(dentry->d_name.len, target->d_name.len); dentry 1680 fs/dcache.c do_switch(dentry->d_name.hash, target->d_name.hash); dentry 1683 fs/dcache.c if (IS_ROOT(dentry)) { dentry 1684 fs/dcache.c dentry->d_parent = target->d_parent; dentry 1688 fs/dcache.c do_switch(dentry->d_parent, target->d_parent); dentry 1694 fs/dcache.c list_add(&dentry->d_u.d_child, &dentry->d_parent->d_subdirs); dentry 1696 fs/dcache.c fsnotify_d_move(dentry); dentry 1697 fs/dcache.c spin_unlock(&dentry->d_lock); dentry 1713 fs/dcache.c d_move_locked(dentry, target); dentry 1722 fs/dcache.c struct dentry *p; dentry 1740 fs/dcache.c static struct dentry *__d_unalias(struct dentry *dentry, struct dentry *alias) dentry 1744 fs/dcache.c struct dentry *ret; dentry 1747 fs/dcache.c if (alias->d_parent == dentry->d_parent) dentry 1752 fs/dcache.c if (d_isparent(alias, dentry)) dentry 1757 fs/dcache.c if (!mutex_trylock(&dentry->d_sb->s_vfs_rename_mutex)) dentry 1759 fs/dcache.c m1 = &dentry->d_sb->s_vfs_rename_mutex; dentry 1764 fs/dcache.c d_move_locked(alias, dentry); dentry 1781 fs/dcache.c struct dentry *dparent, *aparent; dentry 1783 fs/dcache.c switch_names(dentry, anon); dentry 1784 fs/dcache.c do_switch(dentry->d_name.len, anon->d_name.len); dentry 1785 fs/dcache.c do_switch(dentry->d_name.hash, anon->d_name.hash); dentry 1787 fs/dcache.c dparent = dentry->d_parent; dentry 1790 fs/dcache.c dentry->d_parent = (aparent == anon) ? dentry : aparent; dentry 1791 fs/dcache.c list_del(&dentry->d_u.d_child); dentry 1792 fs/dcache.c if (!IS_ROOT(dentry)) dentry 1793 fs/dcache.c list_add(&dentry->d_u.d_child, &dentry->d_parent->d_subdirs); dentry 1795 fs/dcache.c INIT_LIST_HEAD(&dentry->d_u.d_child); dentry 1797 fs/dcache.c anon->d_parent = (dparent == dentry) ? anon : dparent; dentry 1815 fs/dcache.c struct dentry *d_materialise_unique(struct dentry *dentry, struct inode *inode) dentry 1817 fs/dcache.c struct dentry *actual; dentry 1819 fs/dcache.c BUG_ON(!d_unhashed(dentry)); dentry 1824 fs/dcache.c actual = dentry; dentry 1825 fs/dcache.c dentry->d_inode = NULL; dentry 1830 fs/dcache.c struct dentry *alias; dentry 1840 fs/dcache.c __d_materialise_dentry(dentry, alias); dentry 1845 fs/dcache.c actual = __d_unalias(dentry, alias); dentry 1853 fs/dcache.c actual = __d_instantiate_unique(dentry, inode); dentry 1855 fs/dcache.c actual = dentry; dentry 1866 fs/dcache.c if (actual == dentry) { dentry 1867 fs/dcache.c security_d_instantiate(dentry, inode); dentry 1914 fs/dcache.c struct dentry *dentry = path->dentry; dentry 1921 fs/dcache.c if (!IS_ROOT(dentry) && d_unhashed(dentry) && dentry 1932 fs/dcache.c struct dentry * parent; dentry 1934 fs/dcache.c if (dentry == root->dentry && vfsmnt == root->mnt) dentry 1936 fs/dcache.c if (dentry == vfsmnt->mnt_root || IS_ROOT(dentry)) { dentry 1941 fs/dcache.c dentry = vfsmnt->mnt_mountpoint; dentry 1945 fs/dcache.c parent = dentry->d_parent; dentry 1947 fs/dcache.c if ((prepend_name(&end, &buflen, &dentry->d_name) != 0) || dentry 1951 fs/dcache.c dentry = parent; dentry 1960 fs/dcache.c if (prepend_name(&retval, &buflen, &dentry->d_name) != 0) dentry 1963 fs/dcache.c root->dentry = dentry; dentry 1997 fs/dcache.c if (path->dentry->d_op && path->dentry->d_op->d_dname) dentry 1998 fs/dcache.c return path->dentry->d_op->d_dname(path->dentry, buf, buflen); dentry 2043 fs/dcache.c if (!IS_ROOT(dentry) && d_unhashed(dentry) && dentry 2052 fs/dcache.c while (!IS_ROOT(dentry)) { dentry 2053 fs/dcache.c struct dentry *parent = dentry->d_parent; dentry 2056 fs/dcache.c if ((prepend_name(&end, &buflen, &dentry->d_name) != 0) || dentry 2061 fs/dcache.c dentry = parent; dentry 2107 fs/dcache.c if (IS_ROOT(pwd.dentry) || !d_unhashed(pwd.dentry)) { dentry 2155 fs/dcache.c struct dentry * saved = new_dentry; dentry 2169 fs/dcache.c struct dentry * parent = new_dentry->d_parent; dentry 2186 fs/dcache.c struct dentry *this_parent = root; dentry 2195 fs/dcache.c struct dentry *dentry = list_entry(tmp, struct dentry, d_u.d_child); dentry 2197 fs/dcache.c if (d_unhashed(dentry)||!dentry->d_inode) dentry 2199 fs/dcache.c if (!list_empty(&dentry->d_subdirs)) { dentry 2200 fs/dcache.c this_parent = dentry; dentry 2203 fs/dcache.c atomic_dec(&dentry->d_count); dentry 2230 fs/dcache.c struct dentry * dentry; dentry 2233 fs/dcache.c dentry = d_hash_and_lookup(dir, name); dentry 2234 fs/dcache.c if (dentry) { dentry 2235 fs/dcache.c if (dentry->d_inode) dentry 2236 fs/dcache.c ino = dentry->d_inode->i_ino; dentry 2237 fs/dcache.c dput(dentry); dentry 2285 fs/dcache.c dentry_cache = KMEM_CACHE(dentry, dentry 54 fs/dcookies.c return (unsigned long)dcs->path.dentry; dentry 99 fs/dcookies.c path->dentry->d_cookie = dcs; dentry 122 fs/dcookies.c dcs = path->dentry->d_cookie; dentry 254 fs/dcookies.c dcs->path.dentry->d_cookie = NULL; dentry 50 fs/debugfs/file.c nd_set_link(nd, dentry->d_inode->i_private); dentry 95 fs/debugfs/file.c struct dentry *debugfs_create_u8(const char *name, mode_t mode, dentry 138 fs/debugfs/file.c struct dentry *debugfs_create_u16(const char *name, mode_t mode, dentry 181 fs/debugfs/file.c struct dentry *debugfs_create_u32(const char *name, mode_t mode, dentry 225 fs/debugfs/file.c struct dentry *debugfs_create_u64(const char *name, mode_t mode, dentry 256 fs/debugfs/file.c struct dentry *debugfs_create_x8(const char *name, mode_t mode, dentry 273 fs/debugfs/file.c struct dentry *debugfs_create_x16(const char *name, mode_t mode, dentry 290 fs/debugfs/file.c struct dentry *debugfs_create_x32(const char *name, mode_t mode, dentry 369 fs/debugfs/file.c struct dentry *debugfs_create_bool(const char *name, mode_t mode, dentry 413 fs/debugfs/file.c struct dentry *debugfs_create_blob(const char *name, mode_t mode, dentry 74 fs/debugfs/inode.c if (dentry->d_inode) dentry 79 fs/debugfs/inode.c d_instantiate(dentry, inode); dentry 80 fs/debugfs/inode.c dget(dentry); dentry 91 fs/debugfs/inode.c res = debugfs_mknod(dir, dentry, mode, 0); dentry 94 fs/debugfs/inode.c fsnotify_mkdir(dir, dentry); dentry 102 fs/debugfs/inode.c return debugfs_mknod(dir, dentry, mode, 0); dentry 110 fs/debugfs/inode.c res = debugfs_mknod(dir, dentry, mode, 0); dentry 112 fs/debugfs/inode.c fsnotify_create(dir, dentry); dentry 118 fs/debugfs/inode.c return dentry->d_inode && !d_unhashed(dentry); dentry 163 fs/debugfs/inode.c *dentry = NULL; dentry 165 fs/debugfs/inode.c *dentry = lookup_one_len(name, parent, strlen(name)); dentry 166 fs/debugfs/inode.c if (!IS_ERR(*dentry)) { dentry 169 fs/debugfs/inode.c error = debugfs_mkdir(parent->d_inode, *dentry, mode); dentry 172 fs/debugfs/inode.c error = debugfs_link(parent->d_inode, *dentry, mode); dentry 175 fs/debugfs/inode.c error = debugfs_create(parent->d_inode, *dentry, mode); dentry 178 fs/debugfs/inode.c dput(*dentry); dentry 180 fs/debugfs/inode.c error = PTR_ERR(*dentry); dentry 212 fs/debugfs/inode.c struct dentry *debugfs_create_file(const char *name, mode_t mode, dentry 216 fs/debugfs/inode.c struct dentry *dentry = NULL; dentry 226 fs/debugfs/inode.c error = debugfs_create_by_name(name, mode, parent, &dentry); dentry 228 fs/debugfs/inode.c dentry = NULL; dentry 233 fs/debugfs/inode.c if (dentry->d_inode) { dentry 235 fs/debugfs/inode.c dentry->d_inode->i_private = data; dentry 237 fs/debugfs/inode.c dentry->d_inode->i_fop = fops; dentry 240 fs/debugfs/inode.c return dentry; dentry 262 fs/debugfs/inode.c struct dentry *debugfs_create_dir(const char *name, struct dentry *parent) dentry 293 fs/debugfs/inode.c struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, dentry 296 fs/debugfs/inode.c struct dentry *result; dentry 315 fs/debugfs/inode.c if (debugfs_positive(dentry)) { dentry 316 fs/debugfs/inode.c if (dentry->d_inode) { dentry 317 fs/debugfs/inode.c dget(dentry); dentry 318 fs/debugfs/inode.c switch (dentry->d_inode->i_mode & S_IFMT) { dentry 320 fs/debugfs/inode.c ret = simple_rmdir(parent->d_inode, dentry); dentry 323 fs/debugfs/inode.c kfree(dentry->d_inode->i_private); dentry 326 fs/debugfs/inode.c simple_unlink(parent->d_inode, dentry); dentry 330 fs/debugfs/inode.c d_delete(dentry); dentry 331 fs/debugfs/inode.c dput(dentry); dentry 351 fs/debugfs/inode.c struct dentry *parent; dentry 353 fs/debugfs/inode.c if (!dentry) dentry 356 fs/debugfs/inode.c parent = dentry->d_parent; dentry 361 fs/debugfs/inode.c __debugfs_remove(dentry, parent); dentry 381 fs/debugfs/inode.c struct dentry *child; dentry 382 fs/debugfs/inode.c struct dentry *parent; dentry 384 fs/debugfs/inode.c if (!dentry) dentry 387 fs/debugfs/inode.c parent = dentry->d_parent; dentry 391 fs/debugfs/inode.c parent = dentry; dentry 401 fs/debugfs/inode.c if (parent == dentry) dentry 406 fs/debugfs/inode.c child = list_entry(parent->d_subdirs.next, struct dentry, dentry 431 fs/debugfs/inode.c parent = dentry->d_parent; dentry 433 fs/debugfs/inode.c __debugfs_remove(dentry, parent); dentry 458 fs/debugfs/inode.c struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, dentry 462 fs/debugfs/inode.c struct dentry *dentry = NULL, *trap; dentry 473 fs/debugfs/inode.c dentry = lookup_one_len(new_name, new_dir, strlen(new_name)); dentry 475 fs/debugfs/inode.c if (IS_ERR(dentry) || dentry == trap || dentry->d_inode) dentry 481 fs/debugfs/inode.c dentry); dentry 486 fs/debugfs/inode.c d_move(old_dentry, dentry); dentry 492 fs/debugfs/inode.c dput(dentry); dentry 495 fs/debugfs/inode.c if (dentry && !IS_ERR(dentry)) dentry 496 fs/debugfs/inode.c dput(dentry); dentry 37 fs/devpts/inode.c static struct dentry *devpts_root; dentry 213 fs/devpts/inode.c struct dentry *dentry; dentry 236 fs/devpts/inode.c dentry = d_alloc_name(devpts_root, s); dentry 237 fs/devpts/inode.c if (!IS_ERR(dentry)) { dentry 238 fs/devpts/inode.c d_add(dentry, inode); dentry 239 fs/devpts/inode.c fsnotify_create(devpts_root->d_inode, dentry); dentry 259 fs/devpts/inode.c struct dentry *dentry; dentry 265 fs/devpts/inode.c dentry = d_find_alias(inode); dentry 266 fs/devpts/inode.c if (dentry && !IS_ERR(dentry)) { dentry 268 fs/devpts/inode.c d_delete(dentry); dentry 269 fs/devpts/inode.c dput(dentry); dentry 26 fs/dlm/debug_fs.c static struct dentry *dlm_root; dentry 481 fs/dlm/dlm_internal.h struct dentry *ls_debug_rsb_dentry; /* debugfs */ dentry 482 fs/dlm/dlm_internal.h struct dentry *ls_debug_waiters_dentry; /* debugfs */ dentry 483 fs/dlm/dlm_internal.h struct dentry *ls_debug_locks_dentry; /* debugfs */ dentry 46 fs/dnotify.c inode = filp->f_path.dentry->d_inode; dentry 79 fs/dnotify.c inode = filp->f_path.dentry->d_inode; dentry 169 fs/dnotify.c struct dentry *parent; dentry 174 fs/dnotify.c spin_lock(&dentry->d_lock); dentry 175 fs/dnotify.c parent = dentry->d_parent; dentry 178 fs/dnotify.c spin_unlock(&dentry->d_lock); dentry 182 fs/dnotify.c spin_unlock(&dentry->d_lock); dentry 1797 fs/dquot.c int error = security_quota_on(path->dentry); dentry 1804 fs/dquot.c error = vfs_quota_on_inode(path->dentry->d_inode, type, dentry 1834 fs/dquot.c struct dentry *dentry; dentry 1837 fs/dquot.c dentry = lookup_one_len(qf_name, sb->s_root, strlen(qf_name)); dentry 1838 fs/dquot.c if (IS_ERR(dentry)) dentry 1839 fs/dquot.c return PTR_ERR(dentry); dentry 1841 fs/dquot.c if (!dentry->d_inode) { dentry 1846 fs/dquot.c error = security_quota_on(dentry); dentry 1848 fs/dquot.c error = vfs_quota_on_inode(dentry->d_inode, type, format_id); dentry 1851 fs/dquot.c dput(dentry); dentry 1518 fs/ecryptfs/crypto.c struct dentry *lower_dentry = dentry 46 fs/ecryptfs/dentry.c struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 47 fs/ecryptfs/dentry.c struct vfsmount *lower_mnt = ecryptfs_dentry_to_lower_mnt(dentry); dentry 48 fs/ecryptfs/dentry.c struct dentry *dentry_save; dentry 54 fs/ecryptfs/dentry.c dentry_save = nd->path.dentry; dentry 56 fs/ecryptfs/dentry.c nd->path.dentry = lower_dentry; dentry 59 fs/ecryptfs/dentry.c nd->path.dentry = dentry_save; dentry 61 fs/ecryptfs/dentry.c if (dentry->d_inode) { dentry 63 fs/ecryptfs/dentry.c ecryptfs_inode_to_lower(dentry->d_inode); dentry 65 fs/ecryptfs/dentry.c fsstack_copy_attr_all(dentry->d_inode, lower_inode, NULL); dentry 81 fs/ecryptfs/dentry.c if (ecryptfs_dentry_to_private(dentry)) { dentry 82 fs/ecryptfs/dentry.c if (ecryptfs_dentry_to_lower(dentry)) { dentry 83 fs/ecryptfs/dentry.c dput(ecryptfs_dentry_to_lower(dentry)); dentry 84 fs/ecryptfs/dentry.c mntput(ecryptfs_dentry_to_lower_mnt(dentry)); dentry 87 fs/ecryptfs/dentry.c ecryptfs_dentry_to_private(dentry)); dentry 497 fs/ecryptfs/ecryptfs_kernel.h return (struct ecryptfs_dentry_info *)dentry->d_fsdata; dentry 504 fs/ecryptfs/ecryptfs_kernel.h dentry->d_fsdata = dentry_info; dentry 507 fs/ecryptfs/ecryptfs_kernel.h static inline struct dentry * dentry 510 fs/ecryptfs/ecryptfs_kernel.h return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; dentry 516 fs/ecryptfs/ecryptfs_kernel.h ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry = dentry 523 fs/ecryptfs/ecryptfs_kernel.h return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt; dentry 529 fs/ecryptfs/ecryptfs_kernel.h ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt = dentry 570 fs/ecryptfs/ecryptfs_kernel.h struct dentry *lower_dentry; dentry 588 fs/ecryptfs/ecryptfs_kernel.h struct dentry *ecryptfs_lower_dentry(struct dentry *this_dentry); dentry 51 fs/ecryptfs/file.c struct dentry *lower_dentry; dentry 63 fs/ecryptfs/file.c lower_dentry = ecryptfs_dentry_to_lower(file->f_path.dentry); dentry 64 fs/ecryptfs/file.c lower_vfsmount = ecryptfs_dentry_to_lower_mnt(file->f_path.dentry); dentry 72 fs/ecryptfs/file.c struct dentry *dentry; dentry 91 fs/ecryptfs/file.c crypt_stat = ecryptfs_dentry_to_private(buf->dentry)->crypt_stat; dentry 123 fs/ecryptfs/file.c inode = file->f_path.dentry->d_inode; dentry 126 fs/ecryptfs/file.c buf.dentry = file->f_path.dentry; dentry 139 fs/ecryptfs/file.c fsstack_copy_attr_atime(inode, lower_file->f_path.dentry->d_inode); dentry 159 fs/ecryptfs/file.c struct dentry *ecryptfs_dentry = file->f_path.dentry; dentry 162 fs/ecryptfs/file.c struct dentry *lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); dentry 280 fs/ecryptfs/file.c struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 37 fs/ecryptfs/inode.c static struct dentry *lock_parent(struct dentry *dentry) dentry 39 fs/ecryptfs/inode.c struct dentry *dir; dentry 41 fs/ecryptfs/inode.c dir = dget_parent(dentry); dentry 69 fs/ecryptfs/inode.c struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 70 fs/ecryptfs/inode.c struct vfsmount *lower_mnt = ecryptfs_dentry_to_lower_mnt(dentry); dentry 71 fs/ecryptfs/inode.c struct dentry *dentry_save; dentry 75 fs/ecryptfs/inode.c dentry_save = nd->path.dentry; dentry 77 fs/ecryptfs/inode.c nd->path.dentry = lower_dentry; dentry 80 fs/ecryptfs/inode.c nd->path.dentry = dentry_save; dentry 104 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 105 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 151 fs/ecryptfs/inode.c fake_file.f_path.dentry = ecryptfs_dentry; dentry 255 fs/ecryptfs/inode.c static struct dentry *ecryptfs_lookup(struct inode *dir, struct dentry *dentry, dentry 259 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 260 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 270 fs/ecryptfs/inode.c lower_dir_dentry = ecryptfs_dentry_to_lower(dentry->d_parent); dentry 271 fs/ecryptfs/inode.c dentry->d_op = &ecryptfs_dops; dentry 272 fs/ecryptfs/inode.c if ((dentry->d_name.len == 1 && !strcmp(dentry->d_name.name, ".")) dentry 273 fs/ecryptfs/inode.c || (dentry->d_name.len == 2 dentry 274 fs/ecryptfs/inode.c && !strcmp(dentry->d_name.name, ".."))) { dentry 275 fs/ecryptfs/inode.c d_drop(dentry); dentry 279 fs/ecryptfs/inode.c dentry->d_name.name, dentry 280 fs/ecryptfs/inode.c dentry->d_name.len, dentry 284 fs/ecryptfs/inode.c d_drop(dentry); dentry 295 fs/ecryptfs/inode.c d_drop(dentry); dentry 298 fs/ecryptfs/inode.c lower_mnt = mntget(ecryptfs_dentry_to_lower_mnt(dentry->d_parent)); dentry 305 fs/ecryptfs/inode.c ecryptfs_set_dentry_private(dentry, dentry 308 fs/ecryptfs/inode.c if (!ecryptfs_dentry_to_private(dentry)) { dentry 314 fs/ecryptfs/inode.c ecryptfs_set_dentry_lower(dentry, lower_dentry); dentry 315 fs/ecryptfs/inode.c ecryptfs_set_dentry_lower_mnt(dentry, lower_mnt); dentry 318 fs/ecryptfs/inode.c d_add(dentry, NULL); dentry 321 fs/ecryptfs/inode.c rc = ecryptfs_interpose(lower_dentry, dentry, dir->i_sb, dentry 353 fs/ecryptfs/inode.c crypt_stat = &ecryptfs_inode_to_private(dentry->d_inode)->crypt_stat; dentry 356 fs/ecryptfs/inode.c if (!ecryptfs_inode_to_private(dentry->d_inode)->lower_file) { dentry 357 fs/ecryptfs/inode.c rc = ecryptfs_init_persistent_file(dentry); dentry 362 fs/ecryptfs/inode.c dentry->d_name.name, rc); dentry 367 fs/ecryptfs/inode.c dentry->d_inode); dentry 369 fs/ecryptfs/inode.c rc = ecryptfs_read_and_validate_xattr_region(page_virt, dentry); dentry 381 fs/ecryptfs/inode.c dentry->d_sb)->mount_crypt_stat; dentry 391 fs/ecryptfs/inode.c i_size_write(dentry->d_inode, (loff_t)file_size); dentry 397 fs/ecryptfs/inode.c d_drop(dentry); dentry 405 fs/ecryptfs/inode.c struct dentry *lower_old_dentry; dentry 406 fs/ecryptfs/inode.c struct dentry *lower_new_dentry; dentry 407 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 442 fs/ecryptfs/inode.c struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 444 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 453 fs/ecryptfs/inode.c dentry->d_inode->i_nlink = dentry 454 fs/ecryptfs/inode.c ecryptfs_inode_to_lower(dentry->d_inode)->i_nlink; dentry 455 fs/ecryptfs/inode.c dentry->d_inode->i_ctime = dir->i_ctime; dentry 456 fs/ecryptfs/inode.c d_drop(dentry); dentry 466 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 467 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 472 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 487 fs/ecryptfs/inode.c rc = ecryptfs_interpose(lower_dentry, dentry, dir->i_sb, 0); dentry 495 fs/ecryptfs/inode.c if (!dentry->d_inode) dentry 496 fs/ecryptfs/inode.c d_drop(dentry); dentry 503 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 504 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 506 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 511 fs/ecryptfs/inode.c rc = ecryptfs_interpose(lower_dentry, dentry, dir->i_sb, 0); dentry 519 fs/ecryptfs/inode.c if (!dentry->d_inode) dentry 520 fs/ecryptfs/inode.c d_drop(dentry); dentry 526 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 527 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 530 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 531 fs/ecryptfs/inode.c dget(dentry); dentry 542 fs/ecryptfs/inode.c d_drop(dentry); dentry 543 fs/ecryptfs/inode.c dput(dentry); dentry 551 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 552 fs/ecryptfs/inode.c struct dentry *lower_dir_dentry; dentry 554 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 559 fs/ecryptfs/inode.c rc = ecryptfs_interpose(lower_dentry, dentry, dir->i_sb, 0); dentry 566 fs/ecryptfs/inode.c if (!dentry->d_inode) dentry 567 fs/ecryptfs/inode.c d_drop(dentry); dentry 576 fs/ecryptfs/inode.c struct dentry *lower_old_dentry; dentry 577 fs/ecryptfs/inode.c struct dentry *lower_new_dentry; dentry 578 fs/ecryptfs/inode.c struct dentry *lower_old_dir_dentry; dentry 579 fs/ecryptfs/inode.c struct dentry *lower_new_dir_dentry; dentry 608 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 614 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 650 fs/ecryptfs/inode.c fsstack_copy_attr_atime(dentry->d_inode, dentry 674 fs/ecryptfs/inode.c "dentry->d_name.name = [%s]\n", dentry->d_name.name); dentry 675 fs/ecryptfs/inode.c rc = dentry->d_inode->i_op->readlink(dentry, (char __user *)buf, len); dentry 740 fs/ecryptfs/inode.c struct inode *inode = dentry->d_inode; dentry 741 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 750 fs/ecryptfs/inode.c crypt_stat = &ecryptfs_inode_to_private(dentry->d_inode)->crypt_stat; dentry 755 fs/ecryptfs/inode.c fake_ecryptfs_file.f_path.dentry = dentry; dentry 764 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 767 fs/ecryptfs/inode.c ecryptfs_inode_to_private(dentry->d_inode)->lower_file); dentry 851 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 856 fs/ecryptfs/inode.c crypt_stat = &ecryptfs_inode_to_private(dentry->d_inode)->crypt_stat; dentry 859 fs/ecryptfs/inode.c inode = dentry->d_inode; dentry 861 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 863 fs/ecryptfs/inode.c if (S_ISDIR(dentry->d_inode->i_mode)) dentry 865 fs/ecryptfs/inode.c else if (S_ISREG(dentry->d_inode->i_mode) dentry 871 fs/ecryptfs/inode.c dentry->d_sb)->mount_crypt_stat; dentry 872 fs/ecryptfs/inode.c rc = ecryptfs_read_metadata(dentry); dentry 896 fs/ecryptfs/inode.c rc = ecryptfs_truncate(dentry, ia->ia_size); dentry 925 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 927 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 962 fs/ecryptfs/inode.c return ecryptfs_getxattr_lower(ecryptfs_dentry_to_lower(dentry), name, dentry 970 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 972 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 987 fs/ecryptfs/inode.c struct dentry *lower_dentry; dentry 989 fs/ecryptfs/inode.c lower_dentry = ecryptfs_dentry_to_lower(dentry); dentry 128 fs/ecryptfs/main.c struct dentry *lower_dentry; dentry 195 fs/ecryptfs/main.c dentry->d_op = &ecryptfs_dops; dentry 197 fs/ecryptfs/main.c d_add(dentry, inode); dentry 199 fs/ecryptfs/main.c d_instantiate(dentry, inode); dentry 480 fs/ecryptfs/main.c struct dentry *lower_root; dentry 489 fs/ecryptfs/main.c lower_root = nd.path.dentry; dentry 48 fs/ecryptfs/mmap.c struct dentry *dentry; dentry 53 fs/ecryptfs/mmap.c dentry = file->f_path.dentry; dentry 54 fs/ecryptfs/mmap.c inode = dentry->d_inode; dentry 196 fs/ecryptfs/mmap.c &ecryptfs_inode_to_private(file->f_path.dentry->d_inode)->crypt_stat; dentry 287 fs/ecryptfs/mmap.c file->f_path.dentry->d_inode)->crypt_stat; dentry 347 fs/ecryptfs/mmap.c rc = ecryptfs_truncate(file->f_path.dentry, dentry 401 fs/ecryptfs/mmap.c struct dentry *lower_dentry = dentry 464 fs/ecryptfs/mmap.c &ecryptfs_inode_to_private(file->f_path.dentry->d_inode)->crypt_stat; dentry 81 fs/ecryptfs/super.c struct dentry *lower_dentry = dentry 138 fs/ecryptfs/super.c return vfs_statfs(ecryptfs_dentry_to_lower(dentry), buf); dentry 23 fs/efs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 132 fs/efs/efs.h extern struct dentry *efs_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 133 fs/efs/efs.h extern struct dentry *efs_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 135 fs/efs/efs.h extern struct dentry *efs_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 137 fs/efs/efs.h extern struct dentry *efs_get_parent(struct dentry *); dentry 62 fs/efs/namei.c struct dentry *efs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) { dentry 67 fs/efs/namei.c inodenum = efs_find_entry(dir, dentry->d_name.name, dentry->d_name.len); dentry 77 fs/efs/namei.c return d_splice_alias(inode, dentry); dentry 99 fs/efs/namei.c struct dentry *efs_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 106 fs/efs/namei.c struct dentry *efs_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 113 fs/efs/namei.c struct dentry *efs_get_parent(struct dentry *child) dentry 115 fs/efs/namei.c struct dentry *parent; dentry 332 fs/efs/super.c struct efs_sb_info *sb = SUPER_INFO(dentry->d_sb); dentry 125 fs/exec.c if (!S_ISREG(nd.path.dentry->d_inode->i_mode)) dentry 679 fs/exec.c if (!S_ISREG(nd.path.dentry->d_inode->i_mode)) dentry 1048 fs/exec.c struct inode * inode = bprm->file->f_path.dentry->d_inode; dentry 1810 fs/exec.c inode = file->f_path.dentry->d_inode; dentry 1813 fs/exec.c if (!ispipe && d_unhashed(file->f_path.dentry)) dentry 1830 fs/exec.c if (!ispipe && do_truncate(file->f_path.dentry, 0, 0, file) != 0) dentry 39 fs/exportfs/expfs.c static struct dentry * dentry 44 fs/exportfs/expfs.c struct dentry *dentry, *toput = NULL; dentry 50 fs/exportfs/expfs.c list_for_each_entry(dentry, &result->d_inode->i_dentry, d_alias) { dentry 51 fs/exportfs/expfs.c dget_locked(dentry); dentry 55 fs/exportfs/expfs.c if (dentry != result && acceptable(context, dentry)) { dentry 57 fs/exportfs/expfs.c return dentry; dentry 60 fs/exportfs/expfs.c toput = dentry; dentry 72 fs/exportfs/expfs.c static struct dentry * dentry 75 fs/exportfs/expfs.c dget(dentry); dentry 76 fs/exportfs/expfs.c spin_lock(&dentry->d_lock); dentry 77 fs/exportfs/expfs.c while (!IS_ROOT(dentry) && dentry 78 fs/exportfs/expfs.c (dentry->d_parent->d_flags & DCACHE_DISCONNECTED)) { dentry 79 fs/exportfs/expfs.c struct dentry *parent = dentry->d_parent; dentry 81 fs/exportfs/expfs.c spin_unlock(&dentry->d_lock); dentry 82 fs/exportfs/expfs.c dput(dentry); dentry 83 fs/exportfs/expfs.c dentry = parent; dentry 84 fs/exportfs/expfs.c spin_lock(&dentry->d_lock); dentry 86 fs/exportfs/expfs.c spin_unlock(&dentry->d_lock); dentry 87 fs/exportfs/expfs.c return dentry; dentry 112 fs/exportfs/expfs.c struct dentry *pd = find_disconnected_root(target_dir); dentry 142 fs/exportfs/expfs.c struct dentry *ppd = ERR_PTR(-EACCES); dentry 143 fs/exportfs/expfs.c struct dentry *npd; dentry 253 fs/exportfs/expfs.c struct inode *dir = dentry->d_inode; dentry 267 fs/exportfs/expfs.c file = dentry_open(dget(dentry), mntget(mnt), O_RDONLY); dentry 317 fs/exportfs/expfs.c struct inode * inode = dentry->d_inode; dentry 330 fs/exportfs/expfs.c spin_lock(&dentry->d_lock); dentry 331 fs/exportfs/expfs.c parent = dentry->d_parent->d_inode; dentry 334 fs/exportfs/expfs.c spin_unlock(&dentry->d_lock); dentry 345 fs/exportfs/expfs.c const struct export_operations *nop = dentry->d_sb->s_export_op; dentry 349 fs/exportfs/expfs.c error = nop->encode_fh(dentry, fid->raw, max_len, connectable); dentry 351 fs/exportfs/expfs.c error = export_encode_fh(dentry, fid, max_len, connectable); dentry 357 fs/exportfs/expfs.c struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, dentry 362 fs/exportfs/expfs.c struct dentry *result, *alias; dentry 399 fs/exportfs/expfs.c struct dentry *target_dir, *nresult; dentry 277 fs/ext2/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 356 fs/ext2/dir.c const char *name = dentry->d_name.name; dentry 357 fs/ext2/dir.c int namelen = dentry->d_name.len; dentry 433 fs/ext2/dir.c de = ext2_find_entry (dir, dentry, &page); dentry 468 fs/ext2/dir.c struct inode *dir = dentry->d_parent->d_inode; dentry 469 fs/ext2/dir.c const char *name = dentry->d_name.name; dentry 470 fs/ext2/dir.c int namelen = dentry->d_name.len; dentry 147 fs/ext2/ext2.h struct dentry *ext2_get_parent(struct dentry *child); dentry 36 fs/ext2/fsync.c struct inode *inode = dentry->d_inode; dentry 1438 fs/ext2/inode.c struct inode *inode = dentry->d_inode; dentry 41 fs/ext2/namei.c int err = ext2_add_link(dentry, inode); dentry 43 fs/ext2/namei.c d_instantiate(dentry, inode); dentry 55 fs/ext2/namei.c static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) dentry 60 fs/ext2/namei.c if (dentry->d_name.len > EXT2_NAME_LEN) dentry 63 fs/ext2/namei.c ino = ext2_inode_by_name(dir, dentry); dentry 70 fs/ext2/namei.c return d_splice_alias(inode, dentry); dentry 73 fs/ext2/namei.c struct dentry *ext2_get_parent(struct dentry *child) dentry 76 fs/ext2/namei.c struct dentry *parent; dentry 78 fs/ext2/namei.c struct dentry dotdot; dentry 123 fs/ext2/namei.c err = ext2_add_nondir(dentry, inode); dentry 144 fs/ext2/namei.c err = ext2_add_nondir(dentry, inode); dentry 183 fs/ext2/namei.c err = ext2_add_nondir(dentry, inode); dentry 205 fs/ext2/namei.c return ext2_add_nondir(dentry, inode); dentry 236 fs/ext2/namei.c err = ext2_add_link(dentry, inode); dentry 240 fs/ext2/namei.c d_instantiate(dentry, inode); dentry 255 fs/ext2/namei.c struct inode * inode = dentry->d_inode; dentry 260 fs/ext2/namei.c de = ext2_find_entry (dir, dentry, &page); dentry 277 fs/ext2/namei.c struct inode * inode = dentry->d_inode; dentry 281 fs/ext2/namei.c err = ext2_unlink(dir, dentry); dentry 342 fs/ext2/super.c static struct dentry *ext2_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 349 fs/ext2/super.c static struct dentry *ext2_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 1226 fs/ext2/super.c struct super_block *sb = dentry->d_sb; dentry 26 fs/ext2/symlink.c struct ext2_inode_info *ei = EXT2_I(dentry->d_inode); dentry 333 fs/ext2/xattr.c return ext2_xattr_list(dentry->d_inode, buffer, size); dentry 103 fs/ext3/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 121 fs/ext3/dir.c EXT3_I(filp->f_path.dentry->d_inode)->i_flags &= ~EXT3_INDEX_FL; dentry 395 fs/ext3/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 425 fs/ext3/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 55 fs/ext3/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 47 fs/ext3/fsync.c struct inode *inode = dentry->d_inode; dentry 3028 fs/ext3/inode.c struct inode *inode = dentry->d_inode; dentry 299 fs/ext3/ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 356 fs/ext3/namei.c if (dentry) dentry 357 fs/ext3/namei.c dir = dentry->d_parent->d_inode; dentry 373 fs/ext3/namei.c if (dentry) dentry 374 fs/ext3/namei.c ext3fs_dirhash(dentry->d_name.name, dentry->d_name.len, hinfo); dentry 637 fs/ext3/namei.c dir = dir_file->f_path.dentry->d_inode; dentry 648 fs/ext3/namei.c frame = dx_probe(NULL, dir_file->f_path.dentry->d_inode, &hinfo, frames, &err); dentry 813 fs/ext3/namei.c const char *name = dentry->d_name.name; dentry 814 fs/ext3/namei.c int namelen = dentry->d_name.len; dentry 866 fs/ext3/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 871 fs/ext3/namei.c namelen = dentry->d_name.len; dentry 875 fs/ext3/namei.c bh = ext3_dx_find_entry(dentry, res_dir, &err); dentry 926 fs/ext3/namei.c i = search_dirblock(bh, dir, dentry, dentry 971 fs/ext3/namei.c int namelen = dentry->d_name.len; dentry 972 fs/ext3/namei.c const u8 *name = dentry->d_name.name; dentry 973 fs/ext3/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 978 fs/ext3/namei.c if (!(frame = dx_probe(dentry, NULL, &hinfo, frames, err))) dentry 1030 fs/ext3/namei.c static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) dentry 1036 fs/ext3/namei.c if (dentry->d_name.len > EXT3_NAME_LEN) dentry 1039 fs/ext3/namei.c bh = ext3_find_entry(dentry, &de); dentry 1053 fs/ext3/namei.c return d_splice_alias(inode, dentry); dentry 1057 fs/ext3/namei.c struct dentry *ext3_get_parent(struct dentry *child) dentry 1060 fs/ext3/namei.c struct dentry *parent; dentry 1062 fs/ext3/namei.c struct dentry dotdot; dentry 1273 fs/ext3/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1274 fs/ext3/namei.c const char *name = dentry->d_name.name; dentry 1275 fs/ext3/namei.c int namelen = dentry->d_name.len; dentry 1360 fs/ext3/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1361 fs/ext3/namei.c const char *name = dentry->d_name.name; dentry 1362 fs/ext3/namei.c int namelen = dentry->d_name.len; dentry 1430 fs/ext3/namei.c return add_dirent_to_buf(handle, dentry, inode, de, bh); dentry 1446 fs/ext3/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1458 fs/ext3/namei.c if (!dentry->d_name.len) dentry 1461 fs/ext3/namei.c retval = ext3_dx_add_entry(handle, dentry, inode); dentry 1473 fs/ext3/namei.c retval = add_dirent_to_buf(handle, dentry, inode, NULL, bh); dentry 1479 fs/ext3/namei.c return make_indexed_dir(handle, dentry, inode, bh); dentry 1488 fs/ext3/namei.c return add_dirent_to_buf(handle, dentry, inode, de, bh); dentry 1501 fs/ext3/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1506 fs/ext3/namei.c frame = dx_probe(dentry, NULL, &hinfo, frames, &err); dentry 1520 fs/ext3/namei.c err = add_dirent_to_buf(handle, dentry, inode, NULL, bh); dentry 1613 fs/ext3/namei.c err = add_dirent_to_buf(handle, dentry, inode, de, bh); dentry 1668 fs/ext3/namei.c int err = ext3_add_entry(handle, dentry, inode); dentry 1671 fs/ext3/namei.c d_instantiate(dentry, inode); dentry 1710 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); dentry 1745 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); dentry 1809 fs/ext3/namei.c err = ext3_add_entry (handle, dentry, inode); dentry 1819 fs/ext3/namei.c d_instantiate(dentry, inode); dentry 2053 fs/ext3/namei.c DQUOT_INIT(dentry->d_inode); dentry 2059 fs/ext3/namei.c bh = ext3_find_entry (dentry, &de); dentry 2066 fs/ext3/namei.c inode = dentry->d_inode; dentry 2112 fs/ext3/namei.c DQUOT_INIT(dentry->d_inode); dentry 2121 fs/ext3/namei.c bh = ext3_find_entry (dentry, &de); dentry 2125 fs/ext3/namei.c inode = dentry->d_inode; dentry 2204 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); dentry 2241 fs/ext3/namei.c err = ext3_add_nondir(handle, dentry, inode); dentry 8 fs/ext3/namei.h extern struct dentry *ext3_get_parent(struct dentry *child); dentry 663 fs/ext3/super.c static struct dentry *ext3_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 670 fs/ext3/super.c static struct dentry *ext3_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 2556 fs/ext3/super.c struct super_block *sb = dentry->d_sb; dentry 2793 fs/ext3/super.c if (nd.path.dentry->d_parent->d_inode != sb->s_root->d_inode) dentry 2803 fs/ext3/super.c if (ext3_should_journal_data(nd.path.dentry->d_inode)) { dentry 28 fs/ext3/symlink.c struct ext3_inode_info *ei = EXT3_I(dentry->d_inode); dentry 150 fs/ext3/xattr.c return ext3_xattr_list(dentry->d_inode, buffer, size); dentry 103 fs/ext4/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 122 fs/ext4/dir.c EXT4_I(filp->f_path.dentry->d_inode)->i_flags &= ~EXT4_INDEX_FL; dentry 401 fs/ext4/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 432 fs/ext4/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 55 fs/ext4/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 49 fs/ext4/fsync.c struct inode *inode = dentry->d_inode; dentry 57 fs/ext4/fsync.c dentry->d_parent->d_inode->i_ino); dentry 4421 fs/ext4/inode.c struct inode *inode = dentry->d_inode; dentry 4525 fs/ext4/inode.c inode = dentry->d_inode; dentry 4943 fs/ext4/inode.c struct inode *inode = file->f_path.dentry->d_inode; dentry 641 fs/ext4/namei.c dir = dir_file->f_path.dentry->d_inode; dentry 1034 fs/ext4/namei.c static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 1040 fs/ext4/namei.c if (dentry->d_name.len > EXT4_NAME_LEN) dentry 1043 fs/ext4/namei.c bh = ext4_find_entry(dir, &dentry->d_name, &de); dentry 1057 fs/ext4/namei.c return d_splice_alias(inode, dentry); dentry 1061 fs/ext4/namei.c struct dentry *ext4_get_parent(struct dentry *child) dentry 1064 fs/ext4/namei.c struct dentry *parent; dentry 1276 fs/ext4/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1277 fs/ext4/namei.c const char *name = dentry->d_name.name; dentry 1278 fs/ext4/namei.c int namelen = dentry->d_name.len; dentry 1363 fs/ext4/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1364 fs/ext4/namei.c const char *name = dentry->d_name.name; dentry 1365 fs/ext4/namei.c int namelen = dentry->d_name.len; dentry 1433 fs/ext4/namei.c return add_dirent_to_buf(handle, dentry, inode, de, bh); dentry 1449 fs/ext4/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1461 fs/ext4/namei.c if (!dentry->d_name.len) dentry 1464 fs/ext4/namei.c retval = ext4_dx_add_entry(handle, dentry, inode); dentry 1476 fs/ext4/namei.c retval = add_dirent_to_buf(handle, dentry, inode, NULL, bh); dentry 1482 fs/ext4/namei.c return make_indexed_dir(handle, dentry, inode, bh); dentry 1491 fs/ext4/namei.c return add_dirent_to_buf(handle, dentry, inode, de, bh); dentry 1504 fs/ext4/namei.c struct inode *dir = dentry->d_parent->d_inode; dentry 1509 fs/ext4/namei.c frame = dx_probe(&dentry->d_name, dir, &hinfo, frames, &err); dentry 1523 fs/ext4/namei.c err = add_dirent_to_buf(handle, dentry, inode, NULL, bh); dentry 1618 fs/ext4/namei.c err = add_dirent_to_buf(handle, dentry, inode, de, bh); dentry 1702 fs/ext4/namei.c int err = ext4_add_entry(handle, dentry, inode); dentry 1705 fs/ext4/namei.c d_instantiate(dentry, inode); dentry 1744 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); dentry 1779 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); dentry 1839 fs/ext4/namei.c err = ext4_add_entry(handle, dentry, inode); dentry 1850 fs/ext4/namei.c d_instantiate(dentry, inode); dentry 2084 fs/ext4/namei.c DQUOT_INIT(dentry->d_inode); dentry 2090 fs/ext4/namei.c bh = ext4_find_entry(dir, &dentry->d_name, &de); dentry 2097 fs/ext4/namei.c inode = dentry->d_inode; dentry 2143 fs/ext4/namei.c DQUOT_INIT(dentry->d_inode); dentry 2152 fs/ext4/namei.c bh = ext4_find_entry(dir, &dentry->d_name, &de); dentry 2156 fs/ext4/namei.c inode = dentry->d_inode; dentry 2237 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); dentry 2275 fs/ext4/namei.c err = ext4_add_nondir(handle, dentry, inode); dentry 8 fs/ext4/namei.h extern struct dentry *ext4_get_parent(struct dentry *child); dentry 818 fs/ext4/super.c static struct dentry *ext4_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 825 fs/ext4/super.c static struct dentry *ext4_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 3180 fs/ext4/super.c struct super_block *sb = dentry->d_sb; dentry 3418 fs/ext4/super.c if (nd.path.dentry->d_parent->d_inode != sb->s_root->d_inode) dentry 3428 fs/ext4/super.c if (ext4_should_journal_data(nd.path.dentry->d_inode)) { dentry 3581 fs/ext4/super.c unsigned int *p = PDE(file->f_path.dentry->d_inode)->data; dentry 28 fs/ext4/symlink.c struct ext4_inode_info *ei = EXT4_I(dentry->d_inode); dentry 143 fs/ext4/xattr.c return ext4_xattr_list(dentry->d_inode, buffer, size); dentry 650 fs/fat/dir.c inum = parent_ino(filp->f_path.dentry); dentry 682 fs/fat/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 802 fs/fat/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 101 fs/fat/file.c err = security_inode_setattr(filp->f_path.dentry, &ia); dentry 106 fs/fat/file.c err = fat_setattr(filp->f_path.dentry, &ia); dentry 110 fs/fat/file.c fsnotify_change(filp->f_path.dentry, ia.ia_valid); dentry 263 fs/fat/file.c struct inode *inode = dentry->d_inode; dentry 320 fs/fat/file.c struct msdos_sb_info *sbi = MSDOS_SB(dentry->d_sb); dentry 321 fs/fat/file.c struct inode *inode = dentry->d_inode; dentry 539 fs/fat/inode.c struct msdos_sb_info *sbi = MSDOS_SB(dentry->d_sb); dentry 543 fs/fat/inode.c int err = fat_count_free_clusters(dentry->d_sb); dentry 548 fs/fat/inode.c buf->f_type = dentry->d_sb->s_magic; dentry 650 fs/fat/inode.c static struct dentry *fat_fh_to_dentry(struct super_block *sb, dentry 654 fs/fat/inode.c struct dentry *result; dentry 738 fs/fat/inode.c static struct dentry *fat_get_parent(struct dentry *child) dentry 744 fs/fat/inode.c struct dentry *parent; dentry 147 fs/fcntl.c struct inode * inode = filp->f_path.dentry->d_inode; dentry 173 fs/file_table.c init_file(file, mnt, dentry, mode, fop); dentry 199 fs/file_table.c file->f_path.dentry = dentry; dentry 201 fs/file_table.c file->f_mapping = dentry->d_inode->i_mapping; dentry 211 fs/file_table.c if ((mode & FMODE_WRITE) && !special_file(dentry->d_inode->i_mode)) { dentry 239 fs/file_table.c struct dentry *dentry = file->f_path.dentry; dentry 240 fs/file_table.c struct inode *inode = dentry->d_inode; dentry 258 fs/file_table.c struct dentry *dentry = file->f_path.dentry; dentry 260 fs/file_table.c struct inode *inode = dentry->d_inode; dentry 282 fs/file_table.c file->f_path.dentry = NULL; dentry 285 fs/file_table.c dput(dentry); dentry 376 fs/file_table.c struct inode *inode = file->f_path.dentry->d_inode; dentry 52 fs/freevxfs/vxfs_lookup.c static struct dentry * vxfs_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 204 fs/freevxfs/vxfs_lookup.c static struct dentry * dentry 243 fs/freevxfs/vxfs_lookup.c struct inode *ip = fp->f_path.dentry->d_inode; dentry 112 fs/freevxfs/vxfs_super.c struct vxfs_sb_info *infp = VXFS_SBI(dentry->d_sb); dentry 115 fs/freevxfs/vxfs_super.c bufp->f_bsize = dentry->d_sb->s_blocksize; dentry 118 fs/fs-writeback.c struct dentry *dentry = NULL; dentry 122 fs/fs-writeback.c dentry = list_entry(inode->i_dentry.next, dentry 123 fs/fs-writeback.c struct dentry, d_alias); dentry 124 fs/fs-writeback.c if (dentry && dentry->d_name.name) dentry 125 fs/fs-writeback.c name = (const char *) dentry->d_name.name; dentry 26 fs/fuse/control.c fc = file->f_path.dentry->d_inode->i_private; dentry 72 fs/fuse/control.c static struct dentry *fuse_ctl_add_dentry(struct dentry *parent, dentry 79 fs/fuse/control.c struct dentry *dentry; dentry 83 fs/fuse/control.c dentry = d_alloc_name(parent, name); dentry 84 fs/fuse/control.c if (!dentry) dentry 87 fs/fuse/control.c fc->ctl_dentry[fc->ctl_ndents++] = dentry; dentry 102 fs/fuse/control.c d_add(dentry, inode); dentry 103 fs/fuse/control.c return dentry; dentry 112 fs/fuse/control.c struct dentry *parent; dentry 152 fs/fuse/control.c struct dentry *dentry = fc->ctl_dentry[i]; dentry 153 fs/fuse/control.c dentry->d_inode->i_private = NULL; dentry 154 fs/fuse/control.c d_drop(dentry); dentry 155 fs/fuse/control.c dput(dentry); dentry 169 fs/fuse/dir.c struct dentry *parent; dentry 241 fs/fuse/dir.c static struct dentry *fuse_d_add_directory(struct dentry *entry, dentry 244 fs/fuse/dir.c struct dentry *alias = d_find_alias(inode); dentry 315 fs/fuse/dir.c static struct dentry *fuse_lookup(struct inode *dir, struct dentry *entry, dentry 321 fs/fuse/dir.c struct dentry *newent; dentry 527 fs/fuse/dir.c struct dentry *alias; dentry 1010 fs/fuse/dir.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1044 fs/fuse/dir.c struct inode *inode = dentry->d_inode; dentry 1083 fs/fuse/dir.c nd_set_link(nd, read_link(dentry)); dentry 80 fs/fuse/file.c dput(req->misc.release.dentry); dentry 89 fs/fuse/file.c struct inode *inode = req->misc.release.dentry->d_inode; dentry 164 fs/fuse/file.c req->misc.release.dentry = dget(file->f_path.dentry); dentry 258 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 955 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1028 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1290 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1312 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1337 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1369 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1392 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1446 fs/fuse/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 238 fs/fuse/fuse_i.h struct dentry *dentry; dentry 429 fs/fuse/fuse_i.h struct dentry *ctl_dentry[FUSE_CTL_NUM_DENTRIES]; dentry 314 fs/fuse/inode.c struct super_block *sb = dentry->d_sb; dentry 332 fs/fuse/inode.c req->in.h.nodeid = get_node_id(dentry->d_inode); dentry 562 fs/fuse/inode.c static struct dentry *fuse_get_dentry(struct super_block *sb, dentry 567 fs/fuse/inode.c struct dentry *entry; dentry 620 fs/fuse/inode.c struct inode *inode = dentry->d_inode; dentry 639 fs/fuse/inode.c spin_lock(&dentry->d_lock); dentry 640 fs/fuse/inode.c parent = dentry->d_parent->d_inode; dentry 643 fs/fuse/inode.c spin_unlock(&dentry->d_lock); dentry 654 fs/fuse/inode.c static struct dentry *fuse_fh_to_dentry(struct super_block *sb, dentry 668 fs/fuse/inode.c static struct dentry *fuse_fh_to_parent(struct super_block *sb, dentry 682 fs/fuse/inode.c static struct dentry *fuse_get_parent(struct dentry *child) dentry 687 fs/fuse/inode.c struct dentry *parent; dentry 806 fs/fuse/inode.c struct dentry *root_dentry; dentry 63 fs/gfs2/glock.c static struct dentry *gfs2_root; dentry 73 fs/gfs2/glock.c static struct dentry *gfs2_root; dentry 501 fs/gfs2/incore.h struct dentry *sd_master_dir; dentry 502 fs/gfs2/incore.h struct dentry *sd_root_dir; dentry 638 fs/gfs2/incore.h struct dentry *debugfs_dir; /* debugfs directory */ dentry 639 fs/gfs2/incore.h struct dentry *debugfs_dentry_glocks; /* for debugfs */ dentry 39 fs/gfs2/ops_dentry.c struct dentry *parent = dget_parent(dentry); dentry 42 fs/gfs2/ops_dentry.c struct inode *inode = dentry->d_inode; dentry 64 fs/gfs2/ops_dentry.c error = gfs2_dir_check(parent->d_inode, &dentry->d_name, ip); dentry 90 fs/gfs2/ops_dentry.c if (have_submounts(dentry)) dentry 92 fs/gfs2/ops_dentry.c shrink_dcache_parent(dentry); dentry 94 fs/gfs2/ops_dentry.c d_drop(dentry); dentry 38 fs/gfs2/ops_export.c struct inode *inode = dentry->d_inode; dentry 55 fs/gfs2/ops_export.c spin_lock(&dentry->d_lock); dentry 56 fs/gfs2/ops_export.c inode = dentry->d_parent->d_inode; dentry 59 fs/gfs2/ops_export.c spin_unlock(&dentry->d_lock); dentry 130 fs/gfs2/ops_export.c static struct dentry *gfs2_get_parent(struct dentry *child) dentry 134 fs/gfs2/ops_export.c struct dentry *dentry; dentry 148 fs/gfs2/ops_export.c dentry = d_alloc_anon(inode); dentry 149 fs/gfs2/ops_export.c if (!dentry) { dentry 154 fs/gfs2/ops_export.c dentry->d_op = &gfs2_dops; dentry 155 fs/gfs2/ops_export.c return dentry; dentry 158 fs/gfs2/ops_export.c static struct dentry *gfs2_get_dentry(struct super_block *sb, dentry 165 fs/gfs2/ops_export.c struct dentry *dentry; dentry 236 fs/gfs2/ops_export.c dentry = d_alloc_anon(inode); dentry 237 fs/gfs2/ops_export.c if (!dentry) { dentry 242 fs/gfs2/ops_export.c dentry->d_op = &gfs2_dops; dentry 243 fs/gfs2/ops_export.c return dentry; dentry 256 fs/gfs2/ops_export.c static struct dentry *gfs2_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 276 fs/gfs2/ops_export.c static struct dentry *gfs2_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 150 fs/gfs2/ops_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 208 fs/gfs2/ops_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 279 fs/gfs2/ops_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 343 fs/gfs2/ops_file.c struct inode *inode = vma->vm_file->f_path.dentry->d_inode; dentry 545 fs/gfs2/ops_file.c struct inode *inode = dentry->d_inode; dentry 657 fs/gfs2/ops_file.c struct gfs2_inode *ip = GFS2_I(file->f_path.dentry->d_inode); dentry 519 fs/gfs2/ops_fstype.c struct dentry *dentry; dentry 527 fs/gfs2/ops_fstype.c dentry = d_alloc_root(inode); dentry 528 fs/gfs2/ops_fstype.c if (!dentry) { dentry 533 fs/gfs2/ops_fstype.c dentry->d_op = &gfs2_dops; dentry 534 fs/gfs2/ops_fstype.c *dptr = dentry; dentry 1198 fs/gfs2/ops_fstype.c sb = nd.path.dentry->d_inode->i_sb; dentry 61 fs/gfs2/ops_inode.c inode = gfs2_createi(ghs, &dentry->d_name, S_IFREG | mode, 0); dentry 77 fs/gfs2/ops_inode.c inode = gfs2_lookupi(dir, &dentry->d_name, 0); dentry 89 fs/gfs2/ops_inode.c d_instantiate(dentry, inode); dentry 105 fs/gfs2/ops_inode.c static struct dentry *gfs2_lookup(struct inode *dir, struct dentry *dentry, dentry 110 fs/gfs2/ops_inode.c dentry->d_op = &gfs2_dops; dentry 112 fs/gfs2/ops_inode.c inode = gfs2_lookupi(dir, &dentry->d_name, 0); dentry 126 fs/gfs2/ops_inode.c return d_splice_alias(inode, dentry); dentry 128 fs/gfs2/ops_inode.c d_add(dentry, inode); dentry 174 fs/gfs2/ops_inode.c error = gfs2_dir_check(dir, &dentry->d_name, NULL); dentry 200 fs/gfs2/ops_inode.c alloc_required = error = gfs2_diradd_alloc_required(dir, &dentry->d_name); dentry 234 fs/gfs2/ops_inode.c error = gfs2_dir_add(dir, &dentry->d_name, ip, IF2DT(inode->i_mode)); dentry 260 fs/gfs2/ops_inode.c d_instantiate(dentry, inode); dentry 280 fs/gfs2/ops_inode.c struct gfs2_inode *ip = GFS2_I(dentry->d_inode); dentry 309 fs/gfs2/ops_inode.c error = gfs2_unlink_ok(dip, &dentry->d_name, ip); dentry 317 fs/gfs2/ops_inode.c error = gfs2_dir_del(dip, &dentry->d_name); dentry 366 fs/gfs2/ops_inode.c inode = gfs2_createi(ghs, &dentry->d_name, S_IFLNK | S_IRWXUGO, 0); dentry 393 fs/gfs2/ops_inode.c d_instantiate(dentry, inode); dentry 419 fs/gfs2/ops_inode.c inode = gfs2_createi(ghs, &dentry->d_name, S_IFDIR | mode, 0); dentry 469 fs/gfs2/ops_inode.c d_instantiate(dentry, inode); dentry 489 fs/gfs2/ops_inode.c struct gfs2_inode *ip = GFS2_I(dentry->d_inode); dentry 516 fs/gfs2/ops_inode.c error = gfs2_unlink_ok(dip, &dentry->d_name, ip); dentry 535 fs/gfs2/ops_inode.c error = gfs2_rmdiri(dip, &dentry->d_name, ip); dentry 572 fs/gfs2/ops_inode.c inode = gfs2_createi(ghs, &dentry->d_name, mode, dev); dentry 586 fs/gfs2/ops_inode.c d_instantiate(dentry, inode); dentry 899 fs/gfs2/ops_inode.c struct gfs2_inode *ip = GFS2_I(dentry->d_inode); dentry 935 fs/gfs2/ops_inode.c struct gfs2_inode *ip = GFS2_I(dentry->d_inode); dentry 1084 fs/gfs2/ops_inode.c struct inode *inode = dentry->d_inode; dentry 1135 fs/gfs2/ops_inode.c struct inode *inode = dentry->d_inode; dentry 1158 fs/gfs2/ops_inode.c struct inode *inode = dentry->d_inode; dentry 1188 fs/gfs2/ops_inode.c return gfs2_ea_get(GFS2_I(dentry->d_inode), &er); dentry 1199 fs/gfs2/ops_inode.c return gfs2_ea_list(GFS2_I(dentry->d_inode), &er); dentry 1212 fs/gfs2/ops_inode.c return gfs2_ea_remove(GFS2_I(dentry->d_inode), &er); dentry 272 fs/gfs2/ops_super.c struct super_block *sb = dentry->d_inode->i_sb; dentry 19 fs/hfs/attr.c struct inode *inode = dentry->d_inode; dentry 62 fs/hfs/attr.c struct inode *inode = dentry->d_inode; dentry 108 fs/hfs/attr.c struct inode *inode = dentry->d_inode; dentry 20 fs/hfs/dir.c static struct dentry *hfs_lookup(struct inode *dir, struct dentry *dentry, dentry 28 fs/hfs/dir.c dentry->d_op = &hfs_dentry_operations; dentry 31 fs/hfs/dir.c hfs_cat_build_key(dir->i_sb, fd.search_key, dir->i_ino, &dentry->d_name); dentry 47 fs/hfs/dir.c d_add(dentry, inode); dentry 56 fs/hfs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 186 fs/hfs/dir.c inode = hfs_new_inode(dir, &dentry->d_name, mode); dentry 190 fs/hfs/dir.c res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); dentry 197 fs/hfs/dir.c d_instantiate(dentry, inode); dentry 215 fs/hfs/dir.c inode = hfs_new_inode(dir, &dentry->d_name, S_IFDIR | mode); dentry 219 fs/hfs/dir.c res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode); dentry 226 fs/hfs/dir.c d_instantiate(dentry, inode); dentry 244 fs/hfs/dir.c inode = dentry->d_inode; dentry 245 fs/hfs/dir.c res = hfs_cat_delete(inode->i_ino, dir, &dentry->d_name); dentry 270 fs/hfs/dir.c inode = dentry->d_inode; dentry 273 fs/hfs/dir.c res = hfs_cat_delete(inode->i_ino, dir, &dentry->d_name); dentry 110 fs/hfs/inode.c struct inode *inode = file->f_path.dentry->d_inode->i_mapping->host; dentry 465 fs/hfs/inode.c static struct dentry *hfs_file_lookup(struct inode *dir, struct dentry *dentry, dentry 473 fs/hfs/inode.c if (HFS_IS_RSRC(dir) || strcmp(dentry->d_name.name, "rsrc")) dentry 502 fs/hfs/inode.c d_add(dentry, inode); dentry 566 fs/hfs/inode.c struct inode *inode = dentry->d_inode; dentry 84 fs/hfs/super.c struct super_block *sb = dentry->d_sb; dentry 17 fs/hfs/sysdep.c struct inode *inode = dentry->d_inode; dentry 22 fs/hfsplus/dir.c dentry->d_fsdata = (void *)(unsigned long)cnid; dentry 23 fs/hfsplus/dir.c d_instantiate(dentry, inode); dentry 27 fs/hfsplus/dir.c static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry, dentry 40 fs/hfsplus/dir.c dentry->d_op = &hfsplus_dentry_operations; dentry 41 fs/hfsplus/dir.c dentry->d_fsdata = NULL; dentry 43 fs/hfsplus/dir.c hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, &dentry->d_name); dentry 62 fs/hfsplus/dir.c dentry->d_fsdata = (void *)(unsigned long)cnid; dentry 77 fs/hfsplus/dir.c if (dentry->d_fsdata) { dentry 82 fs/hfsplus/dir.c cnid = (unsigned long)dentry->d_fsdata; dentry 85 fs/hfsplus/dir.c dentry->d_fsdata = (void *)(unsigned long)cnid; dentry 92 fs/hfsplus/dir.c } else if (!dentry->d_fsdata) dentry 93 fs/hfsplus/dir.c dentry->d_fsdata = (void *)(unsigned long)cnid; dentry 106 fs/hfsplus/dir.c d_add(dentry, inode); dentry 115 fs/hfsplus/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 248 fs/hfsplus/dir.c res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); dentry 255 fs/hfsplus/dir.c hfsplus_instantiate(dentry, inode, inode->i_ino); dentry 316 fs/hfsplus/dir.c struct inode *inode = dentry->d_inode; dentry 325 fs/hfsplus/dir.c cnid = (u32)(unsigned long)dentry->d_fsdata; dentry 331 fs/hfsplus/dir.c dir, &dentry->d_name, dentry 337 fs/hfsplus/dir.c res = hfsplus_delete_cat(cnid, dir, &dentry->d_name); dentry 375 fs/hfsplus/dir.c res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); dentry 382 fs/hfsplus/dir.c hfsplus_instantiate(dentry, inode, inode->i_ino); dentry 392 fs/hfsplus/dir.c inode = dentry->d_inode; dentry 395 fs/hfsplus/dir.c res = hfsplus_delete_cat(inode->i_ino, dir, &dentry->d_name); dentry 426 fs/hfsplus/dir.c res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); dentry 429 fs/hfsplus/dir.c hfsplus_instantiate(dentry, inode, inode->i_ino); dentry 448 fs/hfsplus/dir.c res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode); dentry 456 fs/hfsplus/dir.c hfsplus_instantiate(dentry, inode, inode->i_ino); dentry 107 fs/hfsplus/inode.c struct inode *inode = file->f_path.dentry->d_inode->i_mapping->host; dentry 145 fs/hfsplus/inode.c static struct dentry *hfsplus_file_lookup(struct inode *dir, struct dentry *dentry, dentry 153 fs/hfsplus/inode.c if (HFSPLUS_IS_RSRC(dir) || strcmp(dentry->d_name.name, "rsrc")) dentry 184 fs/hfsplus/inode.c d_add(dentry, inode); dentry 98 fs/hfsplus/ioctl.c struct inode *inode = dentry->d_inode; dentry 140 fs/hfsplus/ioctl.c struct inode *inode = dentry->d_inode; dentry 185 fs/hfsplus/ioctl.c struct inode *inode = dentry->d_inode; dentry 225 fs/hfsplus/super.c struct super_block *sb = dentry->d_sb; dentry 325 fs/hfsplus/unicode.c struct super_block *sb = dentry->d_sb; dentry 368 fs/hfsplus/unicode.c struct super_block *sb = dentry->d_sb; dentry 32 fs/hostfs/hostfs_kern.c #define FILE_HOSTFS_I(file) HOSTFS_I((file)->f_path.dentry->d_inode) dentry 94 fs/hostfs/hostfs_kern.c struct dentry *parent; dentry 99 fs/hostfs/hostfs_kern.c parent = dentry; dentry 112 fs/hostfs/hostfs_kern.c parent = dentry; dentry 126 fs/hostfs/hostfs_kern.c struct dentry *dentry; dentry 128 fs/hostfs/hostfs_kern.c dentry = list_entry(ino->i_dentry.next, struct dentry, d_alias); dentry 129 fs/hostfs/hostfs_kern.c return dentry_name(dentry, extra); dentry 271 fs/hostfs/hostfs_kern.c err = do_statfs(HOSTFS_I(dentry->d_sb->s_root->d_inode)->host_filename, dentry 355 fs/hostfs/hostfs_kern.c name = dentry_name(file->f_path.dentry, 0); dentry 399 fs/hostfs/hostfs_kern.c name = dentry_name(file->f_path.dentry, 0); dentry 414 fs/hostfs/hostfs_kern.c return fsync_file(HOSTFS_I(dentry->d_inode)->fd, datasync); dentry 552 fs/hostfs/hostfs_kern.c if (dentry) { dentry 553 fs/hostfs/hostfs_kern.c name = dentry_name(dentry, 0); dentry 608 fs/hostfs/hostfs_kern.c error = init_inode(inode, dentry); dentry 613 fs/hostfs/hostfs_kern.c name = dentry_name(dentry, 0); dentry 631 fs/hostfs/hostfs_kern.c d_instantiate(dentry, inode); dentry 640 fs/hostfs/hostfs_kern.c struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry, dentry 653 fs/hostfs/hostfs_kern.c err = init_inode(inode, dentry); dentry 658 fs/hostfs/hostfs_kern.c name = dentry_name(dentry, 0); dentry 671 fs/hostfs/hostfs_kern.c d_add(dentry, inode); dentry 672 fs/hostfs/hostfs_kern.c dentry->d_op = &hostfs_dentry_ops; dentry 686 fs/hostfs/hostfs_kern.c file = inode_name(ino, dentry->d_name.len + 1); dentry 691 fs/hostfs/hostfs_kern.c strncat(file, dentry->d_name.name, dentry->d_name.len); dentry 692 fs/hostfs/hostfs_kern.c file[len + dentry->d_name.len] = '\0'; dentry 719 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL) dentry 734 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL) dentry 746 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL) dentry 758 fs/hostfs/hostfs_kern.c if ((file = inode_dentry_name(ino, dentry)) == NULL) dentry 777 fs/hostfs/hostfs_kern.c err = init_inode(inode, dentry); dentry 782 fs/hostfs/hostfs_kern.c name = dentry_name(dentry, 0); dentry 796 fs/hostfs/hostfs_kern.c d_instantiate(dentry, inode); dentry 854 fs/hostfs/hostfs_kern.c int fd = HOSTFS_I(dentry->d_inode)->fd; dentry 856 fs/hostfs/hostfs_kern.c err = inode_change_ok(dentry->d_inode, attr); dentry 898 fs/hostfs/hostfs_kern.c name = dentry_name(dentry, 0); dentry 906 fs/hostfs/hostfs_kern.c return inode_setattr(dentry->d_inode, attr); dentry 31 fs/hpfs/dentry.c hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); dentry 48 fs/hpfs/dentry.c if (hpfs_compare_names(dentry->d_sb, (char *)a->name, al, (char *)b->name, bl, 0)) return 1; dentry 59 fs/hpfs/dentry.c dentry->d_op = &hpfs_dentry_operations; dentry 27 fs/hpfs/dir.c struct inode *i = filp->f_path.dentry->d_inode; dentry 55 fs/hpfs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 187 fs/hpfs/dir.c struct dentry *hpfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 189 fs/hpfs/dir.c const char *name = dentry->d_name.name; dentry 190 fs/hpfs/dir.c unsigned len = dentry->d_name.len; dentry 299 fs/hpfs/dir.c hpfs_set_dentry_operations(dentry); dentry 301 fs/hpfs/dir.c d_add(dentry, result); dentry 126 fs/hpfs/file.c hpfs_i(file->f_path.dentry->d_inode)->i_dirty = 1; dentry 241 fs/hpfs/hpfs_fn.h struct dentry *hpfs_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 265 fs/hpfs/inode.c struct inode *inode = dentry->d_inode; dentry 13 fs/hpfs/namei.c const char *name = dentry->d_name.name; dentry 14 fs/hpfs/namei.c unsigned len = dentry->d_name.len; dentry 103 fs/hpfs/namei.c d_instantiate(dentry, result); dentry 123 fs/hpfs/namei.c const char *name = dentry->d_name.name; dentry 124 fs/hpfs/namei.c unsigned len = dentry->d_name.len; dentry 195 fs/hpfs/namei.c d_instantiate(dentry, result); dentry 213 fs/hpfs/namei.c const char *name = dentry->d_name.name; dentry 214 fs/hpfs/namei.c unsigned len = dentry->d_name.len; dentry 273 fs/hpfs/namei.c d_instantiate(dentry, result); dentry 291 fs/hpfs/namei.c const char *name = dentry->d_name.name; dentry 292 fs/hpfs/namei.c unsigned len = dentry->d_name.len; dentry 354 fs/hpfs/namei.c d_instantiate(dentry, result); dentry 371 fs/hpfs/namei.c const char *name = dentry->d_name.name; dentry 372 fs/hpfs/namei.c unsigned len = dentry->d_name.len; dentry 375 fs/hpfs/namei.c struct inode *inode = dentry->d_inode; dentry 415 fs/hpfs/namei.c d_drop(dentry); dentry 416 fs/hpfs/namei.c spin_lock(&dentry->d_lock); dentry 417 fs/hpfs/namei.c if (atomic_read(&dentry->d_count) > 1 || dentry 421 fs/hpfs/namei.c spin_unlock(&dentry->d_lock); dentry 422 fs/hpfs/namei.c d_rehash(dentry); dentry 425 fs/hpfs/namei.c spin_unlock(&dentry->d_lock); dentry 429 fs/hpfs/namei.c err = notify_change(dentry, &newattrs); dentry 453 fs/hpfs/namei.c const char *name = dentry->d_name.name; dentry 454 fs/hpfs/namei.c unsigned len = dentry->d_name.len; dentry 457 fs/hpfs/namei.c struct inode *inode = dentry->d_inode; dentry 137 fs/hpfs/super.c struct super_block *s = dentry->d_sb; dentry 36 fs/hppfs/hppfs.c struct dentry *proc_dentry; dentry 54 fs/hppfs/hppfs.c sb = dentry->d_sb; dentry 55 fs/hppfs/hppfs.c if (dentry->d_parent != sb->s_root) dentry 58 fs/hppfs/hppfs.c for (i = 0; i < dentry->d_name.len; i++) { dentry 59 fs/hppfs/hppfs.c if (!isdigit(dentry->d_name.name[i])) dentry 67 fs/hppfs/hppfs.c struct dentry *parent; dentry 73 fs/hppfs/hppfs.c parent = dentry; dentry 88 fs/hppfs/hppfs.c parent = dentry; dentry 117 fs/hppfs/hppfs.c host_file = dentry_name(dentry, extra + strlen("/remove")); dentry 138 fs/hppfs/hppfs.c static struct dentry *hppfs_lookup(struct inode *ino, struct dentry *dentry, dentry 141 fs/hppfs/hppfs.c struct dentry *proc_dentry, *new, *parent; dentry 145 fs/hppfs/hppfs.c deleted = file_removed(dentry, NULL); dentry 154 fs/hppfs/hppfs.c proc_dentry = d_lookup(parent, &dentry->d_name); dentry 156 fs/hppfs/hppfs.c proc_dentry = d_alloc(parent, &dentry->d_name); dentry 178 fs/hppfs/hppfs.c d_add(dentry, inode); dentry 196 fs/hppfs/hppfs.c read = file->f_path.dentry->d_inode->i_fop->read; dentry 299 fs/hppfs/hppfs.c write = proc_file->f_path.dentry->d_inode->i_fop->write; dentry 431 fs/hppfs/hppfs.c struct dentry *proc_dentry; dentry 440 fs/hppfs/hppfs.c host_file = dentry_name(file->f_path.dentry, strlen("/rw")); dentry 494 fs/hppfs/hppfs.c struct dentry *proc_dentry; dentry 526 fs/hppfs/hppfs.c llseek = proc_file->f_path.dentry->d_inode->i_fop->llseek; dentry 547 fs/hppfs/hppfs.c struct dentry *dentry; dentry 555 fs/hppfs/hppfs.c if (file_removed(dirent->dentry, name)) dentry 570 fs/hppfs/hppfs.c .dentry = file->f_path.dentry dentry 574 fs/hppfs/hppfs.c readdir = proc_file->f_path.dentry->d_inode->i_fop->readdir; dentry 642 fs/hppfs/hppfs.c struct dentry *proc_dentry; dentry 644 fs/hppfs/hppfs.c proc_dentry = HPPFS_I(dentry->d_inode)->proc_dentry; dentry 651 fs/hppfs/hppfs.c struct dentry *proc_dentry; dentry 653 fs/hppfs/hppfs.c proc_dentry = HPPFS_I(dentry->d_inode)->proc_dentry; dentry 669 fs/hppfs/hppfs.c struct inode *proc_ino = dentry->d_inode; dentry 675 fs/hppfs/hppfs.c if (S_ISDIR(dentry->d_inode->i_mode)) { dentry 678 fs/hppfs/hppfs.c } else if (S_ISLNK(dentry->d_inode->i_mode)) { dentry 686 fs/hppfs/hppfs.c HPPFS_I(inode)->proc_dentry = dget(dentry); dentry 82 fs/hugetlbfs/inode.c struct inode *inode = file->f_path.dentry->d_inode; dentry 474 fs/hugetlbfs/inode.c struct inode *inode = dentry->d_inode; dentry 559 fs/hugetlbfs/inode.c d_instantiate(dentry, inode); dentry 560 fs/hugetlbfs/inode.c dget(dentry); /* Extra count - pin the dentry in core */ dentry 568 fs/hugetlbfs/inode.c int retval = hugetlbfs_mknod(dir, dentry, mode | S_IFDIR, 0); dentry 576 fs/hugetlbfs/inode.c return hugetlbfs_mknod(dir, dentry, mode | S_IFREG, 0); dentry 597 fs/hugetlbfs/inode.c d_instantiate(dentry, inode); dentry 598 fs/hugetlbfs/inode.c dget(dentry); dentry 620 fs/hugetlbfs/inode.c struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(dentry->d_sb); dentry 621 fs/hugetlbfs/inode.c struct hstate *h = hstate_inode(dentry->d_inode); dentry 848 fs/hugetlbfs/inode.c struct dentry * root; dentry 952 fs/hugetlbfs/inode.c struct dentry *dentry, *root; dentry 968 fs/hugetlbfs/inode.c dentry = d_alloc(root, &quick_string); dentry 969 fs/hugetlbfs/inode.c if (!dentry) dentry 983 fs/hugetlbfs/inode.c d_instantiate(dentry, inode); dentry 988 fs/hugetlbfs/inode.c file = alloc_file(hugetlbfs_vfsmount, dentry, dentry 999 fs/hugetlbfs/inode.c dput(dentry); dentry 1193 fs/inode.c struct inode *inode = dentry->d_inode; dentry 1244 fs/inode.c struct inode *inode = file->f_path.dentry->d_inode; dentry 164 fs/inotify.c struct dentry *alias; dentry 168 fs/inotify.c struct dentry *child; dentry 245 fs/inotify.c struct dentry *parent; dentry 262 fs/inotify.c struct dentry *parent; dentry 314 fs/inotify.c struct dentry *parent; dentry 317 fs/inotify.c if (!(dentry->d_flags & DCACHE_INOTIFY_PARENT_WATCHED)) dentry 320 fs/inotify.c spin_lock(&dentry->d_lock); dentry 321 fs/inotify.c parent = dentry->d_parent; dentry 326 fs/inotify.c spin_unlock(&dentry->d_lock); dentry 328 fs/inotify.c dentry->d_inode); dentry 331 fs/inotify.c spin_unlock(&dentry->d_lock); dentry 375 fs/inotify_user.c error = inode_permission(path->dentry->d_inode, MAY_READ); dentry 630 fs/inotify_user.c filp->f_path.dentry = dget(inotify_mnt->mnt_root); dentry 631 fs/inotify_user.c filp->f_mapping = filp->f_path.dentry->d_inode->i_mapping; dentry 695 fs/inotify_user.c inode = path.dentry->d_inode; dentry 51 fs/ioctl.c error = filp->f_op->ioctl(filp->f_path.dentry->d_inode, dentry 188 fs/ioctl.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 352 fs/ioctl.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 451 fs/ioctl.c if (S_ISDIR(filp->f_path.dentry->d_inode->i_mode) || dentry 452 fs/ioctl.c S_ISREG(filp->f_path.dentry->d_inode->i_mode) || dentry 453 fs/ioctl.c S_ISLNK(filp->f_path.dentry->d_inode->i_mode)) { dentry 455 fs/ioctl.c inode_get_bytes(filp->f_path.dentry->d_inode); dentry 462 fs/ioctl.c if (S_ISREG(filp->f_path.dentry->d_inode->i_mode)) dentry 45 fs/isofs/compress.c struct inode *inode = file->f_path.dentry->d_inode; dentry 184 fs/isofs/dir.c inode_number = parent_ino(filp->f_path.dentry); dentry 257 fs/isofs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 18 fs/isofs/export.c static struct dentry * dentry 25 fs/isofs/export.c struct dentry *result; dentry 48 fs/isofs/export.c static struct dentry *isofs_export_get_parent(struct dentry *child) dentry 57 fs/isofs/export.c struct dentry *rv = NULL; dentry 138 fs/isofs/export.c struct inode * inode = dentry->d_inode; dentry 161 fs/isofs/export.c spin_lock(&dentry->d_lock); dentry 162 fs/isofs/export.c parent = dentry->d_parent->d_inode; dentry 167 fs/isofs/export.c spin_unlock(&dentry->d_lock); dentry 184 fs/isofs/export.c static struct dentry *isofs_fh_to_dentry(struct super_block *sb, dentry 196 fs/isofs/export.c static struct dentry *isofs_fh_to_parent(struct super_block *sb, dentry 259 fs/isofs/inode.c return isofs_hash_common(dentry, qstr, 0); dentry 265 fs/isofs/inode.c return isofs_hashi_common(dentry, qstr, 0); dentry 271 fs/isofs/inode.c return isofs_dentry_cmp_common(dentry, a, b, 0); dentry 277 fs/isofs/inode.c return isofs_dentry_cmpi_common(dentry, a, b, 0); dentry 284 fs/isofs/inode.c return isofs_hash_common(dentry, qstr, 1); dentry 290 fs/isofs/inode.c return isofs_hashi_common(dentry, qstr, 1); dentry 296 fs/isofs/inode.c return isofs_dentry_cmp_common(dentry, a, b, 1); dentry 302 fs/isofs/inode.c return isofs_dentry_cmpi_common(dentry, a, b, 1); dentry 931 fs/isofs/inode.c struct super_block *sb = dentry->d_sb; dentry 116 fs/isofs/isofs.h extern struct dentry *isofs_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 29 fs/isofs/namei.c if (!dentry->d_name.len) dentry 40 fs/isofs/namei.c return dentry->d_op->d_compare(dentry, &dentry->d_name, &qstr); dentry 149 fs/isofs/namei.c match = (isofs_cmp(dentry, dpnt, dlen) == 0); dentry 165 fs/isofs/namei.c struct dentry *isofs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 173 fs/isofs/namei.c dentry->d_op = dir->i_sb->s_root->d_op; dentry 180 fs/isofs/namei.c found = isofs_find_entry(dir, dentry, dentry 195 fs/isofs/namei.c return d_splice_alias(inode, dentry); dentry 1863 fs/jbd/journal.c static struct dentry *jbd_debugfs_dir; dentry 1864 fs/jbd/journal.c static struct dentry *jbd_debug; dentry 2279 fs/jbd2/journal.c static struct dentry *jbd2_debugfs_dir; dentry 2280 fs/jbd2/journal.c static struct dentry *jbd2_debug; dentry 26 fs/jffs2/dir.c static struct dentry *jffs2_lookup (struct inode *,struct dentry *, dentry 72 fs/jffs2/dir.c static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target, dentry 123 fs/jffs2/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 127 fs/jffs2/dir.c D1(printk(KERN_DEBUG "jffs2_readdir() for dir_i #%lu\n", filp->f_path.dentry->d_inode->i_ino)); dentry 141 fs/jffs2/dir.c unsigned long pino = parent_ino(filp->f_path.dentry); dentry 219 fs/jffs2/dir.c dentry->d_name.name, dentry->d_name.len); dentry 226 fs/jffs2/dir.c d_instantiate(dentry, inode); dentry 247 fs/jffs2/dir.c struct jffs2_inode_info *dead_f = JFFS2_INODE_INFO(dentry->d_inode); dentry 251 fs/jffs2/dir.c ret = jffs2_do_unlink(c, dir_f, dentry->d_name.name, dentry 252 fs/jffs2/dir.c dentry->d_name.len, dead_f, now); dentry 254 fs/jffs2/dir.c dentry->d_inode->i_nlink = dead_f->inocache->pino_nlink; dentry 283 fs/jffs2/dir.c ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now); dentry 289 fs/jffs2/dir.c d_instantiate(dentry, old_dentry->d_inode); dentry 326 fs/jffs2/dir.c namelen = dentry->d_name.len; dentry 431 fs/jffs2/dir.c rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); dentry 433 fs/jffs2/dir.c fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); dentry 456 fs/jffs2/dir.c d_instantiate(dentry, inode); dentry 485 fs/jffs2/dir.c namelen = dentry->d_name.len; dentry 576 fs/jffs2/dir.c rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); dentry 578 fs/jffs2/dir.c fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); dentry 602 fs/jffs2/dir.c d_instantiate(dentry, inode); dentry 610 fs/jffs2/dir.c struct jffs2_inode_info *f = JFFS2_INODE_INFO(dentry->d_inode); dentry 620 fs/jffs2/dir.c ret = jffs2_do_unlink(c, dir_f, dentry->d_name.name, dentry 621 fs/jffs2/dir.c dentry->d_name.len, f, now); dentry 624 fs/jffs2/dir.c clear_nlink(dentry->d_inode); dentry 660 fs/jffs2/dir.c namelen = dentry->d_name.len; dentry 753 fs/jffs2/dir.c rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); dentry 755 fs/jffs2/dir.c fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL); dentry 778 fs/jffs2/dir.c d_instantiate(dentry, inode); dentry 32 fs/jffs2/file.c struct inode *inode = dentry->d_inode; dentry 188 fs/jffs2/fs.c rc = inode_change_ok(dentry->d_inode, iattr); dentry 192 fs/jffs2/fs.c rc = jffs2_do_setattr(dentry->d_inode, iattr); dentry 194 fs/jffs2/fs.c rc = jffs2_acl_chmod(dentry->d_inode); dentry 201 fs/jffs2/fs.c struct jffs2_sb_info *c = JFFS2_SB_INFO(dentry->d_sb); dentry 34 fs/jffs2/symlink.c struct jffs2_inode_info *f = JFFS2_INODE_INFO(dentry->d_inode); dentry 952 fs/jffs2/xattr.c struct inode *inode = dentry->d_inode; dentry 227 fs/jfs/acl.c struct inode *inode = dentry->d_inode; dentry 31 fs/jfs/file.c struct inode *inode = dentry->d_inode; dentry 3004 fs/jfs/jfs_dtree.c struct inode *ip = filp->f_path.dentry->d_inode; dentry 35 fs/jfs/jfs_inode.h extern struct dentry *jfs_get_parent(struct dentry *dentry); dentry 37 fs/jfs/jfs_inode.h extern struct dentry *jfs_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 39 fs/jfs/jfs_inode.h extern struct dentry *jfs_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 117 fs/jfs/jfs_unicode.c struct nls_table *nls_tab = JFS_SBI(dentry->d_sb)->nls_tab; dentry 118 fs/jfs/jfs_unicode.c int length = dentry->d_name.len; dentry 129 fs/jfs/jfs_unicode.c uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name, dentry 86 fs/jfs/namei.c jfs_info("jfs_create: dip:0x%p name:%s", dip, dentry->d_name.name); dentry 92 fs/jfs/namei.c if ((rc = get_UCSname(&dname, dentry))) dentry 176 fs/jfs/namei.c d_instantiate(dentry, ip); dentry 214 fs/jfs/namei.c jfs_info("jfs_mkdir: dip:0x%p name:%s", dip, dentry->d_name.name); dentry 226 fs/jfs/namei.c if ((rc = get_UCSname(&dname, dentry))) dentry 311 fs/jfs/namei.c d_instantiate(dentry, ip); dentry 346 fs/jfs/namei.c struct inode *ip = dentry->d_inode; dentry 352 fs/jfs/namei.c jfs_info("jfs_rmdir: dip:0x%p name:%s", dip, dentry->d_name.name); dentry 363 fs/jfs/namei.c if ((rc = get_UCSname(&dname, dentry))) { dentry 471 fs/jfs/namei.c struct inode *ip = dentry->d_inode; dentry 479 fs/jfs/namei.c jfs_info("jfs_unlink: dip:0x%p name:%s", dip, dentry->d_name.name); dentry 484 fs/jfs/namei.c if ((rc = get_UCSname(&dname, dentry))) dentry 796 fs/jfs/namei.c dentry->d_name.name); dentry 812 fs/jfs/namei.c if ((rc = get_UCSname(&dname, dentry))) dentry 840 fs/jfs/namei.c d_instantiate(dentry, ip); dentry 882 fs/jfs/namei.c struct inode *ip = dentry->d_inode; dentry 902 fs/jfs/namei.c if ((rc = get_UCSname(&dname, dentry))) dentry 1044 fs/jfs/namei.c d_instantiate(dentry, ip); dentry 1355 fs/jfs/namei.c jfs_info("jfs_mknod: %s", dentry->d_name.name); dentry 1357 fs/jfs/namei.c if ((rc = get_UCSname(&dname, dentry))) dentry 1422 fs/jfs/namei.c d_instantiate(dentry, ip); dentry 1432 fs/jfs/namei.c static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, struct nameidata *nd) dentry 1438 fs/jfs/namei.c const char *name = dentry->d_name.name; dentry 1439 fs/jfs/namei.c int len = dentry->d_name.len; dentry 1445 fs/jfs/namei.c dentry->d_op = &jfs_ci_dentry_operations; dentry 1452 fs/jfs/namei.c if ((rc = get_UCSname(&key, dentry))) dentry 1457 fs/jfs/namei.c d_add(dentry, NULL); dentry 1471 fs/jfs/namei.c dentry = d_splice_alias(ip, dentry); dentry 1473 fs/jfs/namei.c if (dentry && (JFS_SBI(dip->i_sb)->mntflag & JFS_OS2)) dentry 1474 fs/jfs/namei.c dentry->d_op = &jfs_ci_dentry_operations; dentry 1476 fs/jfs/namei.c return dentry; dentry 1498 fs/jfs/namei.c struct dentry *jfs_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 1505 fs/jfs/namei.c struct dentry *jfs_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 1512 fs/jfs/namei.c struct dentry *jfs_get_parent(struct dentry *dentry) dentry 1514 fs/jfs/namei.c struct super_block *sb = dentry->d_inode->i_sb; dentry 1515 fs/jfs/namei.c struct dentry *parent = ERR_PTR(-ENOENT); dentry 1520 fs/jfs/namei.c le32_to_cpu(JFS_IP(dentry->d_inode)->i_dtroot.header.idotdot); dentry 146 fs/jfs/super.c struct jfs_sb_info *sbi = JFS_SBI(dentry->d_sb); dentry 27 fs/jfs/symlink.c char *s = JFS_IP(dentry->d_inode)->i_inline; dentry 925 fs/jfs/xattr.c struct inode *inode = dentry->d_inode; dentry 940 fs/jfs/xattr.c rc = __jfs_setxattr(tid, dentry->d_inode, name, value, value_len, dentry 1019 fs/jfs/xattr.c err = __jfs_getxattr(dentry->d_inode, name, data, buf_size); dentry 1036 fs/jfs/xattr.c struct inode *inode = dentry->d_inode; dentry 1089 fs/jfs/xattr.c struct inode *inode = dentry->d_inode; dentry 1099 fs/jfs/xattr.c rc = __jfs_setxattr(tid, dentry->d_inode, name, NULL, 0, XATTR_REPLACE); dentry 18 fs/libfs.c struct inode *inode = dentry->d_inode; dentry 26 fs/libfs.c buf->f_type = dentry->d_sb->s_magic; dentry 45 fs/libfs.c struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 51 fs/libfs.c if (dentry->d_name.len > NAME_MAX) dentry 53 fs/libfs.c dentry->d_op = &simple_dentry_operations; dentry 54 fs/libfs.c d_add(dentry, NULL); dentry 67 fs/libfs.c file->private_data = d_alloc(file->f_path.dentry, &cursor_name); dentry 80 fs/libfs.c mutex_lock(&file->f_path.dentry->d_inode->i_mutex); dentry 88 fs/libfs.c mutex_unlock(&file->f_path.dentry->d_inode->i_mutex); dentry 95 fs/libfs.c struct dentry *cursor = file->private_data; dentry 100 fs/libfs.c p = file->f_path.dentry->d_subdirs.next; dentry 101 fs/libfs.c while (n && p != &file->f_path.dentry->d_subdirs) { dentry 102 fs/libfs.c struct dentry *next; dentry 103 fs/libfs.c next = list_entry(p, struct dentry, d_u.d_child); dentry 112 fs/libfs.c mutex_unlock(&file->f_path.dentry->d_inode->i_mutex); dentry 130 fs/libfs.c struct dentry *dentry = filp->f_path.dentry; dentry 131 fs/libfs.c struct dentry *cursor = filp->private_data; dentry 138 fs/libfs.c ino = dentry->d_inode->i_ino; dentry 145 fs/libfs.c ino = parent_ino(dentry); dentry 154 fs/libfs.c list_move(q, &dentry->d_subdirs); dentry 156 fs/libfs.c for (p=q->next; p != &dentry->d_subdirs; p=p->next) { dentry 157 fs/libfs.c struct dentry *next; dentry 158 fs/libfs.c next = list_entry(p, struct dentry, d_u.d_child); dentry 210 fs/libfs.c struct dentry *dentry; dentry 236 fs/libfs.c dentry = d_alloc(NULL, &d_name); dentry 237 fs/libfs.c if (!dentry) { dentry 241 fs/libfs.c dentry->d_sb = s; dentry 242 fs/libfs.c dentry->d_parent = dentry; dentry 243 fs/libfs.c d_instantiate(dentry, root); dentry 244 fs/libfs.c s->s_root = dentry; dentry 261 fs/libfs.c dget(dentry); dentry 262 fs/libfs.c d_instantiate(dentry, inode); dentry 268 fs/libfs.c return dentry->d_inode && !d_unhashed(dentry); dentry 273 fs/libfs.c struct dentry *child; dentry 277 fs/libfs.c list_for_each_entry(child, &dentry->d_subdirs, d_u.d_child) dentry 288 fs/libfs.c struct inode *inode = dentry->d_inode; dentry 292 fs/libfs.c dput(dentry); dentry 298 fs/libfs.c if (!simple_empty(dentry)) dentry 301 fs/libfs.c drop_nlink(dentry->d_inode); dentry 302 fs/libfs.c simple_unlink(dir, dentry); dentry 420 fs/libfs.c struct dentry *root; dentry 421 fs/libfs.c struct dentry *dentry; dentry 460 fs/libfs.c dentry = d_alloc_name(root, files->name); dentry 461 fs/libfs.c if (!dentry) dentry 472 fs/libfs.c d_add(dentry, inode); dentry 740 fs/libfs.c static struct dentry *exportfs_d_alloc(struct inode *inode) dentry 742 fs/libfs.c struct dentry *dentry; dentry 749 fs/libfs.c dentry = d_alloc_anon(inode); dentry 750 fs/libfs.c if (!dentry) { dentry 752 fs/libfs.c dentry = ERR_PTR(-ENOMEM); dentry 754 fs/libfs.c return dentry; dentry 769 fs/libfs.c struct dentry *generic_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 802 fs/libfs.c struct dentry *generic_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 170 fs/lockd/clntlock.c if (nfs_compare_fh(NFS_FH(fl_blocked->fl_file->f_path.dentry->d_inode) ,fh) != 0) dentry 131 fs/lockd/clntproc.c memcpy(&lock->fh, NFS_FH(fl->fl_file->f_path.dentry->d_inode), sizeof(struct nfs_fh)); dentry 370 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id, dentry 371 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino, dentry 470 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id, dentry 471 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino, dentry 563 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id, dentry 564 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino, dentry 592 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_sb->s_id, dentry 593 fs/lockd/svclock.c file->f_file->f_path.dentry->d_inode->i_ino, dentry 48 fs/lockd/svcsubs.c struct inode *inode = file->f_file->f_path.dentry->d_inode; dentry 323 fs/locks.c start = i_size_read(filp->f_path.dentry->d_inode); dentry 373 fs/locks.c start = i_size_read(filp->f_path.dentry->d_inode); dentry 647 fs/locks.c for (cfl = filp->f_path.dentry->d_inode->i_flock; cfl; cfl = cfl->fl_next) { dentry 728 fs/locks.c struct inode * inode = filp->f_path.dentry->d_inode; dentry 1021 fs/locks.c return __posix_lock_file(filp->f_path.dentry->d_inode, fl, conflock); dentry 1321 fs/locks.c time_out_leases(filp->f_path.dentry->d_inode); dentry 1322 fs/locks.c for (fl = filp->f_path.dentry->d_inode->i_flock; fl && IS_LEASE(fl); dentry 1348 fs/locks.c struct dentry *dentry = filp->f_path.dentry; dentry 1349 fs/locks.c struct inode *inode = dentry->d_inode; dentry 1376 fs/locks.c && ((atomic_read(&dentry->d_count) > 1) dentry 1492 fs/locks.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 1787 fs/locks.c inode = filp->f_path.dentry->d_inode; dentry 1905 fs/locks.c inode = filp->f_path.dentry->d_inode; dentry 1974 fs/locks.c if (!filp->f_path.dentry->d_inode->i_flock) dentry 2000 fs/locks.c struct inode * inode = filp->f_path.dentry->d_inode; dentry 2095 fs/locks.c inode = fl->fl_file->f_path.dentry->d_inode; dentry 95 fs/minix/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 171 fs/minix/dir.c const char * name = dentry->d_name.name; dentry 172 fs/minix/dir.c int namelen = dentry->d_name.len; dentry 173 fs/minix/dir.c struct inode * dir = dentry->d_parent->d_inode; dentry 220 fs/minix/dir.c struct inode *dir = dentry->d_parent->d_inode; dentry 221 fs/minix/dir.c const char * name = dentry->d_name.name; dentry 222 fs/minix/dir.c int namelen = dentry->d_name.len; dentry 472 fs/minix/dir.c struct minix_dir_entry *de = minix_find_entry(dentry, &page); dentry 36 fs/minix/file.c struct inode *inode = dentry->d_inode; dentry 324 fs/minix/inode.c struct minix_sb_info *sbi = minix_sb(dentry->d_sb); dentry 325 fs/minix/inode.c buf->f_type = dentry->d_sb->s_magic; dentry 326 fs/minix/inode.c buf->f_bsize = dentry->d_sb->s_blocksize; dentry 590 fs/minix/inode.c struct inode *dir = dentry->d_parent->d_inode; dentry 592 fs/minix/inode.c generic_fillattr(dentry->d_inode, stat); dentry 593 fs/minix/inode.c if (INODE_VERSION(dentry->d_inode) == MINIX_V1) dentry 11 fs/minix/namei.c int err = minix_add_link(dentry, inode); dentry 13 fs/minix/namei.c d_instantiate(dentry, inode); dentry 21 fs/minix/namei.c static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) dentry 26 fs/minix/namei.c dentry->d_op = dir->i_sb->s_root->d_op; dentry 28 fs/minix/namei.c if (dentry->d_name.len > minix_sb(dir->i_sb)->s_namelen) dentry 31 fs/minix/namei.c ino = minix_inode_by_name(dentry); dentry 37 fs/minix/namei.c d_add(dentry, inode); dentry 55 fs/minix/namei.c error = add_nondir(dentry, inode); dentry 63 fs/minix/namei.c return minix_mknod(dir, dentry, mode, 0); dentry 86 fs/minix/namei.c err = add_nondir(dentry, inode); dentry 107 fs/minix/namei.c return add_nondir(dentry, inode); dentry 135 fs/minix/namei.c err = minix_add_link(dentry, inode); dentry 139 fs/minix/namei.c d_instantiate(dentry, inode); dentry 155 fs/minix/namei.c struct inode * inode = dentry->d_inode; dentry 159 fs/minix/namei.c de = minix_find_entry(dentry, &page); dentry 175 fs/minix/namei.c struct inode * inode = dentry->d_inode; dentry 179 fs/minix/namei.c err = minix_unlink(dir, dentry); dentry 154 fs/msdos/namei.c struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; dentry 170 fs/msdos/namei.c struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; dentry 201 fs/msdos/namei.c static struct dentry *msdos_lookup(struct inode *dir, struct dentry *dentry, dentry 209 fs/msdos/namei.c dentry->d_op = &msdos_dentry_operations; dentry 212 fs/msdos/namei.c res = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); dentry 225 fs/msdos/namei.c dentry = d_splice_alias(inode, dentry); dentry 226 fs/msdos/namei.c if (dentry) dentry 227 fs/msdos/namei.c dentry->d_op = &msdos_dentry_operations; dentry 231 fs/msdos/namei.c return dentry; dentry 286 fs/msdos/namei.c err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, dentry 290 fs/msdos/namei.c is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); dentry 311 fs/msdos/namei.c d_instantiate(dentry, inode); dentry 323 fs/msdos/namei.c struct inode *inode = dentry->d_inode; dentry 335 fs/msdos/namei.c err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); dentry 367 fs/msdos/namei.c err = msdos_format_name(dentry->d_name.name, dentry->d_name.len, dentry 371 fs/msdos/namei.c is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.'); dentry 401 fs/msdos/namei.c d_instantiate(dentry, inode); dentry 417 fs/msdos/namei.c struct inode *inode = dentry->d_inode; dentry 423 fs/msdos/namei.c err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); dentry 292 fs/namei.c return inode_permission(nd->path.dentry->d_inode, mask); dentry 309 fs/namei.c return inode_permission(file->f_path.dentry->d_inode, mask); dentry 345 fs/namei.c struct inode *inode = file->f_path.dentry->d_inode; dentry 367 fs/namei.c dget(path->dentry); dentry 379 fs/namei.c dput(path->dentry); dentry 390 fs/namei.c if (nd->intent.open.file->f_path.dentry == NULL) dentry 396 fs/namei.c static inline struct dentry * dentry 399 fs/namei.c int status = dentry->d_op->d_revalidate(dentry, nd); dentry 408 fs/namei.c if (!d_invalidate(dentry)) { dentry 409 fs/namei.c dput(dentry); dentry 410 fs/namei.c dentry = NULL; dentry 413 fs/namei.c dput(dentry); dentry 414 fs/namei.c dentry = ERR_PTR(status); dentry 417 fs/namei.c return dentry; dentry 424 fs/namei.c static struct dentry * cached_lookup(struct dentry * parent, struct qstr * name, struct nameidata *nd) dentry 426 fs/namei.c struct dentry * dentry = __d_lookup(parent, name); dentry 431 fs/namei.c if (!dentry) dentry 432 fs/namei.c dentry = d_lookup(parent, name); dentry 434 fs/namei.c if (dentry && dentry->d_op && dentry->d_op->d_revalidate) dentry 435 fs/namei.c dentry = do_revalidate(dentry, nd); dentry 437 fs/namei.c return dentry; dentry 487 fs/namei.c static struct dentry * real_lookup(struct dentry * parent, struct qstr * name, struct nameidata *nd) dentry 489 fs/namei.c struct dentry * result; dentry 509 fs/namei.c struct dentry *dentry; dentry 516 fs/namei.c dentry = d_alloc(parent, name); dentry 518 fs/namei.c if (dentry) { dentry 519 fs/namei.c result = dir->i_op->lookup(dir, dentry, nd); dentry 521 fs/namei.c dput(dentry); dentry 523 fs/namei.c result = dentry; dentry 618 fs/namei.c dput(path->dentry); dentry 625 fs/namei.c dput(nd->path.dentry); dentry 629 fs/namei.c nd->path.dentry = path->dentry; dentry 636 fs/namei.c struct dentry *dentry = path->dentry; dentry 638 fs/namei.c touch_atime(path->mnt, dentry); dentry 643 fs/namei.c dget(dentry); dentry 646 fs/namei.c cookie = dentry->d_inode->i_op->follow_link(dentry, nd); dentry 653 fs/namei.c if (dentry->d_inode->i_op->put_link) dentry 654 fs/namei.c dentry->d_inode->i_op->put_link(dentry, nd, cookie); dentry 677 fs/namei.c err = security_inode_follow_link(path->dentry, nd); dentry 696 fs/namei.c struct dentry *mountpoint; dentry 706 fs/namei.c dput(*dentry); dentry 707 fs/namei.c *dentry = mountpoint; dentry 719 fs/namei.c while (d_mountpoint(path->dentry)) { dentry 720 fs/namei.c struct vfsmount *mounted = lookup_mnt(path->mnt, path->dentry); dentry 723 fs/namei.c dput(path->dentry); dentry 727 fs/namei.c path->dentry = dget(mounted->mnt_root); dentry 735 fs/namei.c while (d_mountpoint(*dentry)) { dentry 736 fs/namei.c struct vfsmount *mounted = lookup_mnt(*mnt, *dentry); dentry 739 fs/namei.c dput(*dentry); dentry 742 fs/namei.c *dentry = dget(mounted->mnt_root); dentry 753 fs/namei.c mounted = lookup_mnt(*mnt, *dentry); dentry 755 fs/namei.c dput(*dentry); dentry 758 fs/namei.c *dentry = dget(mounted->mnt_root); dentry 770 fs/namei.c struct dentry *old = nd->path.dentry; dentry 773 fs/namei.c if (nd->path.dentry == fs->root.dentry && dentry 780 fs/namei.c if (nd->path.dentry != nd->path.mnt->mnt_root) { dentry 781 fs/namei.c nd->path.dentry = dget(nd->path.dentry->d_parent); dentry 794 fs/namei.c nd->path.dentry = dget(nd->path.mnt->mnt_mountpoint); dentry 800 fs/namei.c follow_mount(&nd->path.mnt, &nd->path.dentry); dentry 812 fs/namei.c struct dentry *dentry = __d_lookup(nd->path.dentry, name); dentry 814 fs/namei.c if (!dentry) dentry 816 fs/namei.c if (dentry->d_op && dentry->d_op->d_revalidate) dentry 820 fs/namei.c path->dentry = dentry; dentry 825 fs/namei.c dentry = real_lookup(nd->path.dentry, name, nd); dentry 826 fs/namei.c if (IS_ERR(dentry)) dentry 831 fs/namei.c dentry = do_revalidate(dentry, nd); dentry 832 fs/namei.c if (!dentry) dentry 834 fs/namei.c if (IS_ERR(dentry)) dentry 839 fs/namei.c return PTR_ERR(dentry); dentry 862 fs/namei.c inode = nd->path.dentry->d_inode; dentry 910 fs/namei.c inode = nd->path.dentry->d_inode; dentry 919 fs/namei.c if (nd->path.dentry->d_op && nd->path.dentry->d_op->d_hash) { dentry 920 fs/namei.c err = nd->path.dentry->d_op->d_hash(nd->path.dentry, dentry 931 fs/namei.c inode = next.dentry->d_inode; dentry 943 fs/namei.c inode = nd->path.dentry->d_inode; dentry 971 fs/namei.c inode = nd->path.dentry->d_inode; dentry 976 fs/namei.c if (nd->path.dentry->d_op && nd->path.dentry->d_op->d_hash) { dentry 977 fs/namei.c err = nd->path.dentry->d_op->d_hash(nd->path.dentry, dentry 985 fs/namei.c inode = next.dentry->d_inode; dentry 991 fs/namei.c inode = nd->path.dentry->d_inode; dentry 1019 fs/namei.c if (nd->path.dentry && nd->path.dentry->d_sb && dentry 1020 fs/namei.c (nd->path.dentry->d_sb->s_type->fs_flags & FS_REVAL_DOT)) { dentry 1023 fs/namei.c if (!nd->path.dentry->d_op->d_revalidate( dentry 1024 fs/namei.c nd->path.dentry, nd)) dentry 1068 fs/namei.c struct dentry *dentry; dentry 1075 fs/namei.c dentry = file->f_path.dentry; dentry 1078 fs/namei.c if (!S_ISDIR(dentry->d_inode->i_mode)) dentry 1092 fs/namei.c if (unlikely(!retval && !audit_dummy_context() && nd->path.dentry && dentry 1093 fs/namei.c nd->path.dentry->d_inode)) dentry 1094 fs/namei.c audit_inode(name, nd->path.dentry); dentry 1128 fs/namei.c nd->path.dentry = dentry; dentry 1133 fs/namei.c if (unlikely(!retval && !audit_dummy_context() && nd->path.dentry && dentry 1134 fs/namei.c nd->path.dentry->d_inode)) dentry 1135 fs/namei.c audit_inode(name, nd->path.dentry); dentry 1196 fs/namei.c static struct dentry *__lookup_hash(struct qstr *name, dentry 1199 fs/namei.c struct dentry *dentry; dentry 1211 fs/namei.c dentry = ERR_PTR(err); dentry 1216 fs/namei.c dentry = cached_lookup(base, name, nd); dentry 1217 fs/namei.c if (!dentry) { dentry 1218 fs/namei.c struct dentry *new; dentry 1221 fs/namei.c dentry = ERR_PTR(-ENOENT); dentry 1226 fs/namei.c dentry = ERR_PTR(-ENOMEM); dentry 1229 fs/namei.c dentry = inode->i_op->lookup(inode, new, nd); dentry 1230 fs/namei.c if (!dentry) dentry 1231 fs/namei.c dentry = new; dentry 1236 fs/namei.c return dentry; dentry 1244 fs/namei.c static struct dentry *lookup_hash(struct nameidata *nd) dentry 1248 fs/namei.c err = inode_permission(nd->path.dentry->d_inode, MAY_EXEC); dentry 1251 fs/namei.c return __lookup_hash(&nd->last, nd->path.dentry, nd); dentry 1287 fs/namei.c struct dentry *lookup_one_len(const char *name, struct dentry *base, int len) dentry 1313 fs/namei.c struct dentry *lookup_one_noperm(const char *name, struct dentry *base) dentry 1462 fs/namei.c struct dentry *lock_rename(struct dentry *p1, struct dentry *p2) dentry 1464 fs/namei.c struct dentry *p; dentry 1506 fs/namei.c int error = may_create(dir, dentry); dentry 1515 fs/namei.c error = security_inode_create(dir, dentry, mode); dentry 1519 fs/namei.c error = dir->i_op->create(dir, dentry, mode, nd); dentry 1521 fs/namei.c fsnotify_create(dir, dentry); dentry 1527 fs/namei.c struct dentry *dentry = nd->path.dentry; dentry 1528 fs/namei.c struct inode *inode = dentry->d_inode; dentry 1591 fs/namei.c error = do_truncate(dentry, 0, dentry 1614 fs/namei.c struct dentry *dir = nd->path.dentry; dentry 1618 fs/namei.c error = vfs_create(dir->d_inode, path->dentry, mode, nd); dentry 1620 fs/namei.c dput(nd->path.dentry); dentry 1621 fs/namei.c nd->path.dentry = path->dentry; dentry 1675 fs/namei.c struct dentry *dir; dentry 1719 fs/namei.c dir = nd.path.dentry; dentry 1722 fs/namei.c path.dentry = lookup_hash(&nd); dentry 1726 fs/namei.c error = PTR_ERR(path.dentry); dentry 1727 fs/namei.c if (IS_ERR(path.dentry)) { dentry 1738 fs/namei.c if (!path.dentry->d_inode) { dentry 1763 fs/namei.c audit_inode(pathname, path.dentry); dentry 1776 fs/namei.c if (!path.dentry->d_inode) dentry 1778 fs/namei.c if (path.dentry->d_inode->i_op && path.dentry->d_inode->i_op->follow_link) dentry 1783 fs/namei.c if (path.dentry->d_inode && S_ISDIR(path.dentry->d_inode->i_mode)) dentry 1796 fs/namei.c will_write = open_will_write_to_fs(flag, nd.path.dentry->d_inode); dentry 1843 fs/namei.c error = security_inode_follow_link(path.dentry, &nd); dentry 1870 fs/namei.c dir = nd.path.dentry; dentry 1872 fs/namei.c path.dentry = lookup_hash(&nd); dentry 1905 fs/namei.c struct dentry *lookup_create(struct nameidata *nd, int is_dir) dentry 1907 fs/namei.c struct dentry *dentry = ERR_PTR(-EEXIST); dentry 1909 fs/namei.c mutex_lock_nested(&nd->path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); dentry 1923 fs/namei.c dentry = lookup_hash(nd); dentry 1924 fs/namei.c if (IS_ERR(dentry)) dentry 1927 fs/namei.c if (dentry->d_inode) dentry 1936 fs/namei.c dput(dentry); dentry 1937 fs/namei.c dentry = ERR_PTR(-ENOENT); dentry 1939 fs/namei.c return dentry; dentry 1941 fs/namei.c dput(dentry); dentry 1942 fs/namei.c dentry = ERR_PTR(-EEXIST); dentry 1944 fs/namei.c return dentry; dentry 1950 fs/namei.c int error = may_create(dir, dentry); dentry 1965 fs/namei.c error = security_inode_mknod(dir, dentry, mode, dev); dentry 1970 fs/namei.c error = dir->i_op->mknod(dir, dentry, mode, dev); dentry 1972 fs/namei.c fsnotify_create(dir, dentry); dentry 1998 fs/namei.c struct dentry *dentry; dentry 2008 fs/namei.c dentry = lookup_create(&nd, 0); dentry 2009 fs/namei.c if (IS_ERR(dentry)) { dentry 2010 fs/namei.c error = PTR_ERR(dentry); dentry 2013 fs/namei.c if (!IS_POSIXACL(nd.path.dentry->d_inode)) dentry 2023 fs/namei.c error = vfs_create(nd.path.dentry->d_inode,dentry,mode,&nd); dentry 2026 fs/namei.c error = vfs_mknod(nd.path.dentry->d_inode,dentry,mode, dentry 2030 fs/namei.c error = vfs_mknod(nd.path.dentry->d_inode,dentry,mode,0); dentry 2035 fs/namei.c dput(dentry); dentry 2037 fs/namei.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 2051 fs/namei.c int error = may_create(dir, dentry); dentry 2060 fs/namei.c error = security_inode_mkdir(dir, dentry, mode); dentry 2065 fs/namei.c error = dir->i_op->mkdir(dir, dentry, mode); dentry 2067 fs/namei.c fsnotify_mkdir(dir, dentry); dentry 2075 fs/namei.c struct dentry *dentry; dentry 2082 fs/namei.c dentry = lookup_create(&nd, 1); dentry 2083 fs/namei.c error = PTR_ERR(dentry); dentry 2084 fs/namei.c if (IS_ERR(dentry)) dentry 2087 fs/namei.c if (!IS_POSIXACL(nd.path.dentry->d_inode)) dentry 2092 fs/namei.c error = vfs_mkdir(nd.path.dentry->d_inode, dentry, mode); dentry 2095 fs/namei.c dput(dentry); dentry 2097 fs/namei.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 2126 fs/namei.c dget(dentry); dentry 2127 fs/namei.c shrink_dcache_parent(dentry); dentry 2129 fs/namei.c spin_lock(&dentry->d_lock); dentry 2130 fs/namei.c if (atomic_read(&dentry->d_count) == 2) dentry 2131 fs/namei.c __d_drop(dentry); dentry 2132 fs/namei.c spin_unlock(&dentry->d_lock); dentry 2138 fs/namei.c int error = may_delete(dir, dentry, 1); dentry 2148 fs/namei.c mutex_lock(&dentry->d_inode->i_mutex); dentry 2149 fs/namei.c dentry_unhash(dentry); dentry 2150 fs/namei.c if (d_mountpoint(dentry)) dentry 2153 fs/namei.c error = security_inode_rmdir(dir, dentry); dentry 2155 fs/namei.c error = dir->i_op->rmdir(dir, dentry); dentry 2157 fs/namei.c dentry->d_inode->i_flags |= S_DEAD; dentry 2160 fs/namei.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 2162 fs/namei.c d_delete(dentry); dentry 2164 fs/namei.c dput(dentry); dentry 2173 fs/namei.c struct dentry *dentry; dentry 2191 fs/namei.c mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); dentry 2192 fs/namei.c dentry = lookup_hash(&nd); dentry 2193 fs/namei.c error = PTR_ERR(dentry); dentry 2194 fs/namei.c if (IS_ERR(dentry)) dentry 2199 fs/namei.c error = vfs_rmdir(nd.path.dentry->d_inode, dentry); dentry 2202 fs/namei.c dput(dentry); dentry 2204 fs/namei.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 2218 fs/namei.c int error = may_delete(dir, dentry, 0); dentry 2228 fs/namei.c mutex_lock(&dentry->d_inode->i_mutex); dentry 2229 fs/namei.c if (d_mountpoint(dentry)) dentry 2232 fs/namei.c error = security_inode_unlink(dir, dentry); dentry 2234 fs/namei.c error = dir->i_op->unlink(dir, dentry); dentry 2236 fs/namei.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 2239 fs/namei.c if (!error && !(dentry->d_flags & DCACHE_NFSFS_RENAMED)) { dentry 2240 fs/namei.c fsnotify_link_count(dentry->d_inode); dentry 2241 fs/namei.c d_delete(dentry); dentry 2257 fs/namei.c struct dentry *dentry; dentry 2268 fs/namei.c mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); dentry 2269 fs/namei.c dentry = lookup_hash(&nd); dentry 2270 fs/namei.c error = PTR_ERR(dentry); dentry 2271 fs/namei.c if (!IS_ERR(dentry)) { dentry 2275 fs/namei.c inode = dentry->d_inode; dentry 2281 fs/namei.c error = vfs_unlink(nd.path.dentry->d_inode, dentry); dentry 2284 fs/namei.c dput(dentry); dentry 2286 fs/namei.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 2295 fs/namei.c error = !dentry->d_inode ? -ENOENT : dentry 2296 fs/namei.c S_ISDIR(dentry->d_inode->i_mode) ? -EISDIR : -ENOTDIR; dentry 2318 fs/namei.c int error = may_create(dir, dentry); dentry 2326 fs/namei.c error = security_inode_symlink(dir, dentry, oldname); dentry 2331 fs/namei.c error = dir->i_op->symlink(dir, dentry, oldname); dentry 2333 fs/namei.c fsnotify_create(dir, dentry); dentry 2343 fs/namei.c struct dentry *dentry; dentry 2354 fs/namei.c dentry = lookup_create(&nd, 0); dentry 2355 fs/namei.c error = PTR_ERR(dentry); dentry 2356 fs/namei.c if (IS_ERR(dentry)) dentry 2362 fs/namei.c error = vfs_symlink(nd.path.dentry->d_inode, dentry, from); dentry 2365 fs/namei.c dput(dentry); dentry 2367 fs/namei.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 2431 fs/namei.c struct dentry *new_dentry; dentry 2459 fs/namei.c error = vfs_link(old_path.dentry, nd.path.dentry->d_inode, new_dentry); dentry 2464 fs/namei.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 2628 fs/namei.c struct dentry *old_dir, *new_dir; dentry 2629 fs/namei.c struct dentry *old_dentry, *new_dentry; dentry 2630 fs/namei.c struct dentry *trap; dentry 2648 fs/namei.c old_dir = oldnd.path.dentry; dentry 2653 fs/namei.c new_dir = newnd.path.dentry; dentry 2744 fs/namei.c cookie = dentry->d_inode->i_op->follow_link(dentry, &nd); dentry 2748 fs/namei.c res = vfs_readlink(dentry, buffer, buflen, nd_get_link(&nd)); dentry 2749 fs/namei.c if (dentry->d_inode->i_op->put_link) dentry 2750 fs/namei.c dentry->d_inode->i_op->put_link(dentry, &nd, cookie); dentry 2763 fs/namei.c struct address_space *mapping = dentry->d_inode->i_mapping; dentry 2774 fs/namei.c char *s = page_getlink(dentry, &page); dentry 2775 fs/namei.c int res = vfs_readlink(dentry,buffer,buflen,s); dentry 2786 fs/namei.c nd_set_link(nd, page_getlink(dentry, &page)); dentry 56 fs/namespace.c tmp += ((unsigned long)dentry / L1_CACHE_BYTES); dentry 423 fs/namespace.c struct list_head *head = mount_hashtable + hash(mnt, dentry); dentry 433 fs/namespace.c if (p->mnt_parent == mnt && p->mnt_mountpoint == dentry) { dentry 449 fs/namespace.c if ((child_mnt = __lookup_mnt(mnt, dentry, 1))) dentry 478 fs/namespace.c old_path->dentry = mnt->mnt_mountpoint; dentry 484 fs/namespace.c old_path->dentry->d_mounted--; dentry 491 fs/namespace.c child_mnt->mnt_mountpoint = dget(dentry); dentry 492 fs/namespace.c dentry->d_mounted++; dentry 497 fs/namespace.c mnt_set_mountpoint(path->mnt, path->dentry, mnt); dentry 499 fs/namespace.c hash(path->mnt, path->dentry)); dentry 804 fs/namespace.c struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; dentry 835 fs/namespace.c struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; dentry 844 fs/namespace.c if (root.mnt != p->root.mnt || root.dentry != p->root.dentry) { dentry 894 fs/namespace.c struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; dentry 992 fs/namespace.c struct dentry *dentry; dentry 995 fs/namespace.c dentry = mnt->mnt_mountpoint; dentry 1001 fs/namespace.c dput(dentry); dentry 1140 fs/namespace.c if (path.dentry != path.mnt->mnt_root) dentry 1152 fs/namespace.c dput(path.dentry); dentry 1176 fs/namespace.c if (S_ISLNK(nd->path.dentry->d_inode->i_mode)) dentry 1178 fs/namespace.c if (nd->path.dentry->d_inode->i_mode & S_ISVTX) { dentry 1179 fs/namespace.c if (current->uid != nd->path.dentry->d_inode->i_uid) dentry 1197 fs/namespace.c res = q = clone_mnt(mnt, dentry, flag); dentry 1204 fs/namespace.c if (!is_subdir(r->mnt_mountpoint, dentry)) dentry 1218 fs/namespace.c path.dentry = p->mnt_mountpoint; dentry 1244 fs/namespace.c tree = copy_tree(mnt, dentry, CL_COPY_ALL | CL_PRIVATE); dentry 1355 fs/namespace.c struct dentry *dest_dentry = path->dentry; dentry 1403 fs/namespace.c if (S_ISDIR(path->dentry->d_inode->i_mode) != dentry 1408 fs/namespace.c mutex_lock(&path->dentry->d_inode->i_mutex); dentry 1409 fs/namespace.c if (IS_DEADDIR(path->dentry->d_inode)) dentry 1417 fs/namespace.c if (IS_ROOT(path->dentry) || !d_unhashed(path->dentry)) dentry 1420 fs/namespace.c mutex_unlock(&path->dentry->d_inode->i_mutex); dentry 1440 fs/namespace.c if (nd->path.dentry != nd->path.mnt->mnt_root) dentry 1488 fs/namespace.c mnt = copy_tree(old_nd.path.mnt, old_nd.path.dentry, 0); dentry 1490 fs/namespace.c mnt = clone_mnt(old_nd.path.mnt, old_nd.path.dentry, 0); dentry 1545 fs/namespace.c if (nd->path.dentry != nd->path.mnt->mnt_root) dentry 1589 fs/namespace.c while (d_mountpoint(nd->path.dentry) && dentry 1590 fs/namespace.c follow_down(&nd->path.mnt, &nd->path.dentry)) dentry 1597 fs/namespace.c mutex_lock(&nd->path.dentry->d_inode->i_mutex); dentry 1598 fs/namespace.c if (IS_DEADDIR(nd->path.dentry->d_inode)) dentry 1601 fs/namespace.c if (!IS_ROOT(nd->path.dentry) && d_unhashed(nd->path.dentry)) dentry 1605 fs/namespace.c if (old_nd.path.dentry != old_nd.path.mnt->mnt_root) dentry 1611 fs/namespace.c if (S_ISDIR(nd->path.dentry->d_inode->i_mode) != dentry 1612 fs/namespace.c S_ISDIR(old_nd.path.dentry->d_inode->i_mode)) dentry 1640 fs/namespace.c mutex_unlock(&nd->path.dentry->d_inode->i_mutex); dentry 1684 fs/namespace.c while (d_mountpoint(path->dentry) && dentry 1685 fs/namespace.c follow_down(&path->mnt, &path->dentry)) dentry 1694 fs/namespace.c path->mnt->mnt_root == path->dentry) dentry 2106 fs/namespace.c if (old_root.dentry) dentry 2124 fs/namespace.c if (old_pwd.dentry) dentry 2140 fs/namespace.c if (fs->root.dentry == old_root->dentry dentry 2143 fs/namespace.c if (fs->pwd.dentry == old_root->dentry dentry 2210 fs/namespace.c mutex_lock(&old.dentry->d_inode->i_mutex); dentry 2219 fs/namespace.c if (IS_DEADDIR(new.dentry->d_inode)) dentry 2221 fs/namespace.c if (d_unhashed(new.dentry) && !IS_ROOT(new.dentry)) dentry 2223 fs/namespace.c if (d_unhashed(old.dentry) && !IS_ROOT(old.dentry)) dentry 2230 fs/namespace.c if (root.mnt->mnt_root != root.dentry) dentry 2234 fs/namespace.c if (new.mnt->mnt_root != new.dentry) dentry 2249 fs/namespace.c if (!is_subdir(tmp->mnt_mountpoint, new.dentry)) dentry 2251 fs/namespace.c } else if (!is_subdir(old.dentry, new.dentry)) dentry 2267 fs/namespace.c mutex_unlock(&old.dentry->d_inode->i_mutex); dentry 2304 fs/namespace.c root.dentry = ns->root->mnt_root; dentry 37 fs/ncpfs/dir.c static struct dentry *ncp_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 109 fs/ncpfs/dir.c t = NCP_IO_TABLE(dentry); dentry 111 fs/ncpfs/dir.c if (!ncp_case_sensitive(dentry->d_inode)) { dentry 127 fs/ncpfs/dir.c if (ncp_case_sensitive(dentry->d_inode)) dentry 130 fs/ncpfs/dir.c return ncp_strnicmp(NCP_IO_TABLE(dentry), a->name, b->name, a->len); dentry 141 fs/ncpfs/dir.c struct inode *inode = dentry->d_inode; dentry 185 fs/ncpfs/dir.c inode = dentry->d_inode; dentry 194 fs/ncpfs/dir.c res = ncp_del_file_or_subdir2(NCP_SERVER(dir), dentry); dentry 272 fs/ncpfs/dir.c struct dentry *parent; dentry 278 fs/ncpfs/dir.c parent = dget_parent(dentry); dentry 281 fs/ncpfs/dir.c if (!dentry->d_inode) dentry 295 fs/ncpfs/dir.c val = NCP_TEST_AGE(server, dentry); dentry 300 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 301 fs/ncpfs/dir.c NCP_GET_AGE(dentry)); dentry 305 fs/ncpfs/dir.c res = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry 306 fs/ncpfs/dir.c dentry->d_name.len, 1); dentry 310 fs/ncpfs/dir.c res = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry 311 fs/ncpfs/dir.c dentry->d_name.len, !ncp_preserve_case(dir)); dentry 317 fs/ncpfs/dir.c dentry->d_parent->d_name.name, __name, res); dentry 323 fs/ncpfs/dir.c if (finfo.i.dirEntNum == NCP_FINFO(dentry->d_inode)->dirEntNum) { dentry 324 fs/ncpfs/dir.c ncp_new_dentry(dentry); dentry 329 fs/ncpfs/dir.c ncp_update_inode2(dentry->d_inode, &finfo); dentry 343 fs/ncpfs/dir.c res = __ncp_lookup_validate(dentry); dentry 348 fs/ncpfs/dir.c static struct dentry * dentry 351 fs/ncpfs/dir.c struct dentry *dent = dentry; dentry 370 fs/ncpfs/dir.c dent = list_entry(next, struct dentry, d_u.d_child); dentry 390 fs/ncpfs/dir.c struct inode *inode = dentry->d_inode; dentry 405 fs/ncpfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 406 fs/ncpfs/dir.c struct inode *inode = dentry->d_inode; dentry 420 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 434 fs/ncpfs/dir.c if (filldir(dirent, "..", 2, 1, parent_ino(dentry), DT_DIR)) dentry 453 fs/ncpfs/dir.c mtime = ncp_obtain_mtime(dentry); dentry 476 fs/ncpfs/dir.c struct dentry *dent; dentry 479 fs/ncpfs/dir.c dent = ncp_dget_fpos(ctl.cache->dentry[ctl.idx], dentry 480 fs/ncpfs/dir.c dentry, filp->f_pos); dentry 513 fs/ncpfs/dir.c ncp_invalidate_dircache_entries(dentry); dentry 515 fs/ncpfs/dir.c mtime = ncp_obtain_mtime(dentry); dentry 557 fs/ncpfs/dir.c struct dentry *newdent, *dentry = filp->f_path.dentry; dentry 558 fs/ncpfs/dir.c struct inode *newino, *inode = dentry->d_inode; dentry 575 fs/ncpfs/dir.c if (dentry->d_op && dentry->d_op->d_hash) dentry 576 fs/ncpfs/dir.c if (dentry->d_op->d_hash(dentry, &qname) != 0) dentry 579 fs/ncpfs/dir.c newdent = d_lookup(dentry, &qname); dentry 582 fs/ncpfs/dir.c newdent = d_alloc(dentry, &qname); dentry 625 fs/ncpfs/dir.c ctl.cache->dentry[ctl.idx] = newdent; dentry 634 fs/ncpfs/dir.c ino = find_inode_number(dentry, &qname); dentry 652 fs/ncpfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 653 fs/ncpfs/dir.c struct inode *inode = dentry->d_inode; dentry 688 fs/ncpfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 689 fs/ncpfs/dir.c struct inode *dir = dentry->d_inode; dentry 699 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 702 fs/ncpfs/dir.c dentry->d_name.name, NCP_FINFO(dir)->volNumber, dentry 757 fs/ncpfs/dir.c struct dentry* dent; dentry 794 fs/ncpfs/dir.c static struct dentry *ncp_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 808 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 812 fs/ncpfs/dir.c res = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry 813 fs/ncpfs/dir.c dentry->d_name.len, 1); dentry 817 fs/ncpfs/dir.c res = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry 818 fs/ncpfs/dir.c dentry->d_name.len, !ncp_preserve_case(dir)); dentry 823 fs/ncpfs/dir.c dentry->d_parent->d_name.name, __name, res); dentry 840 fs/ncpfs/dir.c ncp_new_dentry(dentry); dentry 842 fs/ncpfs/dir.c dentry->d_op = &ncp_dentry_operations; dentry 843 fs/ncpfs/dir.c d_add(dentry, inode); dentry 866 fs/ncpfs/dir.c d_instantiate(dentry,inode); dentry 873 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 888 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, mode); dentry 895 fs/ncpfs/dir.c ncp_age_dentry(server, dentry); dentry 897 fs/ncpfs/dir.c error = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry 898 fs/ncpfs/dir.c dentry->d_name.len, !ncp_preserve_case(dir)); dentry 921 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 936 fs/ncpfs/dir.c error = ncp_instantiate(dir, dentry, &finfo); dentry 945 fs/ncpfs/dir.c return ncp_create_new(dir, dentry, mode, 0, 0); dentry 956 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 963 fs/ncpfs/dir.c ncp_age_dentry(server, dentry); dentry 965 fs/ncpfs/dir.c error = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry 966 fs/ncpfs/dir.c dentry->d_name.len, !ncp_preserve_case(dir)); dentry 985 fs/ncpfs/dir.c error = ncp_instantiate(dir, dentry, &finfo); dentry 999 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 1007 fs/ncpfs/dir.c if (!d_unhashed(dentry)) dentry 1011 fs/ncpfs/dir.c error = ncp_io2vol(server, __name, &len, dentry->d_name.name, dentry 1012 fs/ncpfs/dir.c dentry->d_name.len, !ncp_preserve_case(dir)); dentry 1049 fs/ncpfs/dir.c struct inode *inode = dentry->d_inode; dentry 1056 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 1070 fs/ncpfs/dir.c error = ncp_del_file_or_subdir2(server, dentry); dentry 1075 fs/ncpfs/dir.c error = ncp_force_unlink(dir, dentry); dentry 1081 fs/ncpfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 1179 fs/ncpfs/dir.c return ncp_create_new(dir, dentry, mode, rdev, 0); dentry 105 fs/ncpfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 106 fs/ncpfs/file.c struct inode *inode = dentry->d_inode; dentry 115 fs/ncpfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 177 fs/ncpfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 186 fs/ncpfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 187 fs/ncpfs/file.c struct inode *inode = dentry->d_inode; dentry 195 fs/ncpfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 272 fs/ncpfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 511 fs/ncpfs/inode.c sock_inode = ncp_filp->f_path.dentry->d_inode; dentry 544 fs/ncpfs/inode.c sock_inode = server->info_filp->f_path.dentry->d_inode; dentry 776 fs/ncpfs/inode.c struct dentry* d; dentry 781 fs/ncpfs/inode.c struct super_block *sb = dentry->d_sb; dentry 842 fs/ncpfs/inode.c struct inode *inode = dentry->d_inode; dentry 857 fs/ncpfs/inode.c ncp_age_dentry(server, dentry); dentry 40 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 70 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 141 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 389 fs/ncpfs/ioctl.c struct dentry* dentry = inode->i_sb->s_root; dentry 391 fs/ncpfs/ioctl.c if (dentry) { dentry 392 fs/ncpfs/ioctl.c struct inode* s_inode = dentry->d_inode; dentry 417 fs/ncpfs/ioctl.c struct dentry* dentry; dentry 439 fs/ncpfs/ioctl.c dentry = inode->i_sb->s_root; dentry 441 fs/ncpfs/ioctl.c if (dentry) { dentry 442 fs/ncpfs/ioctl.c struct inode* s_inode = dentry->d_inode; dentry 879 fs/ncpfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 34 fs/ncpfs/mmap.c struct dentry *dentry = file->f_path.dentry; dentry 35 fs/ncpfs/mmap.c struct inode *inode = dentry->d_inode; dentry 107 fs/ncpfs/mmap.c struct inode *inode = file->f_path.dentry->d_inode; dentry 723 fs/ncpfs/ncplib_kernel.c struct inode *inode = dentry->d_inode; dentry 137 fs/ncpfs/ncplib_kernel.h #define NCP_IO_TABLE(dentry) (NCP_SERVER((dentry)->d_inode)->nls_io) dentry 172 fs/ncpfs/ncplib_kernel.h #define NCP_GET_AGE(dentry) (jiffies - (dentry)->d_time) dentry 174 fs/ncpfs/ncplib_kernel.h #define NCP_TEST_AGE(server,dentry) (NCP_GET_AGE(dentry) < NCP_MAX_AGE(server)) dentry 179 fs/ncpfs/ncplib_kernel.h dentry->d_time = jiffies - server->dentry_ttl; dentry 185 fs/ncpfs/ncplib_kernel.h dentry->d_time = jiffies; dentry 193 fs/ncpfs/ncplib_kernel.h struct dentry *dentry; dentry 198 fs/ncpfs/ncplib_kernel.h dentry = list_entry(next, struct dentry, d_u.d_child); dentry 200 fs/ncpfs/ncplib_kernel.h if (dentry->d_fsdata == NULL) dentry 201 fs/ncpfs/ncplib_kernel.h ncp_age_dentry(server, dentry); dentry 203 fs/ncpfs/ncplib_kernel.h ncp_new_dentry(dentry); dentry 215 fs/ncpfs/ncplib_kernel.h struct dentry *dentry; dentry 220 fs/ncpfs/ncplib_kernel.h dentry = list_entry(next, struct dentry, d_u.d_child); dentry 221 fs/ncpfs/ncplib_kernel.h dentry->d_fsdata = NULL; dentry 222 fs/ncpfs/ncplib_kernel.h ncp_age_dentry(server, dentry); dentry 235 fs/ncpfs/ncplib_kernel.h #define NCP_DIRCACHE_SIZE ((int)(PAGE_CACHE_SIZE/sizeof(struct dentry *))) dentry 238 fs/ncpfs/ncplib_kernel.h struct dentry *dentry[NCP_DIRCACHE_SIZE]; dentry 242 fs/ncpfs/ncplib_kernel.h sizeof(struct dentry *) - sizeof(struct ncp_cache_head)) / \ dentry 243 fs/ncpfs/ncplib_kernel.h sizeof(struct dentry *))) dentry 116 fs/ncpfs/symlink.c DPRINTK("ncp_symlink(dir=%p,dentry=%p,symname=%s)\n",dir,dentry,symname); dentry 156 fs/ncpfs/symlink.c if (ncp_create_new(dir,dentry,mode,0,attr)) { dentry 160 fs/ncpfs/symlink.c inode=dentry->d_inode; dentry 47 fs/nfs/dir.c static struct dentry *nfs_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 107 fs/nfs/dir.c static struct dentry *nfs_atomic_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 137 fs/nfs/dir.c filp->f_path.dentry->d_parent->d_name.name, dentry 138 fs/nfs/dir.c filp->f_path.dentry->d_name.name); dentry 178 fs/nfs/dir.c struct inode *inode = file->f_path.dentry->d_inode; dentry 189 fs/nfs/dir.c error = NFS_PROTO(inode)->readdir(file->f_path.dentry, cred, desc->entry->cookie, page, dentry 314 fs/nfs/dir.c struct inode *inode = desc->file->f_path.dentry->d_inode; dentry 393 fs/nfs/dir.c static struct dentry *nfs_readdir_lookup(nfs_readdir_descriptor_t *desc); dentry 404 fs/nfs/dir.c struct dentry *dentry = NULL; dentry 419 fs/nfs/dir.c if (dentry != NULL) dentry 420 fs/nfs/dir.c dput(dentry); dentry 421 fs/nfs/dir.c dentry = nfs_readdir_lookup(desc); dentry 424 fs/nfs/dir.c if (dentry != NULL && dentry->d_inode != NULL) { dentry 425 fs/nfs/dir.c d_type = dt_type(dentry->d_inode); dentry 426 fs/nfs/dir.c fileid = NFS_FILEID(dentry->d_inode); dentry 446 fs/nfs/dir.c if (dentry != NULL) dentry 447 fs/nfs/dir.c dput(dentry); dentry 470 fs/nfs/dir.c struct inode *inode = file->f_path.dentry->d_inode; dentry 485 fs/nfs/dir.c status = NFS_PROTO(inode)->readdir(file->f_path.dentry, cred, dentry 523 fs/nfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 524 fs/nfs/dir.c struct inode *inode = dentry->d_inode; dentry 533 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 557 fs/nfs/dir.c nfs_block_sillyrename(dentry); dentry 593 fs/nfs/dir.c nfs_unblock_sillyrename(dentry); dentry 597 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 604 fs/nfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 605 fs/nfs/dir.c struct inode *inode = dentry->d_inode; dentry 608 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry 609 fs/nfs/dir.c dentry->d_name.name, dentry 639 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 642 fs/nfs/dir.c nfs_inc_stats(dentry->d_inode, NFSIOS_VFSFSYNC); dentry 668 fs/nfs/dir.c if (IS_ROOT(dentry)) dentry 670 fs/nfs/dir.c if (!nfs_verify_change_attribute(dir, dentry->d_time)) dentry 675 fs/nfs/dir.c if (!nfs_verify_change_attribute(dir, dentry->d_time)) dentry 753 fs/nfs/dir.c return !nfs_check_verifier(dir, dentry); dentry 771 fs/nfs/dir.c struct dentry *parent; dentry 776 fs/nfs/dir.c parent = dget_parent(dentry); dentry 779 fs/nfs/dir.c inode = dentry->d_inode; dentry 782 fs/nfs/dir.c if (nfs_neg_need_reval(dir, dentry, nd)) dentry 789 fs/nfs/dir.c __func__, dentry->d_parent->d_name.name, dentry 790 fs/nfs/dir.c dentry->d_name.name); dentry 795 fs/nfs/dir.c if (!nfs_is_exclusive_create(dir, nd) && nfs_check_verifier(dir, dentry)) { dentry 804 fs/nfs/dir.c error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); dentry 812 fs/nfs/dir.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 816 fs/nfs/dir.c __func__, dentry->d_parent->d_name.name, dentry 817 fs/nfs/dir.c dentry->d_name.name); dentry 827 fs/nfs/dir.c if (have_submounts(dentry)) dentry 829 fs/nfs/dir.c shrink_dcache_parent(dentry); dentry 831 fs/nfs/dir.c d_drop(dentry); dentry 834 fs/nfs/dir.c __func__, dentry->d_parent->d_name.name, dentry 835 fs/nfs/dir.c dentry->d_name.name); dentry 845 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 846 fs/nfs/dir.c dentry->d_flags); dentry 849 fs/nfs/dir.c if (dentry->d_inode != NULL && NFS_STALE(dentry->d_inode)) dentry 852 fs/nfs/dir.c if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { dentry 856 fs/nfs/dir.c if (!(dentry->d_sb->s_flags & MS_ACTIVE)) { dentry 883 fs/nfs/dir.c if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { dentry 885 fs/nfs/dir.c nfs_complete_unlink(dentry, inode); dentry 896 fs/nfs/dir.c static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd) dentry 898 fs/nfs/dir.c struct dentry *res; dentry 899 fs/nfs/dir.c struct dentry *parent; dentry 906 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 910 fs/nfs/dir.c if (dentry->d_name.len > NFS_SERVER(dir)->namelen) dentry 914 fs/nfs/dir.c dentry->d_op = NFS_PROTO(dir)->dentry_ops; dentry 921 fs/nfs/dir.c d_instantiate(dentry, NULL); dentry 926 fs/nfs/dir.c parent = dentry->d_parent; dentry 929 fs/nfs/dir.c error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, &fhandle, &fattr); dentry 936 fs/nfs/dir.c inode = nfs_fhget(dentry->d_sb, &fhandle, &fattr); dentry 937 fs/nfs/dir.c res = (struct dentry *)inode; dentry 942 fs/nfs/dir.c res = d_materialise_unique(dentry, inode); dentry 946 fs/nfs/dir.c dentry = res; dentry 948 fs/nfs/dir.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 982 fs/nfs/dir.c static struct dentry *nfs_atomic_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 984 fs/nfs/dir.c struct dentry *res = NULL; dentry 988 fs/nfs/dir.c dir->i_sb->s_id, dir->i_ino, dentry->d_name.name); dentry 994 fs/nfs/dir.c if (dentry->d_name.len > NFS_SERVER(dir)->namelen) { dentry 998 fs/nfs/dir.c dentry->d_op = NFS_PROTO(dir)->dentry_ops; dentry 1003 fs/nfs/dir.c d_instantiate(dentry, NULL); dentry 1008 fs/nfs/dir.c res = nfs4_atomic_open(dir, dentry, nd); dentry 1028 fs/nfs/dir.c dentry = res; dentry 1032 fs/nfs/dir.c return nfs_lookup(dir, dentry, nd); dentry 1037 fs/nfs/dir.c struct dentry *parent = NULL; dentry 1038 fs/nfs/dir.c struct inode *inode = dentry->d_inode; dentry 1042 fs/nfs/dir.c parent = dget_parent(dentry); dentry 1050 fs/nfs/dir.c if (!nfs_neg_need_reval(dir, dentry, nd)) dentry 1070 fs/nfs/dir.c ret = nfs4_open_revalidate(dir, dentry, openflags, nd); dentry 1074 fs/nfs/dir.c d_drop(dentry); dentry 1080 fs/nfs/dir.c return nfs_lookup_revalidate(dentry, nd); dentry 1084 fs/nfs/dir.c static struct dentry *nfs_readdir_lookup(nfs_readdir_descriptor_t *desc) dentry 1086 fs/nfs/dir.c struct dentry *parent = desc->file->f_path.dentry; dentry 1089 fs/nfs/dir.c struct dentry *dentry, *alias; dentry 1115 fs/nfs/dir.c dentry = d_lookup(parent, &name); dentry 1116 fs/nfs/dir.c if (dentry != NULL) { dentry 1118 fs/nfs/dir.c if (dentry->d_inode != NULL && dentry 1119 fs/nfs/dir.c (NFS_FILEID(dentry->d_inode) == entry->ino || dentry 1120 fs/nfs/dir.c d_mountpoint(dentry))) { dentry 1122 fs/nfs/dir.c return dentry; dentry 1123 fs/nfs/dir.c if (nfs_compare_fh(NFS_FH(dentry->d_inode), dentry 1128 fs/nfs/dir.c d_drop(dentry); dentry 1129 fs/nfs/dir.c dput(dentry); dentry 1136 fs/nfs/dir.c dentry = d_alloc(parent, &name); dentry 1137 fs/nfs/dir.c if (dentry == NULL) dentry 1139 fs/nfs/dir.c dentry->d_op = NFS_PROTO(dir)->dentry_ops; dentry 1140 fs/nfs/dir.c inode = nfs_fhget(dentry->d_sb, entry->fh, entry->fattr); dentry 1142 fs/nfs/dir.c dput(dentry); dentry 1146 fs/nfs/dir.c alias = d_materialise_unique(dentry, inode); dentry 1148 fs/nfs/dir.c dput(dentry); dentry 1151 fs/nfs/dir.c dentry = alias; dentry 1155 fs/nfs/dir.c nfs_set_verifier(dentry, verf); dentry 1156 fs/nfs/dir.c return dentry; dentry 1165 fs/nfs/dir.c struct dentry *parent = dget_parent(dentry); dentry 1170 fs/nfs/dir.c d_drop(dentry); dentry 1173 fs/nfs/dir.c if (dentry->d_inode) dentry 1176 fs/nfs/dir.c error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr); dentry 1180 fs/nfs/dir.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 1182 fs/nfs/dir.c struct nfs_server *server = NFS_SB(dentry->d_sb); dentry 1187 fs/nfs/dir.c inode = nfs_fhget(dentry->d_sb, fhandle, fattr); dentry 1191 fs/nfs/dir.c d_add(dentry, inode); dentry 1215 fs/nfs/dir.c dir->i_sb->s_id, dir->i_ino, dentry->d_name.name); dentry 1223 fs/nfs/dir.c error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags, nd); dentry 1228 fs/nfs/dir.c d_drop(dentry); dentry 1242 fs/nfs/dir.c dir->i_sb->s_id, dir->i_ino, dentry->d_name.name); dentry 1250 fs/nfs/dir.c status = NFS_PROTO(dir)->mknod(dir, dentry, &attr, rdev); dentry 1255 fs/nfs/dir.c d_drop(dentry); dentry 1268 fs/nfs/dir.c dir->i_sb->s_id, dir->i_ino, dentry->d_name.name); dentry 1273 fs/nfs/dir.c error = NFS_PROTO(dir)->mkdir(dir, dentry, &attr); dentry 1278 fs/nfs/dir.c d_drop(dentry); dentry 1284 fs/nfs/dir.c if (dentry->d_inode != NULL && !d_unhashed(dentry)) dentry 1285 fs/nfs/dir.c d_delete(dentry); dentry 1293 fs/nfs/dir.c dir->i_sb->s_id, dir->i_ino, dentry->d_name.name); dentry 1295 fs/nfs/dir.c error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name); dentry 1297 fs/nfs/dir.c if (error == 0 && dentry->d_inode != NULL) dentry 1298 fs/nfs/dir.c clear_nlink(dentry->d_inode); dentry 1300 fs/nfs/dir.c nfs_dentry_handle_enoent(dentry); dentry 1308 fs/nfs/dir.c const int fileidsize = sizeof(NFS_FILEID(dentry->d_inode))*2; dentry 1313 fs/nfs/dir.c struct dentry *sdentry; dentry 1317 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 1318 fs/nfs/dir.c atomic_read(&dentry->d_count)); dentry 1325 fs/nfs/dir.c if (dentry->d_flags & DCACHE_NFSFS_RENAMED) dentry 1330 fs/nfs/dir.c (unsigned long long)NFS_FILEID(dentry->d_inode)); dentry 1333 fs/nfs/dir.c nfs_inode_return_delegation(dentry->d_inode); dentry 1344 fs/nfs/dir.c dentry->d_name.name, silly); dentry 1346 fs/nfs/dir.c sdentry = lookup_one_len(silly, dentry->d_parent, slen); dentry 1357 fs/nfs/dir.c if (dentry->d_inode) { dentry 1358 fs/nfs/dir.c error = NFS_PROTO(dir)->rename(dir, &dentry->d_name, dentry 1360 fs/nfs/dir.c nfs_mark_for_revalidate(dentry->d_inode); dentry 1362 fs/nfs/dir.c error = NFS_PROTO(dir)->rename(dir, &dentry->d_name, dentry 1365 fs/nfs/dir.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 1366 fs/nfs/dir.c d_move(dentry, sdentry); dentry 1367 fs/nfs/dir.c error = nfs_async_unlink(dir, dentry); dentry 1384 fs/nfs/dir.c struct inode *dir = dentry->d_parent->d_inode; dentry 1385 fs/nfs/dir.c struct inode *inode = dentry->d_inode; dentry 1389 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 1392 fs/nfs/dir.c if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { dentry 1399 fs/nfs/dir.c error = NFS_PROTO(dir)->remove(dir, &dentry->d_name); dentry 1405 fs/nfs/dir.c error = NFS_PROTO(dir)->remove(dir, &dentry->d_name); dentry 1407 fs/nfs/dir.c nfs_dentry_handle_enoent(dentry); dentry 1423 fs/nfs/dir.c dir->i_ino, dentry->d_name.name); dentry 1426 fs/nfs/dir.c spin_lock(&dentry->d_lock); dentry 1427 fs/nfs/dir.c if (atomic_read(&dentry->d_count) > 1) { dentry 1428 fs/nfs/dir.c spin_unlock(&dentry->d_lock); dentry 1431 fs/nfs/dir.c write_inode_now(dentry->d_inode, 0); dentry 1432 fs/nfs/dir.c error = nfs_sillyrename(dir, dentry); dentry 1435 fs/nfs/dir.c if (!d_unhashed(dentry)) { dentry 1436 fs/nfs/dir.c __d_drop(dentry); dentry 1439 fs/nfs/dir.c spin_unlock(&dentry->d_lock); dentry 1441 fs/nfs/dir.c error = nfs_safe_remove(dentry); dentry 1443 fs/nfs/dir.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 1445 fs/nfs/dir.c d_rehash(dentry); dentry 1474 fs/nfs/dir.c dir->i_ino, dentry->d_name.name, symname); dentry 1492 fs/nfs/dir.c error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr); dentry 1496 fs/nfs/dir.c dentry->d_name.name, symname, error); dentry 1497 fs/nfs/dir.c d_drop(dentry); dentry 1507 fs/nfs/dir.c if (!add_to_page_cache(page, dentry->d_inode->i_mapping, 0, dentry 1527 fs/nfs/dir.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 1529 fs/nfs/dir.c d_drop(dentry); dentry 1530 fs/nfs/dir.c error = NFS_PROTO(dir)->link(inode, dir, &dentry->d_name); dentry 1533 fs/nfs/dir.c d_add(dentry, inode); dentry 1567 fs/nfs/dir.c struct dentry *dentry = NULL, *rehash = NULL; dentry 1601 fs/nfs/dir.c dentry = d_alloc(new_dentry->d_parent, dentry 1603 fs/nfs/dir.c if (!dentry) dentry 1609 fs/nfs/dir.c new_dentry = rehash = dentry; dentry 1649 fs/nfs/dir.c if (dentry) dentry 1650 fs/nfs/dir.c dput(dentry); dentry 119 fs/nfs/direct.c iocb->ki_filp->f_path.dentry->d_name.name, dentry 278 fs/nfs/direct.c struct inode *inode = ctx->path.dentry->d_inode; dentry 692 fs/nfs/direct.c struct inode *inode = ctx->path.dentry->d_inode; dentry 894 fs/nfs/direct.c file->f_path.dentry->d_parent->d_name.name, dentry 895 fs/nfs/direct.c file->f_path.dentry->d_name.name, dentry 951 fs/nfs/direct.c file->f_path.dentry->d_parent->d_name.name, dentry 952 fs/nfs/direct.c file->f_path.dentry->d_name.name, dentry 123 fs/nfs/file.c filp->f_path.dentry->d_parent->d_name.name, dentry 124 fs/nfs/file.c filp->f_path.dentry->d_name.name); dentry 138 fs/nfs/file.c struct dentry *dentry = filp->f_path.dentry; dentry 141 fs/nfs/file.c dentry->d_parent->d_name.name, dentry 142 fs/nfs/file.c dentry->d_name.name); dentry 146 fs/nfs/file.c nfs_wb_all(dentry->d_inode); dentry 184 fs/nfs/file.c filp->f_path.dentry->d_parent->d_name.name, dentry 185 fs/nfs/file.c filp->f_path.dentry->d_name.name, dentry 233 fs/nfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 234 fs/nfs/file.c struct inode *inode = dentry->d_inode; dentry 238 fs/nfs/file.c dentry->d_parent->d_name.name, dentry 239 fs/nfs/file.c dentry->d_name.name); dentry 256 fs/nfs/file.c struct dentry * dentry = iocb->ki_filp->f_path.dentry; dentry 257 fs/nfs/file.c struct inode * inode = dentry->d_inode; dentry 265 fs/nfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 280 fs/nfs/file.c struct dentry *dentry = filp->f_path.dentry; dentry 281 fs/nfs/file.c struct inode *inode = dentry->d_inode; dentry 285 fs/nfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 297 fs/nfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 298 fs/nfs/file.c struct inode *inode = dentry->d_inode; dentry 302 fs/nfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 322 fs/nfs/file.c struct inode *inode = dentry->d_inode; dentry 325 fs/nfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 350 fs/nfs/file.c file->f_path.dentry->d_parent->d_name.name, dentry 351 fs/nfs/file.c file->f_path.dentry->d_name.name, dentry 375 fs/nfs/file.c file->f_path.dentry->d_parent->d_name.name, dentry 376 fs/nfs/file.c file->f_path.dentry->d_name.name, dentry 454 fs/nfs/file.c struct dentry *dentry = filp->f_path.dentry; dentry 460 fs/nfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 466 fs/nfs/file.c if (mapping != dentry->d_inode->i_mapping) dentry 506 fs/nfs/file.c struct dentry * dentry = iocb->ki_filp->f_path.dentry; dentry 507 fs/nfs/file.c struct inode * inode = dentry->d_inode; dentry 515 fs/nfs/file.c dentry->d_parent->d_name.name, dentry->d_name.name, dentry 665 fs/nfs/file.c filp->f_path.dentry->d_parent->d_name.name, dentry 666 fs/nfs/file.c filp->f_path.dentry->d_name.name, dentry 698 fs/nfs/file.c filp->f_path.dentry->d_parent->d_name.name, dentry 699 fs/nfs/file.c filp->f_path.dentry->d_name.name, dentry 729 fs/nfs/file.c file->f_path.dentry->d_parent->d_name.name, dentry 730 fs/nfs/file.c file->f_path.dentry->d_name.name, arg); dentry 78 fs/nfs/getroot.c struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh) dentry 83 fs/nfs/getroot.c struct dentry *mntroot; dentry 241 fs/nfs/getroot.c struct dentry *nfs4_get_root(struct super_block *sb, struct nfs_fh *mntfh) dentry 245 fs/nfs/getroot.c struct dentry *mntroot; dentry 87 fs/nfs/idmap.c struct dentry *idmap_dentry; dentry 379 fs/nfs/idmap.c struct rpc_inode *rpci = RPC_I(filp->f_path.dentry->d_inode); dentry 353 fs/nfs/inode.c struct inode *inode = dentry->d_inode; dentry 383 fs/nfs/inode.c error = NFS_PROTO(inode)->setattr(dentry, &fattr, attr); dentry 508 fs/nfs/inode.c struct inode *inode = dentry->d_inode; dentry 555 fs/nfs/inode.c ctx->path.dentry = dget(dentry); dentry 582 fs/nfs/inode.c inode = ctx->path.dentry->d_inode; dentry 615 fs/nfs/inode.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 647 fs/nfs/inode.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 670 fs/nfs/inode.c ctx = alloc_nfs_open_context(filp->f_path.mnt, filp->f_path.dentry, cred); dentry 20 fs/nfs/internal.h const struct dentry *dentry; dentry 176 fs/nfs/internal.h extern struct dentry *nfs_get_root(struct super_block *, struct nfs_fh *); dentry 178 fs/nfs/internal.h extern struct dentry *nfs4_get_root(struct super_block *, struct nfs_fh *); dentry 193 fs/nfs/internal.h dentry, buffer, buflen); dentry 57 fs/nfs/namespace.c while (!IS_ROOT(dentry) && dentry != droot) { dentry 58 fs/nfs/namespace.c namelen = dentry->d_name.len; dentry 63 fs/nfs/namespace.c memcpy(end, dentry->d_name.name, namelen); dentry 65 fs/nfs/namespace.c dentry = dentry->d_parent; dentry 100 fs/nfs/namespace.c struct nfs_server *server = NFS_SERVER(dentry->d_inode); dentry 101 fs/nfs/namespace.c struct dentry *parent; dentry 108 fs/nfs/namespace.c BUG_ON(IS_ROOT(dentry)); dentry 110 fs/nfs/namespace.c dput(nd->path.dentry); dentry 111 fs/nfs/namespace.c nd->path.dentry = dget(dentry); dentry 114 fs/nfs/namespace.c parent = dget_parent(nd->path.dentry); dentry 116 fs/nfs/namespace.c &nd->path.dentry->d_name, dentry 123 fs/nfs/namespace.c mnt = nfs_do_refmount(nd->path.mnt, nd->path.dentry); dentry 125 fs/nfs/namespace.c mnt = nfs_do_submount(nd->path.mnt, nd->path.dentry, &fh, dentry 142 fs/nfs/namespace.c nd->path.dentry = dget(mnt->mnt_root); dentry 153 fs/nfs/namespace.c while (d_mountpoint(nd->path.dentry) && dentry 154 fs/nfs/namespace.c follow_down(&nd->path.mnt, &nd->path.dentry)) dentry 222 fs/nfs/namespace.c .dentry = dentry, dentry 233 fs/nfs/namespace.c dentry->d_parent->d_name.name, dentry 234 fs/nfs/namespace.c dentry->d_name.name); dentry 237 fs/nfs/namespace.c devname = nfs_devname(mnt_parent, dentry, page, PAGE_SIZE); dentry 14 fs/nfs/nfs3acl.c struct inode *inode = dentry->d_inode; dentry 54 fs/nfs/nfs3acl.c struct inode *inode = dentry->d_inode; dentry 83 fs/nfs/nfs3acl.c struct inode *inode = dentry->d_inode; dentry 105 fs/nfs/nfs3acl.c struct inode *inode = dentry->d_inode; dentry 119 fs/nfs/nfs3proc.c struct inode *inode = dentry->d_inode; dentry 291 fs/nfs/nfs3proc.c status = nfs_instantiate(dentry, data->res.fh, data->res.fattr); dentry 312 fs/nfs/nfs3proc.c dprintk("NFS call create %s\n", dentry->d_name.name); dentry 320 fs/nfs/nfs3proc.c data->arg.create.name = dentry->d_name.name; dentry 321 fs/nfs/nfs3proc.c data->arg.create.len = dentry->d_name.len; dentry 334 fs/nfs/nfs3proc.c status = nfs3_do_create(dir, dentry, data); dentry 372 fs/nfs/nfs3proc.c status = nfs3_proc_setattr(dentry, data->res.fattr, sattr); dentry 373 fs/nfs/nfs3proc.c nfs_post_op_update_inode(dentry->d_inode, data->res.fattr); dentry 378 fs/nfs/nfs3proc.c status = nfs3_proc_set_default_acl(dir, dentry->d_inode, mode); dentry 501 fs/nfs/nfs3proc.c dprintk("NFS call symlink %s\n", dentry->d_name.name); dentry 508 fs/nfs/nfs3proc.c data->arg.symlink.fromname = dentry->d_name.name; dentry 509 fs/nfs/nfs3proc.c data->arg.symlink.fromlen = dentry->d_name.len; dentry 514 fs/nfs/nfs3proc.c status = nfs3_do_create(dir, dentry, data); dentry 529 fs/nfs/nfs3proc.c dprintk("NFS call mkdir %s\n", dentry->d_name.name); dentry 539 fs/nfs/nfs3proc.c data->arg.mkdir.name = dentry->d_name.name; dentry 540 fs/nfs/nfs3proc.c data->arg.mkdir.len = dentry->d_name.len; dentry 543 fs/nfs/nfs3proc.c status = nfs3_do_create(dir, dentry, data); dentry 547 fs/nfs/nfs3proc.c status = nfs3_proc_set_default_acl(dir, dentry->d_inode, mode); dentry 591 fs/nfs/nfs3proc.c struct inode *dir = dentry->d_inode; dentry 639 fs/nfs/nfs3proc.c dprintk("NFS call mknod %s %u:%u\n", dentry->d_name.name, dentry 650 fs/nfs/nfs3proc.c data->arg.mknod.name = dentry->d_name.name; dentry 651 fs/nfs/nfs3proc.c data->arg.mknod.len = dentry->d_name.len; dentry 673 fs/nfs/nfs3proc.c status = nfs3_do_create(dir, dentry, data); dentry 676 fs/nfs/nfs3proc.c status = nfs3_proc_set_default_acl(dir, dentry->d_inode, mode); dentry 782 fs/nfs/nfs3proc.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 183 fs/nfs/nfs4_fs.h extern struct dentry *nfs4_atomic_open(struct inode *, struct dentry *, struct nameidata *); dentry 65 fs/nfs/nfs4namespace.c return nfs_path(srvpath, mnt_parent->mnt_root, dentry, buffer, buflen); dentry 79 fs/nfs/nfs4namespace.c path = nfs4_path(mnt_parent, dentry, page, PAGE_SIZE); dentry 127 fs/nfs/nfs4namespace.c .dentry = dentry, dentry 138 fs/nfs/nfs4namespace.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 149 fs/nfs/nfs4namespace.c error = nfs4_validate_fspath(mnt_parent, dentry, locations, page, page2); dentry 220 fs/nfs/nfs4namespace.c struct dentry *parent; dentry 239 fs/nfs/nfs4namespace.c parent = dget_parent(dentry); dentry 241 fs/nfs/nfs4namespace.c __func__, parent->d_name.name, dentry->d_name.name); dentry 243 fs/nfs/nfs4namespace.c err = nfs4_proc_fs_locations(parent->d_inode, &dentry->d_name, fs_locations, page); dentry 250 fs/nfs/nfs4namespace.c mnt = nfs_follow_referral(mnt_parent, dentry, fs_locations); dentry 179 fs/nfs/nfs4proc.c p = xdr_encode_hyper(p, NFS_FILEID(dentry->d_inode)); dentry 191 fs/nfs/nfs4proc.c p = xdr_encode_hyper(p, NFS_FILEID(dentry->d_parent->d_inode)); dentry 228 fs/nfs/nfs4proc.c struct dentry *dir; dentry 254 fs/nfs/nfs4proc.c struct dentry *parent = dget_parent(path->dentry); dentry 266 fs/nfs/nfs4proc.c p->path.dentry = dget(path->dentry); dentry 274 fs/nfs/nfs4proc.c p->o_arg.name = &p->path.dentry->d_name; dentry 983 fs/nfs/nfs4proc.c d_drop(ctx->path.dentry); dentry 1052 fs/nfs/nfs4proc.c if (path->dentry->d_inode != NULL) dentry 1053 fs/nfs/nfs4proc.c nfs4_return_incompatible_delegation(path->dentry->d_inode, flags & (FMODE_READ|FMODE_WRITE)); dentry 1060 fs/nfs/nfs4proc.c if (path->dentry->d_inode != NULL) dentry 1061 fs/nfs/nfs4proc.c opendata->state = nfs4_get_open_state(path->dentry->d_inode, sp); dentry 1336 fs/nfs/nfs4proc.c calldata->path.dentry = dget(path->dentry); dentry 1370 fs/nfs/nfs4proc.c filp = lookup_instantiate_filp(nd, path->dentry, NULL); dentry 1383 fs/nfs/nfs4proc.c struct dentry * dentry 1388 fs/nfs/nfs4proc.c .dentry = dentry, dentry 1390 fs/nfs/nfs4proc.c struct dentry *parent; dentry 1394 fs/nfs/nfs4proc.c struct dentry *res; dentry 1408 fs/nfs/nfs4proc.c return (struct dentry *)cred; dentry 1409 fs/nfs/nfs4proc.c parent = dentry->d_parent; dentry 1416 fs/nfs/nfs4proc.c d_add(dentry, NULL); dentry 1417 fs/nfs/nfs4proc.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 1420 fs/nfs/nfs4proc.c return (struct dentry *)state; dentry 1422 fs/nfs/nfs4proc.c res = d_add_unique(dentry, igrab(state->inode)); dentry 1424 fs/nfs/nfs4proc.c path.dentry = res; dentry 1425 fs/nfs/nfs4proc.c nfs_set_verifier(path.dentry, nfs_save_change_attribute(dir)); dentry 1436 fs/nfs/nfs4proc.c .dentry = dentry, dentry 1453 fs/nfs/nfs4proc.c lookup_instantiate_filp(nd, (struct dentry *)state, NULL); dentry 1459 fs/nfs/nfs4proc.c if (state->inode == dentry->d_inode) { dentry 1460 fs/nfs/nfs4proc.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 1466 fs/nfs/nfs4proc.c d_drop(dentry); dentry 1650 fs/nfs/nfs4proc.c struct inode *inode = dentry->d_inode; dentry 1884 fs/nfs/nfs4proc.c .dentry = dentry, dentry 1896 fs/nfs/nfs4proc.c d_drop(dentry); dentry 1901 fs/nfs/nfs4proc.c d_add(dentry, igrab(state->inode)); dentry 1902 fs/nfs/nfs4proc.c nfs_set_verifier(dentry, nfs_save_change_attribute(dir)); dentry 2122 fs/nfs/nfs4proc.c status = nfs_instantiate(dentry, data->res.fh, data->res.fattr); dentry 2142 fs/nfs/nfs4proc.c data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4LNK); dentry 2150 fs/nfs/nfs4proc.c status = nfs4_do_create(dir, dentry, data); dentry 2164 fs/nfs/nfs4proc.c _nfs4_proc_symlink(dir, dentry, page, dentry 2177 fs/nfs/nfs4proc.c data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4DIR); dentry 2181 fs/nfs/nfs4proc.c status = nfs4_do_create(dir, dentry, data); dentry 2195 fs/nfs/nfs4proc.c _nfs4_proc_mkdir(dir, dentry, sattr), dentry 2204 fs/nfs/nfs4proc.c struct inode *dir = dentry->d_inode; dentry 2210 fs/nfs/nfs4proc.c .bitmask = NFS_SERVER(dentry->d_inode)->attr_bitmask, dentry 2222 fs/nfs/nfs4proc.c dentry->d_parent->d_name.name, dentry 2223 fs/nfs/nfs4proc.c dentry->d_name.name, dentry 2225 fs/nfs/nfs4proc.c nfs4_setup_readdir(cookie, NFS_COOKIEVERF(dir), dentry, &args); dentry 2243 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(dentry->d_inode), dentry 2244 fs/nfs/nfs4proc.c _nfs4_proc_readdir(dentry, cred, cookie, dentry 2261 fs/nfs/nfs4proc.c data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4SOCK); dentry 2278 fs/nfs/nfs4proc.c status = nfs4_do_create(dir, dentry, data); dentry 2292 fs/nfs/nfs4proc.c _nfs4_proc_mknod(dir, dentry, sattr, rdev), dentry 3368 fs/nfs/nfs4proc.c renew_lease(NFS_SERVER(data->ctx->path.dentry->d_inode), data->timestamp); dentry 3598 fs/nfs/nfs4proc.c struct inode *inode = dentry->d_inode; dentry 3613 fs/nfs/nfs4proc.c struct inode *inode = dentry->d_inode; dentry 3625 fs/nfs/nfs4proc.c if (!nfs4_server_supports_acls(NFS_SERVER(dentry->d_inode))) dentry 115 fs/nfs/pagelist.c struct nfs_inode *nfsi = NFS_I(req->wb_context->path.dentry->d_inode); dentry 129 fs/nfs/pagelist.c struct inode *inode = req->wb_context->path.dentry->d_inode; dentry 116 fs/nfs/proc.c struct inode *inode = dentry->d_inode; dentry 198 fs/nfs/proc.c .name = dentry->d_name.name, dentry 199 fs/nfs/proc.c .len = dentry->d_name.len, dentry 214 fs/nfs/proc.c dprintk("NFS call create %s\n", dentry->d_name.name); dentry 218 fs/nfs/proc.c status = nfs_instantiate(dentry, &fhandle, &fattr); dentry 234 fs/nfs/proc.c .name = dentry->d_name.name, dentry 235 fs/nfs/proc.c .len = dentry->d_name.len, dentry 249 fs/nfs/proc.c dprintk("NFS call mknod %s\n", dentry->d_name.name); dentry 270 fs/nfs/proc.c status = nfs_instantiate(dentry, &fhandle, &fattr); dentry 366 fs/nfs/proc.c .fromname = dentry->d_name.name, dentry 367 fs/nfs/proc.c .fromlen = dentry->d_name.len, dentry 381 fs/nfs/proc.c dprintk("NFS call symlink %s\n", dentry->d_name.name); dentry 394 fs/nfs/proc.c status = nfs_instantiate(dentry, &fhandle, &fattr); dentry 408 fs/nfs/proc.c .name = dentry->d_name.name, dentry 409 fs/nfs/proc.c .len = dentry->d_name.len, dentry 423 fs/nfs/proc.c dprintk("NFS call mkdir %s\n", dentry->d_name.name); dentry 428 fs/nfs/proc.c status = nfs_instantiate(dentry, &fhandle, &fattr); dentry 465 fs/nfs/proc.c struct inode *dir = dentry->d_inode; dentry 598 fs/nfs/proc.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 145 fs/nfs/read.c req->wb_context->path.dentry->d_inode->i_sb->s_id, dentry 146 fs/nfs/read.c (long long)NFS_FILEID(req->wb_context->path.dentry->d_inode), dentry 160 fs/nfs/read.c struct inode *inode = req->wb_context->path.dentry->d_inode; dentry 367 fs/nfs/super.c struct nfs_server *server = NFS_SB(dentry->d_sb); dentry 370 fs/nfs/super.c struct nfs_fh *fh = NFS_FH(dentry->d_inode); dentry 387 fs/nfs/super.c buf->f_frsize = dentry->d_sb->s_blocksize; dentry 396 fs/nfs/super.c buf->f_bsize = dentry->d_sb->s_blocksize; dentry 397 fs/nfs/super.c blockbits = dentry->d_sb->s_blocksize_bits; dentry 1952 fs/nfs/super.c struct dentry *mntroot; dentry 2061 fs/nfs/super.c struct dentry *mntroot; dentry 2306 fs/nfs/super.c struct dentry *mntroot; dentry 2415 fs/nfs/super.c struct dentry *mntroot; dentry 2499 fs/nfs/super.c struct dentry *mntroot; dentry 49 fs/nfs/symlink.c struct inode *inode = dentry->d_inode; dentry 49 fs/nfs/unlink.c int len = dentry->d_name.len; dentry 51 fs/nfs/unlink.c str = kmemdup(dentry->d_name.name, NAME_ALLOC_LEN(len), GFP_KERNEL); dentry 124 fs/nfs/unlink.c struct dentry *alias; dentry 167 fs/nfs/unlink.c struct dentry *parent; dentry 172 fs/nfs/unlink.c parent = dget_parent(dentry); dentry 176 fs/nfs/unlink.c if (nfs_copy_dname(dentry, data) != 0) dentry 197 fs/nfs/unlink.c struct nfs_inode *nfsi = NFS_I(dentry->d_inode); dentry 204 fs/nfs/unlink.c struct inode *dir = dentry->d_inode; dentry 216 fs/nfs/unlink.c if (nfs_do_call_unlink(dentry, dir, data) == 0) dentry 245 fs/nfs/unlink.c spin_lock(&dentry->d_lock); dentry 246 fs/nfs/unlink.c if (dentry->d_flags & DCACHE_NFSFS_RENAMED) dentry 248 fs/nfs/unlink.c dentry->d_flags |= DCACHE_NFSFS_RENAMED; dentry 249 fs/nfs/unlink.c dentry->d_fsdata = data; dentry 250 fs/nfs/unlink.c spin_unlock(&dentry->d_lock); dentry 253 fs/nfs/unlink.c spin_unlock(&dentry->d_lock); dentry 275 fs/nfs/unlink.c spin_lock(&dentry->d_lock); dentry 276 fs/nfs/unlink.c if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { dentry 277 fs/nfs/unlink.c dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; dentry 278 fs/nfs/unlink.c data = dentry->d_fsdata; dentry 280 fs/nfs/unlink.c spin_unlock(&dentry->d_lock); dentry 282 fs/nfs/unlink.c if (data != NULL && (NFS_STALE(inode) || !nfs_call_unlink(dentry, data))) dentry 371 fs/nfs/write.c struct inode *inode = req->wb_context->path.dentry->d_inode; dentry 403 fs/nfs/write.c struct inode *inode = req->wb_context->path.dentry->d_inode; dentry 729 fs/nfs/write.c file->f_path.dentry->d_parent->d_name.name, dentry 730 fs/nfs/write.c file->f_path.dentry->d_name.name, count, dentry 787 fs/nfs/write.c struct inode *inode = req->wb_context->path.dentry->d_inode; dentry 811 fs/nfs/write.c data->inode = inode = req->wb_context->path.dentry->d_inode; dentry 983 fs/nfs/write.c data->req->wb_context->path.dentry->d_inode->i_sb->s_id, dentry 985 fs/nfs/write.c NFS_FILEID(data->req->wb_context->path.dentry->d_inode), dentry 1062 fs/nfs/write.c req->wb_context->path.dentry->d_inode->i_sb->s_id, dentry 1063 fs/nfs/write.c (long long)NFS_FILEID(req->wb_context->path.dentry->d_inode), dentry 1195 fs/nfs/write.c struct inode *inode = first->wb_context->path.dentry->d_inode; dentry 1301 fs/nfs/write.c req->wb_context->path.dentry->d_inode->i_sb->s_id, dentry 1302 fs/nfs/write.c (long long)NFS_FILEID(req->wb_context->path.dentry->d_inode), dentry 44 fs/nfsctl.c return dentry_open(nd.path.dentry, nd.path.mnt, flags); dentry 507 fs/nfsd/export.c nd.path.dentry = NULL; dentry 548 fs/nfsd/export.c exp.ex_path.dentry = nd.path.dentry; dentry 610 fs/nfsd/export.c err = check_export(nd.path.dentry->d_inode, exp.ex_flags, dentry 629 fs/nfsd/export.c if (nd.path.dentry) dentry 680 fs/nfsd/export.c orig->ex_path.dentry == new->ex_path.dentry && dentry 691 fs/nfsd/export.c new->ex_path.dentry = dget(item->ex_path.dentry); dentry 755 fs/nfsd/export.c hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); dentry 772 fs/nfsd/export.c hash ^= hash_ptr(old->ex_path.dentry, EXPORT_HASHBITS); dentry 870 fs/nfsd/export.c key.ex_path.dentry = dentry; dentry 890 fs/nfsd/export.c dget(dentry); dentry 891 fs/nfsd/export.c exp = exp_get_by_name(clp, mnt, dentry, reqp); dentry 893 fs/nfsd/export.c while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(dentry)) { dentry 894 fs/nfsd/export.c struct dentry *parent; dentry 896 fs/nfsd/export.c parent = dget_parent(dentry); dentry 897 fs/nfsd/export.c dput(dentry); dentry 898 fs/nfsd/export.c dentry = parent; dentry 899 fs/nfsd/export.c exp = exp_get_by_name(clp, mnt, dentry, reqp); dentry 901 fs/nfsd/export.c dput(dentry); dentry 967 fs/nfsd/export.c struct inode *inode = exp->ex_path.dentry->d_inode; dentry 981 fs/nfsd/export.c struct inode *inode = exp->ex_path.dentry->d_inode; dentry 1029 fs/nfsd/export.c exp = exp_get_by_name(clp, nd.path.mnt, nd.path.dentry, NULL); dentry 1038 fs/nfsd/export.c fsid_key->ek_path.dentry != nd.path.dentry)) dentry 1054 fs/nfsd/export.c err = check_export(nd.path.dentry->d_inode, nxp->ex_flags, NULL); dentry 1146 fs/nfsd/export.c exp = exp_get_by_name(dom, nd.path.mnt, nd.path.dentry, NULL); dentry 1183 fs/nfsd/export.c inode = nd.path.dentry->d_inode; dentry 1186 fs/nfsd/export.c path, nd.path.dentry, clp->name, dentry 1188 fs/nfsd/export.c exp = exp_parent(clp, nd.path.mnt, nd.path.dentry, NULL); dentry 1198 fs/nfsd/export.c if (fh_compose(&fh, exp, nd.path.dentry, NULL)) dentry 1218 fs/nfsd/export.c exp = exp_get_by_name(clp, ek->ek_path.mnt, ek->ek_path.dentry, reqp); dentry 1267 fs/nfsd/export.c exp = exp_get_by_name(rqstp->rq_client, mnt, dentry, dentry 1280 fs/nfsd/export.c gssexp = exp_get_by_name(rqstp->rq_gssclient, mnt, dentry, dentry 1325 fs/nfsd/export.c dget(dentry); dentry 1326 fs/nfsd/export.c exp = rqst_exp_get_by_name(rqstp, mnt, dentry); dentry 1328 fs/nfsd/export.c while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(dentry)) { dentry 1329 fs/nfsd/export.c struct dentry *parent; dentry 1331 fs/nfsd/export.c parent = dget_parent(dentry); dentry 1332 fs/nfsd/export.c dput(dentry); dentry 1333 fs/nfsd/export.c dentry = parent; dentry 1334 fs/nfsd/export.c exp = rqst_exp_get_by_name(rqstp, mnt, dentry); dentry 1336 fs/nfsd/export.c dput(dentry); dentry 1357 fs/nfsd/export.c rv = fh_compose(fhp, exp, exp->ex_path.dentry, NULL); dentry 224 fs/nfsd/nfs2acl.c struct dentry *dentry = resp->fh.fh_dentry; dentry 236 fs/nfsd/nfs2acl.c if (dentry == NULL || dentry->d_inode == NULL) dentry 238 fs/nfsd/nfs2acl.c inode = dentry->d_inode; dentry 170 fs/nfsd/nfs3acl.c struct dentry *dentry = resp->fh.fh_dentry; dentry 173 fs/nfsd/nfs3acl.c if (resp->status == 0 && dentry && dentry->d_inode) { dentry 174 fs/nfsd/nfs3acl.c struct inode *inode = dentry->d_inode; dentry 216 fs/nfsd/nfs3xdr.c struct dentry *dentry = fhp->fh_dentry; dentry 217 fs/nfsd/nfs3xdr.c if (dentry && dentry->d_inode) { dentry 221 fs/nfsd/nfs3xdr.c err = vfs_getattr(fhp->fh_export->ex_path.mnt, dentry, &stat); dentry 224 fs/nfsd/nfs3xdr.c lease_get_mtime(dentry->d_inode, &stat.mtime); dentry 245 fs/nfsd/nfs3xdr.c struct dentry *dentry = fhp->fh_dentry; dentry 247 fs/nfsd/nfs3xdr.c if (dentry && dentry->d_inode && fhp->fh_post_saved) { dentry 832 fs/nfsd/nfs3xdr.c struct dentry *dparent, *dchild; dentry 630 fs/nfsd/nfs4proc.c struct dentry *dentry; dentry 636 fs/nfsd/nfs4proc.c &exp, &dentry); dentry 639 fs/nfsd/nfs4proc.c if (dentry->d_inode == NULL) { dentry 644 fs/nfsd/nfs4proc.c dput(dentry); dentry 124 fs/nfsd/nfs4recover.c mutex_lock(&rec_dir.path.dentry->d_inode->i_mutex); dentry 125 fs/nfsd/nfs4recover.c nfsd_sync_dir(rec_dir.path.dentry); dentry 126 fs/nfsd/nfs4recover.c mutex_unlock(&rec_dir.path.dentry->d_inode->i_mutex); dentry 133 fs/nfsd/nfs4recover.c struct dentry *dentry; dentry 146 fs/nfsd/nfs4recover.c mutex_lock(&rec_dir.path.dentry->d_inode->i_mutex); dentry 148 fs/nfsd/nfs4recover.c dentry = lookup_one_len(dname, rec_dir.path.dentry, HEXDIR_LEN-1); dentry 149 fs/nfsd/nfs4recover.c if (IS_ERR(dentry)) { dentry 150 fs/nfsd/nfs4recover.c status = PTR_ERR(dentry); dentry 154 fs/nfsd/nfs4recover.c if (dentry->d_inode) { dentry 161 fs/nfsd/nfs4recover.c status = vfs_mkdir(rec_dir.path.dentry->d_inode, dentry, S_IRWXU); dentry 164 fs/nfsd/nfs4recover.c dput(dentry); dentry 166 fs/nfsd/nfs4recover.c mutex_unlock(&rec_dir.path.dentry->d_inode->i_mutex); dentry 179 fs/nfsd/nfs4recover.c struct dentry *dentry; dentry 185 fs/nfsd/nfs4recover.c struct dentry *parent; dentry 194 fs/nfsd/nfs4recover.c struct dentry *parent = dla->parent; dentry 195 fs/nfsd/nfs4recover.c struct dentry *dentry; dentry 200 fs/nfsd/nfs4recover.c dentry = lookup_one_len(name, parent, namlen); dentry 201 fs/nfsd/nfs4recover.c if (IS_ERR(dentry)) dentry 202 fs/nfsd/nfs4recover.c return PTR_ERR(dentry); dentry 206 fs/nfsd/nfs4recover.c child->dentry = dentry; dentry 238 fs/nfsd/nfs4recover.c status = f(dir, child->dentry); dentry 242 fs/nfsd/nfs4recover.c dput(child->dentry); dentry 249 fs/nfsd/nfs4recover.c dput(child->dentry); dentry 266 fs/nfsd/nfs4recover.c status = vfs_unlink(dir->d_inode, dentry); dentry 279 fs/nfsd/nfs4recover.c nfsd4_list_rec_dir(dentry, nfsd4_remove_clid_file); dentry 281 fs/nfsd/nfs4recover.c status = vfs_rmdir(dir->d_inode, dentry); dentry 289 fs/nfsd/nfs4recover.c struct dentry *dentry; dentry 294 fs/nfsd/nfs4recover.c mutex_lock(&rec_dir.path.dentry->d_inode->i_mutex); dentry 295 fs/nfsd/nfs4recover.c dentry = lookup_one_len(name, rec_dir.path.dentry, namlen); dentry 296 fs/nfsd/nfs4recover.c mutex_unlock(&rec_dir.path.dentry->d_inode->i_mutex); dentry 297 fs/nfsd/nfs4recover.c if (IS_ERR(dentry)) { dentry 298 fs/nfsd/nfs4recover.c status = PTR_ERR(dentry); dentry 302 fs/nfsd/nfs4recover.c if (!dentry->d_inode) dentry 305 fs/nfsd/nfs4recover.c status = nfsd4_clear_clid_dir(rec_dir.path.dentry, dentry); dentry 307 fs/nfsd/nfs4recover.c dput(dentry); dentry 363 fs/nfsd/nfs4recover.c status = nfsd4_list_rec_dir(rec_dir.path.dentry, purge_old); dentry 370 fs/nfsd/nfs4recover.c " directory %s\n", rec_dir.path.dentry->d_name.name); dentry 390 fs/nfsd/nfs4recover.c status = nfsd4_list_rec_dir(rec_dir.path.dentry, load_recdir); dentry 393 fs/nfsd/nfs4recover.c " directory %s\n", rec_dir.path.dentry->d_name.name); dentry 1578 fs/nfsd/nfs4state.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 1928 fs/nfsd/nfs4state.c return fhp->fh_dentry->d_inode != stp->st_vfs_file->f_path.dentry->d_inode; dentry 2843 fs/nfsd/nfs4state.c file.f_path.dentry = cstate->current_fh.fh_dentry; dentry 2939 fs/nfsd/nfs4state.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 3293 fs/nfsd/nfs4state.c if (S_ISDIR(nd.path.dentry->d_inode->i_mode)) { dentry 1441 fs/nfsd/nfs4xdr.c err = vfs_getattr(exp->ex_path.mnt, dentry, &stat); dentry 1448 fs/nfsd/nfs4xdr.c err = vfs_statfs(dentry, &statfs); dentry 1454 fs/nfsd/nfs4xdr.c status = fh_compose(&tempfh, exp, dentry, NULL); dentry 1461 fs/nfsd/nfs4xdr.c err = nfsd4_get_nfs4_acl(rqstp, dentry, &acl); dentry 1798 fs/nfsd/nfs4xdr.c exp->ex_path.mnt->mnt_root->d_inode == dentry->d_inode) { dentry 1841 fs/nfsd/nfs4xdr.c struct dentry *dentry; dentry 1845 fs/nfsd/nfs4xdr.c dentry = lookup_one_len(name, cd->rd_fhp->fh_dentry, namlen); dentry 1846 fs/nfsd/nfs4xdr.c if (IS_ERR(dentry)) dentry 1847 fs/nfsd/nfs4xdr.c return nfserrno(PTR_ERR(dentry)); dentry 1857 fs/nfsd/nfs4xdr.c if (d_mountpoint(dentry) && !attributes_need_mount(cd->rd_bmval)) dentry 1859 fs/nfsd/nfs4xdr.c else if (d_mountpoint(dentry)) { dentry 1867 fs/nfsd/nfs4xdr.c err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); dentry 1877 fs/nfsd/nfs4xdr.c nfserr = nfsd4_encode_fattr(NULL, exp, dentry, p, buflen, cd->rd_bmval, dentry 1880 fs/nfsd/nfs4xdr.c dput(dentry); dentry 124 fs/nfsd/nfsctl.c ino_t ino = file->f_path.dentry->d_inode->i_ino; dentry 43 fs/nfsd/nfsfh.c struct dentry *tdentry; dentry 44 fs/nfsd/nfsfh.c struct dentry *parent; dentry 49 fs/nfsd/nfsfh.c tdentry = dget(dentry); dentry 50 fs/nfsd/nfsfh.c while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) { dentry 62 fs/nfsd/nfsfh.c if (tdentry != exp->ex_path.dentry) dentry 64 fs/nfsd/nfsfh.c rv = (tdentry == exp->ex_path.dentry); dentry 125 fs/nfsd/nfsfh.c struct dentry *dentry; dentry 219 fs/nfsd/nfsfh.c dentry = dget(exp->ex_path.dentry); dentry 221 fs/nfsd/nfsfh.c dentry = exportfs_decode_fh(exp->ex_path.mnt, fid, dentry 225 fs/nfsd/nfsfh.c if (dentry == NULL) dentry 227 fs/nfsd/nfsfh.c if (IS_ERR(dentry)) { dentry 228 fs/nfsd/nfsfh.c if (PTR_ERR(dentry) != -EINVAL) dentry 229 fs/nfsd/nfsfh.c error = nfserrno(PTR_ERR(dentry)); dentry 236 fs/nfsd/nfsfh.c dput(dentry); dentry 241 fs/nfsd/nfsfh.c if (S_ISDIR(dentry->d_inode->i_mode) && dentry 242 fs/nfsd/nfsfh.c (dentry->d_flags & DCACHE_DISCONNECTED)) { dentry 244 fs/nfsd/nfsfh.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 247 fs/nfsd/nfsfh.c fhp->fh_dentry = dentry; dentry 269 fs/nfsd/nfsfh.c struct dentry *dentry; dentry 278 fs/nfsd/nfsfh.c dentry = fhp->fh_dentry; dentry 287 fs/nfsd/nfsfh.c dentry = fhp->fh_dentry; dentry 301 fs/nfsd/nfsfh.c error = nfsd_mode_check(rqstp, dentry->d_inode->i_mode, type); dentry 318 fs/nfsd/nfsfh.c && exp->ex_path.dentry == dentry) dentry 327 fs/nfsd/nfsfh.c error = nfsd_permission(rqstp, exp, dentry, access); dentry 332 fs/nfsd/nfsfh.c dentry->d_parent->d_name.name, dentry 333 fs/nfsd/nfsfh.c dentry->d_name.name, dentry 353 fs/nfsd/nfsfh.c if (dentry != exp->ex_path.dentry) { dentry 360 fs/nfsd/nfsfh.c exportfs_encode_fh(dentry, fid, &maxsize, subtreecheck); dentry 374 fs/nfsd/nfsfh.c fh->ofh_ino = ino_t_to_u32(dentry->d_inode->i_ino); dentry 375 fs/nfsd/nfsfh.c fh->ofh_generation = dentry->d_inode->i_generation; dentry 376 fs/nfsd/nfsfh.c if (S_ISDIR(dentry->d_inode->i_mode) || dentry 395 fs/nfsd/nfsfh.c struct inode * inode = dentry->d_inode; dentry 396 fs/nfsd/nfsfh.c struct dentry *parent = dentry->d_parent; dentry 398 fs/nfsd/nfsfh.c dev_t ex_dev = exp->ex_path.dentry->d_inode->i_sb->s_dev; dentry 399 fs/nfsd/nfsfh.c int root_export = (exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root); dentry 403 fs/nfsd/nfsfh.c (long) exp->ex_path.dentry->d_inode->i_ino, dentry 404 fs/nfsd/nfsfh.c parent->d_name.name, dentry->d_name.name, dentry 445 fs/nfsd/nfsfh.c if (!(exp->ex_path.dentry->d_inode->i_sb->s_type->fs_flags dentry 489 fs/nfsd/nfsfh.c parent->d_name.name, dentry->d_name.name); dentry 494 fs/nfsd/nfsfh.c parent->d_name.name, dentry->d_name.name); dentry 496 fs/nfsd/nfsfh.c fhp->fh_dentry = dget(dentry); /* our internal copy */ dentry 508 fs/nfsd/nfsfh.c ino_t_to_u32(exp->ex_path.dentry->d_inode->i_ino); dentry 509 fs/nfsd/nfsfh.c fhp->fh_handle.ofh_dirino = ino_t_to_u32(parent_ino(dentry)); dentry 511 fs/nfsd/nfsfh.c _fh_update_old(dentry, exp, &fhp->fh_handle); dentry 519 fs/nfsd/nfsfh.c exp->ex_path.dentry->d_inode->i_ino, dentry 527 fs/nfsd/nfsfh.c _fh_update(fhp, exp, dentry); dentry 543 fs/nfsd/nfsfh.c struct dentry *dentry; dentry 548 fs/nfsd/nfsfh.c dentry = fhp->fh_dentry; dentry 549 fs/nfsd/nfsfh.c if (!dentry->d_inode) dentry 552 fs/nfsd/nfsfh.c _fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle); dentry 557 fs/nfsd/nfsfh.c _fh_update(fhp, fhp->fh_export, dentry); dentry 569 fs/nfsd/nfsfh.c dentry->d_parent->d_name.name, dentry->d_name.name); dentry 579 fs/nfsd/nfsfh.c struct dentry * dentry = fhp->fh_dentry; dentry 581 fs/nfsd/nfsfh.c if (dentry) { dentry 584 fs/nfsd/nfsfh.c dput(dentry); dentry 625 fs/nfsd/nfsfh.c if (fhp->fh_export->ex_path.dentry->d_inode->i_sb->s_type->fs_flags dentry 210 fs/nfsd/nfsproc.c struct dentry *dchild; dentry 154 fs/nfsd/nfsxdr.c struct dentry *dentry = fhp->fh_dentry; dentry 197 fs/nfsd/nfsxdr.c lease_get_mtime(dentry->d_inode, &time); dentry 102 fs/nfsd/vfs.c struct dentry *dentry = *dpp; dentry 104 fs/nfsd/vfs.c struct dentry *mounts = dget(dentry); dentry 121 fs/nfsd/vfs.c dput(dentry); dentry 138 fs/nfsd/vfs.c struct dentry *dparent; dentry 139 fs/nfsd/vfs.c struct dentry *dentry; dentry 157 fs/nfsd/vfs.c dentry = dget(dparent); dentry 158 fs/nfsd/vfs.c else if (dparent != exp->ex_path.dentry) dentry 159 fs/nfsd/vfs.c dentry = dget_parent(dparent); dentry 161 fs/nfsd/vfs.c dentry = dget(dparent); /* .. == . just like at / */ dentry 165 fs/nfsd/vfs.c struct dentry *dp; dentry 167 fs/nfsd/vfs.c dentry = dget(dparent); dentry 168 fs/nfsd/vfs.c while(dentry == mnt->mnt_root && follow_up(&mnt, &dentry)) dentry 170 fs/nfsd/vfs.c dp = dget_parent(dentry); dentry 171 fs/nfsd/vfs.c dput(dentry); dentry 172 fs/nfsd/vfs.c dentry = dp; dentry 174 fs/nfsd/vfs.c exp2 = rqst_exp_parent(rqstp, mnt, dentry); dentry 176 fs/nfsd/vfs.c dput(dentry); dentry 177 fs/nfsd/vfs.c dentry = dget(dparent); dentry 180 fs/nfsd/vfs.c dput(dentry); dentry 191 fs/nfsd/vfs.c dentry = lookup_one_len(name, dparent, len); dentry 192 fs/nfsd/vfs.c host_err = PTR_ERR(dentry); dentry 193 fs/nfsd/vfs.c if (IS_ERR(dentry)) dentry 198 fs/nfsd/vfs.c if (d_mountpoint(dentry)) { dentry 199 fs/nfsd/vfs.c if ((host_err = nfsd_cross_mnt(rqstp, &dentry, &exp))) { dentry 200 fs/nfsd/vfs.c dput(dentry); dentry 205 fs/nfsd/vfs.c *dentry_ret = dentry; dentry 231 fs/nfsd/vfs.c struct dentry *dentry; dentry 234 fs/nfsd/vfs.c err = nfsd_lookup_dentry(rqstp, fhp, name, len, &exp, &dentry); dentry 244 fs/nfsd/vfs.c err = fh_compose(resfh, exp, dentry, fhp); dentry 245 fs/nfsd/vfs.c if (!err && !dentry->d_inode) dentry 248 fs/nfsd/vfs.c dput(dentry); dentry 262 fs/nfsd/vfs.c struct dentry *dentry; dentry 280 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 281 fs/nfsd/vfs.c inode = dentry->d_inode; dentry 333 fs/nfsd/vfs.c err = nfsd_permission(rqstp, fhp->fh_export, dentry, dentry 390 fs/nfsd/vfs.c host_err = notify_change(dentry, iap); dentry 414 fs/nfsd/vfs.c buflen = vfs_getxattr(dentry, key, NULL, 0); dentry 422 fs/nfsd/vfs.c return vfs_getxattr(dentry, key, *buf, buflen); dentry 447 fs/nfsd/vfs.c error = vfs_setxattr(dentry, key, buf, len, 0); dentry 459 fs/nfsd/vfs.c struct dentry *dentry; dentry 469 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 470 fs/nfsd/vfs.c inode = dentry->d_inode; dentry 480 fs/nfsd/vfs.c host_error = set_nfsv4_acl_one(dentry, pacl, POSIX_ACL_XATTR_ACCESS); dentry 485 fs/nfsd/vfs.c host_error = set_nfsv4_acl_one(dentry, dpacl, POSIX_ACL_XATTR_DEFAULT); dentry 504 fs/nfsd/vfs.c buflen = nfsd_getxattr(dentry, key, &buf); dentry 518 fs/nfsd/vfs.c struct inode *inode = dentry->d_inode; dentry 523 fs/nfsd/vfs.c pacl = _get_posix_acl(dentry, POSIX_ACL_XATTR_ACCESS); dentry 533 fs/nfsd/vfs.c dpacl = _get_posix_acl(dentry, POSIX_ACL_XATTR_DEFAULT); dentry 605 fs/nfsd/vfs.c struct dentry *dentry; dentry 614 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 616 fs/nfsd/vfs.c if (S_ISREG(dentry->d_inode->i_mode)) dentry 618 fs/nfsd/vfs.c else if (S_ISDIR(dentry->d_inode->i_mode)) dentry 631 fs/nfsd/vfs.c err2 = nfsd_permission(rqstp, export, dentry, map->how); dentry 670 fs/nfsd/vfs.c struct dentry *dentry; dentry 685 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 686 fs/nfsd/vfs.c inode = dentry->d_inode; dentry 723 fs/nfsd/vfs.c *filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt), dentry 751 fs/nfsd/vfs.c int (*fsync) (struct file *, struct dentry *, int); dentry 768 fs/nfsd/vfs.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 769 fs/nfsd/vfs.c dprintk("nfsd: sync file %s\n", filp->f_path.dentry->d_name.name); dentry 771 fs/nfsd/vfs.c err=nfsd_dosync(filp, filp->f_path.dentry, filp->f_op); dentry 897 fs/nfsd/vfs.c inode = file->f_path.dentry->d_inode; dentry 939 fs/nfsd/vfs.c fsnotify_access(file->f_path.dentry); dentry 951 fs/nfsd/vfs.c mutex_lock(&dentry->d_inode->i_mutex); dentry 952 fs/nfsd/vfs.c notify_change(dentry, &ia); dentry 953 fs/nfsd/vfs.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 962 fs/nfsd/vfs.c struct dentry *dentry; dentry 973 fs/nfsd/vfs.c (!lock_may_write(file->f_path.dentry->d_inode, offset, cnt))) dentry 977 fs/nfsd/vfs.c dentry = file->f_path.dentry; dentry 978 fs/nfsd/vfs.c inode = dentry->d_inode; dentry 1006 fs/nfsd/vfs.c fsnotify_modify(file->f_path.dentry); dentry 1011 fs/nfsd/vfs.c kill_suid(dentry); dentry 1188 fs/nfsd/vfs.c struct dentry *dentry, *dchild = NULL; dentry 1205 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 1206 fs/nfsd/vfs.c dirp = dentry->d_inode; dentry 1218 fs/nfsd/vfs.c dchild = lookup_one_len(fname, dentry, flen); dentry 1232 fs/nfsd/vfs.c dentry->d_parent->d_name.name, dentry 1233 fs/nfsd/vfs.c dentry->d_name.name); dentry 1244 fs/nfsd/vfs.c dentry->d_name.name, dchild->d_name.name); dentry 1287 fs/nfsd/vfs.c err = nfserrno(nfsd_sync_dir(dentry)); dentry 1320 fs/nfsd/vfs.c struct dentry *dentry, *dchild = NULL; dentry 1339 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 1340 fs/nfsd/vfs.c dirp = dentry->d_inode; dentry 1352 fs/nfsd/vfs.c dchild = lookup_one_len(fname, dentry, flen); dentry 1419 fs/nfsd/vfs.c err = nfserrno(nfsd_sync_dir(dentry)); dentry 1466 fs/nfsd/vfs.c struct dentry *dentry; dentry 1476 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 1477 fs/nfsd/vfs.c inode = dentry->d_inode; dentry 1483 fs/nfsd/vfs.c touch_atime(fhp->fh_export->ex_path.mnt, dentry); dentry 1489 fs/nfsd/vfs.c host_err = inode->i_op->readlink(dentry, buf, *lenp); dentry 1515 fs/nfsd/vfs.c struct dentry *dentry, *dnew; dentry 1530 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 1531 fs/nfsd/vfs.c dnew = lookup_one_len(fname, dentry, flen); dentry 1547 fs/nfsd/vfs.c host_err = vfs_symlink(dentry->d_inode, dnew, path_alloced); dentry 1551 fs/nfsd/vfs.c host_err = vfs_symlink(dentry->d_inode, dnew, path); dentry 1555 fs/nfsd/vfs.c host_err = nfsd_sync_dir(dentry); dentry 1581 fs/nfsd/vfs.c struct dentry *ddir, *dnew, *dold; dentry 1651 fs/nfsd/vfs.c struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; dentry 1755 fs/nfsd/vfs.c struct dentry *dentry, *rdentry; dentry 1768 fs/nfsd/vfs.c dentry = fhp->fh_dentry; dentry 1769 fs/nfsd/vfs.c dirp = dentry->d_inode; dentry 1771 fs/nfsd/vfs.c rdentry = lookup_one_len(fname, dentry, flen); dentry 1806 fs/nfsd/vfs.c host_err = nfsd_sync_dir(dentry); dentry 1888 fs/nfsd/vfs.c struct inode *inode = dentry->d_inode; dentry 1103 fs/ntfs/dir.c struct inode *bmp_vi, *vdir = filp->f_path.dentry->d_inode; dentry 1138 fs/ntfs/dir.c (unsigned long)parent_ino(filp->f_path.dentry)); dentry 1140 fs/ntfs/dir.c parent_ino(filp->f_path.dentry), DT_DIR); dentry 1532 fs/ntfs/dir.c struct inode *bmp_vi, *vi = dentry->d_inode; dentry 2227 fs/ntfs/file.c struct inode *vi = dentry->d_inode; dentry 2891 fs/ntfs/inode.c struct inode *vi = dentry->d_inode; dentry 102 fs/ntfs/namei.c static struct dentry *ntfs_lookup(struct inode *dir_ino, struct dentry *dent, dentry 161 fs/ntfs/namei.c return (struct dentry *)dent_inode; dentry 299 fs/ntfs/namei.c static struct dentry *ntfs_get_parent(struct dentry *child_dent) dentry 308 fs/ntfs/namei.c struct dentry *parent_dent; dentry 316 fs/ntfs/namei.c return (struct dentry *)mrec; dentry 384 fs/ntfs/namei.c static struct dentry *ntfs_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 391 fs/ntfs/namei.c static struct dentry *ntfs_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 2617 fs/ntfs/super.c struct super_block *sb = dentry->d_sb; dentry 647 fs/ocfs2/aops.c struct inode *inode = iocb->ki_filp->f_path.dentry->d_inode; dentry 689 fs/ocfs2/aops.c struct inode *inode = file->f_path.dentry->d_inode->i_mapping->host; dentry 50 fs/ocfs2/cluster/netdebug.c static struct dentry *o2net_dentry; dentry 51 fs/ocfs2/cluster/netdebug.c static struct dentry *sc_dentry; dentry 52 fs/ocfs2/cluster/netdebug.c static struct dentry *nst_dentry; dentry 46 fs/ocfs2/dcache.c struct inode *inode = dentry->d_inode; dentry 48 fs/ocfs2/dcache.c struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); dentry 50 fs/ocfs2/dcache.c mlog_entry("(0x%p, '%.*s')\n", dentry, dentry 51 fs/ocfs2/dcache.c dentry->d_name.len, dentry->d_name.name); dentry 55 fs/ocfs2/dcache.c mlog(0, "negative dentry: %.*s\n", dentry->d_name.len, dentry 56 fs/ocfs2/dcache.c dentry->d_name.name); dentry 107 fs/ocfs2/dcache.c if (!dentry->d_fsdata) dentry 110 fs/ocfs2/dcache.c if (!dentry->d_parent) dentry 113 fs/ocfs2/dcache.c if (skip_unhashed && d_unhashed(dentry)) dentry 116 fs/ocfs2/dcache.c parent = dentry->d_parent->d_inode; dentry 135 fs/ocfs2/dcache.c struct dentry *ocfs2_find_local_alias(struct inode *inode, dentry 140 fs/ocfs2/dcache.c struct dentry *dentry = NULL; dentry 145 fs/ocfs2/dcache.c dentry = list_entry(p, struct dentry, d_alias); dentry 147 fs/ocfs2/dcache.c if (ocfs2_match_dentry(dentry, parent_blkno, skip_unhashed)) { dentry 149 fs/ocfs2/dcache.c dentry->d_name.len, dentry->d_name.name); dentry 151 fs/ocfs2/dcache.c dget_locked(dentry); dentry 155 fs/ocfs2/dcache.c dentry = NULL; dentry 160 fs/ocfs2/dcache.c return dentry; dentry 202 fs/ocfs2/dcache.c struct dentry *alias; dentry 203 fs/ocfs2/dcache.c struct ocfs2_dentry_lock *dl = dentry->d_fsdata; dentry 206 fs/ocfs2/dcache.c dentry->d_name.len, dentry->d_name.name, dentry 221 fs/ocfs2/dcache.c dentry->d_name.len, dentry->d_name.name, dentry 247 fs/ocfs2/dcache.c dentry->d_name.len, dentry->d_name.name, dentry 277 fs/ocfs2/dcache.c dentry->d_fsdata = dl; dentry 286 fs/ocfs2/dcache.c ret = ocfs2_dentry_lock(dentry, 0); dentry 288 fs/ocfs2/dcache.c ocfs2_dentry_unlock(dentry, 0); dentry 345 fs/ocfs2/dcache.c struct ocfs2_dentry_lock *dl = dentry->d_fsdata; dentry 352 fs/ocfs2/dcache.c if (!(dentry->d_flags & DCACHE_DISCONNECTED) && dentry 353 fs/ocfs2/dcache.c !d_unhashed(dentry)) { dentry 359 fs/ocfs2/dcache.c ino, dentry->d_flags, dentry->d_name.len, dentry 360 fs/ocfs2/dcache.c dentry->d_name.name); dentry 367 fs/ocfs2/dcache.c dentry->d_name.len, dentry->d_name.name, dentry 370 fs/ocfs2/dcache.c ocfs2_dentry_lock_put(OCFS2_SB(dentry->d_sb), dl); dentry 400 fs/ocfs2/dcache.c struct inode *inode = dentry->d_inode; dentry 411 fs/ocfs2/dcache.c ocfs2_dentry_lock_put(osb, dentry->d_fsdata); dentry 413 fs/ocfs2/dcache.c dentry->d_fsdata = NULL; dentry 414 fs/ocfs2/dcache.c ret = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(new_dir)->ip_blkno); dentry 419 fs/ocfs2/dcache.c d_move(dentry, target); dentry 50 fs/ocfs2/dcache.h struct dentry *ocfs2_find_local_alias(struct inode *inode, u64 parent_blkno, dentry 880 fs/ocfs2/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 49 fs/ocfs2/dir.h return __ocfs2_add_entry(handle, dentry->d_parent->d_inode, dentry 50 fs/ocfs2/dir.h dentry->d_name.name, dentry->d_name.len, dentry 162 fs/ocfs2/dlm/dlmcommon.h struct dentry *dlm_debugfs_subroot; dentry 355 fs/ocfs2/dlm/dlmdebug.c static struct dentry *dlm_debugfs_root = NULL; dentry 34 fs/ocfs2/dlm/dlmdebug.h struct dentry *debug_state_dentry; dentry 35 fs/ocfs2/dlm/dlmdebug.h struct dentry *debug_lockres_dentry; dentry 36 fs/ocfs2/dlm/dlmdebug.h struct dentry *debug_mle_dentry; dentry 37 fs/ocfs2/dlm/dlmdebug.h struct dentry *debug_purgelist_dentry; dentry 190 fs/ocfs2/dlm/dlmfs.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 234 fs/ocfs2/dlm/dlmfs.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 389 fs/ocfs2/dlm/dlmfs.c user_dlm_lock_res_init(&ip->ip_lockres, dentry); dentry 427 fs/ocfs2/dlm/dlmfs.c struct qstr *domain = &dentry->d_name; dentry 441 fs/ocfs2/dlm/dlmfs.c inode = dlmfs_get_inode(dir, dentry, mode | S_IFDIR); dentry 460 fs/ocfs2/dlm/dlmfs.c d_instantiate(dentry, inode); dentry 461 fs/ocfs2/dlm/dlmfs.c dget(dentry); /* Extra count - pin the dentry in core */ dentry 477 fs/ocfs2/dlm/dlmfs.c struct qstr *name = &dentry->d_name; dentry 491 fs/ocfs2/dlm/dlmfs.c inode = dlmfs_get_inode(dir, dentry, mode | S_IFREG); dentry 498 fs/ocfs2/dlm/dlmfs.c d_instantiate(dentry, inode); dentry 499 fs/ocfs2/dlm/dlmfs.c dget(dentry); /* Extra count - pin the dentry in core */ dentry 508 fs/ocfs2/dlm/dlmfs.c struct inode *inode = dentry->d_inode; dentry 517 fs/ocfs2/dlm/dlmfs.c dentry->d_name.len, dentry->d_name.name, status); dentry 520 fs/ocfs2/dlm/dlmfs.c status = simple_unlink(dir, dentry); dentry 530 fs/ocfs2/dlm/dlmfs.c struct dentry * root; dentry 584 fs/ocfs2/dlm/userdlm.c BUG_ON(dentry->d_name.len >= USER_DLM_LOCK_ID_MAX_LEN); dentry 587 fs/ocfs2/dlm/userdlm.c dentry->d_name.name, dentry 588 fs/ocfs2/dlm/userdlm.c dentry->d_name.len); dentry 589 fs/ocfs2/dlm/userdlm.c lockres->l_namelen = dentry->d_name.len; dentry 2390 fs/ocfs2/dlmglue.c struct ocfs2_dentry_lock *dl = dentry->d_fsdata; dentry 2391 fs/ocfs2/dlmglue.c struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); dentry 2411 fs/ocfs2/dlmglue.c struct ocfs2_dentry_lock *dl = dentry->d_fsdata; dentry 2412 fs/ocfs2/dlmglue.c struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); dentry 3367 fs/ocfs2/dlmglue.c struct dentry *dentry; dentry 3419 fs/ocfs2/dlmglue.c dentry = ocfs2_find_local_alias(dl->dl_inode, dentry 3421 fs/ocfs2/dlmglue.c if (!dentry) dentry 3425 fs/ocfs2/dlmglue.c mlog(0, "d_delete(%.*s);\n", dentry->d_name.len, dentry 3426 fs/ocfs2/dlmglue.c dentry->d_name.name); dentry 3436 fs/ocfs2/dlmglue.c d_delete(dentry); dentry 3437 fs/ocfs2/dlmglue.c dput(dentry); dentry 48 fs/ocfs2/export.c static struct dentry *ocfs2_get_dentry(struct super_block *sb, dentry 52 fs/ocfs2/export.c struct dentry *result; dentry 84 fs/ocfs2/export.c static struct dentry *ocfs2_get_parent(struct dentry *child) dentry 88 fs/ocfs2/export.c struct dentry *parent; dentry 140 fs/ocfs2/export.c struct inode *inode = dentry->d_inode; dentry 147 fs/ocfs2/export.c mlog_entry("(0x%p, '%.*s', 0x%p, %d, %d)\n", dentry, dentry 148 fs/ocfs2/export.c dentry->d_name.len, dentry->d_name.name, dentry 171 fs/ocfs2/export.c spin_lock(&dentry->d_lock); dentry 173 fs/ocfs2/export.c parent = dentry->d_parent->d_inode; dentry 181 fs/ocfs2/export.c spin_unlock(&dentry->d_lock); dentry 197 fs/ocfs2/export.c static struct dentry *ocfs2_fh_to_dentry(struct super_block *sb, dentry 211 fs/ocfs2/export.c static struct dentry *ocfs2_fh_to_parent(struct super_block *sb, dentry 104 fs/ocfs2/file.c file->f_path.dentry->d_name.len, file->f_path.dentry->d_name.name); dentry 145 fs/ocfs2/file.c file->f_path.dentry->d_name.len, dentry 146 fs/ocfs2/file.c file->f_path.dentry->d_name.name); dentry 177 fs/ocfs2/file.c struct inode *inode = dentry->d_inode; dentry 180 fs/ocfs2/file.c mlog_entry("(0x%p, 0x%p, %d, '%.*s')\n", file, dentry, datasync, dentry 181 fs/ocfs2/file.c dentry->d_name.len, dentry->d_name.name); dentry 183 fs/ocfs2/file.c err = ocfs2_sync_inode(dentry->d_inode); dentry 884 fs/ocfs2/file.c struct inode *inode = dentry->d_inode; dentry 890 fs/ocfs2/file.c mlog_entry("(0x%p, '%.*s')\n", dentry, dentry 891 fs/ocfs2/file.c dentry->d_name.len, dentry->d_name.name); dentry 1001 fs/ocfs2/file.c struct inode *inode = dentry->d_inode; dentry 1002 fs/ocfs2/file.c struct super_block *sb = dentry->d_inode->i_sb; dentry 1008 fs/ocfs2/file.c err = ocfs2_inode_revalidate(dentry); dentry 1558 fs/ocfs2/file.c if (file && should_remove_suid(file->f_path.dentry)) { dentry 1625 fs/ocfs2/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1675 fs/ocfs2/file.c struct inode *inode = dentry->d_inode; dentry 1699 fs/ocfs2/file.c if (should_remove_suid(dentry)) { dentry 1789 fs/ocfs2/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1794 fs/ocfs2/file.c file->f_path.dentry->d_name.len, dentry 1795 fs/ocfs2/file.c file->f_path.dentry->d_name.name); dentry 1823 fs/ocfs2/file.c ret = ocfs2_prepare_inode_for_write(file->f_path.dentry, ppos, dentry 1933 fs/ocfs2/file.c struct inode *inode = out->f_path.dentry->d_inode; dentry 1937 fs/ocfs2/file.c out->f_path.dentry->d_name.len, dentry 1938 fs/ocfs2/file.c out->f_path.dentry->d_name.name); dentry 1948 fs/ocfs2/file.c ret = ocfs2_prepare_inode_for_write(out->f_path.dentry, ppos, len, 0, dentry 1973 fs/ocfs2/file.c struct inode *inode = in->f_path.dentry->d_inode; dentry 1977 fs/ocfs2/file.c in->f_path.dentry->d_name.len, dentry 1978 fs/ocfs2/file.c in->f_path.dentry->d_name.name); dentry 2004 fs/ocfs2/file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 2008 fs/ocfs2/file.c filp->f_path.dentry->d_name.len, dentry 2009 fs/ocfs2/file.c filp->f_path.dentry->d_name.name); dentry 1141 fs/ocfs2/inode.c struct inode *inode = dentry->d_inode; dentry 113 fs/ocfs2/ioctl.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 155 fs/ocfs2/mmap.c struct inode *inode = vma->vm_file->f_path.dentry->d_inode; dentry 99 fs/ocfs2/namei.c static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry, dentry 105 fs/ocfs2/namei.c struct dentry *ret; dentry 108 fs/ocfs2/namei.c mlog_entry("(0x%p, 0x%p, '%.*s')\n", dir, dentry, dentry 109 fs/ocfs2/namei.c dentry->d_name.len, dentry->d_name.name); dentry 111 fs/ocfs2/namei.c if (dentry->d_name.len > OCFS2_MAX_FILENAME_LEN) { dentry 116 fs/ocfs2/namei.c mlog(0, "find name %.*s in directory %llu\n", dentry->d_name.len, dentry 117 fs/ocfs2/namei.c dentry->d_name.name, (unsigned long long)OCFS2_I(dir)->ip_blkno); dentry 127 fs/ocfs2/namei.c status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name, dentry 128 fs/ocfs2/namei.c dentry->d_name.len, &blkno); dentry 149 fs/ocfs2/namei.c dentry->d_op = &ocfs2_dentry_ops; dentry 150 fs/ocfs2/namei.c ret = d_splice_alias(inode, dentry); dentry 164 fs/ocfs2/namei.c dentry = ret; dentry 166 fs/ocfs2/namei.c status = ocfs2_dentry_attach_lock(dentry, inode, dentry 205 fs/ocfs2/namei.c mlog_entry("(0x%p, 0x%p, %d, %lu, '%.*s')\n", dir, dentry, mode, dentry 206 fs/ocfs2/namei.c (unsigned long)dev, dentry->d_name.len, dentry 207 fs/ocfs2/namei.c dentry->d_name.name); dentry 231 fs/ocfs2/namei.c status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name, dentry 232 fs/ocfs2/namei.c dentry->d_name.len); dentry 238 fs/ocfs2/namei.c dentry->d_name.name, dentry 239 fs/ocfs2/namei.c dentry->d_name.len, &de_bh); dentry 272 fs/ocfs2/namei.c status = ocfs2_mknod_locked(osb, dir, dentry, mode, dev, dentry 303 fs/ocfs2/namei.c status = ocfs2_add_entry(handle, dentry, inode, dentry 311 fs/ocfs2/namei.c status = ocfs2_dentry_attach_lock(dentry, inode, dentry 319 fs/ocfs2/namei.c dentry->d_op = &ocfs2_dentry_ops; dentry 320 fs/ocfs2/namei.c d_instantiate(dentry, inode); dentry 366 fs/ocfs2/namei.c mlog_entry("(0x%p, 0x%p, %d, %lu, '%.*s')\n", dir, dentry, mode, dentry 367 fs/ocfs2/namei.c (unsigned long)dev, dentry->d_name.len, dentry 368 fs/ocfs2/namei.c dentry->d_name.name); dentry 508 fs/ocfs2/namei.c mlog_entry("(0x%p, 0x%p, %d, '%.*s')\n", dir, dentry, mode, dentry 509 fs/ocfs2/namei.c dentry->d_name.len, dentry->d_name.name); dentry 510 fs/ocfs2/namei.c ret = ocfs2_mknod(dir, dentry, mode | S_IFDIR, 0); dentry 523 fs/ocfs2/namei.c mlog_entry("(0x%p, 0x%p, %d, '%.*s')\n", dir, dentry, mode, dentry 524 fs/ocfs2/namei.c dentry->d_name.len, dentry->d_name.name); dentry 525 fs/ocfs2/namei.c ret = ocfs2_mknod(dir, dentry, mode | S_IFREG, 0); dentry 546 fs/ocfs2/namei.c dentry->d_name.len, dentry->d_name.name); dentry 563 fs/ocfs2/namei.c err = ocfs2_check_dir_for_entry(dir, dentry->d_name.name, dentry 564 fs/ocfs2/namei.c dentry->d_name.len); dentry 569 fs/ocfs2/namei.c dentry->d_name.name, dentry 570 fs/ocfs2/namei.c dentry->d_name.len, &de_bh); dentry 618 fs/ocfs2/namei.c err = ocfs2_add_entry(handle, dentry, inode, dentry 628 fs/ocfs2/namei.c err = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(dir)->ip_blkno); dentry 635 fs/ocfs2/namei.c dentry->d_op = &ocfs2_dentry_ops; dentry 636 fs/ocfs2/namei.c d_instantiate(dentry, inode); dentry 663 fs/ocfs2/namei.c ret = ocfs2_dentry_lock(dentry, 1); dentry 667 fs/ocfs2/namei.c ocfs2_dentry_unlock(dentry, 1); dentry 690 fs/ocfs2/namei.c struct inode *inode = dentry->d_inode; dentry 703 fs/ocfs2/namei.c mlog_entry("(0x%p, 0x%p, '%.*s')\n", dir, dentry, dentry 704 fs/ocfs2/namei.c dentry->d_name.len, dentry->d_name.name); dentry 706 fs/ocfs2/namei.c BUG_ON(dentry->d_parent->d_inode != dir); dentry 722 fs/ocfs2/namei.c status = ocfs2_find_files_on_disk(dentry->d_name.name, dentry 723 fs/ocfs2/namei.c dentry->d_name.len, &blkno, dentry 758 fs/ocfs2/namei.c status = ocfs2_remote_dentry_delete(dentry); dentry 1499 fs/ocfs2/namei.c dentry, symname, dentry->d_name.len, dentry->d_name.name); dentry 1523 fs/ocfs2/namei.c status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name, dentry 1524 fs/ocfs2/namei.c dentry->d_name.len); dentry 1529 fs/ocfs2/namei.c dentry->d_name.name, dentry 1530 fs/ocfs2/namei.c dentry->d_name.len, &de_bh); dentry 1561 fs/ocfs2/namei.c status = ocfs2_mknod_locked(osb, dir, dentry, dentry 1615 fs/ocfs2/namei.c status = ocfs2_add_entry(handle, dentry, inode, dentry 1623 fs/ocfs2/namei.c status = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(dir)->ip_blkno); dentry 1630 fs/ocfs2/namei.c dentry->d_op = &ocfs2_dentry_ops; dentry 1631 fs/ocfs2/namei.c d_instantiate(dentry, inode); dentry 31 fs/ocfs2/namei.h struct dentry *ocfs2_get_parent(struct dentry *child); dentry 156 fs/ocfs2/ocfs2.h struct dentry *d_locking_state; dentry 285 fs/ocfs2/ocfs2.h struct dentry *local_alloc_debug; dentry 303 fs/ocfs2/ocfs2.h struct dentry *osb_debug_root; dentry 79 fs/ocfs2/super.c static struct dentry *ocfs2_debugfs_root = NULL; dentry 624 fs/ocfs2/super.c struct dentry *root; dentry 1110 fs/ocfs2/super.c mlog_entry("(%p, %p)\n", dentry->d_sb, buf); dentry 1112 fs/ocfs2/super.c osb = OCFS2_SB(dentry->d_sb); dentry 1135 fs/ocfs2/super.c buf->f_bsize = dentry->d_sb->s_blocksize; dentry 67 fs/ocfs2/symlink.c struct address_space *mapping = dentry->d_inode->i_mapping; dentry 109 fs/ocfs2/symlink.c struct inode *inode = dentry->d_inode; dentry 123 fs/ocfs2/symlink.c ret = vfs_readlink(dentry, buffer, buflen, link); dentry 136 fs/ocfs2/symlink.c struct inode *inode = dentry->d_inode; dentry 143 fs/ocfs2/symlink.c link = ocfs2_page_getlink(dentry, &page); dentry 576 fs/ocfs2/xattr.c struct ocfs2_inode_info *oi = OCFS2_I(dentry->d_inode); dentry 578 fs/ocfs2/xattr.c if (!ocfs2_supports_xattr(OCFS2_SB(dentry->d_sb))) dentry 584 fs/ocfs2/xattr.c ret = ocfs2_inode_lock(dentry->d_inode, &di_bh, 0); dentry 593 fs/ocfs2/xattr.c i_ret = ocfs2_xattr_ibody_list(dentry->d_inode, di, buffer, size); dentry 601 fs/ocfs2/xattr.c b_ret = ocfs2_xattr_block_list(dentry->d_inode, di, dentry 607 fs/ocfs2/xattr.c ocfs2_inode_unlock(dentry->d_inode, 0); dentry 116 fs/omfs/dir.c struct inode *dir = dentry->d_parent->d_inode; dentry 117 fs/omfs/dir.c const char *name = dentry->d_name.name; dentry 118 fs/omfs/dir.c int namelen = dentry->d_name.len; dentry 161 fs/omfs/dir.c struct inode *dir = dentry->d_parent->d_inode; dentry 163 fs/omfs/dir.c const char *name = dentry->d_name.name; dentry 164 fs/omfs/dir.c int namelen = dentry->d_name.len; dentry 246 fs/omfs/dir.c struct inode *inode = dentry->d_inode; dentry 248 fs/omfs/dir.c ret = omfs_delete_entry(dentry); dentry 262 fs/omfs/dir.c struct inode *inode = dentry->d_inode; dentry 265 fs/omfs/dir.c err = omfs_unlink(dir, dentry); dentry 284 fs/omfs/dir.c err = omfs_add_link(dentry, inode); dentry 288 fs/omfs/dir.c d_instantiate(dentry, inode); dentry 298 fs/omfs/dir.c return omfs_add_node(dir, dentry, mode | S_IFDIR); dentry 304 fs/omfs/dir.c return omfs_add_node(dir, dentry, mode | S_IFREG); dentry 307 fs/omfs/dir.c static struct dentry *omfs_lookup(struct inode *dir, struct dentry *dentry, dentry 313 fs/omfs/dir.c if (dentry->d_name.len > OMFS_NAMELEN) dentry 316 fs/omfs/dir.c bh = omfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len); dentry 325 fs/omfs/dir.c d_add(dentry, inode); dentry 17 fs/omfs/file.c struct inode *inode = dentry->d_inode; dentry 264 fs/omfs/inode.c struct super_block *s = dentry->d_sb; dentry 37 fs/open.c if (dentry) { dentry 39 fs/open.c if (dentry->d_sb->s_op->statfs) { dentry 41 fs/open.c retval = security_sb_statfs(dentry); dentry 44 fs/open.c retval = dentry->d_sb->s_op->statfs(dentry, buf); dentry 59 fs/open.c retval = vfs_statfs(dentry, &st); dentry 103 fs/open.c retval = vfs_statfs(dentry, &st); dentry 133 fs/open.c error = vfs_statfs_native(path.dentry, &tmp); dentry 152 fs/open.c error = vfs_statfs64(path.dentry, &tmp); dentry 171 fs/open.c error = vfs_statfs_native(file->f_path.dentry, &tmp); dentry 192 fs/open.c error = vfs_statfs64(file->f_path.dentry, &tmp); dentry 218 fs/open.c newattrs.ia_valid |= should_remove_suid(dentry); dentry 220 fs/open.c mutex_lock(&dentry->d_inode->i_mutex); dentry 221 fs/open.c err = notify_change(dentry, &newattrs); dentry 222 fs/open.c mutex_unlock(&dentry->d_inode->i_mutex); dentry 239 fs/open.c inode = path.dentry->d_inode; dentry 277 fs/open.c error = do_truncate(path.dentry, length, 0, NULL); dentry 299 fs/open.c struct dentry *dentry; dentry 315 fs/open.c dentry = file->f_path.dentry; dentry 316 fs/open.c inode = dentry->d_inode; dentry 332 fs/open.c error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, file); dentry 391 fs/open.c inode = file->f_path.dentry->d_inode; dentry 465 fs/open.c inode = path.dentry->d_inode; dentry 520 fs/open.c error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); dentry 543 fs/open.c inode = file->f_path.dentry->d_inode; dentry 567 fs/open.c error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); dentry 586 fs/open.c struct dentry * dentry; dentry 595 fs/open.c dentry = file->f_path.dentry; dentry 596 fs/open.c inode = dentry->d_inode; dentry 598 fs/open.c audit_inode(NULL, dentry); dentry 608 fs/open.c err = notify_change(dentry, &newattrs); dentry 628 fs/open.c inode = path.dentry->d_inode; dentry 638 fs/open.c error = notify_change(path.dentry, &newattrs); dentry 654 fs/open.c struct inode *inode = dentry->d_inode; dentry 671 fs/open.c error = notify_change(dentry, &newattrs); dentry 688 fs/open.c error = chown_common(path.dentry, user, group); dentry 713 fs/open.c error = chown_common(path.dentry, user, group); dentry 732 fs/open.c error = chown_common(path.dentry, user, group); dentry 745 fs/open.c struct dentry * dentry; dentry 754 fs/open.c dentry = file->f_path.dentry; dentry 755 fs/open.c audit_inode(NULL, dentry); dentry 756 fs/open.c error = chown_common(dentry, user, group); dentry 803 fs/open.c inode = dentry->d_inode; dentry 813 fs/open.c f->f_path.dentry = dentry; dentry 863 fs/open.c f->f_path.dentry = NULL; dentry 867 fs/open.c dput(dentry); dentry 896 fs/open.c if (IS_ERR(dentry)) dentry 898 fs/open.c nd->intent.open.file = __dentry_open(dget(dentry), mntget(nd->path.mnt), dentry 906 fs/open.c nd->intent.open.file = (struct file *)dentry; dentry 925 fs/open.c if (filp->f_path.dentry == NULL) dentry 926 fs/open.c filp = __dentry_open(nd->path.dentry, nd->path.mnt, flags, filp, dentry 957 fs/open.c dput(dentry); dentry 962 fs/open.c return __dentry_open(dentry, mnt, flags, f, NULL); dentry 1023 fs/open.c fsnotify_open(f->f_path.dentry); dentry 172 fs/openpromfs/inode.c static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 178 fs/openpromfs/inode.c static struct dentry *openpromfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 194 fs/openpromfs/inode.c name = dentry->d_name.name; dentry 195 fs/openpromfs/inode.c len = dentry->d_name.len; dentry 261 fs/openpromfs/inode.c d_add(dentry, inode); dentry 267 fs/openpromfs/inode.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 286 fs/pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 399 fs/pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 582 fs/pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 610 fs/pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 663 fs/pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 680 fs/pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 697 fs/pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 863 fs/pipe.c dentry->d_flags |= DCACHE_UNHASHED; dentry 872 fs/pipe.c return dynamic_dname(dentry, buffer, buflen, "pipe:[%lu]", dentry 873 fs/pipe.c dentry->d_inode->i_ino); dentry 923 fs/pipe.c struct dentry *dentry; dentry 932 fs/pipe.c dentry = d_alloc(pipe_mnt->mnt_sb->s_root, &name); dentry 933 fs/pipe.c if (!dentry) dentry 936 fs/pipe.c dentry->d_op = &pipefs_dentry_operations; dentry 942 fs/pipe.c dentry->d_flags &= ~DCACHE_UNHASHED; dentry 943 fs/pipe.c d_instantiate(dentry, inode); dentry 946 fs/pipe.c f = alloc_file(pipe_mnt, dentry, FMODE_WRITE, &write_pipefifo_fops); dentry 958 fs/pipe.c dput(dentry); dentry 984 fs/pipe.c f->f_mapping = wrf->f_path.dentry->d_inode->i_mapping; dentry 40 fs/pnode.c dentry = mnt->mnt_mountpoint; dentry 43 fs/pnode.c return mnt == root->mnt && is_subdir(dentry, root->dentry); dentry 549 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 696 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode; dentry 775 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); dentry 847 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); dentry 987 fs/proc/base.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); dentry 1020 fs/proc/base.c task = get_proc_task(file->f_path.dentry->d_inode); dentry 1044 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode; dentry 1060 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode; dentry 1109 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode; dentry 1205 fs/proc/base.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1320 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 1363 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 1446 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 1484 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 1500 fs/proc/base.c d_drop(dentry); dentry 1510 fs/proc/base.c return !proc_pid(dentry->d_inode)->tasks[PIDTYPE_PID].first; dentry 1521 fs/proc/base.c typedef struct dentry *instantiate_t(struct inode *, struct dentry *, dentry 1540 fs/proc/base.c struct dentry *child, *dir = filp->f_path.dentry; dentry 1552 fs/proc/base.c struct dentry *new; dentry 1580 fs/proc/base.c const char *name = dentry->d_name.name; dentry 1581 fs/proc/base.c int len = dentry->d_name.len; dentry 1648 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 1677 fs/proc/base.c d_drop(dentry); dentry 1687 fs/proc/base.c static struct dentry *proc_fd_instantiate(struct inode *dir, dentry 1695 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); dentry 1725 fs/proc/base.c dentry->d_op = &tid_fd_dentry_operations; dentry 1726 fs/proc/base.c d_add(dentry, inode); dentry 1728 fs/proc/base.c if (tid_fd_revalidate(dentry, NULL)) dentry 1741 fs/proc/base.c static struct dentry *proc_lookupfd_common(struct inode *dir, dentry 1746 fs/proc/base.c unsigned fd = name_to_int(dentry); dentry 1747 fs/proc/base.c struct dentry *result = ERR_PTR(-ENOENT); dentry 1754 fs/proc/base.c result = instantiate(dir, dentry, task, &fd); dentry 1764 fs/proc/base.c struct dentry *dentry = filp->f_path.dentry; dentry 1765 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 1783 fs/proc/base.c ino = parent_ino(dentry); dentry 1820 fs/proc/base.c static struct dentry *proc_lookupfd(struct inode *dir, struct dentry *dentry, dentry 1823 fs/proc/base.c return proc_lookupfd_common(dir, dentry, proc_fd_instantiate); dentry 1835 fs/proc/base.c int err = proc_fd_info(file->f_path.dentry->d_inode, NULL, tmp); dentry 1876 fs/proc/base.c static struct dentry *proc_fdinfo_instantiate(struct inode *dir, dentry 1882 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); dentry 1891 fs/proc/base.c dentry->d_op = &tid_fd_dentry_operations; dentry 1892 fs/proc/base.c d_add(dentry, inode); dentry 1894 fs/proc/base.c if (tid_fd_revalidate(dentry, NULL)) dentry 1901 fs/proc/base.c static struct dentry *proc_lookupfdinfo(struct inode *dir, dentry 1905 fs/proc/base.c return proc_lookupfd_common(dir, dentry, proc_fdinfo_instantiate); dentry 1928 fs/proc/base.c static struct dentry *proc_pident_instantiate(struct inode *dir, dentry 1934 fs/proc/base.c struct dentry *error = ERR_PTR(-EINVAL); dentry 1949 fs/proc/base.c dentry->d_op = &pid_dentry_operations; dentry 1950 fs/proc/base.c d_add(dentry, inode); dentry 1952 fs/proc/base.c if (pid_revalidate(dentry, NULL)) dentry 1958 fs/proc/base.c static struct dentry *proc_pident_lookup(struct inode *dir, dentry 1964 fs/proc/base.c struct dentry *error; dentry 1980 fs/proc/base.c if (p->len != dentry->d_name.len) dentry 1982 fs/proc/base.c if (!memcmp(dentry->d_name.name, p->name, p->len)) dentry 1988 fs/proc/base.c error = proc_pident_instantiate(dir, dentry, task, p); dentry 2007 fs/proc/base.c struct dentry *dentry = filp->f_path.dentry; dentry 2008 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 2029 fs/proc/base.c ino = parent_ino(dentry); dentry 2062 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode; dentry 2071 fs/proc/base.c (char*)file->f_path.dentry->d_name.name, dentry 2083 fs/proc/base.c struct inode * inode = file->f_path.dentry->d_inode; dentry 2109 fs/proc/base.c (char*)file->f_path.dentry->d_name.name, dentry 2145 fs/proc/base.c static struct dentry *proc_attr_dir_lookup(struct inode *dir, dentry 2148 fs/proc/base.c return proc_pident_lookup(dir, dentry, dentry 2251 fs/proc/base.c struct pid_namespace *ns = dentry->d_sb->s_fs_info; dentry 2257 fs/proc/base.c return vfs_readlink(dentry,buffer,buflen,tmp); dentry 2262 fs/proc/base.c struct pid_namespace *ns = dentry->d_sb->s_fs_info; dentry 2295 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 2301 fs/proc/base.c d_drop(dentry); dentry 2311 fs/proc/base.c static struct dentry *proc_base_instantiate(struct inode *dir, dentry 2317 fs/proc/base.c struct dentry *error = ERR_PTR(-EINVAL); dentry 2348 fs/proc/base.c dentry->d_op = &proc_base_dentry_operations; dentry 2349 fs/proc/base.c d_add(dentry, inode); dentry 2358 fs/proc/base.c static struct dentry *proc_base_lookup(struct inode *dir, struct dentry *dentry) dentry 2360 fs/proc/base.c struct dentry *error; dentry 2372 fs/proc/base.c if (p->len != dentry->d_name.len) dentry 2374 fs/proc/base.c if (!memcmp(dentry->d_name.name, p->name, p->len)) dentry 2380 fs/proc/base.c error = proc_base_instantiate(dir, dentry, task, p); dentry 2535 fs/proc/base.c static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd){ dentry 2536 fs/proc/base.c return proc_pident_lookup(dir, dentry, dentry 2548 fs/proc/base.c struct dentry *dentry, *leader, *dir; dentry 2554 fs/proc/base.c dentry = d_hash_and_lookup(mnt->mnt_root, &name); dentry 2555 fs/proc/base.c if (dentry) { dentry 2557 fs/proc/base.c shrink_dcache_parent(dentry); dentry 2558 fs/proc/base.c d_drop(dentry); dentry 2559 fs/proc/base.c dput(dentry); dentry 2579 fs/proc/base.c dentry = d_hash_and_lookup(dir, &name); dentry 2580 fs/proc/base.c if (dentry) { dentry 2581 fs/proc/base.c shrink_dcache_parent(dentry); dentry 2582 fs/proc/base.c d_drop(dentry); dentry 2583 fs/proc/base.c dput(dentry); dentry 2639 fs/proc/base.c static struct dentry *proc_pid_instantiate(struct inode *dir, dentry 2643 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); dentry 2658 fs/proc/base.c dentry->d_op = &pid_dentry_operations; dentry 2660 fs/proc/base.c d_add(dentry, inode); dentry 2662 fs/proc/base.c if (pid_revalidate(dentry, NULL)) dentry 2668 fs/proc/base.c struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd) dentry 2670 fs/proc/base.c struct dentry *result = ERR_PTR(-ENOENT); dentry 2675 fs/proc/base.c result = proc_base_lookup(dir, dentry); dentry 2679 fs/proc/base.c tgid = name_to_int(dentry); dentry 2683 fs/proc/base.c ns = dentry->d_sb->s_fs_info; dentry 2692 fs/proc/base.c result = proc_pid_instantiate(dir, dentry, task, NULL); dentry 2756 fs/proc/base.c struct task_struct *reaper = get_proc_task(filp->f_path.dentry->d_inode); dentry 2862 fs/proc/base.c static struct dentry *proc_tid_base_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd){ dentry 2863 fs/proc/base.c return proc_pident_lookup(dir, dentry, dentry 2878 fs/proc/base.c static struct dentry *proc_task_instantiate(struct inode *dir, dentry 2881 fs/proc/base.c struct dentry *error = ERR_PTR(-ENOENT); dentry 2895 fs/proc/base.c dentry->d_op = &pid_dentry_operations; dentry 2897 fs/proc/base.c d_add(dentry, inode); dentry 2899 fs/proc/base.c if (pid_revalidate(dentry, NULL)) dentry 2905 fs/proc/base.c static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *nd) dentry 2907 fs/proc/base.c struct dentry *result = ERR_PTR(-ENOENT); dentry 2916 fs/proc/base.c tid = name_to_int(dentry); dentry 2920 fs/proc/base.c ns = dentry->d_sb->s_fs_info; dentry 2931 fs/proc/base.c result = proc_task_instantiate(dir, dentry, task, NULL); dentry 3021 fs/proc/base.c struct dentry *dentry = filp->f_path.dentry; dentry 3022 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 3053 fs/proc/base.c ino = parent_ino(dentry); dentry 3087 fs/proc/base.c struct inode *inode = dentry->d_inode; dentry 44 fs/proc/generic.c struct inode * inode = file->f_path.dentry->d_inode; dentry 190 fs/proc/generic.c struct inode *inode = file->f_path.dentry->d_inode; dentry 227 fs/proc/generic.c struct inode *inode = dentry->d_inode; dentry 249 fs/proc/generic.c struct inode *inode = dentry->d_inode; dentry 347 fs/proc/generic.c nd_set_link(nd, PDE(dentry->d_inode)->data); dentry 376 fs/proc/generic.c struct dentry *proc_lookup_de(struct proc_dir_entry *de, struct inode *dir, dentry 385 fs/proc/generic.c if (de->namelen != dentry->d_name.len) dentry 387 fs/proc/generic.c if (!memcmp(dentry->d_name.name, de->name, de->namelen)) { dentry 403 fs/proc/generic.c dentry->d_op = &proc_dentry_operations; dentry 404 fs/proc/generic.c d_add(dentry, inode); dentry 412 fs/proc/generic.c struct dentry *proc_lookup(struct inode *dir, struct dentry *dentry, dentry 415 fs/proc/generic.c return proc_lookup_de(PDE(dir), dir, dentry); dentry 432 fs/proc/generic.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 448 fs/proc/generic.c parent_ino(filp->f_path.dentry), dentry 496 fs/proc/generic.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 143 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 178 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 200 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 222 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 244 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 265 fs/proc/inode.c rv = ioctl(file->f_path.dentry->d_inode, file, cmd, arg); dentry 276 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 299 fs/proc/inode.c struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 86 fs/proc/internal.h struct dentry *proc_lookup_de(struct proc_dir_entry *de, struct inode *ino, dentry 49 fs/proc/nommu.c struct inode *inode = vma->vm_file->f_path.dentry->d_inode; dentry 121 fs/proc/proc_net.c static struct dentry *proc_tgid_net_lookup(struct inode *dir, dentry 124 fs/proc/proc_net.c struct dentry *de; dentry 130 fs/proc/proc_net.c de = proc_lookup_de(net->proc_net, dir, dentry); dentry 139 fs/proc/proc_net.c struct inode *inode = dentry->d_inode; dentry 166 fs/proc/proc_net.c net = get_proc_task_net(filp->f_path.dentry->d_inode); dentry 77 fs/proc/proc_sysctl.c static struct dentry *proc_sys_lookup(struct inode *dir, struct dentry *dentry, dentry 83 fs/proc/proc_sysctl.c struct qstr *name = &dentry->d_name; dentry 86 fs/proc/proc_sysctl.c struct dentry *err = ERR_PTR(-ENOENT); dentry 121 fs/proc/proc_sysctl.c dentry->d_op = &proc_sys_dentry_operations; dentry 122 fs/proc/proc_sysctl.c d_add(dentry, inode); dentry 132 fs/proc/proc_sysctl.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 183 fs/proc/proc_sysctl.c struct dentry *child, *dir = filp->f_path.dentry; dentry 242 fs/proc/proc_sysctl.c struct dentry *dentry = filp->f_path.dentry; dentry 243 fs/proc/proc_sysctl.c struct inode *inode = dentry->d_inode; dentry 270 fs/proc/proc_sysctl.c parent_ino(dentry), DT_DIR) < 0) dentry 319 fs/proc/proc_sysctl.c struct inode *inode = dentry->d_inode; dentry 334 fs/proc/proc_sysctl.c struct inode *inode = dentry->d_inode; dentry 373 fs/proc/proc_sysctl.c return !PROC_I(dentry->d_inode)->sysctl->unregistering; dentry 378 fs/proc/proc_sysctl.c return !!PROC_I(dentry->d_inode)->sysctl->unregistering; dentry 384 fs/proc/proc_sysctl.c struct dentry *dentry = container_of(qstr, struct dentry, d_name); dentry 389 fs/proc/proc_sysctl.c return !sysctl_is_seen(PROC_I(dentry->d_inode)->sysctl); dentry 145 fs/proc/root.c generic_fillattr(dentry->d_inode, stat); dentry 150 fs/proc/root.c static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd) dentry 152 fs/proc/root.c if (!proc_lookup(dir, dentry, nd)) { dentry 156 fs/proc/root.c return proc_pid_lookup(dir, dentry, nd); dentry 214 fs/proc/task_mmu.c struct inode *inode = vma->vm_file->f_path.dentry->d_inode; dentry 471 fs/proc/task_mmu.c task = get_proc_task(file->f_path.dentry->d_inode); dentry 629 fs/proc/task_mmu.c struct task_struct *task = get_proc_task(file->f_path.dentry->d_inode); dentry 25 fs/qnx4/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 152 fs/qnx4/fsync.c struct inode *inode = dentry->d_inode; dentry 284 fs/qnx4/inode.c struct super_block *sb = dentry->d_sb; dentry 109 fs/qnx4/namei.c struct dentry * qnx4_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) dentry 115 fs/qnx4/namei.c const char *name = dentry->d_name.name; dentry 116 fs/qnx4/namei.c int len = dentry->d_name.len; dentry 140 fs/qnx4/namei.c d_add(dentry, foundinode); dentry 164 fs/qnx4/namei.c QNX4DEBUG(("qnx4: qnx4_rmdir [%s]\n", dentry->d_name.name)); dentry 166 fs/qnx4/namei.c bh = qnx4_find_entry(dentry->d_name.len, dir, dentry->d_name.name, dentry 172 fs/qnx4/namei.c inode = dentry->d_inode; dentry 212 fs/qnx4/namei.c QNX4DEBUG(("qnx4: qnx4_unlink [%s]\n", dentry->d_name.name)); dentry 214 fs/qnx4/namei.c bh = qnx4_find_entry(dentry->d_name.len, dir, dentry->d_name.name, dentry 220 fs/qnx4/namei.c inode = dentry->d_inode; dentry 195 fs/ramfs/file-nommu.c struct inode *inode = dentry->d_inode; dentry 242 fs/ramfs/file-nommu.c struct inode *inode = file->f_path.dentry->d_inode; dentry 104 fs/ramfs/inode.c d_instantiate(dentry, inode); dentry 105 fs/ramfs/inode.c dget(dentry); /* Extra count - pin the dentry in core */ dentry 114 fs/ramfs/inode.c int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0); dentry 122 fs/ramfs/inode.c return ramfs_mknod(dir, dentry, mode | S_IFREG, 0); dentry 137 fs/ramfs/inode.c d_instantiate(dentry, inode); dentry 138 fs/ramfs/inode.c dget(dentry); dentry 166 fs/ramfs/inode.c struct dentry * root; dentry 83 fs/read_write.c offset += i_size_read(file->f_path.dentry->d_inode); dentry 186 fs/read_write.c inode = file->f_path.dentry->d_inode; dentry 261 fs/read_write.c fsnotify_access(file->f_path.dentry); dentry 316 fs/read_write.c fsnotify_modify(file->f_path.dentry); dentry 607 fs/read_write.c fsnotify_access(file->f_path.dentry); dentry 609 fs/read_write.c fsnotify_modify(file->f_path.dentry); dentry 701 fs/read_write.c in_inode = in_file->f_path.dentry->d_inode; dentry 729 fs/read_write.c out_inode = out_file->f_path.dentry->d_inode; dentry 24 fs/readdir.c struct inode *inode = file->f_path.dentry->d_inode; dentry 32 fs/reiserfs/dir.c struct inode *inode = dentry->d_inode; dentry 47 fs/reiserfs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 147 fs/reiserfs/dir.c filp->f_path.dentry == inode->i_sb->s_root && dentry 117 fs/reiserfs/file.c inode = file->f_path.dentry->d_inode; dentry 259 fs/reiserfs/file.c struct inode *inode = file->f_path.dentry->d_inode; // Inode of the file that we are writing to. dentry 1520 fs/reiserfs/inode.c static struct dentry *reiserfs_get_dentry(struct super_block *sb, dentry 1525 fs/reiserfs/inode.c struct dentry *result; dentry 1550 fs/reiserfs/inode.c struct dentry *reiserfs_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 1577 fs/reiserfs/inode.c struct dentry *reiserfs_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 1592 fs/reiserfs/inode.c struct inode *inode = dentry->d_inode; dentry 1606 fs/reiserfs/inode.c spin_lock(&dentry->d_lock); dentry 1607 fs/reiserfs/inode.c inode = dentry->d_parent->d_inode; dentry 1615 fs/reiserfs/inode.c spin_unlock(&dentry->d_lock); dentry 1927 fs/reiserfs/inode.c retval = reiserfs_inherit_default_acl(dir, dentry, inode); dentry 3056 fs/reiserfs/inode.c struct inode *inode = dentry->d_inode; dentry 121 fs/reiserfs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 326 fs/reiserfs/namei.c static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry, dentry 334 fs/reiserfs/namei.c if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len) dentry 340 fs/reiserfs/namei.c reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, dentry 373 fs/reiserfs/namei.c return d_splice_alias(inode, dentry); dentry 380 fs/reiserfs/namei.c struct dentry *reiserfs_get_parent(struct dentry *child) dentry 386 fs/reiserfs/namei.c struct dentry *parent; dentry 634 fs/reiserfs/namei.c reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, dentry 649 fs/reiserfs/namei.c reiserfs_add_entry(&th, dir, dentry->d_name.name, dentry 650 fs/reiserfs/namei.c dentry->d_name.len, inode, 1 /*visible */ ); dentry 664 fs/reiserfs/namei.c d_instantiate(dentry, inode); dentry 709 fs/reiserfs/namei.c reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, dentry 730 fs/reiserfs/namei.c reiserfs_add_entry(&th, dir, dentry->d_name.name, dentry 731 fs/reiserfs/namei.c dentry->d_name.len, inode, 1 /*visible */ ); dentry 743 fs/reiserfs/namei.c d_instantiate(dentry, inode); dentry 795 fs/reiserfs/namei.c dentry, inode); dentry 814 fs/reiserfs/namei.c reiserfs_add_entry(&th, dir, dentry->d_name.name, dentry 815 fs/reiserfs/namei.c dentry->d_name.len, inode, 1 /*visible */ ); dentry 830 fs/reiserfs/namei.c d_instantiate(dentry, inode); dentry 877 fs/reiserfs/namei.c reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, dentry 886 fs/reiserfs/namei.c inode = dentry->d_inode; dentry 949 fs/reiserfs/namei.c inode = dentry->d_inode; dentry 966 fs/reiserfs/namei.c reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, dentry 1083 fs/reiserfs/namei.c dentry, inode); dentry 1099 fs/reiserfs/namei.c retval = reiserfs_add_entry(&th, parent_dir, dentry->d_name.name, dentry 1100 fs/reiserfs/namei.c dentry->d_name.len, inode, 1 /*visible */ ); dentry 1112 fs/reiserfs/namei.c d_instantiate(dentry, inode); dentry 1153 fs/reiserfs/namei.c reiserfs_add_entry(&th, dir, dentry->d_name.name, dentry 1154 fs/reiserfs/namei.c dentry->d_name.len, inode, 1 /*visible */ ); dentry 1171 fs/reiserfs/namei.c d_instantiate(dentry, inode); dentry 297 fs/reiserfs/procfs.c loff_t size = sb_info->oidmap.mapf->f_path.dentry->d_inode->i_size; dentry 1884 fs/reiserfs/super.c struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(dentry->d_sb); dentry 1890 fs/reiserfs/super.c buf->f_bsize = dentry->d_sb->s_blocksize; dentry 2081 fs/reiserfs/super.c inode = nd.path.dentry->d_inode; dentry 2097 fs/reiserfs/super.c if (nd.path.dentry->d_parent->d_inode != sb->s_root->d_inode) dentry 61 fs/reiserfs/xattr.c static struct dentry *get_xa_root(struct super_block *sb, int flags) dentry 63 fs/reiserfs/xattr.c struct dentry *privroot = dget(REISERFS_SB(sb)->priv_root); dentry 64 fs/reiserfs/xattr.c struct dentry *xaroot; dentry 101 fs/reiserfs/xattr.c static struct dentry *open_xa_dir(const struct inode *inode, int flags) dentry 103 fs/reiserfs/xattr.c struct dentry *xaroot, *xadir; dentry 149 fs/reiserfs/xattr.c static struct dentry *get_xa_file_dentry(const struct inode *inode, dentry 152 fs/reiserfs/xattr.c struct dentry *xadir, *xafile; dentry 419 fs/reiserfs/xattr.c struct dentry *dentry; dentry 437 fs/reiserfs/xattr.c dentry = get_xa_file_dentry(inode, name, flags); dentry 438 fs/reiserfs/xattr.c if (IS_ERR(dentry)) { dentry 439 fs/reiserfs/xattr.c err = PTR_ERR(dentry); dentry 443 fs/reiserfs/xattr.c xinode = dentry->d_inode; dentry 448 fs/reiserfs/xattr.c dput(dentry); dentry 462 fs/reiserfs/xattr.c err = notify_change(dentry, &newattrs); dentry 524 fs/reiserfs/xattr.c dput(dentry); dentry 538 fs/reiserfs/xattr.c struct dentry *dentry; dentry 554 fs/reiserfs/xattr.c dentry = get_xa_file_dentry(inode, name, FL_READONLY); dentry 555 fs/reiserfs/xattr.c if (IS_ERR(dentry)) { dentry 556 fs/reiserfs/xattr.c err = PTR_ERR(dentry); dentry 560 fs/reiserfs/xattr.c xinode = dentry->d_inode; dentry 628 fs/reiserfs/xattr.c dput(dentry); dentry 637 fs/reiserfs/xattr.c struct dentry *dentry; dentry 641 fs/reiserfs/xattr.c dentry = lookup_one_len(name, xadir, namelen); dentry 642 fs/reiserfs/xattr.c if (IS_ERR(dentry)) { dentry 643 fs/reiserfs/xattr.c err = PTR_ERR(dentry); dentry 645 fs/reiserfs/xattr.c } else if (!dentry->d_inode) { dentry 651 fs/reiserfs/xattr.c if (S_ISDIR(dentry->d_inode->i_mode)) dentry 654 fs/reiserfs/xattr.c if (!is_reiserfs_priv_object(dentry->d_inode)) { dentry 657 fs/reiserfs/xattr.c le32_to_cpu(INODE_PKEY(dentry->d_inode)-> dentry 663 fs/reiserfs/xattr.c dput(dentry); dentry 667 fs/reiserfs/xattr.c err = dir->i_op->unlink(dir, dentry); dentry 669 fs/reiserfs/xattr.c d_delete(dentry); dentry 672 fs/reiserfs/xattr.c dput(dentry); dentry 680 fs/reiserfs/xattr.c struct dentry *dir; dentry 709 fs/reiserfs/xattr.c struct dentry *xadir = (struct dentry *)buf; dentry 718 fs/reiserfs/xattr.c struct dentry *dir, *root; dentry 770 fs/reiserfs/xattr.c struct dentry *xadir; dentry 780 fs/reiserfs/xattr.c struct dentry *xafile, *xadir = chown_buf->xadir; dentry 801 fs/reiserfs/xattr.c struct dentry *dir; dentry 861 fs/reiserfs/xattr.c if (!xah || !reiserfs_xattrs(dentry->d_sb) || dentry 862 fs/reiserfs/xattr.c get_inode_sd_version(dentry->d_inode) == STAT_DATA_V1) dentry 865 fs/reiserfs/xattr.c reiserfs_read_lock_xattr_i(dentry->d_inode); dentry 866 fs/reiserfs/xattr.c reiserfs_read_lock_xattrs(dentry->d_sb); dentry 867 fs/reiserfs/xattr.c err = xah->get(dentry->d_inode, name, buffer, size); dentry 868 fs/reiserfs/xattr.c reiserfs_read_unlock_xattrs(dentry->d_sb); dentry 869 fs/reiserfs/xattr.c reiserfs_read_unlock_xattr_i(dentry->d_inode); dentry 886 fs/reiserfs/xattr.c if (!xah || !reiserfs_xattrs(dentry->d_sb) || dentry 887 fs/reiserfs/xattr.c get_inode_sd_version(dentry->d_inode) == STAT_DATA_V1) dentry 890 fs/reiserfs/xattr.c reiserfs_write_lock_xattr_i(dentry->d_inode); dentry 891 fs/reiserfs/xattr.c lock = !has_xattr_dir(dentry->d_inode); dentry 893 fs/reiserfs/xattr.c reiserfs_write_lock_xattrs(dentry->d_sb); dentry 895 fs/reiserfs/xattr.c reiserfs_read_lock_xattrs(dentry->d_sb); dentry 896 fs/reiserfs/xattr.c err = xah->set(dentry->d_inode, name, value, size, flags); dentry 898 fs/reiserfs/xattr.c reiserfs_write_unlock_xattrs(dentry->d_sb); dentry 900 fs/reiserfs/xattr.c reiserfs_read_unlock_xattrs(dentry->d_sb); dentry 901 fs/reiserfs/xattr.c reiserfs_write_unlock_xattr_i(dentry->d_inode); dentry 915 fs/reiserfs/xattr.c if (!xah || !reiserfs_xattrs(dentry->d_sb) || dentry 916 fs/reiserfs/xattr.c get_inode_sd_version(dentry->d_inode) == STAT_DATA_V1) dentry 919 fs/reiserfs/xattr.c reiserfs_write_lock_xattr_i(dentry->d_inode); dentry 920 fs/reiserfs/xattr.c reiserfs_read_lock_xattrs(dentry->d_sb); dentry 924 fs/reiserfs/xattr.c err = xah->del(dentry->d_inode, name); dentry 929 fs/reiserfs/xattr.c err = reiserfs_xattr_del(dentry->d_inode, name); dentry 931 fs/reiserfs/xattr.c dentry->d_inode->i_ctime = CURRENT_TIME_SEC; dentry 932 fs/reiserfs/xattr.c mark_inode_dirty(dentry->d_inode); dentry 935 fs/reiserfs/xattr.c reiserfs_read_unlock_xattrs(dentry->d_sb); dentry 936 fs/reiserfs/xattr.c reiserfs_write_unlock_xattr_i(dentry->d_inode); dentry 989 fs/reiserfs/xattr.c struct dentry *dir; dentry 993 fs/reiserfs/xattr.c if (!dentry->d_inode) dentry 996 fs/reiserfs/xattr.c if (!reiserfs_xattrs(dentry->d_sb) || dentry 997 fs/reiserfs/xattr.c get_inode_sd_version(dentry->d_inode) == STAT_DATA_V1) dentry 1000 fs/reiserfs/xattr.c reiserfs_read_lock_xattr_i(dentry->d_inode); dentry 1001 fs/reiserfs/xattr.c reiserfs_read_lock_xattrs(dentry->d_sb); dentry 1002 fs/reiserfs/xattr.c dir = open_xa_dir(dentry->d_inode, FL_READONLY); dentry 1003 fs/reiserfs/xattr.c reiserfs_read_unlock_xattrs(dentry->d_sb); dentry 1014 fs/reiserfs/xattr.c buf.r_inode = dentry->d_inode; dentry 1016 fs/reiserfs/xattr.c REISERFS_I(dentry->d_inode)->i_flags |= i_has_xattr_dir; dentry 1031 fs/reiserfs/xattr.c reiserfs_read_unlock_xattr_i(dentry->d_inode); dentry 1128 fs/reiserfs/xattr.c struct dentry *priv_root = REISERFS_SB(dentry->d_sb)->priv_root; dentry 1169 fs/reiserfs/xattr.c struct dentry *dentry; dentry 1170 fs/reiserfs/xattr.c dentry = lookup_one_len(PRIVROOT_NAME, s->s_root, dentry 1172 fs/reiserfs/xattr.c if (!IS_ERR(dentry)) { dentry 1173 fs/reiserfs/xattr.c if (!(mount_flags & MS_RDONLY) && !dentry->d_inode) { dentry 1174 fs/reiserfs/xattr.c struct inode *inode = dentry->d_parent->d_inode; dentry 1177 fs/reiserfs/xattr.c err = inode->i_op->mkdir(inode, dentry, 0700); dentry 1180 fs/reiserfs/xattr.c dput(dentry); dentry 1181 fs/reiserfs/xattr.c dentry = NULL; dentry 1184 fs/reiserfs/xattr.c if (dentry && dentry->d_inode) dentry 1191 fs/reiserfs/xattr.c } else if (!dentry->d_inode) { dentry 1192 fs/reiserfs/xattr.c dput(dentry); dentry 1193 fs/reiserfs/xattr.c dentry = NULL; dentry 1196 fs/reiserfs/xattr.c err = PTR_ERR(dentry); dentry 1198 fs/reiserfs/xattr.c if (!err && dentry) { dentry 1200 fs/reiserfs/xattr.c reiserfs_mark_inode_private(dentry->d_inode); dentry 1201 fs/reiserfs/xattr.c REISERFS_SB(s)->priv_root = dentry; dentry 192 fs/romfs/inode.c buf->f_blocks = (romfs_maxsize(dentry->d_sb)+ROMBSIZE-1)>>ROMBSBITS; dentry 284 fs/romfs/inode.c struct inode *i = filp->f_path.dentry->d_inode; dentry 339 fs/romfs/inode.c static struct dentry * dentry 363 fs/romfs/inode.c name = dentry->d_name.name; dentry 364 fs/romfs/inode.c len = dentry->d_name.len; dentry 405 fs/romfs/inode.c d_add(dentry, inode); dentry 439 fs/seq_file.c char *p = dentry_path(dentry, s, m->size - m->count); dentry 63 fs/smbfs/cache.c struct dentry *dentry; dentry 68 fs/smbfs/cache.c dentry = list_entry(next, struct dentry, d_u.d_child); dentry 69 fs/smbfs/cache.c dentry->d_fsdata = NULL; dentry 70 fs/smbfs/cache.c smb_age_dentry(server, dentry); dentry 80 fs/smbfs/cache.c struct dentry * dentry 83 fs/smbfs/cache.c struct dentry *dent = dentry; dentry 102 fs/smbfs/cache.c dent = list_entry(next, struct dentry, d_u.d_child); dentry 127 fs/smbfs/cache.c struct dentry *newdent, *dentry = filp->f_path.dentry; dentry 128 fs/smbfs/cache.c struct inode *newino, *inode = dentry->d_inode; dentry 136 fs/smbfs/cache.c if (dentry->d_op && dentry->d_op->d_hash) dentry 137 fs/smbfs/cache.c if (dentry->d_op->d_hash(dentry, qname) != 0) dentry 140 fs/smbfs/cache.c newdent = d_lookup(dentry, qname); dentry 143 fs/smbfs/cache.c newdent = d_alloc(dentry, qname); dentry 186 fs/smbfs/cache.c ctl.cache->dentry[ctl.idx] = newdent; dentry 196 fs/smbfs/cache.c ino = find_inode_number(dentry, qname); dentry 28 fs/smbfs/dir.c static struct dentry *smb_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 82 fs/smbfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 83 fs/smbfs/dir.c struct inode *dir = dentry->d_inode; dentry 84 fs/smbfs/dir.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 94 fs/smbfs/dir.c DENTRY_PATH(dentry), (int) filp->f_pos); dentry 107 fs/smbfs/dir.c if (filldir(dirent, "..", 2, 1, parent_ino(dentry), DT_DIR) < 0) dentry 115 fs/smbfs/dir.c result = smb_revalidate_inode(dentry); dentry 129 fs/smbfs/dir.c DENTRY_PATH(dentry), PageUptodate(page),ctl.head.eof); dentry 165 fs/smbfs/dir.c struct dentry *dent; dentry 168 fs/smbfs/dir.c dent = smb_dget_fpos(ctl.cache->dentry[ctl.idx], dentry 169 fs/smbfs/dir.c dentry, filp->f_pos); dentry 203 fs/smbfs/dir.c smb_invalidate_dircache_entries(dentry); dentry 242 fs/smbfs/dir.c struct dentry *dentry = file->f_path.dentry; dentry 246 fs/smbfs/dir.c VERBOSE("(%s/%s)\n", dentry->d_parent->d_name.name, dentry 247 fs/smbfs/dir.c file->f_path.dentry->d_name.name); dentry 254 fs/smbfs/dir.c server = server_from_dentry(dentry); dentry 266 fs/smbfs/dir.c if (server->state == CONN_VALID || !IS_ROOT(dentry)) dentry 267 fs/smbfs/dir.c error = smb_revalidate_inode(dentry); dentry 301 fs/smbfs/dir.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 302 fs/smbfs/dir.c struct inode * inode = dentry->d_inode; dentry 303 fs/smbfs/dir.c unsigned long age = jiffies - dentry->d_time; dentry 315 fs/smbfs/dir.c DENTRY_PATH(dentry), age); dentry 321 fs/smbfs/dir.c PARANOIA("%s/%s has dud inode\n", DENTRY_PATH(dentry)); dentry 324 fs/smbfs/dir.c valid = (smb_revalidate_inode(dentry) == 0); dentry 371 fs/smbfs/dir.c if (dentry->d_inode) { dentry 372 fs/smbfs/dir.c if (is_bad_inode(dentry->d_inode)) { dentry 374 fs/smbfs/dir.c DENTRY_PATH(dentry)); dentry 389 fs/smbfs/dir.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 392 fs/smbfs/dir.c dentry->d_op = &smbfs_dentry_operations_case; dentry 394 fs/smbfs/dir.c dentry->d_op = &smbfs_dentry_operations; dentry 395 fs/smbfs/dir.c dentry->d_time = jiffies; dentry 407 fs/smbfs/dir.c dget(dentry); dentry 408 fs/smbfs/dir.c spin_lock(&dentry->d_lock); dentry 410 fs/smbfs/dir.c struct dentry *parent; dentry 412 fs/smbfs/dir.c dentry->d_time = jiffies; dentry 413 fs/smbfs/dir.c if (IS_ROOT(dentry)) dentry 415 fs/smbfs/dir.c parent = dentry->d_parent; dentry 417 fs/smbfs/dir.c spin_unlock(&dentry->d_lock); dentry 418 fs/smbfs/dir.c dput(dentry); dentry 419 fs/smbfs/dir.c dentry = parent; dentry 420 fs/smbfs/dir.c spin_lock(&dentry->d_lock); dentry 422 fs/smbfs/dir.c spin_unlock(&dentry->d_lock); dentry 423 fs/smbfs/dir.c dput(dentry); dentry 426 fs/smbfs/dir.c static struct dentry * dentry 435 fs/smbfs/dir.c if (dentry->d_name.len > SMB_MAXNAMELEN) dentry 440 fs/smbfs/dir.c if (memchr(dentry->d_name.name, '\\', dentry->d_name.len)) dentry 444 fs/smbfs/dir.c error = smb_proc_getattr(dentry, &finfo); dentry 448 fs/smbfs/dir.c DENTRY_PATH(dentry), error); dentry 456 fs/smbfs/dir.c finfo.f_ino = iunique(dentry->d_sb, 2); dentry 460 fs/smbfs/dir.c server = server_from_dentry(dentry); dentry 462 fs/smbfs/dir.c dentry->d_op = &smbfs_dentry_operations_case; dentry 464 fs/smbfs/dir.c dentry->d_op = &smbfs_dentry_operations; dentry 466 fs/smbfs/dir.c d_add(dentry, inode); dentry 467 fs/smbfs/dir.c smb_renew_times(dentry); dentry 482 fs/smbfs/dir.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 487 fs/smbfs/dir.c VERBOSE("file %s/%s, fileid=%u\n", DENTRY_PATH(dentry), fileid); dentry 489 fs/smbfs/dir.c error = smb_proc_getattr(dentry, &fattr); dentry 493 fs/smbfs/dir.c smb_renew_times(dentry); dentry 494 fs/smbfs/dir.c fattr.f_ino = iunique(dentry->d_sb, 2); dentry 495 fs/smbfs/dir.c inode = smb_iget(dentry->d_sb, &fattr); dentry 505 fs/smbfs/dir.c d_instantiate(dentry, inode); dentry 514 fs/smbfs/dir.c DENTRY_PATH(dentry), error, fileid); dentry 515 fs/smbfs/dir.c smb_close_fileid(dentry, fileid); dentry 525 fs/smbfs/dir.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 530 fs/smbfs/dir.c VERBOSE("creating %s/%s, mode=%d\n", DENTRY_PATH(dentry), mode); dentry 534 fs/smbfs/dir.c error = smb_proc_create(dentry, 0, get_seconds(), &fileid); dentry 540 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, 0, 0); dentry 542 fs/smbfs/dir.c error = smb_instantiate(dentry, fileid, 1); dentry 545 fs/smbfs/dir.c DENTRY_PATH(dentry), error); dentry 555 fs/smbfs/dir.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 561 fs/smbfs/dir.c error = smb_proc_mkdir(dentry); dentry 567 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, 0, 0); dentry 569 fs/smbfs/dir.c error = smb_instantiate(dentry, 0, 0); dentry 578 fs/smbfs/dir.c struct inode *inode = dentry->d_inode; dentry 591 fs/smbfs/dir.c if (!d_unhashed(dentry)) dentry 595 fs/smbfs/dir.c error = smb_proc_rmdir(dentry); dentry 611 fs/smbfs/dir.c smb_close(dentry->d_inode); dentry 614 fs/smbfs/dir.c error = smb_proc_unlink(dentry); dentry 616 fs/smbfs/dir.c smb_renew_times(dentry); dentry 677 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, MAJOR(dev), MINOR(dev)); dentry 679 fs/smbfs/dir.c error = smb_instantiate(dentry, 0, 0); dentry 694 fs/smbfs/dir.c DENTRY_PATH(dentry), DENTRY_PATH(new_dentry)); dentry 696 fs/smbfs/dir.c error = smb_proc_link(server_from_dentry(dentry), dentry, new_dentry); dentry 698 fs/smbfs/dir.c smb_renew_times(dentry); dentry 34 fs/smbfs/file.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 37 fs/smbfs/file.c VERBOSE("sync file %s/%s\n", DENTRY_PATH(dentry)); dentry 47 fs/smbfs/file.c result = smb_proc_flush(server, SMB_I(dentry->d_inode)->fileid); dentry 59 fs/smbfs/file.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 65 fs/smbfs/file.c DENTRY_PATH(dentry), count, offset, rsize); dentry 67 fs/smbfs/file.c result = smb_open(dentry, SMB_O_RDONLY); dentry 75 fs/smbfs/file.c result = server->ops->read(dentry->d_inode,offset,rsize,buffer); dentry 82 fs/smbfs/file.c dentry->d_inode->i_atime = dentry 83 fs/smbfs/file.c current_fs_time(dentry->d_inode->i_sb); dentry 106 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 109 fs/smbfs/file.c error = smb_readpage_sync(dentry, page); dentry 209 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 211 fs/smbfs/file.c DEBUG1("(%s/%s %d@%lld)\n", DENTRY_PATH(dentry), count, dentry 214 fs/smbfs/file.c return smb_writepage_sync(dentry->d_inode, page, offset, count); dentry 222 fs/smbfs/file.c struct dentry * dentry = file->f_path.dentry; dentry 225 fs/smbfs/file.c VERBOSE("file %s/%s, count=%lu@%lu\n", DENTRY_PATH(dentry), dentry 228 fs/smbfs/file.c status = smb_revalidate_inode(dentry); dentry 231 fs/smbfs/file.c DENTRY_PATH(dentry), status); dentry 236 fs/smbfs/file.c (long)dentry->d_inode->i_size, dentry 237 fs/smbfs/file.c dentry->d_inode->i_flags, dentry->d_inode->i_atime.tv_sec); dentry 247 fs/smbfs/file.c struct dentry * dentry = file->f_path.dentry; dentry 251 fs/smbfs/file.c DENTRY_PATH(dentry), vma->vm_start, vma->vm_end); dentry 253 fs/smbfs/file.c status = smb_revalidate_inode(dentry); dentry 256 fs/smbfs/file.c DENTRY_PATH(dentry), status); dentry 269 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 273 fs/smbfs/file.c DENTRY_PATH(dentry), *ppos, count); dentry 275 fs/smbfs/file.c status = smb_revalidate_inode(dentry); dentry 278 fs/smbfs/file.c DENTRY_PATH(dentry), status); dentry 344 fs/smbfs/file.c struct dentry * dentry = file->f_path.dentry; dentry 348 fs/smbfs/file.c DENTRY_PATH(dentry), dentry 351 fs/smbfs/file.c result = smb_revalidate_inode(dentry); dentry 354 fs/smbfs/file.c DENTRY_PATH(dentry), result); dentry 358 fs/smbfs/file.c result = smb_open(dentry, SMB_O_WRONLY); dentry 365 fs/smbfs/file.c (long) file->f_pos, (long) dentry->d_inode->i_size, dentry 366 fs/smbfs/file.c dentry->d_inode->i_mtime.tv_sec, dentry 367 fs/smbfs/file.c dentry->d_inode->i_atime.tv_sec); dentry 377 fs/smbfs/file.c struct dentry *dentry = file->f_path.dentry; dentry 381 fs/smbfs/file.c result = smb_open(dentry, smb_mode); dentry 242 fs/smbfs/inode.c struct inode *inode = dentry->d_inode; dentry 246 fs/smbfs/inode.c error = smb_proc_getattr(dentry, &fattr); dentry 248 fs/smbfs/inode.c smb_renew_times(dentry); dentry 271 fs/smbfs/inode.c DENTRY_PATH(dentry), dentry 300 fs/smbfs/inode.c struct smb_sb_info *s = server_from_dentry(dentry); dentry 301 fs/smbfs/inode.c struct inode *inode = dentry->d_inode; dentry 316 fs/smbfs/inode.c error = smb_refresh_inode(dentry); dentry 653 fs/smbfs/inode.c result = smb_proc_dskattr(dentry, buf); dentry 664 fs/smbfs/inode.c int err = smb_revalidate_inode(dentry); dentry 666 fs/smbfs/inode.c generic_fillattr(dentry->d_inode, stat); dentry 673 fs/smbfs/inode.c struct inode *inode = dentry->d_inode; dentry 674 fs/smbfs/inode.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 681 fs/smbfs/inode.c error = smb_revalidate_inode(dentry); dentry 700 fs/smbfs/inode.c DENTRY_PATH(dentry), dentry 705 fs/smbfs/inode.c error = smb_open(dentry, O_WRONLY); dentry 721 fs/smbfs/inode.c error = smb_proc_setattr_unix(dentry, attr, 0, 0); dentry 747 fs/smbfs/inode.c error = smb_proc_settime(dentry, &fattr); dentry 759 fs/smbfs/inode.c DENTRY_PATH(dentry), fattr.f_mode, attr->ia_mode); dentry 773 fs/smbfs/inode.c error = smb_proc_setattr(dentry, &fattr); dentry 783 fs/smbfs/inode.c smb_refresh_inode(dentry); dentry 337 fs/smbfs/proc.c struct dentry *parent; dentry 875 fs/smbfs/proc.c if (!smb_valid_socket(filp->f_path.dentry->d_inode)) dentry 900 fs/smbfs/proc.c sk = SOCKET_I(filp->f_path.dentry->d_inode)->sk; dentry 1094 fs/smbfs/proc.c struct inode *ino = dentry->d_inode; dentry 1126 fs/smbfs/proc.c res = smb_simple_encode_path(req, &p, dentry, NULL); dentry 1137 fs/smbfs/proc.c DENTRY_PATH(dentry), res); dentry 1166 fs/smbfs/proc.c struct inode *inode = dentry->d_inode; dentry 1173 fs/smbfs/proc.c DENTRY_PATH(dentry)); dentry 1181 fs/smbfs/proc.c result = smb_proc_open(server, dentry, wish); dentry 1187 fs/smbfs/proc.c smb_renew_times(dentry); dentry 1197 fs/smbfs/proc.c DENTRY_PATH(dentry), access, wish); dentry 1300 fs/smbfs/proc.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 1540 fs/smbfs/proc.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 1552 fs/smbfs/proc.c result = smb_simple_encode_path(req, &p, dentry, NULL); dentry 1608 fs/smbfs/proc.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 1618 fs/smbfs/proc.c result = smb_simple_encode_path(req, &p, dentry, NULL); dentry 1637 fs/smbfs/proc.c return smb_proc_generic_command(dentry, SMBmkdir); dentry 1643 fs/smbfs/proc.c return smb_proc_generic_command(dentry, SMBrmdir); dentry 1661 fs/smbfs/proc.c result = server->ops->getattr(server, dentry, &fattr); dentry 1669 fs/smbfs/proc.c result = smb_proc_setattr_core(server, dentry, fattr.attr); dentry 1678 fs/smbfs/proc.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 1691 fs/smbfs/proc.c result = smb_simple_encode_path(req, &p, dentry, NULL); dentry 1712 fs/smbfs/proc.c result = smb_set_rw(dentry,server); dentry 1941 fs/smbfs/proc.c struct dentry *dir = filp->f_path.dentry; dentry 2293 fs/smbfs/proc.c struct dentry *dir = filp->f_path.dentry; dentry 2539 fs/smbfs/proc.c mask_len = smb_encode_path(server, mask, SMB_MAXPATHLEN+1, dentry,NULL); dentry 2861 fs/smbfs/proc.c struct smb_sb_info *server = server_from_dentry(filp->f_path.dentry); dentry 2914 fs/smbfs/proc.c result = smb_simple_encode_path(req, &p, dentry, NULL); dentry 3188 fs/smbfs/proc.c struct smb_sb_info *server = server_from_dentry(dentry); dentry 3189 fs/smbfs/proc.c struct inode *inode = dentry->d_inode; dentry 3193 fs/smbfs/proc.c DENTRY_PATH(dentry), smb_is_open(inode)); dentry 3201 fs/smbfs/proc.c result = smb_proc_setattr_trans2(server, dentry, fattr); dentry 3215 fs/smbfs/proc.c smb_proc_open(server, dentry, SMB_O_RDONLY); dentry 3229 fs/smbfs/proc.c struct smb_sb_info *server = SMB_SB(dentry->d_sb); dentry 3373 fs/smbfs/proc.c dentry, NULL); dentry 46 fs/smbfs/proto.h extern struct dentry *smb_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos); dentry 7 fs/smbfs/smb_debug.h (dentry)->d_parent->d_name.name,(dentry)->d_name.name dentry 84 fs/smbfs/sock.c if (!smb_valid_socket(file->f_path.dentry->d_inode)) dentry 87 fs/smbfs/sock.c return SOCKET_I(file->f_path.dentry->d_inode); dentry 30 fs/smbfs/symlink.c DEBUG1("create symlink %s -> %s/%s\n", oldname, DENTRY_PATH(dentry)); dentry 32 fs/smbfs/symlink.c return smb_proc_symlink(server_from_dentry(dentry), dentry, oldname); dentry 38 fs/smbfs/symlink.c DEBUG1("followlink of %s/%s\n", DENTRY_PATH(dentry)); dentry 43 fs/smbfs/symlink.c int len = smb_proc_read_link(server_from_dentry(dentry), dentry 44 fs/smbfs/symlink.c dentry, link, PATH_MAX - 1); dentry 960 fs/splice.c i_mode = in->f_path.dentry->d_inode->i_mode; dentry 1121 fs/splice.c pipe = pipe_info(in->f_path.dentry->d_inode); dentry 1142 fs/splice.c pipe = pipe_info(out->f_path.dentry->d_inode); dentry 1321 fs/splice.c pipe = pipe_info(file->f_path.dentry->d_inode); dentry 1409 fs/splice.c pipe = pipe_info(file->f_path.dentry->d_inode); dentry 1663 fs/splice.c struct pipe_inode_info *ipipe = pipe_info(in->f_path.dentry->d_inode); dentry 1664 fs/splice.c struct pipe_inode_info *opipe = pipe_info(out->f_path.dentry->d_inode); dentry 42 fs/stat.c struct inode *inode = dentry->d_inode; dentry 45 fs/stat.c retval = security_inode_getattr(mnt, dentry); dentry 50 fs/stat.c return inode->i_op->getattr(mnt, dentry, stat); dentry 65 fs/stat.c error = vfs_getattr(path.mnt, path.dentry, stat); dentry 85 fs/stat.c error = vfs_getattr(path.mnt, path.dentry, stat); dentry 104 fs/stat.c error = vfs_getattr(f->f_path.mnt, f->f_path.dentry, stat); dentry 305 fs/stat.c struct inode *inode = path.dentry->d_inode; dentry 309 fs/stat.c error = security_inode_readlink(path.dentry); dentry 311 fs/stat.c touch_atime(path.mnt, path.dentry); dentry 312 fs/stat.c error = inode->i_op->readlink(path.dentry, dentry 577 fs/super.c if (!S_ISREG(f->f_path.dentry->d_inode->i_mode)) dentry 57 fs/sync.c struct inode * inode = dentry->d_inode; dentry 97 fs/sync.c err = file->f_op->fsync(file, file->f_path.dentry, datasync); dentry 227 fs/sync.c i_mode = file->f_path.dentry->d_inode->i_mode; dentry 38 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = dentry->d_fsdata; dentry 60 fs/sysfs/bin.c struct dentry *dentry = file->f_path.dentry; dentry 61 fs/sysfs/bin.c int size = dentry->d_inode->i_size; dentry 74 fs/sysfs/bin.c count = fill_read(dentry, bb->buffer, offs, count); dentry 95 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = dentry->d_fsdata; dentry 117 fs/sysfs/bin.c struct dentry *dentry = file->f_path.dentry; dentry 118 fs/sysfs/bin.c int size = dentry->d_inode->i_size; dentry 136 fs/sysfs/bin.c count = flush_write(dentry, bb->buffer, offs, count); dentry 148 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; dentry 175 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; dentry 214 fs/sysfs/bin.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; dentry 100 fs/sysfs/dir.c struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd) dentry 102 fs/sysfs/dir.c struct dentry *dentry = dget(sysfs_sb->s_root); dentry 104 fs/sysfs/dir.c while (dentry->d_fsdata != sd) { dentry 106 fs/sysfs/dir.c struct dentry *parent; dentry 110 fs/sysfs/dir.c while (cur->s_parent != dentry->d_fsdata) dentry 114 fs/sysfs/dir.c parent = dentry; dentry 116 fs/sysfs/dir.c dentry = lookup_one_noperm(cur->s_name, parent); dentry 120 fs/sysfs/dir.c if (IS_ERR(dentry)) dentry 123 fs/sysfs/dir.c return dentry; dentry 299 fs/sysfs/dir.c struct sysfs_dirent * sd = dentry->d_fsdata; dentry 509 fs/sysfs/dir.c struct dentry *dentry; dentry 524 fs/sysfs/dir.c list_for_each_entry(dentry, &inode->i_dentry, d_alias) { dentry 525 fs/sysfs/dir.c if (d_unhashed(dentry)) dentry 527 fs/sysfs/dir.c dget_locked(dentry); dentry 528 fs/sysfs/dir.c spin_lock(&dentry->d_lock); dentry 529 fs/sysfs/dir.c __d_drop(dentry); dentry 530 fs/sysfs/dir.c spin_unlock(&dentry->d_lock); dentry 532 fs/sysfs/dir.c dput(dentry); dentry 695 fs/sysfs/dir.c static struct dentry * sysfs_lookup(struct inode *dir, struct dentry *dentry, dentry 698 fs/sysfs/dir.c struct dentry *ret = NULL; dentry 699 fs/sysfs/dir.c struct sysfs_dirent *parent_sd = dentry->d_parent->d_fsdata; dentry 705 fs/sysfs/dir.c sd = sysfs_find_dirent(parent_sd, dentry->d_name.name); dentry 721 fs/sysfs/dir.c dentry->d_op = &sysfs_dentry_ops; dentry 722 fs/sysfs/dir.c dentry->d_fsdata = sysfs_get(sd); dentry 723 fs/sysfs/dir.c d_instantiate(dentry, inode); dentry 724 fs/sysfs/dir.c d_rehash(dentry); dentry 798 fs/sysfs/dir.c struct dentry *parent = NULL; dentry 799 fs/sysfs/dir.c struct dentry *old_dentry = NULL, *new_dentry = NULL; dentry 865 fs/sysfs/dir.c struct dentry *old_parent, *new_parent = NULL; dentry 866 fs/sysfs/dir.c struct dentry *old_dentry = NULL, *new_dentry = NULL; dentry 941 fs/sysfs/dir.c struct dentry *dentry = filp->f_path.dentry; dentry 942 fs/sysfs/dir.c struct sysfs_dirent * parent_sd = dentry->d_fsdata; dentry 68 fs/sysfs/file.c struct sysfs_dirent *attr_sd = dentry->d_fsdata; dentry 134 fs/sysfs/file.c retval = fill_read_buffer(file->f_path.dentry,buffer); dentry 192 fs/sysfs/file.c struct sysfs_dirent *attr_sd = dentry->d_fsdata; dentry 235 fs/sysfs/file.c len = flush_write_buffer(file->f_path.dentry, buffer, len); dentry 326 fs/sysfs/file.c struct sysfs_dirent *attr_sd = file->f_path.dentry->d_fsdata; dentry 394 fs/sysfs/file.c struct sysfs_dirent *sd = filp->f_path.dentry->d_fsdata; dentry 422 fs/sysfs/file.c struct sysfs_dirent *attr_sd = filp->f_path.dentry->d_fsdata; dentry 563 fs/sysfs/file.c struct dentry *victim = NULL; dentry 47 fs/sysfs/inode.c struct inode * inode = dentry->d_inode; dentry 48 fs/sysfs/inode.c struct sysfs_dirent * sd = dentry->d_fsdata; dentry 45 fs/sysfs/mount.c struct dentry *root; dentry 179 fs/sysfs/symlink.c struct sysfs_dirent *sd = dentry->d_fsdata; dentry 196 fs/sysfs/symlink.c error = sysfs_getlink(dentry, (char *) page); dentry 105 fs/sysfs/sysfs.h struct dentry *sysfs_get_dentry(struct sysfs_dirent *sd); dentry 71 fs/sysv/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 141 fs/sysv/dir.c const char * name = dentry->d_name.name; dentry 142 fs/sysv/dir.c int namelen = dentry->d_name.len; dentry 143 fs/sysv/dir.c struct inode * dir = dentry->d_parent->d_inode; dentry 187 fs/sysv/dir.c struct inode *dir = dentry->d_parent->d_inode; dentry 188 fs/sysv/dir.c const char * name = dentry->d_name.name; dentry 189 fs/sysv/dir.c int namelen = dentry->d_name.len; dentry 379 fs/sysv/dir.c struct sysv_dir_entry *de = sysv_find_entry (dentry, &page); dentry 383 fs/sysv/dir.c res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode); dentry 40 fs/sysv/file.c struct inode *inode = dentry->d_inode; dentry 90 fs/sysv/inode.c struct super_block *sb = dentry->d_sb; dentry 446 fs/sysv/itree.c generic_fillattr(dentry->d_inode, stat); dentry 20 fs/sysv/namei.c int err = sysv_add_link(dentry, inode); dentry 22 fs/sysv/namei.c d_instantiate(dentry, inode); dentry 45 fs/sysv/namei.c static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd) dentry 50 fs/sysv/namei.c dentry->d_op = dir->i_sb->s_root->d_op; dentry 51 fs/sysv/namei.c if (dentry->d_name.len > SYSV_NAMELEN) dentry 53 fs/sysv/namei.c ino = sysv_inode_by_name(dentry); dentry 60 fs/sysv/namei.c d_add(dentry, inode); dentry 78 fs/sysv/namei.c err = add_nondir(dentry, inode); dentry 85 fs/sysv/namei.c return sysv_mknod(dir, dentry, mode, 0); dentry 109 fs/sysv/namei.c err = add_nondir(dentry, inode); dentry 131 fs/sysv/namei.c return add_nondir(dentry, inode); dentry 156 fs/sysv/namei.c err = sysv_add_link(dentry, inode); dentry 160 fs/sysv/namei.c d_instantiate(dentry, inode); dentry 175 fs/sysv/namei.c struct inode * inode = dentry->d_inode; dentry 180 fs/sysv/namei.c de = sysv_find_entry(dentry, &page); dentry 196 fs/sysv/namei.c struct inode *inode = dentry->d_inode; dentry 200 fs/sysv/namei.c err = sysv_unlink(dir, dentry); dentry 13 fs/sysv/symlink.c nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data); dentry 199 fs/ubifs/dir.c static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, dentry 209 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, dir->i_ino); dentry 211 fs/ubifs/dir.c if (dentry->d_name.len > UBIFS_MAX_NLEN) dentry 218 fs/ubifs/dir.c dent_key_init(c, &key, dir->i_ino, &dentry->d_name); dentry 220 fs/ubifs/dir.c err = ubifs_tnc_lookup_nm(c, &key, dent, &dentry->d_name); dentry 229 fs/ubifs/dir.c if (dbg_check_name(dent, &dentry->d_name)) { dentry 242 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, err); dentry 253 fs/ubifs/dir.c d_add(dentry, inode); dentry 266 fs/ubifs/dir.c int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); dentry 277 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, mode, dir->i_ino); dentry 293 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); dentry 300 fs/ubifs/dir.c d_instantiate(dentry, inode); dentry 368 fs/ubifs/dir.c struct inode *dir = file->f_path.dentry->d_inode; dentry 392 fs/ubifs/dir.c parent_ino(file->f_path.dentry), DT_DIR); dentry 517 fs/ubifs/dir.c int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); dentry 527 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, inode->i_ino, dentry 544 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); dentry 550 fs/ubifs/dir.c d_instantiate(dentry, inode); dentry 566 fs/ubifs/dir.c struct inode *inode = dentry->d_inode; dentry 568 fs/ubifs/dir.c int sz_change = CALC_DENT_SIZE(dentry->d_name.len); dentry 580 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, inode->i_ino, dentry 599 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 1, 0); dentry 655 fs/ubifs/dir.c struct inode *inode = dentry->d_inode; dentry 656 fs/ubifs/dir.c int sz_change = CALC_DENT_SIZE(dentry->d_name.len); dentry 667 fs/ubifs/dir.c dbg_gen("directory '%.*s', ino %lu in dir ino %lu", dentry->d_name.len, dentry 668 fs/ubifs/dir.c dentry->d_name.name, inode->i_ino, dir->i_ino); dentry 670 fs/ubifs/dir.c err = check_dir_empty(c, dentry->d_inode); dentry 688 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 1, 0); dentry 719 fs/ubifs/dir.c int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len); dentry 728 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, mode, dir->i_ino); dentry 747 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); dentry 755 fs/ubifs/dir.c d_instantiate(dentry, inode); dentry 778 fs/ubifs/dir.c int sz_change = CALC_DENT_SIZE(dentry->d_name.len); dentry 790 fs/ubifs/dir.c dentry->d_name.len, dentry->d_name.name, dir->i_ino); dentry 825 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); dentry 832 fs/ubifs/dir.c d_instantiate(dentry, inode); dentry 854 fs/ubifs/dir.c int sz_change = CALC_DENT_SIZE(dentry->d_name.len); dentry 864 fs/ubifs/dir.c dbg_gen("dent '%.*s', target '%s' in dir ino %lu", dentry->d_name.len, dentry 865 fs/ubifs/dir.c dentry->d_name.name, symname, dir->i_ino); dentry 901 fs/ubifs/dir.c err = ubifs_jnl_update(c, dir, &dentry->d_name, inode, 0, 0); dentry 908 fs/ubifs/dir.c d_instantiate(dentry, inode); dentry 1157 fs/ubifs/dir.c struct inode *inode = dentry->d_inode; dentry 953 fs/ubifs/file.c struct inode *inode = dentry->d_inode; dentry 997 fs/ubifs/file.c struct ubifs_inode *ui = ubifs_inode(dentry->d_inode); dentry 1005 fs/ubifs/file.c struct inode *inode = dentry->d_inode; dentry 1144 fs/ubifs/file.c struct inode *inode = vma->vm_file->f_path.dentry->d_inode; dentry 151 fs/ubifs/ioctl.c struct inode *inode = file->f_path.dentry->d_inode; dentry 371 fs/ubifs/super.c struct ubifs_info *c = dentry->d_sb->s_fs_info; dentry 300 fs/ubifs/xattr.c struct inode *inode, *host = dentry->d_inode; dentry 308 fs/ubifs/xattr.c host->i_ino, dentry->d_name.len, dentry->d_name.name, size); dentry 363 fs/ubifs/xattr.c struct inode *inode, *host = dentry->d_inode; dentry 372 fs/ubifs/xattr.c host->i_ino, dentry->d_name.len, dentry->d_name.name, size); dentry 423 fs/ubifs/xattr.c struct inode *host = dentry->d_inode; dentry 431 fs/ubifs/xattr.c dentry->d_name.len, dentry->d_name.name, size); dentry 526 fs/ubifs/xattr.c struct inode *inode, *host = dentry->d_inode; dentry 534 fs/ubifs/xattr.c host->i_ino, dentry->d_name.len, dentry->d_name.name); dentry 159 fs/udf/dir.c iblock = parent_ino(filp->f_path.dentry); dentry 190 fs/udf/dir.c struct inode *dir = filp->f_path.dentry->d_inode; dentry 112 fs/udf/file.c struct inode *inode = file->f_path.dentry->d_inode; dentry 34 fs/udf/fsync.c struct inode *inode = dentry->d_inode; dentry 162 fs/udf/namei.c int isdotdot = dentry->d_name.len == 2 && dentry 163 fs/udf/namei.c dentry->d_name.name[0] == '.' && dentry->d_name.name[1] == '.'; dentry 241 fs/udf/namei.c if (flen && udf_match(flen, fname, dentry->d_name.len, dentry 242 fs/udf/namei.c dentry->d_name.name)) dentry 258 fs/udf/namei.c static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, dentry 265 fs/udf/namei.c if (dentry->d_name.len > UDF_NAME_LEN - 2) dentry 271 fs/udf/namei.c if (!strncmp(dentry->d_name.name, ".B=", 3)) { dentry 275 fs/udf/namei.c simple_strtoul(dentry->d_name.name + 3, dentry 286 fs/udf/namei.c if (udf_find_entry(dir, dentry, &fibh, &cfi)) { dentry 299 fs/udf/namei.c return d_splice_alias(inode, dentry); dentry 330 fs/udf/namei.c if (dentry) { dentry 331 fs/udf/namei.c if (!dentry->d_name.len) { dentry 335 fs/udf/namei.c namelen = udf_put_filename(sb, dentry->d_name.name, name, dentry 336 fs/udf/namei.c dentry->d_name.len); dentry 565 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); dentry 584 fs/udf/namei.c d_instantiate(dentry, inode); dentry 610 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); dentry 630 fs/udf/namei.c d_instantiate(dentry, inode); dentry 681 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); dentry 696 fs/udf/namei.c d_instantiate(dentry, inode); dentry 779 fs/udf/namei.c struct inode *inode = dentry->d_inode; dentry 786 fs/udf/namei.c fi = udf_find_entry(dir, dentry, &fibh, &cfi); dentry 824 fs/udf/namei.c struct inode *inode = dentry->d_inode; dentry 832 fs/udf/namei.c fi = udf_find_entry(dir, dentry, &fibh, &cfi); dentry 1003 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); dentry 1030 fs/udf/namei.c d_instantiate(dentry, inode); dentry 1059 fs/udf/namei.c fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err); dentry 1093 fs/udf/namei.c d_instantiate(dentry, inode); dentry 1244 fs/udf/namei.c static struct dentry *udf_get_parent(struct dentry *child) dentry 1246 fs/udf/namei.c struct dentry *parent; dentry 1248 fs/udf/namei.c struct dentry dotdot; dentry 1282 fs/udf/namei.c static struct dentry *udf_nfs_get_inode(struct super_block *sb, u32 block, dentry 1286 fs/udf/namei.c struct dentry *result; dentry 1311 fs/udf/namei.c static struct dentry *udf_fh_to_dentry(struct super_block *sb, dentry 1323 fs/udf/namei.c static struct dentry *udf_fh_to_parent(struct super_block *sb, dentry 2086 fs/udf/super.c struct super_block *sb = dentry->d_sb; dentry 70 fs/udf/udfdecl.h struct dentry; dentry 79 fs/ufs/dir.c de = ufs_find_entry(dir, dentry, &page); dentry 256 fs/ufs/dir.c const char *name = dentry->d_name.name; dentry 257 fs/ufs/dir.c int namelen = dentry->d_name.len; dentry 315 fs/ufs/dir.c struct inode *dir = dentry->d_parent->d_inode; dentry 316 fs/ufs/dir.c const char *name = dentry->d_name.name; dentry 317 fs/ufs/dir.c int namelen = dentry->d_name.len; dentry 438 fs/ufs/dir.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 35 fs/ufs/file.c struct inode *inode = dentry->d_inode; dentry 40 fs/ufs/namei.c int err = ufs_add_link(dentry, inode); dentry 42 fs/ufs/namei.c d_instantiate(dentry, inode); dentry 50 fs/ufs/namei.c static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) dentry 55 fs/ufs/namei.c if (dentry->d_name.len > UFS_MAXNAMLEN) dentry 59 fs/ufs/namei.c ino = ufs_inode_by_name(dir, dentry); dentry 68 fs/ufs/namei.c d_add(dentry, inode); dentry 96 fs/ufs/namei.c err = ufs_add_nondir(dentry, inode); dentry 117 fs/ufs/namei.c err = ufs_add_nondir(dentry, inode); dentry 155 fs/ufs/namei.c err = ufs_add_nondir(dentry, inode); dentry 183 fs/ufs/namei.c error = ufs_add_nondir(dentry, inode); dentry 214 fs/ufs/namei.c err = ufs_add_link(dentry, inode); dentry 219 fs/ufs/namei.c d_instantiate(dentry, inode); dentry 235 fs/ufs/namei.c struct inode * inode = dentry->d_inode; dentry 240 fs/ufs/namei.c de = ufs_find_entry(dir, dentry, &page); dentry 257 fs/ufs/namei.c struct inode * inode = dentry->d_inode; dentry 262 fs/ufs/namei.c err = ufs_unlink(dir, dentry); dentry 1254 fs/ufs/super.c struct super_block *sb = dentry->d_sb; dentry 37 fs/ufs/symlink.c struct ufs_inode_info *p = UFS_I(dentry->d_inode); dentry 512 fs/ufs/truncate.c struct inode *inode = dentry->d_inode; dentry 55 fs/utimes.c struct inode *inode = path->dentry->d_inode; dentry 105 fs/utimes.c error = notify_change(path->dentry, &newattrs); dentry 32 fs/vfat/namei.c if (!dentry->d_inode && dentry 41 fs/vfat/namei.c spin_lock(&dentry->d_lock); dentry 42 fs/vfat/namei.c if (dentry->d_time != dentry->d_parent->d_inode->i_version) dentry 44 fs/vfat/namei.c spin_unlock(&dentry->d_lock); dentry 79 fs/vfat/namei.c struct nls_table *t = MSDOS_SB(dentry->d_inode->i_sb)->nls_io; dentry 100 fs/vfat/namei.c struct nls_table *t = MSDOS_SB(dentry->d_inode->i_sb)->nls_io; dentry 681 fs/vfat/namei.c static struct dentry *vfat_lookup(struct inode *dir, struct dentry *dentry, dentry 687 fs/vfat/namei.c struct dentry *alias; dentry 692 fs/vfat/namei.c dentry->d_op = &vfat_dentry_ops[table]; dentry 694 fs/vfat/namei.c err = vfat_find(dir, &dentry->d_name, &sinfo); dentry 718 fs/vfat/namei.c dentry->d_op = &vfat_dentry_ops[table]; dentry 719 fs/vfat/namei.c dentry->d_time = dentry->d_parent->d_inode->i_version; dentry 720 fs/vfat/namei.c dentry = d_splice_alias(inode, dentry); dentry 721 fs/vfat/namei.c if (dentry) { dentry 722 fs/vfat/namei.c dentry->d_op = &vfat_dentry_ops[table]; dentry 723 fs/vfat/namei.c dentry->d_time = dentry->d_parent->d_inode->i_version; dentry 725 fs/vfat/namei.c return dentry; dentry 740 fs/vfat/namei.c err = vfat_add_entry(dir, &dentry->d_name, 0, 0, &ts, &sinfo); dentry 755 fs/vfat/namei.c dentry->d_time = dentry->d_parent->d_inode->i_version; dentry 756 fs/vfat/namei.c d_instantiate(dentry, inode); dentry 764 fs/vfat/namei.c struct inode *inode = dentry->d_inode; dentry 774 fs/vfat/namei.c err = vfat_find(dir, &dentry->d_name, &sinfo); dentry 794 fs/vfat/namei.c struct inode *inode = dentry->d_inode; dentry 801 fs/vfat/namei.c err = vfat_find(dir, &dentry->d_name, &sinfo); dentry 833 fs/vfat/namei.c err = vfat_add_entry(dir, &dentry->d_name, 1, cluster, &ts, &sinfo); dentry 851 fs/vfat/namei.c dentry->d_time = dentry->d_parent->d_inode->i_version; dentry 852 fs/vfat/namei.c d_instantiate(dentry, inode); dentry 73 fs/xattr.c struct inode *inode = dentry->d_inode; dentry 81 fs/xattr.c error = security_inode_setxattr(dentry, name, value, size, flags); dentry 86 fs/xattr.c error = inode->i_op->setxattr(dentry, name, value, size, flags); dentry 88 fs/xattr.c fsnotify_xattr(dentry); dentry 89 fs/xattr.c security_inode_post_setxattr(dentry, name, value, dentry 98 fs/xattr.c fsnotify_xattr(dentry); dentry 136 fs/xattr.c struct inode *inode = dentry->d_inode; dentry 143 fs/xattr.c error = security_inode_getxattr(dentry, name); dentry 161 fs/xattr.c error = inode->i_op->getxattr(dentry, name, value, size); dentry 192 fs/xattr.c struct inode *inode = dentry->d_inode; dentry 202 fs/xattr.c error = security_inode_removexattr(dentry, name); dentry 207 fs/xattr.c error = inode->i_op->removexattr(dentry, name); dentry 211 fs/xattr.c fsnotify_xattr(dentry); dentry 266 fs/xattr.c error = setxattr(path.dentry, name, value, size, flags); dentry 285 fs/xattr.c error = setxattr(path.dentry, name, value, size, flags); dentry 297 fs/xattr.c struct dentry *dentry; dentry 303 fs/xattr.c dentry = f->f_path.dentry; dentry 304 fs/xattr.c audit_inode(NULL, dentry); dentry 307 fs/xattr.c error = setxattr(dentry, name, value, size, flags); dentry 362 fs/xattr.c error = getxattr(path.dentry, name, value, size); dentry 377 fs/xattr.c error = getxattr(path.dentry, name, value, size); dentry 391 fs/xattr.c audit_inode(NULL, f->f_path.dentry); dentry 392 fs/xattr.c error = getxattr(f->f_path.dentry, name, value, size); dentry 436 fs/xattr.c error = listxattr(path.dentry, list, size); dentry 450 fs/xattr.c error = listxattr(path.dentry, list, size); dentry 464 fs/xattr.c audit_inode(NULL, f->f_path.dentry); dentry 465 fs/xattr.c error = listxattr(f->f_path.dentry, list, size); dentry 499 fs/xattr.c error = removexattr(path.dentry, name); dentry 517 fs/xattr.c error = removexattr(path.dentry, name); dentry 528 fs/xattr.c struct dentry *dentry; dentry 534 fs/xattr.c dentry = f->f_path.dentry; dentry 535 fs/xattr.c audit_inode(NULL, dentry); dentry 538 fs/xattr.c error = removexattr(dentry, name); dentry 598 fs/xattr.c struct inode *inode = dentry->d_inode; dentry 613 fs/xattr.c struct inode *inode = dentry->d_inode; dentry 642 fs/xattr.c struct inode *inode = dentry->d_inode; dentry 660 fs/xattr.c struct inode *inode = dentry->d_inode; dentry 63 fs/xfs/linux-2.6/xfs_export.c struct inode *inode = dentry->d_inode; dentry 90 fs/xfs/linux-2.6/xfs_export.c spin_lock(&dentry->d_lock); dentry 91 fs/xfs/linux-2.6/xfs_export.c fid->i32.parent_ino = dentry->d_parent->d_inode->i_ino; dentry 92 fs/xfs/linux-2.6/xfs_export.c fid->i32.parent_gen = dentry->d_parent->d_inode->i_generation; dentry 93 fs/xfs/linux-2.6/xfs_export.c spin_unlock(&dentry->d_lock); dentry 100 fs/xfs/linux-2.6/xfs_export.c spin_lock(&dentry->d_lock); dentry 101 fs/xfs/linux-2.6/xfs_export.c fid64->parent_ino = dentry->d_parent->d_inode->i_ino; dentry 102 fs/xfs/linux-2.6/xfs_export.c fid64->parent_gen = dentry->d_parent->d_inode->i_generation; dentry 103 fs/xfs/linux-2.6/xfs_export.c spin_unlock(&dentry->d_lock); dentry 145 fs/xfs/linux-2.6/xfs_export.c STATIC struct dentry * dentry 151 fs/xfs/linux-2.6/xfs_export.c struct dentry *result; dentry 179 fs/xfs/linux-2.6/xfs_export.c STATIC struct dentry * dentry 185 fs/xfs/linux-2.6/xfs_export.c struct dentry *result; dentry 210 fs/xfs/linux-2.6/xfs_export.c STATIC struct dentry * dentry 216 fs/xfs/linux-2.6/xfs_export.c struct dentry *parent; dentry 60 fs/xfs/linux-2.6/xfs_file.c return xfs_read(XFS_I(file->f_path.dentry->d_inode), iocb, iov, dentry 129 fs/xfs/linux-2.6/xfs_file.c return xfs_splice_read(XFS_I(infilp->f_path.dentry->d_inode), dentry 141 fs/xfs/linux-2.6/xfs_file.c return xfs_splice_read(XFS_I(infilp->f_path.dentry->d_inode), dentry 153 fs/xfs/linux-2.6/xfs_file.c return xfs_splice_write(XFS_I(outfilp->f_path.dentry->d_inode), dentry 165 fs/xfs/linux-2.6/xfs_file.c return xfs_splice_write(XFS_I(outfilp->f_path.dentry->d_inode), dentry 203 fs/xfs/linux-2.6/xfs_file.c xfs_iflags_clear(XFS_I(dentry->d_inode), XFS_ITRUNCATED); dentry 204 fs/xfs/linux-2.6/xfs_file.c return -xfs_fsync(XFS_I(dentry->d_inode)); dentry 222 fs/xfs/linux-2.6/xfs_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 295 fs/xfs/linux-2.6/xfs_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 386 fs/xfs/linux-2.6/xfs_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 407 fs/xfs/linux-2.6/xfs_file.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 94 fs/xfs/linux-2.6/xfs_ioctl.c ASSERT(path.dentry); dentry 95 fs/xfs/linux-2.6/xfs_ioctl.c ASSERT(path.dentry->d_inode); dentry 96 fs/xfs/linux-2.6/xfs_ioctl.c inode = igrab(path.dentry->d_inode); dentry 108 fs/xfs/linux-2.6/xfs_ioctl.c ASSERT(file->f_path.dentry); dentry 109 fs/xfs/linux-2.6/xfs_ioctl.c ASSERT(file->f_path.dentry->d_inode); dentry 110 fs/xfs/linux-2.6/xfs_ioctl.c inode = igrab(file->f_path.dentry->d_inode); dentry 264 fs/xfs/linux-2.6/xfs_ioctl.c struct dentry *dentry; dentry 314 fs/xfs/linux-2.6/xfs_ioctl.c dentry = d_alloc_anon(inode); dentry 315 fs/xfs/linux-2.6/xfs_ioctl.c if (dentry == NULL) { dentry 325 fs/xfs/linux-2.6/xfs_ioctl.c filp = dentry_open(dentry, parfilp->f_path.mnt, hreq.oflags); dentry 1337 fs/xfs/linux-2.6/xfs_ioctl.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 377 fs/xfs/linux-2.6/xfs_ioctl32.c struct inode *inode = file->f_path.dentry->d_inode; dentry 174 fs/xfs/linux-2.6/xfs_iops.c namep->name = dentry->d_name.name; dentry 175 fs/xfs/linux-2.6/xfs_iops.c namep->len = dentry->d_name.len; dentry 191 fs/xfs/linux-2.6/xfs_iops.c xfs_dentry_to_name(&teardown, dentry); dentry 228 fs/xfs/linux-2.6/xfs_iops.c xfs_dentry_to_name(&name, dentry); dentry 268 fs/xfs/linux-2.6/xfs_iops.c d_instantiate(dentry, inode); dentry 272 fs/xfs/linux-2.6/xfs_iops.c xfs_cleanup_inode(dir, inode, dentry); dentry 286 fs/xfs/linux-2.6/xfs_iops.c return xfs_vn_mknod(dir, dentry, mode, 0); dentry 295 fs/xfs/linux-2.6/xfs_iops.c return xfs_vn_mknod(dir, dentry, mode|S_IFDIR, 0); dentry 298 fs/xfs/linux-2.6/xfs_iops.c STATIC struct dentry * dentry 308 fs/xfs/linux-2.6/xfs_iops.c if (dentry->d_name.len >= MAXNAMELEN) dentry 311 fs/xfs/linux-2.6/xfs_iops.c xfs_dentry_to_name(&name, dentry); dentry 316 fs/xfs/linux-2.6/xfs_iops.c d_add(dentry, NULL); dentry 320 fs/xfs/linux-2.6/xfs_iops.c return d_splice_alias(VFS_I(cip), dentry); dentry 323 fs/xfs/linux-2.6/xfs_iops.c STATIC struct dentry * dentry 335 fs/xfs/linux-2.6/xfs_iops.c if (dentry->d_name.len >= MAXNAMELEN) dentry 338 fs/xfs/linux-2.6/xfs_iops.c xfs_dentry_to_name(&xname, dentry); dentry 353 fs/xfs/linux-2.6/xfs_iops.c return d_splice_alias(VFS_I(ip), dentry); dentry 358 fs/xfs/linux-2.6/xfs_iops.c dentry = d_add_ci(dentry, VFS_I(ip), &dname); dentry 360 fs/xfs/linux-2.6/xfs_iops.c return dentry; dentry 374 fs/xfs/linux-2.6/xfs_iops.c xfs_dentry_to_name(&name, dentry); dentry 384 fs/xfs/linux-2.6/xfs_iops.c d_instantiate(dentry, inode); dentry 396 fs/xfs/linux-2.6/xfs_iops.c xfs_dentry_to_name(&name, dentry); dentry 398 fs/xfs/linux-2.6/xfs_iops.c error = -xfs_remove(XFS_I(dir), &name, XFS_I(dentry->d_inode)); dentry 408 fs/xfs/linux-2.6/xfs_iops.c d_invalidate(dentry); dentry 426 fs/xfs/linux-2.6/xfs_iops.c xfs_dentry_to_name(&name, dentry); dentry 438 fs/xfs/linux-2.6/xfs_iops.c d_instantiate(dentry, inode); dentry 442 fs/xfs/linux-2.6/xfs_iops.c xfs_cleanup_inode(dir, inode, dentry); dentry 483 fs/xfs/linux-2.6/xfs_iops.c error = -xfs_readlink(XFS_I(dentry->d_inode), link); dentry 546 fs/xfs/linux-2.6/xfs_iops.c struct inode *inode = dentry->d_inode; dentry 604 fs/xfs/linux-2.6/xfs_iops.c return -xfs_setattr(XFS_I(dentry->d_inode), iattr, 0, NULL); dentry 1232 fs/xfs/linux-2.6/xfs_super.c struct xfs_mount *mp = XFS_M(dentry->d_sb); dentry 1268 fs/xfs/linux-2.6/xfs_super.c XFS_QM_DQSTATVFS(XFS_I(dentry->d_inode), statp); dentry 287 fs/xfs/linux-2.6/xfs_xattr.c struct inode *inode = dentry->d_inode; dentry 94 fs/xfs/xfs_dfrag.c ip = XFS_I(file->f_path.dentry->d_inode); dentry 95 fs/xfs/xfs_dfrag.c tip = XFS_I(target_file->f_path.dentry->d_inode); dentry 419 include/linux/audit.h __audit_inode(name, dentry); dentry 425 include/linux/audit.h __audit_inode_child(dname, dentry, parent); dentry 20 include/linux/backing-dev.h struct dentry; dentry 62 include/linux/backing-dev.h struct dentry *debug_dir; dentry 63 include/linux/backing-dev.h struct dentry *debug_stats; dentry 152 include/linux/blktrace_api.h struct dentry *dir; dentry 153 include/linux/blktrace_api.h struct dentry *dropped_file; dentry 154 include/linux/blktrace_api.h struct dentry *msg_file; dentry 120 include/linux/cgroup.h struct dentry *dentry; /* cgroup fs entry */ dentry 64 include/linux/configfs.h struct dentry *ci_dentry; dentry 93 include/linux/dcache.h struct dentry *d_parent; /* parent directory */ dentry 130 include/linux/dcache.h int (*d_revalidate)(struct dentry *, struct nameidata *); dentry 131 include/linux/dcache.h int (*d_hash) (struct dentry *, struct qstr *); dentry 132 include/linux/dcache.h int (*d_compare) (struct dentry *, struct qstr *, struct qstr *); dentry 133 include/linux/dcache.h int (*d_delete)(struct dentry *); dentry 134 include/linux/dcache.h void (*d_release)(struct dentry *); dentry 135 include/linux/dcache.h void (*d_iput)(struct dentry *, struct inode *); dentry 136 include/linux/dcache.h char *(*d_dname)(struct dentry *, char *, int); dentry 201 include/linux/dcache.h if (!(dentry->d_flags & DCACHE_UNHASHED)) { dentry 202 include/linux/dcache.h dentry->d_flags |= DCACHE_UNHASHED; dentry 203 include/linux/dcache.h hlist_del_rcu(&dentry->d_hash); dentry 210 include/linux/dcache.h spin_lock(&dentry->d_lock); dentry 211 include/linux/dcache.h __d_drop(dentry); dentry 212 include/linux/dcache.h spin_unlock(&dentry->d_lock); dentry 218 include/linux/dcache.h return dentry->d_name.name != dentry->d_iname; dentry 225 include/linux/dcache.h extern struct dentry * d_instantiate_unique(struct dentry *, struct inode *); dentry 226 include/linux/dcache.h extern struct dentry * d_materialise_unique(struct dentry *, struct inode *); dentry 230 include/linux/dcache.h extern struct dentry * d_alloc(struct dentry *, const struct qstr *); dentry 231 include/linux/dcache.h extern struct dentry * d_alloc_anon(struct inode *); dentry 232 include/linux/dcache.h extern struct dentry * d_splice_alias(struct inode *, struct dentry *); dentry 233 include/linux/dcache.h extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *); dentry 240 include/linux/dcache.h extern struct dentry * d_alloc_root(struct inode *); dentry 245 include/linux/dcache.h extern struct dentry *d_find_alias(struct inode *); dentry 279 include/linux/dcache.h static inline struct dentry *d_add_unique(struct dentry *entry, struct inode *inode) dentry 281 include/linux/dcache.h struct dentry *res; dentry 292 include/linux/dcache.h extern struct dentry * d_lookup(struct dentry *, struct qstr *); dentry 293 include/linux/dcache.h extern struct dentry * __d_lookup(struct dentry *, struct qstr *); dentry 294 include/linux/dcache.h extern struct dentry * d_hash_and_lookup(struct dentry *, struct qstr *); dentry 323 include/linux/dcache.h static inline struct dentry *dget(struct dentry *dentry) dentry 325 include/linux/dcache.h if (dentry) { dentry 326 include/linux/dcache.h BUG_ON(!atomic_read(&dentry->d_count)); dentry 327 include/linux/dcache.h atomic_inc(&dentry->d_count); dentry 329 include/linux/dcache.h return dentry; dentry 332 include/linux/dcache.h extern struct dentry * dget_locked(struct dentry *); dentry 343 include/linux/dcache.h return (dentry->d_flags & DCACHE_UNHASHED); dentry 346 include/linux/dcache.h static inline struct dentry *dget_parent(struct dentry *dentry) dentry 348 include/linux/dcache.h struct dentry *ret; dentry 350 include/linux/dcache.h spin_lock(&dentry->d_lock); dentry 351 include/linux/dcache.h ret = dget(dentry->d_parent); dentry 352 include/linux/dcache.h spin_unlock(&dentry->d_lock); dentry 360 include/linux/dcache.h return dentry->d_mounted; dentry 364 include/linux/dcache.h extern struct dentry *lookup_create(struct nameidata *nd, int is_dir); dentry 29 include/linux/debugfs.h extern struct dentry *arch_debugfs_dir; dentry 37 include/linux/debugfs.h struct dentry *debugfs_create_file(const char *name, mode_t mode, dentry 41 include/linux/debugfs.h struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); dentry 43 include/linux/debugfs.h struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, dentry 49 include/linux/debugfs.h struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, dentry 52 include/linux/debugfs.h struct dentry *debugfs_create_u8(const char *name, mode_t mode, dentry 54 include/linux/debugfs.h struct dentry *debugfs_create_u16(const char *name, mode_t mode, dentry 56 include/linux/debugfs.h struct dentry *debugfs_create_u32(const char *name, mode_t mode, dentry 58 include/linux/debugfs.h struct dentry *debugfs_create_u64(const char *name, mode_t mode, dentry 60 include/linux/debugfs.h struct dentry *debugfs_create_x8(const char *name, mode_t mode, dentry 62 include/linux/debugfs.h struct dentry *debugfs_create_x16(const char *name, mode_t mode, dentry 64 include/linux/debugfs.h struct dentry *debugfs_create_x32(const char *name, mode_t mode, dentry 66 include/linux/debugfs.h struct dentry *debugfs_create_bool(const char *name, mode_t mode, dentry 69 include/linux/debugfs.h struct dentry *debugfs_create_blob(const char *name, mode_t mode, dentry 82 include/linux/debugfs.h static inline struct dentry *debugfs_create_file(const char *name, mode_t mode, dentry 89 include/linux/debugfs.h static inline struct dentry *debugfs_create_dir(const char *name, dentry 95 include/linux/debugfs.h static inline struct dentry *debugfs_create_symlink(const char *name, dentry 108 include/linux/debugfs.h static inline struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry, dentry 114 include/linux/debugfs.h static inline struct dentry *debugfs_create_u8(const char *name, mode_t mode, dentry 121 include/linux/debugfs.h static inline struct dentry *debugfs_create_u16(const char *name, mode_t mode, dentry 128 include/linux/debugfs.h static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode, dentry 135 include/linux/debugfs.h static inline struct dentry *debugfs_create_u64(const char *name, mode_t mode, dentry 142 include/linux/debugfs.h static inline struct dentry *debugfs_create_x8(const char *name, mode_t mode, dentry 149 include/linux/debugfs.h static inline struct dentry *debugfs_create_x16(const char *name, mode_t mode, dentry 156 include/linux/debugfs.h static inline struct dentry *debugfs_create_x32(const char *name, mode_t mode, dentry 163 include/linux/debugfs.h static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode, dentry 170 include/linux/debugfs.h static inline struct dentry *debugfs_create_blob(const char *name, mode_t mode, dentry 6 include/linux/exportfs.h struct dentry; dentry 146 include/linux/exportfs.h int (*encode_fh)(struct dentry *de, __u32 *fh, int *max_len, dentry 148 include/linux/exportfs.h struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid, dentry 150 include/linux/exportfs.h struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid, dentry 152 include/linux/exportfs.h int (*get_name)(struct dentry *parent, char *name, dentry 153 include/linux/exportfs.h struct dentry *child); dentry 154 include/linux/exportfs.h struct dentry * (*get_parent)(struct dentry *child); dentry 159 include/linux/exportfs.h extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, dentry 166 include/linux/exportfs.h extern struct dentry *generic_fh_to_dentry(struct super_block *sb, dentry 169 include/linux/exportfs.h extern struct dentry *generic_fh_to_parent(struct super_block *sb, dentry 32 include/linux/fault-inject.h struct dentry *dir; dentry 34 include/linux/fault-inject.h struct dentry *probability_file; dentry 35 include/linux/fault-inject.h struct dentry *interval_file; dentry 36 include/linux/fault-inject.h struct dentry *times_file; dentry 37 include/linux/fault-inject.h struct dentry *space_file; dentry 38 include/linux/fault-inject.h struct dentry *verbose_file; dentry 39 include/linux/fault-inject.h struct dentry *task_filter_file; dentry 40 include/linux/fault-inject.h struct dentry *stacktrace_depth_file; dentry 41 include/linux/fault-inject.h struct dentry *require_start_file; dentry 42 include/linux/fault-inject.h struct dentry *require_end_file; dentry 43 include/linux/fault-inject.h struct dentry *reject_start_file; dentry 44 include/linux/fault-inject.h struct dentry *reject_end_file; dentry 7 include/linux/fb.h struct dentry; dentry 64 include/linux/fdtable.h struct dentry; dentry 20 include/linux/file.h struct dentry; dentry 823 include/linux/fs.h #define f_dentry f_path.dentry dentry 1122 include/linux/fs.h struct dentry *s_root; dentry 1311 include/linux/fs.h int (*fsync) (struct file *, struct dentry *, int datasync); dentry 1326 include/linux/fs.h int (*create) (struct inode *,struct dentry *,int, struct nameidata *); dentry 1327 include/linux/fs.h struct dentry * (*lookup) (struct inode *,struct dentry *, struct nameidata *); dentry 1328 include/linux/fs.h int (*link) (struct dentry *,struct inode *,struct dentry *); dentry 1329 include/linux/fs.h int (*unlink) (struct inode *,struct dentry *); dentry 1330 include/linux/fs.h int (*symlink) (struct inode *,struct dentry *,const char *); dentry 1331 include/linux/fs.h int (*mkdir) (struct inode *,struct dentry *,int); dentry 1332 include/linux/fs.h int (*rmdir) (struct inode *,struct dentry *); dentry 1333 include/linux/fs.h int (*mknod) (struct inode *,struct dentry *,int,dev_t); dentry 1334 include/linux/fs.h int (*rename) (struct inode *, struct dentry *, dentry 1335 include/linux/fs.h struct inode *, struct dentry *); dentry 1336 include/linux/fs.h int (*readlink) (struct dentry *, char __user *,int); dentry 1337 include/linux/fs.h void * (*follow_link) (struct dentry *, struct nameidata *); dentry 1338 include/linux/fs.h void (*put_link) (struct dentry *, struct nameidata *, void *); dentry 1341 include/linux/fs.h int (*setattr) (struct dentry *, struct iattr *); dentry 1342 include/linux/fs.h int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *); dentry 1343 include/linux/fs.h int (*setxattr) (struct dentry *, const char *,const void *,size_t,int); dentry 1344 include/linux/fs.h ssize_t (*getxattr) (struct dentry *, const char *, void *, size_t); dentry 1345 include/linux/fs.h ssize_t (*listxattr) (struct dentry *, char *, size_t); dentry 1346 include/linux/fs.h int (*removexattr) (struct dentry *, const char *); dentry 1381 include/linux/fs.h int (*statfs) (struct dentry *, struct kstatfs *); dentry 1545 include/linux/fs.h touch_atime(file->f_path.mnt, file->f_path.dentry); dentry 1864 include/linux/fs.h atomic_inc(&file->f_path.dentry->d_inode->i_writecount); dentry 2092 include/linux/fs.h extern struct dentry *simple_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 2097 include/linux/fs.h struct dentry *d_alloc_name(struct dentry *, const char *); dentry 2124 include/linux/fs.h spin_lock(&dentry->d_lock); dentry 2125 include/linux/fs.h res = dentry->d_parent->d_inode->i_ino; dentry 2126 include/linux/fs.h spin_unlock(&dentry->d_lock); dentry 79 include/linux/fsnotify.h dnotify_parent(dentry, DN_DELETE); dentry 80 include/linux/fsnotify.h inotify_dentry_parent_queue_event(dentry, IN_DELETE|isdir, 0, dentry->d_name.name); dentry 106 include/linux/fsnotify.h inotify_inode_queue_event(inode, IN_CREATE, 0, dentry->d_name.name, dentry 107 include/linux/fsnotify.h dentry->d_inode); dentry 108 include/linux/fsnotify.h audit_inode_child(dentry->d_name.name, dentry, inode); dentry 132 include/linux/fsnotify.h dentry->d_name.name, dentry->d_inode); dentry 133 include/linux/fsnotify.h audit_inode_child(dentry->d_name.name, dentry, inode); dentry 141 include/linux/fsnotify.h struct inode *inode = dentry->d_inode; dentry 147 include/linux/fsnotify.h dnotify_parent(dentry, DN_ACCESS); dentry 148 include/linux/fsnotify.h inotify_dentry_parent_queue_event(dentry, mask, 0, dentry->d_name.name); dentry 157 include/linux/fsnotify.h struct inode *inode = dentry->d_inode; dentry 163 include/linux/fsnotify.h dnotify_parent(dentry, DN_MODIFY); dentry 164 include/linux/fsnotify.h inotify_dentry_parent_queue_event(dentry, mask, 0, dentry->d_name.name); dentry 173 include/linux/fsnotify.h struct inode *inode = dentry->d_inode; dentry 179 include/linux/fsnotify.h inotify_dentry_parent_queue_event(dentry, mask, 0, dentry->d_name.name); dentry 188 include/linux/fsnotify.h struct dentry *dentry = file->f_path.dentry; dentry 189 include/linux/fsnotify.h struct inode *inode = dentry->d_inode; dentry 190 include/linux/fsnotify.h const char *name = dentry->d_name.name; dentry 197 include/linux/fsnotify.h inotify_dentry_parent_queue_event(dentry, mask, 0, name); dentry 206 include/linux/fsnotify.h struct inode *inode = dentry->d_inode; dentry 212 include/linux/fsnotify.h inotify_dentry_parent_queue_event(dentry, mask, 0, dentry->d_name.name); dentry 222 include/linux/fsnotify.h struct inode *inode = dentry->d_inode; dentry 256 include/linux/fsnotify.h dnotify_parent(dentry, dn_mask); dentry 261 include/linux/fsnotify.h inotify_dentry_parent_queue_event(dentry, in_mask, 0, dentry 262 include/linux/fsnotify.h dentry->d_name.name); dentry 324 include/linux/kvm_host.h struct dentry *dentry; dentry 327 include/linux/kvm_host.h extern struct dentry *kvm_debugfs_dir; dentry 277 include/linux/lockd/lockd.h return file->f_file->f_path.dentry->d_inode; dentry 115 include/linux/mmc/card.h struct dentry *debugfs_root; dentry 160 include/linux/mmc/host.h struct dentry *debugfs_root; dentry 22 include/linux/mount.h struct dentry; dentry 43 include/linux/mount.h struct dentry *mnt_mountpoint; /* dentry of mountpoint */ dentry 44 include/linux/mount.h struct dentry *mnt_root; /* root of the mounted tree */ dentry 74 include/linux/namei.h extern struct dentry *lookup_one_len(const char *, struct dentry *, int); dentry 75 include/linux/namei.h extern struct dentry *lookup_one_noperm(const char *, struct dentry *); dentry 80 include/linux/namei.h extern struct dentry *lock_rename(struct dentry *, struct dentry *); dentry 294 include/linux/nfs_fs.h dentry->d_time = verf; dentry 795 include/linux/nfs_xdr.h int (*setattr) (struct dentry *, struct nfs_fattr *, dentry 802 include/linux/nfs_xdr.h int (*create) (struct inode *, struct dentry *, dentry 810 include/linux/nfs_xdr.h int (*symlink) (struct inode *, struct dentry *, struct page *, dentry 812 include/linux/nfs_xdr.h int (*mkdir) (struct inode *, struct dentry *, struct iattr *); dentry 814 include/linux/nfs_xdr.h int (*readdir) (struct dentry *, struct rpc_cred *, dentry 816 include/linux/nfs_xdr.h int (*mknod) (struct inode *, struct dentry *, struct iattr *, dentry 137 include/linux/nfsd/nfsfh.h struct dentry * fh_dentry; /* validated dentry */ dentry 312 include/linux/nfsd/nfsfh.h struct dentry *dentry = fhp->fh_dentry; dentry 318 include/linux/nfsd/nfsfh.h BUG_ON(!dentry); dentry 322 include/linux/nfsd/nfsfh.h dentry->d_parent->d_name.name, dentry->d_name.name); dentry 326 include/linux/nfsd/nfsfh.h inode = dentry->d_inode; dentry 43 include/linux/oprofile.h struct dentry; dentry 51 include/linux/oprofile.h int (*create_files)(struct super_block * sb, struct dentry * root); dentry 142 include/linux/oprofile.h struct dentry * oprofilefs_mkdir(struct super_block * sb, struct dentry * root, dentry 4 include/linux/path.h struct dentry; dentry 9 include/linux/path.h struct dentry *dentry; dentry 297 include/linux/pktcdvd.h struct dentry *dfs_d_root; /* debugfs: devname directory */ dentry 298 include/linux/pktcdvd.h struct dentry *dfs_f_info; /* debugfs: info file */ dentry 108 include/linux/proc_fs.h struct dentry *proc_pid_lookup(struct inode *dir, struct dentry * dentry, struct nameidata *); dentry 139 include/linux/proc_fs.h extern struct dentry *proc_lookup(struct inode *, struct dentry *, struct nameidata *); dentry 114 include/linux/qnx4_fs.h extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd); dentry 1882 include/linux/reiserfs_fs.h struct dentry *reiserfs_fh_to_dentry(struct super_block *sb, struct fid *fid, dentry 1884 include/linux/reiserfs_fs.h struct dentry *reiserfs_fh_to_parent(struct super_block *sb, struct fid *fid, dentry 1919 include/linux/reiserfs_fs.h struct dentry *reiserfs_get_parent(struct dentry *); dentry 400 include/linux/reiserfs_fs_sb.h struct dentry *priv_root; /* root of /.reiserfs_priv */ dentry 402 include/linux/reiserfs_fs_sb.h struct dentry *xattr_root; /* root of /.reiserfs_priv/.xa */ dentry 27 include/linux/reiserfs_xattr.h struct dentry; dentry 43 include/linux/relay.h struct dentry *dentry; /* channel file dentry */ dentry 71 include/linux/relay.h struct dentry *parent; /* parent dentry passed to open */ dentry 145 include/linux/relay.h struct dentry *(*create_buf_file)(const char *filename, dentry 146 include/linux/relay.h struct dentry *parent, dentry 161 include/linux/relay.h int (*remove_buf_file)(struct dentry *dentry); dentry 1314 include/linux/security.h int (*quota_on) (struct dentry *dentry); dentry 1332 include/linux/security.h int (*sb_statfs) (struct dentry *dentry); dentry 1358 include/linux/security.h struct dentry *dentry, int mode); dentry 1359 include/linux/security.h int (*inode_link) (struct dentry *old_dentry, dentry 1360 include/linux/security.h struct inode *dir, struct dentry *new_dentry); dentry 1361 include/linux/security.h int (*inode_unlink) (struct inode *dir, struct dentry *dentry); dentry 1363 include/linux/security.h struct dentry *dentry, const char *old_name); dentry 1364 include/linux/security.h int (*inode_mkdir) (struct inode *dir, struct dentry *dentry, int mode); dentry 1365 include/linux/security.h int (*inode_rmdir) (struct inode *dir, struct dentry *dentry); dentry 1366 include/linux/security.h int (*inode_mknod) (struct inode *dir, struct dentry *dentry, dentry 1368 include/linux/security.h int (*inode_rename) (struct inode *old_dir, struct dentry *old_dentry, dentry 1369 include/linux/security.h struct inode *new_dir, struct dentry *new_dentry); dentry 1370 include/linux/security.h int (*inode_readlink) (struct dentry *dentry); dentry 1371 include/linux/security.h int (*inode_follow_link) (struct dentry *dentry, struct nameidata *nd); dentry 1373 include/linux/security.h int (*inode_setattr) (struct dentry *dentry, struct iattr *attr); dentry 1374 include/linux/security.h int (*inode_getattr) (struct vfsmount *mnt, struct dentry *dentry); dentry 1376 include/linux/security.h int (*inode_setxattr) (struct dentry *dentry, const char *name, dentry 1378 include/linux/security.h void (*inode_post_setxattr) (struct dentry *dentry, const char *name, dentry 1380 include/linux/security.h int (*inode_getxattr) (struct dentry *dentry, const char *name); dentry 1381 include/linux/security.h int (*inode_listxattr) (struct dentry *dentry); dentry 1382 include/linux/security.h int (*inode_removexattr) (struct dentry *dentry, const char *name); dentry 1383 include/linux/security.h int (*inode_need_killpriv) (struct dentry *dentry); dentry 1384 include/linux/security.h int (*inode_killpriv) (struct dentry *dentry); dentry 1474 include/linux/security.h void (*d_instantiate) (struct dentry *dentry, struct inode *inode); dentry 2053 include/linux/security.h return cap_inode_setxattr(dentry, name, value, size, flags); dentry 2074 include/linux/security.h return cap_inode_removexattr(dentry, name); dentry 2079 include/linux/security.h return cap_inode_need_killpriv(dentry); dentry 2084 include/linux/security.h return cap_inode_killpriv(dentry); dentry 2787 include/linux/security.h extern struct dentry *securityfs_create_file(const char *name, mode_t mode, dentry 2790 include/linux/security.h extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent); dentry 2795 include/linux/security.h static inline struct dentry *securityfs_create_dir(const char *name, dentry 2801 include/linux/security.h static inline struct dentry *securityfs_create_file(const char *name, dentry 14 include/linux/seq_file.h struct dentry; dentry 90 include/linux/smb_fs.h dentry->d_time = jiffies - SMB_MAX_AGE(server); dentry 100 include/linux/smb_fs.h #define SMB_DIRCACHE_SIZE ((int)(PAGE_CACHE_SIZE/sizeof(struct dentry *))) dentry 103 include/linux/smb_fs.h struct dentry *dentry[SMB_DIRCACHE_SIZE]; dentry 107 include/linux/smb_fs.h sizeof(struct dentry *) - sizeof(struct smb_cache_head)) / \ dentry 108 include/linux/smb_fs.h sizeof(struct dentry *))) dentry 129 include/linux/smb_fs.h int (*getattr)(struct smb_sb_info *server, struct dentry *dir, dentry 33 include/linux/smb_fs_sb.h #define server_from_dentry(dentry) SMB_SB((dentry)->d_sb) dentry 55 include/linux/sunrpc/clnt.h struct dentry * cl_dentry; /* inode */ dentry 46 include/linux/sunrpc/rpc_pipe_fs.h extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *); dentry 48 include/linux/sunrpc/rpc_pipe_fs.h extern struct dentry *rpc_mkpipe(struct dentry *, const char *, void *, struct rpc_pipe_ops *, int flags); dentry 326 include/linux/usb.h struct dentry *usbfs_dentry; /* usbfs dentry entry for the bus */ dentry 463 include/linux/usb.h struct dentry *usbfs_dentry; dentry 37 include/linux/xattr.h struct dentry; dentry 48 include/net/af_unix.h struct dentry *dentry; dentry 1842 include/net/mac80211.h void *(*alloc)(struct ieee80211_hw *hw, struct dentry *debugfsdir); dentry 1861 include/net/mac80211.h struct dentry *dir); dentry 213 include/net/wireless.h struct dentry *debugfsdir; dentry 268 ipc/mqueue.c struct mq_attr *attr = dentry->d_fsdata; dentry 290 ipc/mqueue.c d_instantiate(dentry, inode); dentry 291 ipc/mqueue.c dget(dentry); dentry 300 ipc/mqueue.c struct inode *inode = dentry->d_inode; dentry 305 ipc/mqueue.c dput(dentry); dentry 319 ipc/mqueue.c struct mqueue_inode_info *info = MQUEUE_I(filp->f_path.dentry->d_inode); dentry 340 ipc/mqueue.c filp->f_path.dentry->d_inode->i_atime = filp->f_path.dentry->d_inode->i_ctime = CURRENT_TIME; dentry 346 ipc/mqueue.c struct mqueue_inode_info *info = MQUEUE_I(filp->f_path.dentry->d_inode); dentry 358 ipc/mqueue.c struct mqueue_inode_info *info = MQUEUE_I(filp->f_path.dentry->d_inode); dentry 601 ipc/mqueue.c dentry->d_fsdata = &attr; dentry 608 ipc/mqueue.c ret = vfs_create(dir->d_inode, dentry, mode, NULL); dentry 609 ipc/mqueue.c dentry->d_fsdata = NULL; dentry 613 ipc/mqueue.c result = dentry_open(dentry, mqueue_mnt, oflag); dentry 624 ipc/mqueue.c dput(dentry); dentry 636 ipc/mqueue.c dput(dentry); dentry 641 ipc/mqueue.c if (inode_permission(dentry->d_inode, oflag2acc[oflag & O_ACCMODE])) { dentry 642 ipc/mqueue.c dput(dentry); dentry 647 ipc/mqueue.c return dentry_open(dentry, mqueue_mnt, oflag); dentry 653 ipc/mqueue.c struct dentry *dentry; dentry 670 ipc/mqueue.c dentry = lookup_one_len(name, mqueue_mnt->mnt_root, strlen(name)); dentry 671 ipc/mqueue.c if (IS_ERR(dentry)) { dentry 672 ipc/mqueue.c error = PTR_ERR(dentry); dentry 678 ipc/mqueue.c if (dentry->d_inode) { /* entry already exists */ dentry 679 ipc/mqueue.c audit_inode(name, dentry); dentry 683 ipc/mqueue.c filp = do_open(dentry, oflag); dentry 685 ipc/mqueue.c filp = do_create(mqueue_mnt->mnt_root, dentry, dentry 690 ipc/mqueue.c if (!dentry->d_inode) dentry 692 ipc/mqueue.c audit_inode(name, dentry); dentry 693 ipc/mqueue.c filp = do_open(dentry, oflag); dentry 705 ipc/mqueue.c dput(dentry); dentry 722 ipc/mqueue.c struct dentry *dentry; dentry 731 ipc/mqueue.c dentry = lookup_one_len(name, mqueue_mnt->mnt_root, strlen(name)); dentry 732 ipc/mqueue.c if (IS_ERR(dentry)) { dentry 733 ipc/mqueue.c err = PTR_ERR(dentry); dentry 737 ipc/mqueue.c if (!dentry->d_inode) { dentry 742 ipc/mqueue.c inode = dentry->d_inode; dentry 748 ipc/mqueue.c err = vfs_unlink(dentry->d_parent->d_inode, dentry); dentry 751 ipc/mqueue.c dput(dentry); dentry 838 ipc/mqueue.c inode = filp->f_path.dentry->d_inode; dentry 842 ipc/mqueue.c audit_inode(NULL, filp->f_path.dentry); dentry 922 ipc/mqueue.c inode = filp->f_path.dentry->d_inode; dentry 926 ipc/mqueue.c audit_inode(NULL, filp->f_path.dentry); dentry 1062 ipc/mqueue.c inode = filp->f_path.dentry->d_inode; dentry 1132 ipc/mqueue.c inode = filp->f_path.dentry->d_inode; dentry 177 ipc/shm.c user_shm_unlock(shp->shm_file->f_path.dentry->d_inode->i_size, dentry 277 ipc/shm.c int (*fsync) (struct file *, struct dentry *, int datasync); dentry 283 ipc/shm.c ret = fsync(sfd->file, sfd->file->f_path.dentry, datasync); dentry 561 ipc/shm.c inode = shp->shm_file->f_path.dentry->d_inode; dentry 872 ipc/shm.c path.dentry = dget(shp->shm_file->f_path.dentry); dentry 875 ipc/shm.c size = i_size_read(path.dentry->d_inode); dentry 883 ipc/shm.c file = alloc_file(path.mnt, path.dentry, f_mode, &shm_file_operations); dentry 940 ipc/shm.c dput(path.dentry); dentry 1007 ipc/shm.c size = vma->vm_file->f_path.dentry->d_inode->i_size; dentry 125 kernel/acct.c if (vfs_statfs(file->f_path.dentry, &sbuf)) dentry 227 kernel/acct.c if (!S_ISREG(file->f_path.dentry->d_inode->i_mode)) { dentry 551 kernel/audit_tree.c root_mnt = collect_mounts(nd.path.mnt, nd.path.dentry); dentry 593 kernel/audit_tree.c dentry = mnt->mnt_mountpoint; dentry 595 kernel/audit_tree.c return is_subdir(dentry, nd->path.dentry); dentry 643 kernel/audit_tree.c mnt = collect_mounts(nd.path.mnt, nd.path.dentry); dentry 697 kernel/audit_tree.c struct dentry *dentry; dentry 703 kernel/audit_tree.c tagged = collect_mounts(nd.path.mnt, nd.path.dentry); dentry 714 kernel/audit_tree.c dentry = dget(nd.path.dentry); dentry 717 kernel/audit_tree.c if (dentry == tagged->mnt_root && dentry == mnt->mnt_root) dentry 718 kernel/audit_tree.c follow_up(&mnt, &dentry); dentry 744 kernel/audit_tree.c if (!is_under(mnt, dentry, &nd)) { dentry 802 kernel/audit_tree.c dput(dentry); dentry 168 kernel/auditfilter.c ndp->path.dentry->d_inode, AUDIT_IN_WATCH); dentry 1226 kernel/auditfilter.c watch->dev = ndw->path.dentry->d_inode->i_sb->s_dev; dentry 1227 kernel/auditfilter.c watch->ino = ndw->path.dentry->d_inode->i_ino; dentry 1237 kernel/auditfilter.c if (inotify_find_watch(audit_ih, ndp->path.dentry->d_inode, dentry 809 kernel/auditsc.c context->pwd.dentry = NULL; dentry 1361 kernel/auditsc.c if (context->pwd.dentry && context->pwd.mnt) { dentry 1633 kernel/auditsc.c const struct dentry *d, *parent; dentry 1643 kernel/auditsc.c d = dentry; dentry 1716 kernel/auditsc.c if (!context->pwd.dentry) { dentry 1813 kernel/auditsc.c const struct inode *inode = dentry->d_inode; dentry 1833 kernel/auditsc.c handle_path(dentry); dentry 1857 kernel/auditsc.c const struct inode *inode = dentry->d_inode; dentry 602 kernel/cgroup.c struct cgroup *cgrp = dentry->d_fsdata; dentry 636 kernel/cgroup.c struct dentry *parent = dget(d->d_parent); dentry 647 kernel/cgroup.c BUG_ON(!mutex_is_locked(&dentry->d_inode->i_mutex)); dentry 649 kernel/cgroup.c node = dentry->d_subdirs.next; dentry 650 kernel/cgroup.c while (node != &dentry->d_subdirs) { dentry 651 kernel/cgroup.c struct dentry *d = list_entry(node, struct dentry, d_u.d_child); dentry 660 kernel/cgroup.c simple_unlink(dentry->d_inode, d); dentry 664 kernel/cgroup.c node = dentry->d_subdirs.next; dentry 674 kernel/cgroup.c cgroup_clear_directory(dentry); dentry 677 kernel/cgroup.c list_del_init(&dentry->d_u.d_child); dentry 679 kernel/cgroup.c remove_dir(dentry); dentry 836 kernel/cgroup.c mutex_lock(&cgrp->dentry->d_inode->i_mutex); dentry 862 kernel/cgroup.c mutex_unlock(&cgrp->dentry->d_inode->i_mutex); dentry 927 kernel/cgroup.c struct dentry *dentry; dentry 936 kernel/cgroup.c dentry = d_alloc_root(inode); dentry 937 kernel/cgroup.c if (!dentry) { dentry 941 kernel/cgroup.c sb->s_root = dentry; dentry 1034 kernel/cgroup.c root->top_cgroup.dentry = sb->s_root; dentry 1132 kernel/cgroup.c return dentry->d_fsdata; dentry 1137 kernel/cgroup.c return dentry->d_fsdata; dentry 1166 kernel/cgroup.c int len = cgrp->dentry->d_name.len; dentry 1169 kernel/cgroup.c memcpy(start, cgrp->dentry->d_name.name, len); dentry 1622 kernel/cgroup.c if (!dentry) dentry 1624 kernel/cgroup.c if (dentry->d_inode) dentry 1645 kernel/cgroup.c dentry->d_op = &cgroup_dops; dentry 1646 kernel/cgroup.c d_instantiate(dentry, inode); dentry 1647 kernel/cgroup.c dget(dentry); /* Extra count - pin the dentry in core */ dentry 1661 kernel/cgroup.c struct dentry *parent; dentry 1664 kernel/cgroup.c parent = cgrp->parent->dentry; dentry 1665 kernel/cgroup.c error = cgroup_create_file(dentry, S_IFDIR | mode, cgrp->root->sb); dentry 1667 kernel/cgroup.c dentry->d_fsdata = cgrp; dentry 1669 kernel/cgroup.c cgrp->dentry = dentry; dentry 1670 kernel/cgroup.c dget(dentry); dentry 1672 kernel/cgroup.c dput(dentry); dentry 1681 kernel/cgroup.c struct dentry *dir = cgrp->dentry; dentry 1682 kernel/cgroup.c struct dentry *dentry; dentry 1692 kernel/cgroup.c dentry = lookup_one_len(name, dir, strlen(name)); dentry 1693 kernel/cgroup.c if (!IS_ERR(dentry)) { dentry 1694 kernel/cgroup.c error = cgroup_create_file(dentry, 0644 | S_IFREG, dentry 1697 kernel/cgroup.c dentry->d_fsdata = (void *)cft; dentry 1698 kernel/cgroup.c dput(dentry); dentry 1700 kernel/cgroup.c error = PTR_ERR(dentry); dentry 2051 kernel/cgroup.c if (dentry->d_sb->s_op != &cgroup_ops) dentry 2055 kernel/cgroup.c cgrp = dentry->d_fsdata; dentry 2241 kernel/cgroup.c cgroup_clear_directory(cgrp->dentry); dentry 2327 kernel/cgroup.c err = cgroup_create_dir(cgrp, dentry, mode); dentry 2332 kernel/cgroup.c BUG_ON(!mutex_is_locked(&cgrp->dentry->d_inode->i_mutex)); dentry 2338 kernel/cgroup.c mutex_unlock(&cgrp->dentry->d_inode->i_mutex); dentry 2365 kernel/cgroup.c struct cgroup *c_parent = dentry->d_parent->d_fsdata; dentry 2368 kernel/cgroup.c return cgroup_create(c_parent, dentry, mode | S_IFDIR); dentry 2404 kernel/cgroup.c struct cgroup *cgrp = dentry->d_fsdata; dentry 2405 kernel/cgroup.c struct dentry *d; dentry 2444 kernel/cgroup.c spin_lock(&cgrp->dentry->d_lock); dentry 2445 kernel/cgroup.c d = dget(cgrp->dentry); dentry 2446 kernel/cgroup.c cgrp->dentry = NULL; dentry 2859 kernel/cgroup.c struct dentry *dentry; dentry 2893 kernel/cgroup.c inode = parent->dentry->d_inode; dentry 2898 kernel/cgroup.c dentry = lookup_one_len(nodename, parent->dentry, strlen(nodename)); dentry 2899 kernel/cgroup.c if (IS_ERR(dentry)) { dentry 2902 kernel/cgroup.c PTR_ERR(dentry)); dentry 2903 kernel/cgroup.c ret = PTR_ERR(dentry); dentry 2908 kernel/cgroup.c ret = vfs_mkdir(inode, dentry, S_IFDIR | 0755); dentry 2909 kernel/cgroup.c child = __d_cgrp(dentry); dentry 2910 kernel/cgroup.c dput(dentry); dentry 315 kernel/fork.c struct inode *inode = file->f_path.dentry->d_inode; dentry 246 kernel/futex.c key->shared.inode = vma->vm_file->f_path.dentry->d_inode; dentry 42 kernel/irq/proc.c unsigned int irq = (int)(long)PDE(file->f_path.dentry->d_inode)->data; dentry 1303 kernel/kprobes.c struct dentry *dir, *file; dentry 279 kernel/rcupreempt_trace.c static struct dentry *rcudir, *statdir, *ctrsdir, *gpdir; dentry 240 kernel/relay.c buf->chan->cb->remove_buf_file(buf->dentry); dentry 310 kernel/relay.c static struct dentry *create_buf_file_default_callback(const char *filename, dentry 413 kernel/relay.c buf->dentry = dentry; dentry 414 kernel/relay.c buf->dentry->d_inode->i_size = buf->early_bytes; dentry 417 kernel/relay.c static struct dentry *relay_create_buf_file(struct rchan *chan, dentry 421 kernel/relay.c struct dentry *dentry; dentry 430 kernel/relay.c dentry = chan->cb->create_buf_file(tmpname, chan->parent, dentry 436 kernel/relay.c return dentry; dentry 447 kernel/relay.c struct dentry *dentry; dentry 457 kernel/relay.c dentry = relay_create_buf_file(chan, buf, cpu); dentry 458 kernel/relay.c if (!dentry) dentry 460 kernel/relay.c relay_set_buf_dentry(buf, dentry); dentry 628 kernel/relay.c struct dentry *dentry; dentry 636 kernel/relay.c relay_set_buf_dentry(p->buf, p->dentry); dentry 657 kernel/relay.c struct dentry *dentry; dentry 686 kernel/relay.c dentry = relay_create_buf_file(chan, chan->buf[i], i); dentry 687 kernel/relay.c if (unlikely(!dentry)) { dentry 694 kernel/relay.c relay_set_buf_dentry(chan->buf[i], dentry); dentry 698 kernel/relay.c disp.dentry = dentry; dentry 737 kernel/relay.c if (buf->dentry) dentry 738 kernel/relay.c buf->dentry->d_inode->i_size += dentry 1142 kernel/relay.c mutex_lock(&filp->f_path.dentry->d_inode->i_mutex); dentry 1162 kernel/relay.c mutex_unlock(&filp->f_path.dentry->d_inode->i_mutex); dentry 1521 kernel/trace/ftrace.c struct dentry *d_tracer; dentry 1522 kernel/trace/ftrace.c struct dentry *entry; dentry 2824 kernel/trace/trace.c static struct dentry *d_tracer; dentry 2826 kernel/trace/trace.c struct dentry *tracing_init_dentry(void) dentry 2851 kernel/trace/trace.c struct dentry *d_tracer; dentry 2852 kernel/trace/trace.c struct dentry *entry; dentry 195 kernel/trace/trace.h struct dentry *tracing_init_dentry(void); dentry 356 kernel/trace/trace_sysprof.c struct dentry *entry; dentry 608 lib/debugobjects.c struct dentry *dbgdir, *dbgstats; dentry 161 lib/fault-inject.c static struct dentry *debugfs_create_ul(const char *name, mode_t mode, dentry 171 lib/fault-inject.c static struct dentry *debugfs_create_ul_MAX_STACK_TRACE_DEPTH( dentry 195 lib/fault-inject.c static struct dentry *debugfs_create_atomic_t(const char *name, mode_t mode, dentry 250 lib/fault-inject.c struct dentry *dir; dentry 17 mm/backing-dev.c static struct dentry *bdi_debug_root; dentry 41 mm/fadvise.c if (S_ISFIFO(file->f_path.dentry->d_inode->i_mode)) { dentry 1742 mm/filemap.c mode_t mode = dentry->d_inode->i_mode; dentry 1768 mm/filemap.c return notify_change(dentry, &newattrs); dentry 1773 mm/filemap.c struct dentry *dentry = file->f_path.dentry; dentry 1774 mm/filemap.c int killsuid = should_remove_suid(dentry); dentry 1775 mm/filemap.c int killpriv = security_inode_need_killpriv(dentry); dentry 1781 mm/filemap.c error = security_inode_killpriv(dentry); dentry 1783 mm/filemap.c error = __remove_suid(dentry, killsuid); dentry 199 mm/mmap.c atomic_inc(&file->f_path.dentry->d_inode->i_writecount); dentry 422 mm/mmap.c atomic_dec(&file->f_path.dentry->d_inode->i_writecount); dentry 986 mm/mmap.c inode = file ? file->f_path.dentry->d_inode : NULL; dentry 1102 mm/mmap.c struct inode *inode = file ? file->f_path.dentry->d_inode : NULL; dentry 619 mm/nommu.c mapping = file->f_path.dentry->d_inode->i_mapping; dentry 628 mm/nommu.c switch (file->f_path.dentry->d_inode->i_mode & S_IFMT) { dentry 659 mm/nommu.c if (IS_APPEND(file->f_path.dentry->d_inode) && dentry 663 mm/nommu.c if (locks_verify_locked(file->f_path.dentry->d_inode)) dentry 937 mm/nommu.c if (vma->vm_file->f_path.dentry->d_inode != file->f_path.dentry->d_inode) dentry 1125 mm/page_alloc.c struct dentry *ignore_gfp_highmem_file; dentry 1126 mm/page_alloc.c struct dentry *ignore_gfp_wait_file; dentry 1127 mm/page_alloc.c struct dentry *min_order_file; dentry 1163 mm/page_alloc.c struct dentry *dir; dentry 749 mm/shmem.c struct inode *inode = dentry->d_inode; dentry 1435 mm/shmem.c struct inode *inode = vma->vm_file->f_path.dentry->d_inode; dentry 1453 mm/shmem.c struct inode *i = vma->vm_file->f_path.dentry->d_inode; dentry 1460 mm/shmem.c struct inode *i = vma->vm_file->f_path.dentry->d_inode; dentry 1470 mm/shmem.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1601 mm/shmem.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 1737 mm/shmem.c struct shmem_sb_info *sbinfo = SHMEM_SB(dentry->d_sb); dentry 1786 mm/shmem.c d_instantiate(dentry, inode); dentry 1787 mm/shmem.c dget(dentry); /* Extra count - pin the dentry in core */ dentry 1796 mm/shmem.c if ((error = shmem_mknod(dir, dentry, mode | S_IFDIR, 0))) dentry 1805 mm/shmem.c return shmem_mknod(dir, dentry, mode | S_IFREG, 0); dentry 1829 mm/shmem.c dget(dentry); /* Extra pinning count for the created dentry */ dentry 1830 mm/shmem.c d_instantiate(dentry, inode); dentry 1837 mm/shmem.c struct inode *inode = dentry->d_inode; dentry 1845 mm/shmem.c dput(dentry); /* Undo the count from "create" - this does all the work */ dentry 1851 mm/shmem.c if (!simple_empty(dentry)) dentry 1854 mm/shmem.c drop_nlink(dentry->d_inode); dentry 1856 mm/shmem.c return shmem_unlink(dir, dentry); dentry 1942 mm/shmem.c d_instantiate(dentry, inode); dentry 1943 mm/shmem.c dget(dentry); dentry 1949 mm/shmem.c nd_set_link(nd, (char *)SHMEM_I(dentry->d_inode)); dentry 1956 mm/shmem.c int res = shmem_getpage(dentry->d_inode, 0, &page, SGP_READ, NULL); dentry 2031 mm/shmem.c static struct dentry *shmem_get_parent(struct dentry *child) dentry 2044 mm/shmem.c static struct dentry *shmem_fh_to_dentry(struct super_block *sb, dentry 2048 mm/shmem.c struct dentry *dentry = NULL; dentry 2058 mm/shmem.c dentry = d_find_alias(inode); dentry 2062 mm/shmem.c return dentry; dentry 2068 mm/shmem.c struct inode *inode = dentry->d_inode; dentry 2263 mm/shmem.c struct dentry *root; dentry 2536 mm/shmem.c struct dentry *dentry, *root; dentry 2553 mm/shmem.c dentry = d_alloc(root, &this); dentry 2554 mm/shmem.c if (!dentry) dentry 2568 mm/shmem.c d_instantiate(dentry, inode); dentry 2571 mm/shmem.c init_file(file, shm_mnt, dentry, FMODE_WRITE | FMODE_READ, dentry 2578 mm/shmem.c dput(dentry); dentry 3116 mm/slab.c struct dentry *ignore_gfp_wait_file; dentry 3147 mm/slab.c struct dentry *dir; dentry 1411 mm/swapfile.c S_ISBLK(file->f_path.dentry->d_inode->i_mode) ? dentry 53 mm/tiny-shmem.c struct dentry *dentry, *root; dentry 64 mm/tiny-shmem.c dentry = d_alloc(root, &this); dentry 65 mm/tiny-shmem.c if (!dentry) dentry 78 mm/tiny-shmem.c d_instantiate(dentry, inode); dentry 81 mm/tiny-shmem.c init_file(file, shm_mnt, dentry, FMODE_WRITE | FMODE_READ, dentry 94 mm/tiny-shmem.c dput(dentry); dentry 381 net/atm/proc.c dev = PDE(file->f_path.dentry->d_inode)->data; dentry 666 net/ipv4/netfilter/ipt_CLUSTERIP.c const struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 195 net/mac80211/debugfs.c struct dentry *phyd = local->hw.wiphy->debugfsdir; dentry 196 net/mac80211/debugfs.c struct dentry *statsd; dentry 533 net/mac80211/debugfs_netdev.c struct dentry *dir; dentry 248 net/mac80211/debugfs_sta.c struct dentry *stations_dir = sta->local->debugfs.stations; dentry 466 net/mac80211/ieee80211_i.h struct dentry *debugfsdir; dentry 469 net/mac80211/ieee80211_i.h struct dentry *drop_unencrypted; dentry 470 net/mac80211/ieee80211_i.h struct dentry *state; dentry 471 net/mac80211/ieee80211_i.h struct dentry *bssid; dentry 472 net/mac80211/ieee80211_i.h struct dentry *prev_bssid; dentry 473 net/mac80211/ieee80211_i.h struct dentry *ssid_len; dentry 474 net/mac80211/ieee80211_i.h struct dentry *aid; dentry 475 net/mac80211/ieee80211_i.h struct dentry *ap_capab; dentry 476 net/mac80211/ieee80211_i.h struct dentry *capab; dentry 477 net/mac80211/ieee80211_i.h struct dentry *extra_ie_len; dentry 478 net/mac80211/ieee80211_i.h struct dentry *auth_tries; dentry 479 net/mac80211/ieee80211_i.h struct dentry *assoc_tries; dentry 480 net/mac80211/ieee80211_i.h struct dentry *auth_algs; dentry 481 net/mac80211/ieee80211_i.h struct dentry *auth_alg; dentry 482 net/mac80211/ieee80211_i.h struct dentry *auth_transaction; dentry 483 net/mac80211/ieee80211_i.h struct dentry *flags; dentry 484 net/mac80211/ieee80211_i.h struct dentry *force_unicast_rateidx; dentry 485 net/mac80211/ieee80211_i.h struct dentry *max_ratectrl_rateidx; dentry 488 net/mac80211/ieee80211_i.h struct dentry *drop_unencrypted; dentry 489 net/mac80211/ieee80211_i.h struct dentry *num_sta_ps; dentry 490 net/mac80211/ieee80211_i.h struct dentry *dtim_count; dentry 491 net/mac80211/ieee80211_i.h struct dentry *force_unicast_rateidx; dentry 492 net/mac80211/ieee80211_i.h struct dentry *max_ratectrl_rateidx; dentry 493 net/mac80211/ieee80211_i.h struct dentry *num_buffered_multicast; dentry 496 net/mac80211/ieee80211_i.h struct dentry *drop_unencrypted; dentry 497 net/mac80211/ieee80211_i.h struct dentry *peer; dentry 498 net/mac80211/ieee80211_i.h struct dentry *force_unicast_rateidx; dentry 499 net/mac80211/ieee80211_i.h struct dentry *max_ratectrl_rateidx; dentry 502 net/mac80211/ieee80211_i.h struct dentry *drop_unencrypted; dentry 503 net/mac80211/ieee80211_i.h struct dentry *force_unicast_rateidx; dentry 504 net/mac80211/ieee80211_i.h struct dentry *max_ratectrl_rateidx; dentry 507 net/mac80211/ieee80211_i.h struct dentry *mode; dentry 511 net/mac80211/ieee80211_i.h struct dentry *default_key; dentry 515 net/mac80211/ieee80211_i.h struct dentry *mesh_stats_dir; dentry 517 net/mac80211/ieee80211_i.h struct dentry *fwded_frames; dentry 518 net/mac80211/ieee80211_i.h struct dentry *dropped_frames_ttl; dentry 519 net/mac80211/ieee80211_i.h struct dentry *dropped_frames_no_route; dentry 520 net/mac80211/ieee80211_i.h struct dentry *estab_plinks; dentry 524 net/mac80211/ieee80211_i.h struct dentry *mesh_config_dir; dentry 526 net/mac80211/ieee80211_i.h struct dentry *dot11MeshRetryTimeout; dentry 527 net/mac80211/ieee80211_i.h struct dentry *dot11MeshConfirmTimeout; dentry 528 net/mac80211/ieee80211_i.h struct dentry *dot11MeshHoldingTimeout; dentry 529 net/mac80211/ieee80211_i.h struct dentry *dot11MeshMaxRetries; dentry 530 net/mac80211/ieee80211_i.h struct dentry *dot11MeshTTL; dentry 531 net/mac80211/ieee80211_i.h struct dentry *auto_open_plinks; dentry 532 net/mac80211/ieee80211_i.h struct dentry *dot11MeshMaxPeerLinks; dentry 533 net/mac80211/ieee80211_i.h struct dentry *dot11MeshHWMPactivePathTimeout; dentry 534 net/mac80211/ieee80211_i.h struct dentry *dot11MeshHWMPpreqMinInterval; dentry 535 net/mac80211/ieee80211_i.h struct dentry *dot11MeshHWMPnetDiameterTraversalTime; dentry 536 net/mac80211/ieee80211_i.h struct dentry *dot11MeshHWMPmaxPREQretries; dentry 537 net/mac80211/ieee80211_i.h struct dentry *path_refresh_time; dentry 538 net/mac80211/ieee80211_i.h struct dentry *min_discovery_timeout; dentry 727 net/mac80211/ieee80211_i.h struct dentry *rcdir; dentry 728 net/mac80211/ieee80211_i.h struct dentry *rcname; dentry 729 net/mac80211/ieee80211_i.h struct dentry *frequency; dentry 730 net/mac80211/ieee80211_i.h struct dentry *antenna_sel_tx; dentry 731 net/mac80211/ieee80211_i.h struct dentry *antenna_sel_rx; dentry 732 net/mac80211/ieee80211_i.h struct dentry *rts_threshold; dentry 733 net/mac80211/ieee80211_i.h struct dentry *fragmentation_threshold; dentry 734 net/mac80211/ieee80211_i.h struct dentry *short_retry_limit; dentry 735 net/mac80211/ieee80211_i.h struct dentry *long_retry_limit; dentry 736 net/mac80211/ieee80211_i.h struct dentry *total_ps_buffered; dentry 737 net/mac80211/ieee80211_i.h struct dentry *wep_iv; dentry 738 net/mac80211/ieee80211_i.h struct dentry *statistics; dentry 740 net/mac80211/ieee80211_i.h struct dentry *transmitted_fragment_count; dentry 741 net/mac80211/ieee80211_i.h struct dentry *multicast_transmitted_frame_count; dentry 742 net/mac80211/ieee80211_i.h struct dentry *failed_count; dentry 743 net/mac80211/ieee80211_i.h struct dentry *retry_count; dentry 744 net/mac80211/ieee80211_i.h struct dentry *multiple_retry_count; dentry 745 net/mac80211/ieee80211_i.h struct dentry *frame_duplicate_count; dentry 746 net/mac80211/ieee80211_i.h struct dentry *received_fragment_count; dentry 747 net/mac80211/ieee80211_i.h struct dentry *multicast_received_frame_count; dentry 748 net/mac80211/ieee80211_i.h struct dentry *transmitted_frame_count; dentry 749 net/mac80211/ieee80211_i.h struct dentry *wep_undecryptable_count; dentry 750 net/mac80211/ieee80211_i.h struct dentry *num_scans; dentry 752 net/mac80211/ieee80211_i.h struct dentry *tx_handlers_drop; dentry 753 net/mac80211/ieee80211_i.h struct dentry *tx_handlers_queued; dentry 754 net/mac80211/ieee80211_i.h struct dentry *tx_handlers_drop_unencrypted; dentry 755 net/mac80211/ieee80211_i.h struct dentry *tx_handlers_drop_fragment; dentry 756 net/mac80211/ieee80211_i.h struct dentry *tx_handlers_drop_wep; dentry 757 net/mac80211/ieee80211_i.h struct dentry *tx_handlers_drop_not_assoc; dentry 758 net/mac80211/ieee80211_i.h struct dentry *tx_handlers_drop_unauth_port; dentry 759 net/mac80211/ieee80211_i.h struct dentry *rx_handlers_drop; dentry 760 net/mac80211/ieee80211_i.h struct dentry *rx_handlers_queued; dentry 761 net/mac80211/ieee80211_i.h struct dentry *rx_handlers_drop_nullfunc; dentry 762 net/mac80211/ieee80211_i.h struct dentry *rx_handlers_drop_defrag; dentry 763 net/mac80211/ieee80211_i.h struct dentry *rx_handlers_drop_short; dentry 764 net/mac80211/ieee80211_i.h struct dentry *rx_handlers_drop_passive_scan; dentry 765 net/mac80211/ieee80211_i.h struct dentry *tx_expand_skb_head; dentry 766 net/mac80211/ieee80211_i.h struct dentry *tx_expand_skb_head_cloned; dentry 767 net/mac80211/ieee80211_i.h struct dentry *rx_expand_skb_head; dentry 768 net/mac80211/ieee80211_i.h struct dentry *rx_expand_skb_head2; dentry 769 net/mac80211/ieee80211_i.h struct dentry *rx_handlers_fragments; dentry 770 net/mac80211/ieee80211_i.h struct dentry *tx_status_drop; dentry 772 net/mac80211/ieee80211_i.h struct dentry *dot11ACKFailureCount; dentry 773 net/mac80211/ieee80211_i.h struct dentry *dot11RTSFailureCount; dentry 774 net/mac80211/ieee80211_i.h struct dentry *dot11FCSErrorCount; dentry 775 net/mac80211/ieee80211_i.h struct dentry *dot11RTSSuccessCount; dentry 777 net/mac80211/ieee80211_i.h struct dentry *stations; dentry 778 net/mac80211/ieee80211_i.h struct dentry *keys; dentry 106 net/mac80211/key.h struct dentry *stalink; dentry 107 net/mac80211/key.h struct dentry *dir; dentry 108 net/mac80211/key.h struct dentry *keylen; dentry 109 net/mac80211/key.h struct dentry *flags; dentry 110 net/mac80211/key.h struct dentry *keyidx; dentry 111 net/mac80211/key.h struct dentry *hw_key_idx; dentry 112 net/mac80211/key.h struct dentry *tx_rx_count; dentry 113 net/mac80211/key.h struct dentry *algorithm; dentry 114 net/mac80211/key.h struct dentry *tx_spec; dentry 115 net/mac80211/key.h struct dentry *rx_spec; dentry 116 net/mac80211/key.h struct dentry *replays; dentry 117 net/mac80211/key.h struct dentry *key; dentry 118 net/mac80211/key.h struct dentry *ifindex; dentry 151 net/mac80211/rate.c struct dentry *debugfsdir = NULL; dentry 65 net/mac80211/rc80211_minstrel.h struct dentry *dbg_stats; dentry 145 net/mac80211/rc80211_pid.h struct dentry *target; dentry 146 net/mac80211/rc80211_pid.h struct dentry *sampling_period; dentry 147 net/mac80211/rc80211_pid.h struct dentry *coeff_p; dentry 148 net/mac80211/rc80211_pid.h struct dentry *coeff_i; dentry 149 net/mac80211/rc80211_pid.h struct dentry *coeff_d; dentry 150 net/mac80211/rc80211_pid.h struct dentry *smoothing_shift; dentry 151 net/mac80211/rc80211_pid.h struct dentry *sharpen_factor; dentry 152 net/mac80211/rc80211_pid.h struct dentry *sharpen_duration; dentry 153 net/mac80211/rc80211_pid.h struct dentry *norm_offset; dentry 223 net/mac80211/rc80211_pid.h struct dentry *events_entry; dentry 297 net/mac80211/sta_info.h struct dentry *dir; dentry 298 net/mac80211/sta_info.h struct dentry *flags; dentry 299 net/mac80211/sta_info.h struct dentry *num_ps_buf_frames; dentry 300 net/mac80211/sta_info.h struct dentry *inactive_ms; dentry 301 net/mac80211/sta_info.h struct dentry *last_seq_ctrl; dentry 302 net/mac80211/sta_info.h struct dentry *agg_status; dentry 477 net/netfilter/xt_recent.c const struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 544 net/netfilter/xt_recent.c const struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); dentry 739 net/netlink/af_netlink.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 319 net/socket.c dentry->d_flags |= DCACHE_UNHASHED; dentry 328 net/socket.c return dynamic_dname(dentry, buffer, buflen, "socket:[%lu]", dentry 329 net/socket.c dentry->d_inode->i_ino); dentry 374 net/socket.c struct dentry *dentry; dentry 377 net/socket.c dentry = d_alloc(sock_mnt->mnt_sb->s_root, &name); dentry 378 net/socket.c if (unlikely(!dentry)) dentry 381 net/socket.c dentry->d_op = &sockfs_dentry_operations; dentry 387 net/socket.c dentry->d_flags &= ~DCACHE_UNHASHED; dentry 388 net/socket.c d_instantiate(dentry, SOCK_INODE(sock)); dentry 391 net/socket.c init_file(file, sock_mnt, dentry, FMODE_READ | FMODE_WRITE, dentry 75 net/sunrpc/auth_gss/auth_gss.c struct dentry *dentry; dentry 269 net/sunrpc/auth_gss/auth_gss.c struct inode *inode = gss_auth->dentry->d_inode; dentry 297 net/sunrpc/auth_gss/auth_gss.c struct inode *inode = gss_auth->dentry->d_inode; dentry 313 net/sunrpc/auth_gss/auth_gss.c struct inode *inode = gss_msg->auth->dentry->d_inode; dentry 362 net/sunrpc/auth_gss/auth_gss.c int res = rpc_queue_upcall(gss_auth->dentry->d_inode, &gss_new->msg); dentry 381 net/sunrpc/auth_gss/auth_gss.c struct inode *inode = gss_auth->dentry->d_inode; dentry 417 net/sunrpc/auth_gss/auth_gss.c struct inode *inode = gss_auth->dentry->d_inode; dentry 484 net/sunrpc/auth_gss/auth_gss.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 626 net/sunrpc/auth_gss/auth_gss.c gss_auth->dentry = rpc_mkpipe(clnt->cl_dentry, gss_auth->mech->gm_name, dentry 628 net/sunrpc/auth_gss/auth_gss.c if (IS_ERR(gss_auth->dentry)) { dentry 629 net/sunrpc/auth_gss/auth_gss.c err = PTR_ERR(gss_auth->dentry); dentry 639 net/sunrpc/auth_gss/auth_gss.c rpc_unlink(gss_auth->dentry); dentry 652 net/sunrpc/auth_gss/auth_gss.c rpc_unlink(gss_auth->dentry); dentry 653 net/sunrpc/auth_gss/auth_gss.c gss_auth->dentry = NULL; dentry 699 net/sunrpc/cache.c struct cache_detail *cd = PDE(filp->f_path.dentry->d_inode)->data; dentry 776 net/sunrpc/cache.c struct cache_detail *cd = PDE(filp->f_path.dentry->d_inode)->data; dentry 807 net/sunrpc/cache.c struct cache_detail *cd = PDE(filp->f_path.dentry->d_inode)->data; dentry 1272 net/sunrpc/cache.c struct cache_detail *cd = PDE(file->f_path.dentry->d_inode)->data; dentry 1293 net/sunrpc/cache.c struct cache_detail *cd = PDE(file->f_path.dentry->d_inode)->data; dentry 227 net/sunrpc/rpc_pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 270 net/sunrpc/rpc_pipe.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 288 net/sunrpc/rpc_pipe.c rpci = RPC_I(filp->f_path.dentry->d_inode); dentry 303 net/sunrpc/rpc_pipe.c struct rpc_inode *rpci = RPC_I(filp->f_path.dentry->d_inode); dentry 531 net/sunrpc/rpc_pipe.c struct dentry *dentry, *dvec[10]; dentry 538 net/sunrpc/rpc_pipe.c dentry = list_entry(pos, struct dentry, d_u.d_child); dentry 539 net/sunrpc/rpc_pipe.c if (!dentry->d_inode || dentry 540 net/sunrpc/rpc_pipe.c dentry->d_inode->i_ino < start || dentry 541 net/sunrpc/rpc_pipe.c dentry->d_inode->i_ino >= eof) dentry 543 net/sunrpc/rpc_pipe.c spin_lock(&dentry->d_lock); dentry 544 net/sunrpc/rpc_pipe.c if (!d_unhashed(dentry)) { dentry 545 net/sunrpc/rpc_pipe.c dget_locked(dentry); dentry 546 net/sunrpc/rpc_pipe.c __d_drop(dentry); dentry 547 net/sunrpc/rpc_pipe.c spin_unlock(&dentry->d_lock); dentry 548 net/sunrpc/rpc_pipe.c dvec[n++] = dentry; dentry 552 net/sunrpc/rpc_pipe.c spin_unlock(&dentry->d_lock); dentry 557 net/sunrpc/rpc_pipe.c dentry = dvec[--n]; dentry 558 net/sunrpc/rpc_pipe.c if (S_ISREG(dentry->d_inode->i_mode)) dentry 559 net/sunrpc/rpc_pipe.c simple_unlink(dir, dentry); dentry 560 net/sunrpc/rpc_pipe.c else if (S_ISDIR(dentry->d_inode->i_mode)) dentry 561 net/sunrpc/rpc_pipe.c simple_rmdir(dir, dentry); dentry 562 net/sunrpc/rpc_pipe.c d_delete(dentry); dentry 563 net/sunrpc/rpc_pipe.c dput(dentry); dentry 577 net/sunrpc/rpc_pipe.c struct dentry *dentry; dentry 582 net/sunrpc/rpc_pipe.c dentry = d_alloc_name(parent, files[i].name); dentry 583 net/sunrpc/rpc_pipe.c if (!dentry) dentry 585 net/sunrpc/rpc_pipe.c dentry->d_op = &rpc_dentry_operations; dentry 589 net/sunrpc/rpc_pipe.c dput(dentry); dentry 599 net/sunrpc/rpc_pipe.c d_add(dentry, inode); dentry 600 net/sunrpc/rpc_pipe.c fsnotify_create(dir, dentry); dentry 620 net/sunrpc/rpc_pipe.c d_instantiate(dentry, inode); dentry 622 net/sunrpc/rpc_pipe.c fsnotify_mkdir(dir, dentry); dentry 626 net/sunrpc/rpc_pipe.c __FILE__, __func__, dentry->d_name.name); dentry 634 net/sunrpc/rpc_pipe.c error = simple_rmdir(dir, dentry); dentry 636 net/sunrpc/rpc_pipe.c d_delete(dentry); dentry 640 net/sunrpc/rpc_pipe.c static struct dentry * dentry 644 net/sunrpc/rpc_pipe.c struct dentry *dentry; dentry 647 net/sunrpc/rpc_pipe.c dentry = lookup_one_len(name, parent, len); dentry 648 net/sunrpc/rpc_pipe.c if (IS_ERR(dentry)) dentry 650 net/sunrpc/rpc_pipe.c if (!dentry->d_inode) dentry 651 net/sunrpc/rpc_pipe.c dentry->d_op = &rpc_dentry_operations; dentry 653 net/sunrpc/rpc_pipe.c dput(dentry); dentry 654 net/sunrpc/rpc_pipe.c dentry = ERR_PTR(-EEXIST); dentry 657 net/sunrpc/rpc_pipe.c return dentry; dentry 660 net/sunrpc/rpc_pipe.c return dentry; dentry 663 net/sunrpc/rpc_pipe.c static struct dentry * dentry 666 net/sunrpc/rpc_pipe.c struct dentry *dentry; dentry 671 net/sunrpc/rpc_pipe.c dentry = rpc_lookup_create(nd->path.dentry, nd->last.name, nd->last.len, dentry 673 net/sunrpc/rpc_pipe.c if (IS_ERR(dentry)) dentry 675 net/sunrpc/rpc_pipe.c return dentry; dentry 688 net/sunrpc/rpc_pipe.c struct dentry * dentry 692 net/sunrpc/rpc_pipe.c struct dentry *dentry; dentry 696 net/sunrpc/rpc_pipe.c dentry = rpc_lookup_negative(path, &nd); dentry 697 net/sunrpc/rpc_pipe.c if (IS_ERR(dentry)) dentry 698 net/sunrpc/rpc_pipe.c return dentry; dentry 699 net/sunrpc/rpc_pipe.c dir = nd.path.dentry->d_inode; dentry 700 net/sunrpc/rpc_pipe.c if ((error = __rpc_mkdir(dir, dentry)) != 0) dentry 702 net/sunrpc/rpc_pipe.c RPC_I(dentry->d_inode)->private = rpc_client; dentry 703 net/sunrpc/rpc_pipe.c error = rpc_populate(dentry, authfiles, dentry 707 net/sunrpc/rpc_pipe.c dget(dentry); dentry 711 net/sunrpc/rpc_pipe.c return dentry; dentry 713 net/sunrpc/rpc_pipe.c rpc_depopulate(dentry, RPCAUTH_info, RPCAUTH_EOF); dentry 714 net/sunrpc/rpc_pipe.c __rpc_rmdir(dir, dentry); dentry 716 net/sunrpc/rpc_pipe.c dput(dentry); dentry 719 net/sunrpc/rpc_pipe.c dentry = ERR_PTR(error); dentry 730 net/sunrpc/rpc_pipe.c struct dentry *parent; dentry 734 net/sunrpc/rpc_pipe.c parent = dget_parent(dentry); dentry 737 net/sunrpc/rpc_pipe.c rpc_depopulate(dentry, RPCAUTH_info, RPCAUTH_EOF); dentry 738 net/sunrpc/rpc_pipe.c error = __rpc_rmdir(dir, dentry); dentry 739 net/sunrpc/rpc_pipe.c dput(dentry); dentry 765 net/sunrpc/rpc_pipe.c struct dentry * dentry 768 net/sunrpc/rpc_pipe.c struct dentry *dentry; dentry 772 net/sunrpc/rpc_pipe.c dentry = rpc_lookup_create(parent, name, strlen(name), 0); dentry 773 net/sunrpc/rpc_pipe.c if (IS_ERR(dentry)) dentry 774 net/sunrpc/rpc_pipe.c return dentry; dentry 776 net/sunrpc/rpc_pipe.c if (dentry->d_inode) { dentry 777 net/sunrpc/rpc_pipe.c rpci = RPC_I(dentry->d_inode); dentry 781 net/sunrpc/rpc_pipe.c dput (dentry); dentry 782 net/sunrpc/rpc_pipe.c dentry = ERR_PTR(-EBUSY); dentry 792 net/sunrpc/rpc_pipe.c d_instantiate(dentry, inode); dentry 798 net/sunrpc/rpc_pipe.c fsnotify_create(dir, dentry); dentry 799 net/sunrpc/rpc_pipe.c dget(dentry); dentry 802 net/sunrpc/rpc_pipe.c return dentry; dentry 804 net/sunrpc/rpc_pipe.c dput(dentry); dentry 805 net/sunrpc/rpc_pipe.c dentry = ERR_PTR(-ENOMEM); dentry 824 net/sunrpc/rpc_pipe.c struct dentry *parent; dentry 828 net/sunrpc/rpc_pipe.c parent = dget_parent(dentry); dentry 831 net/sunrpc/rpc_pipe.c if (--RPC_I(dentry->d_inode)->nkern_readwriters == 0) { dentry 832 net/sunrpc/rpc_pipe.c rpc_close_pipes(dentry->d_inode); dentry 833 net/sunrpc/rpc_pipe.c error = simple_unlink(dir, dentry); dentry 835 net/sunrpc/rpc_pipe.c d_delete(dentry); dentry 837 net/sunrpc/rpc_pipe.c dput(dentry); dentry 859 net/sunrpc/rpc_pipe.c struct dentry *root; dentry 293 net/unix/af_unix.c struct dentry *dentry = unix_sk(s)->dentry; dentry 298 net/unix/af_unix.c if(dentry && dentry->d_inode == i) dentry 373 net/unix/af_unix.c struct dentry *dentry; dentry 385 net/unix/af_unix.c dentry = u->dentry; dentry 386 net/unix/af_unix.c u->dentry = NULL; dentry 423 net/unix/af_unix.c if (dentry) { dentry 424 net/unix/af_unix.c dput(dentry); dentry 603 net/unix/af_unix.c u->dentry = NULL; dentry 726 net/unix/af_unix.c if (!S_ISSOCK(nd.path.dentry->d_inode->i_mode)) dentry 728 net/unix/af_unix.c u = unix_find_socket_byinode(net, nd.path.dentry->d_inode); dentry 733 net/unix/af_unix.c touch_atime(nd.path.mnt, nd.path.dentry); dentry 746 net/unix/af_unix.c struct dentry *dentry; dentry 747 net/unix/af_unix.c dentry = unix_sk(u)->dentry; dentry 748 net/unix/af_unix.c if (dentry) dentry 749 net/unix/af_unix.c touch_atime(unix_sk(u)->mnt, dentry); dentry 769 net/unix/af_unix.c struct dentry * dentry = NULL; dentry 817 net/unix/af_unix.c dentry = lookup_create(&nd, 0); dentry 818 net/unix/af_unix.c err = PTR_ERR(dentry); dentry 819 net/unix/af_unix.c if (IS_ERR(dentry)) dentry 830 net/unix/af_unix.c err = vfs_mknod(nd.path.dentry->d_inode, dentry, mode, 0); dentry 834 net/unix/af_unix.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 835 net/unix/af_unix.c dput(nd.path.dentry); dentry 836 net/unix/af_unix.c nd.path.dentry = dentry; dentry 853 net/unix/af_unix.c list = &unix_socket_table[dentry->d_inode->i_ino & (UNIX_HASH_SIZE-1)]; dentry 854 net/unix/af_unix.c u->dentry = nd.path.dentry; dentry 871 net/unix/af_unix.c dput(dentry); dentry 873 net/unix/af_unix.c mutex_unlock(&nd.path.dentry->d_inode->i_mutex); dentry 1138 net/unix/af_unix.c if (otheru->dentry) { dentry 1139 net/unix/af_unix.c newu->dentry = dget(otheru->dentry); dentry 101 net/unix/garbage.c struct inode *inode = filp->f_path.dentry->d_inode; dentry 354 net/wanrouter/wanmain.c struct inode *inode = file->f_path.dentry->d_inode; dentry 38 net/wireless/core.c static struct dentry *ieee80211_debugfs_dir; dentry 183 security/commoncap.c struct inode *inode = dentry->d_inode; dentry 189 security/commoncap.c error = inode->i_op->getxattr(dentry, XATTR_NAME_CAPS, NULL, 0); dentry 197 security/commoncap.c struct inode *inode = dentry->d_inode; dentry 202 security/commoncap.c return inode->i_op->removexattr(dentry, XATTR_NAME_CAPS); dentry 277 security/commoncap.c struct dentry *dentry; dentry 287 security/commoncap.c dentry = dget(bprm->file->f_dentry); dentry 288 security/commoncap.c inode = dentry->d_inode; dentry 292 security/commoncap.c rc = inode->i_op->getxattr(dentry, XATTR_NAME_CAPS, &vcaps, dentry 308 security/commoncap.c dput(dentry); dentry 94 security/inode.c if (dentry->d_inode) dentry 99 security/inode.c d_instantiate(dentry, inode); dentry 100 security/inode.c dget(dentry); dentry 111 security/inode.c res = mknod(dir, dentry, mode, 0); dentry 120 security/inode.c return mknod(dir, dentry, mode, 0); dentry 125 security/inode.c return dentry->d_inode && !d_unhashed(dentry); dentry 155 security/inode.c *dentry = NULL; dentry 173 security/inode.c *dentry = lookup_one_len(name, parent, strlen(name)); dentry 174 security/inode.c if (!IS_ERR(dentry)) { dentry 176 security/inode.c error = mkdir(parent->d_inode, *dentry, mode); dentry 178 security/inode.c error = create(parent->d_inode, *dentry, mode); dentry 180 security/inode.c error = PTR_ERR(dentry); dentry 215 security/inode.c struct dentry *securityfs_create_file(const char *name, mode_t mode, dentry 219 security/inode.c struct dentry *dentry = NULL; dentry 226 security/inode.c dentry = ERR_PTR(error); dentry 230 security/inode.c error = create_by_name(name, mode, parent, &dentry); dentry 232 security/inode.c dentry = ERR_PTR(error); dentry 237 security/inode.c if (dentry->d_inode) { dentry 239 security/inode.c dentry->d_inode->i_fop = fops; dentry 241 security/inode.c dentry->d_inode->i_private = data; dentry 244 security/inode.c return dentry; dentry 269 security/inode.c struct dentry *securityfs_create_dir(const char *name, struct dentry *parent) dentry 292 security/inode.c struct dentry *parent; dentry 294 security/inode.c if (!dentry) dentry 297 security/inode.c parent = dentry->d_parent; dentry 302 security/inode.c if (positive(dentry)) { dentry 303 security/inode.c if (dentry->d_inode) { dentry 304 security/inode.c if (S_ISDIR(dentry->d_inode->i_mode)) dentry 305 security/inode.c simple_rmdir(parent->d_inode, dentry); dentry 307 security/inode.c simple_unlink(parent->d_inode, dentry); dentry 308 security/inode.c dput(dentry); dentry 186 security/security.c return security_ops->quota_on(dentry); dentry 272 security/security.c return security_ops->sb_statfs(dentry); dentry 365 security/security.c return security_ops->inode_create(dir, dentry, mode); dentry 378 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 380 security/security.c return security_ops->inode_unlink(dir, dentry); dentry 388 security/security.c return security_ops->inode_symlink(dir, dentry, old_name); dentry 395 security/security.c return security_ops->inode_mkdir(dir, dentry, mode); dentry 400 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 402 security/security.c return security_ops->inode_rmdir(dir, dentry); dentry 409 security/security.c return security_ops->inode_mknod(dir, dentry, mode, dev); dentry 424 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 426 security/security.c return security_ops->inode_readlink(dentry); dentry 431 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 433 security/security.c return security_ops->inode_follow_link(dentry, nd); dentry 445 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 447 security/security.c return security_ops->inode_setattr(dentry, attr); dentry 453 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 455 security/security.c return security_ops->inode_getattr(mnt, dentry); dentry 468 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 470 security/security.c return security_ops->inode_setxattr(dentry, name, value, size, flags); dentry 476 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 478 security/security.c security_ops->inode_post_setxattr(dentry, name, value, size, flags); dentry 483 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 485 security/security.c return security_ops->inode_getxattr(dentry, name); dentry 490 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 492 security/security.c return security_ops->inode_listxattr(dentry); dentry 497 security/security.c if (unlikely(IS_PRIVATE(dentry->d_inode))) dentry 499 security/security.c return security_ops->inode_removexattr(dentry, name); dentry 504 security/security.c return security_ops->inode_need_killpriv(dentry); dentry 509 security/security.c return security_ops->inode_killpriv(dentry); dentry 829 security/security.c security_ops->d_instantiate(dentry, inode); dentry 574 security/selinux/avc.c if (a->u.fs.path.dentry) { dentry 575 security/selinux/avc.c struct dentry *dentry = a->u.fs.path.dentry; dentry 581 security/selinux/avc.c audit_log_untrustedstring(ab, dentry->d_name.name); dentry 583 security/selinux/avc.c inode = dentry->d_inode; dentry 585 security/selinux/avc.c struct dentry *dentry; dentry 587 security/selinux/avc.c dentry = d_find_alias(inode); dentry 588 security/selinux/avc.c if (dentry) { dentry 590 security/selinux/avc.c audit_log_untrustedstring(ab, dentry->d_name.name); dentry 591 security/selinux/avc.c dput(dentry); dentry 632 security/selinux/avc.c if (u->dentry) { dentry 634 security/selinux/avc.c .dentry = u->dentry, dentry 372 security/selinux/hooks.c struct dentry *root = sb->s_root; dentry 1164 security/selinux/hooks.c struct dentry *dentry; dentry 1200 security/selinux/hooks.c dentry = dget(opt_dentry); dentry 1203 security/selinux/hooks.c dentry = d_find_alias(inode); dentry 1205 security/selinux/hooks.c if (!dentry) { dentry 1216 security/selinux/hooks.c dput(dentry); dentry 1219 security/selinux/hooks.c rc = inode->i_op->getxattr(dentry, XATTR_NAME_SELINUX, dentry 1223 security/selinux/hooks.c rc = inode->i_op->getxattr(dentry, XATTR_NAME_SELINUX, dentry 1226 security/selinux/hooks.c dput(dentry); dentry 1234 security/selinux/hooks.c dput(dentry); dentry 1237 security/selinux/hooks.c rc = inode->i_op->getxattr(dentry, dentry 1241 security/selinux/hooks.c dput(dentry); dentry 1442 security/selinux/hooks.c struct inode *inode = dentry->d_inode; dentry 1446 security/selinux/hooks.c ad.u.fs.path.dentry = dentry; dentry 1464 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1504 security/selinux/hooks.c ad.u.fs.path.dentry = dentry; dentry 1559 security/selinux/hooks.c isec = dentry->d_inode->i_security; dentry 1562 security/selinux/hooks.c ad.u.fs.path.dentry = dentry; dentry 1610 security/selinux/hooks.c ad.u.fs.path.dentry = old_dentry; dentry 1626 security/selinux/hooks.c ad.u.fs.path.dentry = new_dentry; dentry 1926 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__QUOTAON); dentry 2010 security/selinux/hooks.c struct inode *inode = bprm->file->f_path.dentry->d_inode; dentry 2113 security/selinux/hooks.c extern struct dentry *selinux_null; dentry 2135 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode; dentry 2451 security/selinux/hooks.c ad.u.fs.path.dentry = sb->s_root; dentry 2460 security/selinux/hooks.c ad.u.fs.path.dentry = dentry->d_sb->s_root; dentry 2461 security/selinux/hooks.c return superblock_has_perm(current, dentry->d_sb, FILESYSTEM__GETATTR, &ad); dentry 2480 security/selinux/hooks.c return dentry_has_perm(current, path->mnt, path->dentry, dentry 2572 security/selinux/hooks.c return may_create(dir, dentry, SECCLASS_FILE); dentry 2589 security/selinux/hooks.c rc = secondary_ops->inode_unlink(dir, dentry); dentry 2592 security/selinux/hooks.c return may_link(dir, dentry, MAY_UNLINK); dentry 2597 security/selinux/hooks.c return may_create(dir, dentry, SECCLASS_LNK_FILE); dentry 2602 security/selinux/hooks.c return may_create(dir, dentry, SECCLASS_DIR); dentry 2607 security/selinux/hooks.c return may_link(dir, dentry, MAY_RMDIR); dentry 2614 security/selinux/hooks.c rc = secondary_ops->inode_mknod(dir, dentry, mode, dev); dentry 2618 security/selinux/hooks.c return may_create(dir, dentry, inode_mode_to_security_class(mode)); dentry 2629 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__READ); dentry 2636 security/selinux/hooks.c rc = secondary_ops->inode_follow_link(dentry, nameidata); dentry 2639 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__READ); dentry 2663 security/selinux/hooks.c rc = secondary_ops->inode_setattr(dentry, iattr); dentry 2672 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__SETATTR); dentry 2674 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__WRITE); dentry 2679 security/selinux/hooks.c return dentry_has_perm(current, mnt, dentry, FILE__GETATTR); dentry 2698 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__SETATTR); dentry 2705 security/selinux/hooks.c struct inode *inode = dentry->d_inode; dentry 2713 security/selinux/hooks.c return selinux_inode_setotherxattr(dentry, name); dentry 2723 security/selinux/hooks.c ad.u.fs.path.dentry = dentry; dentry 2760 security/selinux/hooks.c struct inode *inode = dentry->d_inode; dentry 2784 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__GETATTR); dentry 2789 security/selinux/hooks.c return dentry_has_perm(current, NULL, dentry, FILE__GETATTR); dentry 2795 security/selinux/hooks.c return selinux_inode_setotherxattr(dentry, name); dentry 2882 security/selinux/hooks.c return secondary_ops->inode_need_killpriv(dentry); dentry 2887 security/selinux/hooks.c return secondary_ops->inode_killpriv(dentry); dentry 2901 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode; dentry 2922 security/selinux/hooks.c struct inode *inode = file->f_path.dentry->d_inode; dentry 3070 security/selinux/hooks.c if (!file->f_path.dentry || !file->f_path.dentry->d_inode) { dentry 3096 security/selinux/hooks.c if (!file->f_path.dentry || !file->f_path.dentry->d_inode) { dentry 3152 security/selinux/hooks.c inode = file->f_path.dentry->d_inode; dentry 5212 security/selinux/hooks.c inode_doinit_with_dentry(inode, dentry); dentry 80 security/selinux/selinuxfs.c static struct dentry *bool_dir; dentry 86 security/selinux/selinuxfs.c static struct dentry *class_dir; dentry 90 security/selinux/selinuxfs.c static struct dentry *policycap_dir; dentry 207 security/selinux/selinuxfs.c ino_t ino = filp->f_path.dentry->d_inode->i_ino; dentry 523 security/selinux/selinuxfs.c ino_t ino = file->f_path.dentry->d_inode->i_ino; dentry 859 security/selinux/selinuxfs.c struct inode *inode = filep->f_path.dentry->d_inode; dentry 861 security/selinux/selinuxfs.c const char *name = filep->f_path.dentry->d_name.name; dentry 901 security/selinux/selinuxfs.c struct inode *inode = filep->f_path.dentry->d_inode; dentry 903 security/selinux/selinuxfs.c const char *name = filep->f_path.dentry->d_name.name; dentry 1017 security/selinux/selinuxfs.c struct dentry *d = list_entry(node, struct dentry, d_u.d_child); dentry 1040 security/selinux/selinuxfs.c struct dentry *dentry = NULL; dentry 1041 security/selinux/selinuxfs.c struct dentry *dir = bool_dir; dentry 1066 security/selinux/selinuxfs.c dentry = d_alloc_name(dir, names[i]); dentry 1067 security/selinux/selinuxfs.c if (!dentry) { dentry 1093 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1115 security/selinux/selinuxfs.c struct dentry *selinux_null; dentry 1284 security/selinux/selinuxfs.c struct dentry *dentry; dentry 1286 security/selinux/selinuxfs.c dentry = d_alloc_name(dir, files[i].name); dentry 1287 security/selinux/selinuxfs.c if (!dentry) { dentry 1299 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1313 security/selinux/selinuxfs.c inode = file->f_path.dentry->d_inode; dentry 1334 security/selinux/selinuxfs.c struct dentry *dentry; dentry 1335 security/selinux/selinuxfs.c dentry = d_alloc_name(dir, security_get_initial_sid_context(i)); dentry 1336 security/selinux/selinuxfs.c if (!dentry) { dentry 1348 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1384 security/selinux/selinuxfs.c unsigned long ino = file->f_path.dentry->d_inode->i_ino; dentry 1408 security/selinux/selinuxfs.c unsigned long ino = file->f_path.dentry->d_inode->i_ino; dentry 1433 security/selinux/selinuxfs.c unsigned long i_ino = file->f_path.dentry->d_inode->i_ino; dentry 1457 security/selinux/selinuxfs.c struct dentry *dentry; dentry 1459 security/selinux/selinuxfs.c dentry = d_alloc_name(dir, perms[i]); dentry 1460 security/selinux/selinuxfs.c if (!dentry) { dentry 1473 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1487 security/selinux/selinuxfs.c struct dentry *dentry = NULL; dentry 1491 security/selinux/selinuxfs.c dentry = d_alloc_name(dir, "index"); dentry 1492 security/selinux/selinuxfs.c if (!dentry) { dentry 1505 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1507 security/selinux/selinuxfs.c dentry = d_alloc_name(dir, "perms"); dentry 1508 security/selinux/selinuxfs.c if (!dentry) { dentry 1513 security/selinux/selinuxfs.c rc = sel_make_dir(dir->d_inode, dentry, &last_class_ino); dentry 1517 security/selinux/selinuxfs.c rc = sel_make_perm_files(classname, index, dentry); dentry 1528 security/selinux/selinuxfs.c struct dentry *class_subdir = list_entry(class_node, dentry 1529 security/selinux/selinuxfs.c struct dentry, d_u.d_child); dentry 1533 security/selinux/selinuxfs.c struct dentry *d = list_entry(class_subdir_node, dentry 1534 security/selinux/selinuxfs.c struct dentry, d_u.d_child); dentry 1563 security/selinux/selinuxfs.c struct dentry *class_name_dir; dentry 1594 security/selinux/selinuxfs.c struct dentry *dentry = NULL; dentry 1601 security/selinux/selinuxfs.c dentry = d_alloc_name(policycap_dir, dentry 1604 security/selinux/selinuxfs.c dentry = d_alloc_name(policycap_dir, "unknown"); dentry 1606 security/selinux/selinuxfs.c if (dentry == NULL) dentry 1615 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1637 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1647 security/selinux/selinuxfs.c struct dentry *dentry; dentry 1676 security/selinux/selinuxfs.c dentry = d_alloc_name(sb->s_root, BOOL_DIR_NAME); dentry 1677 security/selinux/selinuxfs.c if (!dentry) { dentry 1682 security/selinux/selinuxfs.c ret = sel_make_dir(root_inode, dentry, &sel_last_ino); dentry 1686 security/selinux/selinuxfs.c bool_dir = dentry; dentry 1688 security/selinux/selinuxfs.c dentry = d_alloc_name(sb->s_root, NULL_FILE_NAME); dentry 1689 security/selinux/selinuxfs.c if (!dentry) { dentry 1706 security/selinux/selinuxfs.c d_add(dentry, inode); dentry 1707 security/selinux/selinuxfs.c selinux_null = dentry; dentry 1709 security/selinux/selinuxfs.c dentry = d_alloc_name(sb->s_root, "avc"); dentry 1710 security/selinux/selinuxfs.c if (!dentry) { dentry 1715 security/selinux/selinuxfs.c ret = sel_make_dir(root_inode, dentry, &sel_last_ino); dentry 1719 security/selinux/selinuxfs.c ret = sel_make_avc_files(dentry); dentry 1723 security/selinux/selinuxfs.c dentry = d_alloc_name(sb->s_root, "initial_contexts"); dentry 1724 security/selinux/selinuxfs.c if (!dentry) { dentry 1729 security/selinux/selinuxfs.c ret = sel_make_dir(root_inode, dentry, &sel_last_ino); dentry 1733 security/selinux/selinuxfs.c ret = sel_make_initcon_files(dentry); dentry 1737 security/selinux/selinuxfs.c dentry = d_alloc_name(sb->s_root, "class"); dentry 1738 security/selinux/selinuxfs.c if (!dentry) { dentry 1743 security/selinux/selinuxfs.c ret = sel_make_dir(root_inode, dentry, &sel_last_ino); dentry 1747 security/selinux/selinuxfs.c class_dir = dentry; dentry 1749 security/selinux/selinuxfs.c dentry = d_alloc_name(sb->s_root, "policy_capabilities"); dentry 1750 security/selinux/selinuxfs.c if (!dentry) { dentry 1755 security/selinux/selinuxfs.c ret = sel_make_dir(root_inode, dentry, &sel_last_ino); dentry 1759 security/selinux/selinuxfs.c policycap_dir = dentry; dentry 257 security/smack/smack_lsm.c struct dentry *root = sb->s_root; dentry 323 security/smack/smack_lsm.c struct superblock_smack *sbp = dentry->d_sb->s_security; dentry 462 security/smack/smack_lsm.c struct inode *ip = dentry->d_inode; dentry 493 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE); dentry 570 security/smack/smack_lsm.c return smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE); dentry 582 security/smack/smack_lsm.c return smk_curacc(smk_of_inode(dentry->d_inode), MAY_READ); dentry 608 security/smack/smack_lsm.c rc = cap_inode_setxattr(dentry, name, value, size, flags); dentry 611 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE); dentry 642 security/smack/smack_lsm.c isp = dentry->d_inode->i_security; dentry 666 security/smack/smack_lsm.c return smk_curacc(smk_of_inode(dentry->d_inode), MAY_READ); dentry 688 security/smack/smack_lsm.c rc = cap_inode_removexattr(dentry, name); dentry 691 security/smack/smack_lsm.c rc = smk_curacc(smk_of_inode(dentry->d_inode), MAY_WRITE); dentry 1858 security/smack/smack_lsm.c struct dentry *dp; dentry 493 sound/core/info.c struct inode *inode = file->f_path.dentry->d_inode; dentry 1570 sound/core/pcm_native.c inode = file->f_path.dentry->d_inode; dentry 855 sound/oss/dmasound/dmasound_core.c rc = sq_fsync(file, file->f_path.dentry); dentry 1007 sound/oss/dmasound/dmasound_core.c result = sq_fsync(file, file->f_path.dentry); dentry 1005 sound/oss/msnd_pinnacle.c int minor = iminor(file->f_path.dentry->d_inode); dentry 1014 sound/oss/msnd_pinnacle.c int minor = iminor(file->f_path.dentry->d_inode); dentry 146 sound/oss/soundcard.c int dev = iminor(file->f_path.dentry->d_inode); dentry 179 sound/oss/soundcard.c int dev = iminor(file->f_path.dentry->d_inode); dentry 398 sound/oss/soundcard.c struct inode *inode = file->f_path.dentry->d_inode; dentry 423 sound/oss/soundcard.c int dev = iminor(file->f_path.dentry->d_inode); dentry 70 sound/soc/soc-dapm.c static struct dentry *asoc_debugfs; dentry 23 sound/sound_firmware.c l = filp->f_path.dentry->d_inode->i_size; dentry 67 virt/kvm/kvm_main.c struct dentry *kvm_debugfs_dir; dentry 1642 virt/kvm/kvm_main.c p->dentry = debugfs_create_file(p->name, 0444, kvm_debugfs_dir, dentry 1652 virt/kvm/kvm_main.c debugfs_remove(p->dentry); dentry 30 virt/kvm/kvm_trace.c struct dentry *lost_file; dentry 132 virt/kvm/kvm_trace.c static struct dentry *kvm_create_buf_file_callack(const char *filename, dentry 144 virt/kvm/kvm_trace.c debugfs_remove(dentry);