Searched refs:hash (Results 1 – 10 of 10) sorted by relevance
/lib/ |
D | oid_registry.c | 30 unsigned i, j, k, hash; in look_up_OID() local 34 hash = datasize - 1; in look_up_OID() 37 hash += octets[i] * 33; in look_up_OID() 38 hash = (hash >> 24) ^ (hash >> 16) ^ (hash >> 8) ^ hash; in look_up_OID() 39 hash &= 0xff; in look_up_OID() 50 xhash = oid_search_table[j].hash; in look_up_OID() 51 if (xhash > hash) { in look_up_OID() 55 if (xhash < hash) { in look_up_OID()
|
D | stackdepot.c | 61 u32 hash; /* Hash in the hastable */ member 100 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack() argument 129 stack->hash = hash; in depot_alloc_stack() 175 u32 hash) in find_stack() argument 180 if (found->hash == hash && in find_stack() 228 u32 hash; in stack_depot_save() local 233 hash = hash_stack(entries, nr_entries); in stack_depot_save() 234 bucket = &stack_table[hash & STACK_HASH_MASK]; in stack_depot_save() 242 nr_entries, hash); in stack_depot_save() 270 found = find_stack(*bucket, entries, nr_entries, hash); in stack_depot_save() [all …]
|
D | build_OID_registry | 120 my $hash = $#octets; 122 $hash += $_ * 33; 125 $hash = ($hash >> 24) ^ ($hash >> 16) ^ ($hash >> 8) ^ ($hash); 127 push @hash_values, $hash & 0xff;
|
D | rhashtable.c | 53 int lockdep_rht_bucket_is_held(const struct bucket_table *tbl, u32 hash) in lockdep_rht_bucket_is_held() argument 59 return bit_spin_is_locked(0, (unsigned long *)&tbl->buckets[hash]); in lockdep_rht_bucket_is_held() 480 struct bucket_table *tbl, unsigned int hash, in rhashtable_lookup_one() argument 492 rht_for_each_from(head, rht_ptr(bkt, tbl, hash), tbl, hash) { in rhashtable_lookup_one() 512 head = rht_dereference_bucket(head->next, tbl, hash); in rhashtable_lookup_one() 532 unsigned int hash, in rhashtable_insert_one() argument 558 head = rht_ptr(bkt, tbl, hash); in rhashtable_insert_one() 586 unsigned int hash; in rhashtable_try_insert() local 593 hash = rht_head_hashfn(ht, tbl, obj, ht->p); in rhashtable_try_insert() 596 bkt = rht_bucket_var(tbl, hash); in rhashtable_try_insert() [all …]
|
D | digsig.c | 205 unsigned char hash[SHA1_DIGEST_SIZE]; in digsig_verify() local 244 crypto_shash_final(desc, hash); in digsig_verify() 250 hash, sizeof(hash)); in digsig_verify()
|
D | debugobjects.c | 466 unsigned long hash; in get_bucket() local 468 hash = hash_long((addr >> ODEBUG_CHUNK_SHIFT), ODEBUG_HASH_BITS); in get_bucket() 469 return &obj_hash[hash]; in get_bucket()
|
D | iov_iter.c | 1536 struct ahash_request *hash = hashp; in hash_and_copy_to_iter() local 1542 ahash_request_set_crypt(hash, &sg, NULL, copied); in hash_and_copy_to_iter() 1543 crypto_ahash_update(hash); in hash_and_copy_to_iter()
|
D | Kconfig.debug | 1825 tristate "Perform selftest on resizable hash table" 1832 tristate "Perform selftest on hash functions" 1834 Enable this option to test the kernel's integer (<linux/hash.h>), 1836 hash functions on boot (or module load).
|
D | test_bpf.c | 6486 skb->hash = SKB_HASH; in populate_skb()
|
/lib/xz/ |
D | xz_dec_stream.c | 93 struct xz_dec_hash hash; member 115 struct xz_dec_hash hash; member 259 s->block.hash.unpadded += s->block_header.size in dec_block() 263 s->block.hash.unpadded += check_sizes[s->check_type]; in dec_block() 266 s->block.hash.unpadded += 4; in dec_block() 269 s->block.hash.uncompressed += s->block.uncompressed; in dec_block() 270 s->block.hash.crc32 = xz_crc32( in dec_block() 271 (const uint8_t *)&s->block.hash, in dec_block() 272 sizeof(s->block.hash), s->block.hash.crc32); in dec_block() 323 s->index.hash.unpadded += s->vli; in dec_index() [all …]
|