Searched refs:key_hash (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.15/fs/ubifs/ |
| D | key.h | 150 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
|
| D | sb.c | 194 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()
|
| D | ubifs-media.h | 655 __u8 key_hash; member
|
| D | gc.c | 190 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()
|
| D | debug.c | 107 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()
|
| D | ubifs.h | 1341 uint32_t (*key_hash)(const char *str, int len); member
|
| D | tnc.c | 1910 if (key_hash(c, key) == key_hash(c, dkey) && in search_dh_cookie()
|
| /Linux-v5.15/kernel/trace/ |
| D | tracing_map.c | 515 u32 idx, key_hash, test_key; in __tracing_map_insert() local 520 key_hash = jhash(key, map->key_size, 0); in __tracing_map_insert() 521 if (key_hash == 0) in __tracing_map_insert() 522 key_hash = 1; in __tracing_map_insert() 523 idx = key_hash >> (32 - (map->map_bits + 1)); in __tracing_map_insert() 530 if (test_key && test_key == key_hash) { in __tracing_map_insert() 563 if (!cmpxchg(&entry->key, 0, key_hash)) { in __tracing_map_insert()
|
| /Linux-v5.15/fs/fscache/ |
| D | cookie.c | 105 cookie->key_hash = fscache_hash(0, buf, bufs); in fscache_set_key() 114 if (a->key_hash != b->key_hash) in fscache_compare_cookie() 115 return (long)a->key_hash - (long)b->key_hash; in fscache_compare_cookie() 210 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_hash_cookie() 849 bucket = cookie->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_unhash_cookie()
|
| /Linux-v5.15/tools/perf/util/ |
| D | expr.c | 43 static size_t key_hash(const void *key, void *ctx __maybe_unused) in key_hash() function 216 hashmap__init(&ctx->ids, key_hash, key_equal, NULL); in expr__ctx_init()
|
| /Linux-v5.15/include/linux/ |
| D | fscache.h | 157 u32 key_hash; /* Hash of parent, type, key, len */ member
|