Lines Matching refs:hash
937 dentry->d_name.hash = name->hash; in d_alloc()
977 q.hash = full_name_hash(q.name, q.len); in d_alloc_name()
1036 unsigned int hash = entry->d_name.hash; in __d_instantiate_unique() local
1046 if (qstr->hash != hash) in __d_instantiate_unique()
1111 unsigned long hash) in d_hash() argument
1113 hash += ((unsigned long) parent ^ GOLDEN_RATIO_PRIME) / L1_CACHE_BYTES; in d_hash()
1114 hash = hash ^ ((hash ^ GOLDEN_RATIO_PRIME) >> D_HASHBITS); in d_hash()
1115 return dentry_hashtable + (hash & D_HASHMASK); in d_hash()
1374 unsigned int hash = name->hash; in __d_lookup() local
1376 struct hlist_head *head = d_hash(parent,hash); in __d_lookup()
1386 if (dentry->d_name.hash != hash) in __d_lookup()
1448 name->hash = full_name_hash(name->name, name->len); in d_hash_and_lookup()
1481 base = d_hash(dparent, dentry->d_name.hash); in d_validate()
1551 __d_rehash(entry, d_hash(entry->d_parent, entry->d_name.hash)); in _d_rehash()
1668 list = d_hash(target->d_parent, target->d_name.hash); in d_move_locked()
1679 swap(dentry->d_name.hash, target->d_name.hash); in d_move_locked()
1788 swap(dentry->d_name.hash, anon->d_name.hash); in __d_materialise_dentry()