/fs/afs/ |
D | dir_silly.c | 239 struct dentry *alias; in afs_silly_iput() local 248 alias = d_alloc_parallel(dentry->d_parent, &dentry->d_name, &wq); in afs_silly_iput() 249 if (IS_ERR(alias)) { in afs_silly_iput() 254 if (!d_in_lookup(alias)) { in afs_silly_iput() 259 spin_lock(&alias->d_lock); in afs_silly_iput() 260 if (d_really_is_positive(alias) && in afs_silly_iput() 261 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in afs_silly_iput() 262 alias->d_flags |= DCACHE_NFSFS_RENAMED; in afs_silly_iput() 265 spin_unlock(&alias->d_lock); in afs_silly_iput() 267 dput(alias); in afs_silly_iput() [all …]
|
/fs/nfs/ |
D | unlink.c | 120 struct dentry *alias; in nfs_call_unlink() local 123 alias = d_alloc_parallel(dentry->d_parent, &data->args.name, &data->wq); in nfs_call_unlink() 124 if (IS_ERR(alias)) { in nfs_call_unlink() 128 if (!d_in_lookup(alias)) { in nfs_call_unlink() 136 spin_lock(&alias->d_lock); in nfs_call_unlink() 137 if (d_really_is_positive(alias) && in nfs_call_unlink() 138 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_call_unlink() 139 devname_garbage = alias->d_fsdata; in nfs_call_unlink() 140 alias->d_fsdata = data; in nfs_call_unlink() 141 alias->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_call_unlink() [all …]
|
D | dir.c | 489 struct dentry *alias; in nfs_prime_dcache() local 546 alias = d_splice_alias(inode, dentry); in nfs_prime_dcache() 548 if (alias) { in nfs_prime_dcache() 549 if (IS_ERR(alias)) in nfs_prime_dcache() 552 dentry = alias; in nfs_prime_dcache() 1105 struct dentry *alias; in nfs_clear_verifier_delegated() local 1110 hlist_for_each_entry(alias, &inode->i_dentry, d_u.d_alias) { in nfs_clear_verifier_delegated() 1111 spin_lock(&alias->d_lock); in nfs_clear_verifier_delegated() 1112 nfs_unset_verifier_delegated(&alias->d_time); in nfs_clear_verifier_delegated() 1113 spin_unlock(&alias->d_lock); in nfs_clear_verifier_delegated()
|
D | nfs4proc.c | 3059 struct dentry *alias; in _nfs4_open_and_get_state() local 3061 alias = d_exact_alias(dentry, state->inode); in _nfs4_open_and_get_state() 3062 if (!alias) in _nfs4_open_and_get_state() 3063 alias = d_splice_alias(igrab(state->inode), dentry); in _nfs4_open_and_get_state() 3065 if (alias) { in _nfs4_open_and_get_state() 3067 ctx->dentry = dentry = alias; in _nfs4_open_and_get_state()
|
/fs/ocfs2/ |
D | dcache.c | 217 struct dentry *alias; in ocfs2_dentry_attach_lock() local 247 alias = ocfs2_find_local_alias(inode, parent_blkno, 0); in ocfs2_dentry_attach_lock() 248 if (alias) { in ocfs2_dentry_attach_lock() 260 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock() 299 if (unlikely(dentry->d_fsdata && !alias)) { in ocfs2_dentry_attach_lock() 331 if (ret < 0 && !alias) { in ocfs2_dentry_attach_lock() 341 dput(alias); in ocfs2_dentry_attach_lock()
|
/fs/ |
D | dcache.c | 966 struct dentry *alias; in __d_find_any_alias() local 970 alias = hlist_entry(inode->i_dentry.first, struct dentry, d_u.d_alias); in __d_find_any_alias() 971 __dget(alias); in __d_find_any_alias() 972 return alias; in __d_find_any_alias() 1009 struct dentry *alias; in __d_find_alias() local 1014 hlist_for_each_entry(alias, &inode->i_dentry, d_u.d_alias) { in __d_find_alias() 1015 spin_lock(&alias->d_lock); in __d_find_alias() 1016 if (!d_unhashed(alias)) { in __d_find_alias() 1017 __dget_dlock(alias); in __d_find_alias() 1018 spin_unlock(&alias->d_lock); in __d_find_alias() [all …]
|
/fs/exportfs/ |
D | expfs.c | 425 struct dentry *result, *alias; in exportfs_decode_fh() local 485 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh() 486 if (alias) in exportfs_decode_fh() 487 return alias; in exportfs_decode_fh() 553 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh() 554 if (!alias) { in exportfs_decode_fh() 559 return alias; in exportfs_decode_fh()
|
/fs/notify/ |
D | fsnotify.c | 110 struct dentry *alias; in __fsnotify_update_child_dentry_flags() local 122 hlist_for_each_entry(alias, &inode->i_dentry, d_u.d_alias) { in __fsnotify_update_child_dentry_flags() 128 spin_lock(&alias->d_lock); in __fsnotify_update_child_dentry_flags() 129 list_for_each_entry(child, &alias->d_subdirs, d_child) { in __fsnotify_update_child_dentry_flags() 140 spin_unlock(&alias->d_lock); in __fsnotify_update_child_dentry_flags()
|
/fs/exfat/ |
D | namei.c | 713 struct dentry *alias; in exfat_lookup() local 736 alias = d_find_alias(inode); in exfat_lookup() 742 if (alias && alias->d_parent == dentry->d_parent && in exfat_lookup() 743 !exfat_d_anon_disconn(alias)) { in exfat_lookup() 751 if (d_unhashed(alias)) { in exfat_lookup() 752 WARN_ON(alias->d_name.hash_len != in exfat_lookup() 755 alias); in exfat_lookup() 757 d_rehash(alias); in exfat_lookup() 766 d_move(alias, dentry); in exfat_lookup() 770 return alias; in exfat_lookup() [all …]
|
/fs/fat/ |
D | namei_vfat.c | 707 struct dentry *alias; in vfat_lookup() local 728 alias = d_find_alias(inode); in vfat_lookup() 733 if (alias && alias->d_parent == dentry->d_parent) { in vfat_lookup() 742 d_move(alias, dentry); in vfat_lookup() 745 return alias; in vfat_lookup() 747 dput(alias); in vfat_lookup()
|
/fs/fuse/ |
D | readdir.c | 159 struct dentry *alias; in fuse_direntplus_link() local 240 alias = d_splice_alias(inode, dentry); in fuse_direntplus_link() 242 if (alias) { in fuse_direntplus_link() 244 dentry = alias; in fuse_direntplus_link()
|
/fs/cifs/ |
D | readdir.c | 80 struct dentry *dentry, *alias; in cifs_prime_dcache() local 135 alias = d_splice_alias(inode, dentry); in cifs_prime_dcache() 137 if (alias && !IS_ERR(alias)) in cifs_prime_dcache() 138 dput(alias); in cifs_prime_dcache()
|
/fs/nls/ |
D | nls_base.c | 282 if (nls->alias && !strcmp(nls->alias, charset)) in find_nls()
|
D | nls_cp874.c | 254 .alias = "tis-620",
|
D | nls_cp1255.c | 363 .alias = "iso8859-8",
|
D | nls_cp932.c | 7912 .alias = "sjis",
|
D | nls_cp950.c | 9461 .alias = "big5",
|
D | nls_cp936.c | 11090 .alias = "gb2312",
|
D | nls_cp949.c | 13925 .alias = "euc-kr",
|
/fs/overlayfs/ |
D | dir.c | 872 struct dentry *alias; in ovl_drop_nlink() local 876 hlist_for_each_entry(alias, &inode->i_dentry, d_u.d_alias) { in ovl_drop_nlink() 877 if (alias != dentry && !d_unhashed(alias)) in ovl_drop_nlink() 887 if (inode->i_nlink > !!alias) in ovl_drop_nlink()
|
/fs/proc/ |
D | proc_sysctl.c | 1777 const struct sysctl_alias *alias; in sysctl_find_alias() local 1779 for (alias = &sysctl_aliases[0]; alias->kernel_param != NULL; alias++) { in sysctl_find_alias() 1780 if (strcmp(alias->kernel_param, param) == 0) in sysctl_find_alias() 1781 return alias->sysctl_param; in sysctl_find_alias()
|
/fs/ceph/ |
D | mds_client.c | 3691 struct dentry *alias, *dn = NULL; in d_find_primary() local 3701 alias = hlist_entry(inode->i_dentry.first, struct dentry, d_u.d_alias); in d_find_primary() 3702 if (!IS_ROOT(alias)) in d_find_primary() 3703 dn = dget(alias); in d_find_primary() 3707 hlist_for_each_entry(alias, &inode->i_dentry, d_u.d_alias) { in d_find_primary() 3708 spin_lock(&alias->d_lock); in d_find_primary() 3709 if (!d_unhashed(alias) && in d_find_primary() 3710 (ceph_dentry(alias)->flags & CEPH_DENTRY_PRIMARY_LINK)) { in d_find_primary() 3711 dn = dget_dlock(alias); in d_find_primary() 3713 spin_unlock(&alias->d_lock); in d_find_primary()
|