Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dkey.h145 uint32_t hash = c->key_hash(nm->name, nm->len); in dent_key_init()
180 uint32_t hash = c->key_hash(nm->name, nm->len); in dent_key_init_flash()
213 uint32_t hash = c->key_hash(nm->name, nm->len); in xent_key_init()
231 uint32_t hash = c->key_hash(nm->name, nm->len); in xent_key_init_flash()
363 static inline uint32_t key_hash(const struct ubifs_info *c, in key_hash() function
H A Dsb.c166 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem()
271 c->key_hash = key_r5_hash; in create_default_filesystem()
356 if (!c->key_hash) { in validate_sb()
583 switch (sup->key_hash) { in ubifs_read_superblock()
585 c->key_hash = key_r5_hash; in ubifs_read_superblock()
590 c->key_hash = key_test_hash; in ubifs_read_superblock()
H A Dgc.c200 uint32_t hasha = key_hash(c, &sa->key); in nondata_nodes_cmp()
201 uint32_t hashb = key_hash(c, &sb->key); in nondata_nodes_cmp()
H A Dubifs-media.h618 __u8 key_hash; member
H A Ddebug.c118 get_key_type(type), key_hash(c, key)); in dbg_snprintf_key()
335 (int)sup->key_hash, get_key_hash(sup->key_hash)); in ubifs_dump_node()
H A Dubifs.h1918 uint32_t (*key_hash)(const char *str, int len); member
/OK3568_Linux_fs/kernel/fs/ubifs/
H A 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
H A Dsb.c191 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem()
274 c->key_hash = key_r5_hash; in create_default_filesystem()
381 if (!c->key_hash) { in validate_sb()
688 switch (sup->key_hash) { in ubifs_read_superblock()
690 c->key_hash = key_r5_hash; in ubifs_read_superblock()
695 c->key_hash = key_test_hash; in ubifs_read_superblock()
H A Dgc.c189 uint32_t hasha = key_hash(c, &sa->key); in nondata_nodes_cmp()
190 uint32_t hashb = key_hash(c, &sb->key); in nondata_nodes_cmp()
H A Dubifs-media.h655 __u8 key_hash; member
H A Ddebug.c107 get_key_type(type), key_hash(c, key)); in dbg_snprintf_key()
326 (int)sup->key_hash, get_key_hash(sup->key_hash)); in ubifs_dump_node()
H A Dubifs.h1341 uint32_t (*key_hash)(const char *str, int len); member
H A Dtnc.c1910 if (key_hash(c, key) == key_hash(c, dkey) && in search_dh_cookie()
/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Dfsl_validate.c539 int key_hash = 0; in calc_esbchdr_esbc_hash() local
568 key_hash = 1; in calc_esbchdr_esbc_hash()
572 if (!key_hash && check_ie(img)) in calc_esbchdr_esbc_hash()
573 key_hash = 1; in calc_esbchdr_esbc_hash()
577 if (!key_hash) { in calc_esbchdr_esbc_hash()
580 key_hash = 1; in calc_esbchdr_esbc_hash()
585 if (!key_hash) in calc_esbchdr_esbc_hash()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtracing_map.c518 u32 idx, key_hash, test_key; in __tracing_map_insert() local
523 key_hash = jhash(key, map->key_size, 0); in __tracing_map_insert()
524 if (key_hash == 0) in __tracing_map_insert()
525 key_hash = 1; in __tracing_map_insert()
526 idx = key_hash >> (32 - (map->map_bits + 1)); in __tracing_map_insert()
533 if (test_key && test_key == key_hash) { in __tracing_map_insert()
566 if (!cmpxchg(&entry->key, 0, key_hash)) { in __tracing_map_insert()
/OK3568_Linux_fs/kernel/fs/fscache/
H A Dcookie.c92 cookie->key_hash = fscache_hash(0, buf, bufs); in fscache_set_key()
101 if (a->key_hash != b->key_hash) in fscache_compare_cookie()
102 return (long)a->key_hash - (long)b->key_hash; in fscache_compare_cookie()
190 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie()
833 bucket = cookie->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_unhash_cookie()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dexpr.c20 static size_t key_hash(const void *key, void *ctx __maybe_unused) in key_hash() function
180 hashmap__init(&ctx->ids, key_hash, key_equal, NULL); in expr__ctx_init()
/OK3568_Linux_fs/kernel/include/linux/
H A Dfscache.h163 u32 key_hash; /* Hash of parent, type, key, len */ member