Searched refs:key_hash (Results 1 – 11 of 11) sorted by relevance
| /linux/fs/ubifs/ |
| H A 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
|
| H A 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()
|
| H A D | ubifs-media.h | 655 __u8 key_hash; member
|
| /linux/fs/netfs/ |
| H A D | fscache_volume.c | 140 if (a->key_hash != b->key_hash || in fscache_volume_same() 180 bucket = candidate->key_hash & (ARRAY_SIZE(fscache_volume_hash) - 1); in fscache_hash_volume() 257 volume->key_hash = fscache_hash(0, key, hlen); in fscache_alloc_volume() 376 bucket = volume->key_hash & (ARRAY_SIZE(fscache_volume_hash) - 1); in fscache_unhash_volume()
|
| H A D | fscache_cookie.c | 295 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() 938 bucket = cookie->key_hash & (ARRAY_SIZE(fscache_cookie_hash) - 1); in fscache_unhash_cookie()
|
| /linux/drivers/nvme/target/ |
| H A D | auth.c | 25 unsigned char key_hash; in nvmet_auth_set_key() local 40 if (sscanf(secret, "DHHC-1:%hhd:%*s", &key_hash) != 1) in nvmet_auth_set_key() 42 if (key_hash > 3) { in nvmet_auth_set_key() 44 key_hash); in nvmet_auth_set_key() 54 host->dhchap_ctrl_key_hash = key_hash; in nvmet_auth_set_key() 58 host->dhchap_key_hash = key_hash; in nvmet_auth_set_key()
|
| /linux/drivers/nvme/common/ |
| H A D | auth.c | 149 struct nvme_dhchap_key *nvme_auth_extract_key(const char *secret, u8 key_hash) in nvme_auth_extract_key() argument 195 key->hash = key_hash; in nvme_auth_extract_key() 491 u8 key_hash; in nvme_auth_parse_key() local 498 if (sscanf(secret, "DHHC-1:%hhd:%*s:", &key_hash) != 1) in nvme_auth_parse_key() 502 key = nvme_auth_extract_key(secret + 10, key_hash); in nvme_auth_parse_key()
|
| /linux/tools/perf/util/ |
| H A D | expr.c | 48 static size_t key_hash(long key, void *ctx __maybe_unused) in key_hash() function 70 hash = hashmap__new(key_hash, key_equal, NULL); in ids__new() 298 ctx->ids = hashmap__new(key_hash, key_equal, NULL); in expr__ctx_new()
|
| /linux/fs/cachefiles/ |
| H A D | namei.c | 392 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_delete_object() 415 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_create_tmpfile() 592 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_look_up_object() 648 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_commit_tmpfile()
|
| /linux/include/linux/ |
| H A D | nvme-auth.h | 41 struct nvme_dhchap_key *nvme_auth_extract_key(const char *secret, u8 key_hash);
|
| /linux/Documentation/filesystems/caching/ |
| H A D | backend-api.rst | 144 unsigned int key_hash; 162 * ``key_hash`` - A hash of the index key. This should work out the same, no 186 u32 key_hash; 222 * ``key_hash`` - A hash of the index key. This should work out the same, no
|