Home
last modified time | relevance | path

Searched refs:hash (Results 2701 - 2725 of 4193) sorted by relevance

1...<<101102103104105106107108109110>>...168

/kernel/linux/linux-6.6/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c16 #include <linux/hash.h>
17 #include <crypto/internal/hash.h>
572 pr_err("GCM hash key setting failed = %d\n", rc); in crypto4xx_setkey_aes_gcm()
635 alg.u.hash); in crypto4xx_hash_alg_init()
659 /* Need to zero hash digest in SA */ in crypto4xx_hash_alg_init()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Dcam.c641 u8 hash = 0; in rtw89_cam_addr_hash() local
645 hash ^= addr[i]; in rtw89_cam_addr_hash()
647 return hash; in rtw89_cam_addr_hash()
/kernel/linux/linux-6.6/tools/perf/arch/arm/util/
H A Dcs-etm.c254 u32 hash; in cs_etm_set_sink_attr() local
266 ret = perf_pmu__scan_file(pmu, path, "%x", &hash); in cs_etm_set_sink_attr()
280 evsel->core.attr.config2 |= hash; in cs_etm_set_sink_attr()
/kernel/linux/linux-6.6/net/rds/
H A Dconnection.c60 u32 lhash, fhash, hash; in rds_conn_bucket() local
71 hash = __inet_ehashfn(lhash, 0, fhash, 0, rds_hash_secret); in rds_conn_bucket()
73 return &rds_conn_hash[hash & RDS_CONNECTION_HASH_MASK]; in rds_conn_bucket()
426 * to the conn hash, so we never trigger a reconnect on this in rds_conn_shutdown()
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs158 use core::hash::{Hash, Hasher};
1385 fn hash<H: Hasher>(&self, state: &mut H) { in hash() functions
1386 (**self).hash(state); in hash()
/kernel/linux/linux-6.6/security/tomoyo/
H A Dcommon.h44 * TOMOYO uses this hash only when appending a string into the string
46 * large (e.g. 64k) hash size. 256 will be sufficient.
506 u32 hash; /* = full_name_hash(name, strlen(name)) */ member
1165 return a->hash != b->hash || strcmp(a->name, b->name); in tomoyo_pathcmp()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_fast.c28 /* Always insert every fastHashFillStep position into the hash table. in ZSTD_fillHashTable()
29 * Insert the other positions if their hash entry is empty. in ZSTD_fillHashTable()
39 size_t const hash = ZSTD_hashPtr(ip + p, hBits, mls); in ZSTD_fillHashTable() local
40 if (hashTable[hash] == 0) { /* not yet filled */ in ZSTD_fillHashTable()
41 hashTable[hash] = curr + p; in ZSTD_fillHashTable()
50 * 1. Hash (map position to hash value via input read)
51 * 2. Lookup (map hash val to index via hashtable read)
122 size_t hash0; /* hash for ip0 */ in ZSTD_compressBlock_fast_noDict_generic()
123 size_t hash1; /* hash for ip1 */ in ZSTD_compressBlock_fast_noDict_generic()
172 /* write back hash tabl in ZSTD_compressBlock_fast_noDict_generic()
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbi.cpp423 * Compute a hash code for this BreakIterator
424 * @return A hash code
428 int32_t hash = 0; in hashCode() local
430 hash = fData->hashCode(); in hashCode()
432 return hash; in hashCode()
/third_party/libsnd/src/
H A Dcommon.h239 { uint64_t hash ; member
248 { uint64_t hash ; member
267 int64_t hash ; member
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtins.c707 if (string_p->u.hash & ECMA_GLOBAL_SYMBOL_FLAG) in ecma_builtin_try_to_instantiate_property()
709 magic_string_id = (string_p->u.hash >> ECMA_GLOBAL_SYMBOL_SHIFT); in ecma_builtin_try_to_instantiate_property()
852 symbol_p->u.hash = (uint16_t) ((symbol_id << ECMA_GLOBAL_SYMBOL_SHIFT) | ECMA_GLOBAL_SYMBOL_FLAG); in ecma_builtin_try_to_instantiate_property()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_state.c49 ves->hw_state.hash = _mesa_hash_pointer(ves); in zink_create_vertex_elements_state()
354 cso->hash = _mesa_hash_pointer(cso); in zink_create_blend_state()
421 state->blend_id = blend ? blend->hash : 0; in zink_bind_blend_state()
/third_party/node/lib/internal/modules/esm/
H A Dresolve.js335 const { search, hash } = resolved;
339 resolved.hash = hash;
/third_party/node/deps/icu-small/source/common/
H A Drbbi.cpp393 * Compute a hash code for this BreakIterator
394 * @return A hash code
398 int32_t hash = 0; in hashCode() local
400 hash = fData->hashCode(); in hashCode()
402 return hash; in hashCode()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_gmem.c556 uint32_t hash = gmem_key_hash(key); in lookup_gmem_state() local
559 _mesa_hash_table_search_pre_hashed(cache->ht, hash, key); in lookup_gmem_state()
574 entry = _mesa_hash_table_insert_pre_hashed(cache->ht, hash, key, in lookup_gmem_state()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_gs_variant.cpp510 uint32_t hash = hash_gs_variant_key(key); in d3d12_get_gs_variant() local
512 hash, key); in d3d12_get_gs_variant()
516 hash, &gs->gs_key, gs); in d3d12_get_gs_variant()
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx_all.c470 /* calculate cert digest using the same hash algorithm as in its signature */
475 unsigned char hash[EVP_MAX_MD_SIZE]; in X509_digest_sig() local
546 if (!X509_digest(cert, md, hash, &len) in X509_digest_sig()
549 if (ASN1_OCTET_STRING_set(new, hash, len)) { in X509_digest_sig()
/third_party/python/Lib/
H A Dfunctools.py433 """ This class guarantees that hash() will be called no more than once
434 per element. This is important because the lru_cache() will hash
441 def __init__(self, tup, hash=hash):
443 self.hashvalue = hash(tup)
458 its hash value, then that argument is returned without a wrapper. This
/third_party/openssl/crypto/x509/
H A Dx_all.c470 /* calculate cert digest using the same hash algorithm as in its signature */
475 unsigned char hash[EVP_MAX_MD_SIZE]; in X509_digest_sig() local
546 if (!X509_digest(cert, md, hash, &len) in X509_digest_sig()
549 if (ASN1_OCTET_STRING_set(new, hash, len)) { in X509_digest_sig()
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dsfdriver.c1003 /* a checksum; we use MurmurHash 3 with a hash length of 128 bit */ in sfnt_get_var_ps_name()
1007 FT_UInt32 hash[4]; in sfnt_get_var_ps_name() local
1011 murmur_hash_3_128( result, p - result, seed, hash ); in sfnt_get_var_ps_name()
1016 /* we convert the hash value to hex digits from back to front */ in sfnt_get_var_ps_name()
1018 h = hash + 3; in sfnt_get_var_ps_name()
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbi.cpp409 * Compute a hash code for this BreakIterator
410 * @return A hash code
414 int32_t hash = 0; in hashCode() local
416 hash = fData->hashCode(); in hashCode()
418 return hash; in hashCode()
/third_party/rust/crates/proc-macro2/src/
H A Dlib.rs166 use core::hash::{Hash, Hasher};
1021 fn hash<H: Hasher>(&self, hasher: &mut H) { in hash() functions
1022 self.to_string().hash(hasher); in hash()
/third_party/protobuf/php/ext/google/protobuf/
H A Dphp-upb.c1401 /* The minimum utilization of the array part of a mixed hash/array table. This
1503 static upb_tabent *getentry_mutable(upb_table *t, uint32_t hash) { in getentry_mutable() argument
1504 return (upb_tabent*)upb_getentry(t, hash); in getentry_mutable()
1508 uint32_t hash, eqlfunc_t *eql) { in findentry()
1512 e = upb_getentry(t, hash); in findentry()
1521 uint32_t hash, eqlfunc_t *eql) { in findentry_mutable()
1522 return (upb_tabent*)findentry(t, key, hash, eql); in findentry_mutable()
1526 uint32_t hash, eqlfunc_t *eql) { in lookup()
1527 const upb_tabent *e = findentry(t, key, hash, eql); in lookup()
1540 upb_value val, uint32_t hash, in insert()
1507 findentry(const upb_table *t, lookupkey_t key, uint32_t hash, eqlfunc_t *eql) findentry() argument
1520 findentry_mutable(upb_table *t, lookupkey_t key, uint32_t hash, eqlfunc_t *eql) findentry_mutable() argument
1525 lookup(const upb_table *t, lookupkey_t key, upb_value *v, uint32_t hash, eqlfunc_t *eql) lookup() argument
1539 insert(upb_table *t, lookupkey_t key, upb_tabkey tabkey, upb_value val, uint32_t hash, hashfunc_t *hashfunc, eqlfunc_t *eql) insert() argument
1584 rm(upb_table *t, lookupkey_t key, upb_value *val, upb_tabkey *removed, uint32_t hash, eqlfunc_t *eql) rm() argument
1703 uint32_t hash; upb_strtable_insert3() local
1723 uint32_t hash = upb_murmur_hash2(key, len, 0); upb_strtable_lookup2() local
1729 uint32_t hash = upb_murmur_hash2(key, len, 0); upb_strtable_remove3() local
1888 uint32_t hash; upb_inttable_insert2() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c256 fconf = fs->hash ? adapter->params.tp.filter_mask : in validate_filter()
358 u64 *pkts, u64 *bytes, bool hash) in get_filter_count()
367 if (is_hashfilter(adapter) && hash) { in get_filter_count()
438 u64 *hitcnt, u64 *bytecnt, bool hash) in cxgb4_get_filter_counters()
442 return get_filter_count(adapter, fidx, hitcnt, bytecnt, hash); in cxgb4_get_filter_counters()
996 if ((f->fs.hash || is_t6(adap->params.chip)) && f->fs.type) in clear_filter()
1031 /* Clear all hash filters */ in clear_all_filters()
1166 /* Keep tunnel VNI match disabled for hash-filters for now */ in is_filter_exact_match()
1539 if (fs->hash) { in __cxgb4_set_filter()
1810 if (fs && fs->hash) { in __cxgb4_del_filter()
357 get_filter_count(struct adapter *adapter, unsigned int fidx, u64 *pkts, u64 *bytes, bool hash) get_filter_count() argument
437 cxgb4_get_filter_counters(struct net_device *dev, unsigned int fidx, u64 *hitcnt, u64 *bytecnt, bool hash) cxgb4_get_filter_counters() argument
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dinode.c789 /* Simple function to return a 64 bit hash of string. Rarely called */
793 __u64 hash = 0; local
796 hash = (hash + (__u64) *str++) * hash_mult;
798 return hash;
1290 unsigned long hash; local
1296 /* hash down to 32-bits on 32-bit arch */
1297 hash = cifs_uniqueid_to_ino_t(fattr->cf_uniqueid);
1299 inode = iget5_locked(sb, hash, cifs_find_inode, cifs_init_inode, fattr);
1317 inode->i_ino = hash;
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Dinode.c1283 dname.hash = full_name_hash(parent, dname.name, dname.len); in ceph_fill_trace()
1665 dname.hash = full_name_hash(parent, dname.name, dname.len); in ceph_readdir_prepopulate()
1671 u32 hash = ceph_str_hash(ci->i_dir_layout.dl_dir_hash, in ceph_readdir_prepopulate() local
1673 hash = ceph_frag_value(hash); in ceph_readdir_prepopulate()
1674 if (hash != last_hash) in ceph_readdir_prepopulate()
1676 last_hash = hash; in ceph_readdir_prepopulate()
1677 rde->offset = ceph_make_fpos(hash, fpos_offset++, true); in ceph_readdir_prepopulate()

Completed in 47 milliseconds

1...<<101102103104105106107108109110>>...168