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

/linux-master/include/linux/
H A Dnvme-auth.h29 u8 key_hash);
H A Dfscache.h77 unsigned int key_hash; /* Hash of key string */ member in struct:fscache_volume
139 u32 key_hash; /* Hash of volume, key, len */ member in struct:fscache_cookie
/linux-master/fs/ubifs/
H A Dkey.h150 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm));
186 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm));
219 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm));
237 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm));
365 * key_hash - get directory entry hash.
369 static inline uint32_t key_hash(const struct ubifs_info *c, function
H A Dsb.c194 sup->key_hash = UBIFS_KEY_HASH_R5;
277 c->key_hash = key_r5_hash;
384 if (!c->key_hash) {
691 switch (sup->key_hash) {
693 c->key_hash = key_r5_hash;
698 c->key_hash = key_test_hash;
H A Dubifs-media.h621 * @key_hash: type of hash function used in keys
655 __u8 key_hash; member in struct:ubifs_sb_node
H A Dgc.c190 uint32_t hasha = key_hash(c, &sa->key);
191 uint32_t hashb = key_hash(c, &sb->key);
H A Ddebug.c107 get_key_type(type), key_hash(c, key));
356 (int)sup->key_hash, get_key_hash(sup->key_hash));
H A Dtnc.c1948 if (key_hash(c, key) == key_hash(c, dkey) &&
H A Dubifs.h1113 * @key_hash: direntry key hash function
1373 uint32_t (*key_hash)(const char *str, int len); member in struct:ubifs_info
/linux-master/drivers/nvme/target/
H A Dauth.c25 unsigned char key_hash; local
28 if (sscanf(secret, "DHHC-1:%hhd:%*s", &key_hash) != 1)
30 if (key_hash > 3) {
32 key_hash);
35 if (key_hash > 0) {
37 const char *hmac = nvme_auth_hmac_name(key_hash);
50 host->dhchap_ctrl_key_hash = key_hash;
54 host->dhchap_key_hash = key_hash;
/linux-master/fs/netfs/
H A Dfscache_volume.c127 if (a->key_hash != b->key_hash ||
167 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_volume_hash) - 1);
245 volume->key_hash = fscache_hash(0, key, hlen);
365 bucket = volume->key_hash & (ARRAY_SIZE(fscache_volume_hash) - 1);
H A Dfscache_cookie.c295 cookie->key_hash = fscache_hash(cookie->volume->key_hash,
305 if (a->key_hash != b->key_hash ||
408 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1);
934 bucket = cookie->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1);
/linux-master/drivers/nvme/common/
H A Dauth.c162 u8 key_hash)
208 key->hash = key_hash;
452 u8 key_hash; local
459 if (sscanf(secret, "DHHC-1:%hhd:%*s:", &key_hash) != 1)
463 key = nvme_auth_extract_key(secret + 10, key_hash);
161 nvme_auth_extract_key(unsigned char *secret, u8 key_hash) argument
/linux-master/tools/perf/util/
H A Dthreads.c12 static size_t key_hash(long key, void *ctx __maybe_unused) function
28 hashmap__init(&table->shard, key_hash, key_equal, NULL);
H A Dexpr.c55 static size_t key_hash(long key, void *ctx __maybe_unused) function
77 hash = hashmap__new(key_hash, key_equal, NULL);
299 ctx->ids = hashmap__new(key_hash, key_equal, NULL);
/linux-master/kernel/trace/
H A Dtracing_map.c518 u32 idx, key_hash, test_key; local
523 key_hash = jhash(key, map->key_size, 0);
524 if (key_hash == 0)
525 key_hash = 1;
526 idx = key_hash >> (32 - (map->map_bits + 1));
533 if (test_key && test_key == key_hash) {
547 * On top of that, it's key_hash is same as the
566 if (!cmpxchg(&entry->key, 0, key_hash)) {
/linux-master/fs/cachefiles/
H A Dnamei.c421 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash];
445 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash];
626 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash];
676 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash];
H A Dinterface.c424 struct dentry *fan = volume->fanout[(u8)cookie->key_hash];

Completed in 448 milliseconds