Home
last modified time | relevance | path

Searched refs:key_hash (Results 1 – 11 of 11) sorted by relevance

/fs/ubifs/
Dkey.h150 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init()
186 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init_flash()
219 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init()
237 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init_flash()
369 static inline uint32_t key_hash(const struct ubifs_info *c, in key_hash() function
Dsb.c194 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem()
277 c->key_hash = key_r5_hash; in create_default_filesystem()
384 if (!c->key_hash) { in validate_sb()
691 switch (sup->key_hash) { in ubifs_read_superblock()
693 c->key_hash = key_r5_hash; in ubifs_read_superblock()
698 c->key_hash = key_test_hash; in ubifs_read_superblock()
Dgc.c190 uint32_t hasha = key_hash(c, &sa->key); in nondata_nodes_cmp()
191 uint32_t hashb = key_hash(c, &sb->key); in nondata_nodes_cmp()
Dubifs-media.h655 __u8 key_hash; member
Ddebug.c107 get_key_type(type), key_hash(c, key)); in dbg_snprintf_key()
356 (int)sup->key_hash, get_key_hash(sup->key_hash)); in ubifs_dump_node()
Dubifs.h1369 uint32_t (*key_hash)(const char *str, int len); member
Dtnc.c1948 if (key_hash(c, key) == key_hash(c, dkey) && in search_dh_cookie()
/fs/fscache/
Dvolume.c127 if (a->key_hash != b->key_hash || in fscache_volume_same()
167 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_volume_hash) - 1); in fscache_hash_volume()
245 volume->key_hash = fscache_hash(0, key, hlen); in fscache_alloc_volume()
365 bucket = volume->key_hash & (ARRAY_SIZE(fscache_volume_hash) - 1); in fscache_unhash_volume()
Dcookie.c295 cookie->key_hash = fscache_hash(cookie->volume->key_hash, in fscache_set_key()
305 if (a->key_hash != b->key_hash || in fscache_cookie_same()
408 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie()
934 bucket = cookie->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_unhash_cookie()
/fs/cachefiles/
Dnamei.c419 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_delete_object()
443 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_create_tmpfile()
623 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_look_up_object()
673 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_commit_tmpfile()
Dinterface.c419 struct dentry *fan = volume->fanout[(u8)cookie->key_hash]; in cachefiles_invalidate_cookie()