Lines Matching refs:d_name
251 const unsigned char *cs = READ_ONCE(dentry->d_name.name); in dentry_cmp()
266 return container_of(dentry->d_name.name, struct external_name, name[0]); in external_name()
285 return dentry->d_name.name != dentry->d_iname; in dname_external()
291 name->name = dentry->d_name; in take_dentry_name_snapshot()
296 dentry->d_name.len + 1); in take_dentry_name_snapshot()
472 b = d_hash(dentry->d_name.hash); in ___d_drop()
1773 dentry->d_name.len = name->len; in __d_alloc()
1774 dentry->d_name.hash = name->hash; in __d_alloc()
1779 smp_store_release(&dentry->d_name.name, dname); /* ^^^ */ in __d_alloc()
2230 if (dentry->d_name.len != name->len) in d_same_name()
2235 dentry->d_name.len, dentry->d_name.name, in d_same_name()
2328 if (dentry->d_name.hash != hashlen_hash(hashlen)) in __d_lookup_rcu()
2330 tlen = dentry->d_name.len; in __d_lookup_rcu()
2331 tname = dentry->d_name.name; in __d_lookup_rcu()
2341 if (dentry->d_name.hash_len != hashlen) in __d_lookup_rcu()
2425 if (dentry->d_name.hash != hash) in __d_lookup()
2516 struct hlist_bl_head *b = d_hash(entry->d_name.hash); in __d_rehash()
2625 if (dentry->d_name.hash != hash) in d_alloc_parallel()
2651 if (unlikely(dentry->d_name.hash != hash)) in d_alloc_parallel()
2681 dentry->d_name.hash); in __d_lookup_done()
2754 unsigned int hash = entry->d_name.hash; in d_exact_alias()
2763 if (alias->d_name.hash != hash) in d_exact_alias()
2767 if (!d_same_name(alias, entry->d_parent, &entry->d_name)) in d_exact_alias()
2793 swap(target->d_name.name, dentry->d_name.name); in swap_names()
2799 memcpy(target->d_iname, dentry->d_name.name, in swap_names()
2800 dentry->d_name.len + 1); in swap_names()
2801 dentry->d_name.name = target->d_name.name; in swap_names()
2802 target->d_name.name = target->d_iname; in swap_names()
2810 memcpy(dentry->d_iname, target->d_name.name, in swap_names()
2811 target->d_name.len + 1); in swap_names()
2812 target->d_name.name = dentry->d_name.name; in swap_names()
2813 dentry->d_name.name = dentry->d_iname; in swap_names()
2826 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2836 dentry->d_name = target->d_name; in copy_name()
2838 memcpy(dentry->d_iname, target->d_name.name, in copy_name()
2839 target->d_name.len + 1); in copy_name()
2840 dentry->d_name.name = dentry->d_iname; in copy_name()
2841 dentry->d_name.hash_len = target->d_name.hash_len; in copy_name()
3079 dentry->d_name.name, in d_splice_alias()
3173 BUG_ON(dentry->d_name.name != dentry->d_iname || in d_tmpfile()
3178 dentry->d_name.len = sprintf(dentry->d_iname, "#%llu", in d_tmpfile()