/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 134 ELF(Word) *hash = 0; in vdso_init_from_sysinfo_ehdr() 152 hash = (ELF(Word) *) in vdso_init_from_sysinfo_ehdr() 168 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr() 175 vdso_info.nbucket = hash[0]; in vdso_init_from_sysinfo_ehdr() 176 vdso_info.nchain = hash[1]; in vdso_init_from_sysinfo_ehdr() 177 vdso_info.bucket = &hash[2]; in vdso_init_from_sysinfo_ehdr() 178 vdso_info.chain = &hash[vdso_info.nbucket + 2]; in vdso_init_from_sysinfo_ehdr() 185 const char *name, ELF(Word) hash) in vdso_match_version() 218 return def->vd_hash == hash in vdso_match_version()
|
/tools/testing/selftests/bpf/progs/ |
D | test_pkt_md_access.c | 38 TEST_FIELD(__u8, hash, 0xFF); in process() 39 TEST_FIELD(__u16, hash, 0xFFFF); in process() 40 TEST_FIELD(__u32, hash, 0xFFFFFFFF); in process()
|
D | test_select_reuseport_kern.c | 83 data_check.hash = reuse_md->hash; in _select_by_skb_data()
|
D | test_tcpnotify_kern.c | 70 .hash = 0xef, in bpf_testcb()
|
D | test_l4lb_noinline.c | 218 __u32 hash = get_packet_hash(pckt, is_ipv6); in get_packet_dst() local 219 __u32 key = RING_SIZE * vip_info->vip_num + hash % RING_SIZE; in get_packet_dst() 222 if (hash != 0x358459b7 /* jhash of ipv4 packet */ && in get_packet_dst() 223 hash != 0x2f4bc6bb /* jhash of ipv6 packet */) in get_packet_dst()
|
D | test_xdp_noinline.c | 555 __u32 *real_pos, hash, key; in get_packet_dst() local 564 hash = get_packet_hash(pckt, hash_16bytes); in get_packet_dst() 565 if (hash != 0x358459b7 /* jhash of ipv4 packet */ && in get_packet_dst() 566 hash != 0x2f4bc6bb /* jhash of ipv6 packet */) in get_packet_dst() 568 key = 2 * vip_info->vip_num + hash % 2; in get_packet_dst()
|
/tools/testing/selftests/filesystems/incfs/ |
D | utils.c | 64 uint8_t hash[SHA256_DIGEST_SIZE]; member 93 memcpy(sb->hash_section.hash, root_hash, SHA256_DIGEST_SIZE); in format_signature() 281 void sha256(const char *data, size_t dsize, char *hash) in sha256() argument 287 SHA256_Final((unsigned char *)hash, &ctx); in sha256() 290 void md5(const char *data, size_t dsize, char *hash) in md5() argument 296 MD5_Final((unsigned char *)hash, &ctx); in md5()
|
D | utils.h | 53 void sha256(const char *data, size_t dsize, char *hash); 55 void md5(const char *data, size_t dsize, char *hash);
|
/tools/testing/selftests/bpf/prog_tests/ |
D | skb_ctx.c | 59 skb.hash = 1; in test_skb_ctx() 62 skb.hash = 0; in test_skb_ctx()
|
/tools/testing/selftests/bpf/ |
D | test_tcpnotify.h | 15 __u8 hash; member
|
D | test_select_reuseport_common.h | 33 __u32 hash; member
|
D | test_tcpnotify_user.c | 39 t->source != 0xbe || t->hash != 0xef) in dummyfn()
|
/tools/testing/selftests/bpf/verifier/ |
D | ctx_skb.c | 484 offsetof(struct __sk_buff, hash)), 507 offsetof(struct __sk_buff, hash)), 510 offsetof(struct __sk_buff, hash) + 3), 521 offsetof(struct __sk_buff, hash) + 1), 531 offsetof(struct __sk_buff, hash) + 2), 542 offsetof(struct __sk_buff, hash) + 3), 545 offsetof(struct __sk_buff, hash)), 628 offsetof(struct __sk_buff, hash)), 651 offsetof(struct __sk_buff, hash)), 654 offsetof(struct __sk_buff, hash) + 2), [all …]
|
/tools/objtool/ |
D | elf.h | 44 struct hlist_node hash; member 58 struct hlist_node hash; member
|
D | elf.c | 53 hash_for_each_possible(sec->symbol_hash, sym, hash, idx) in find_symbol_by_index() 107 hash_for_each_possible(sec->rela->rela_hash, rela, hash, o) in find_rela_by_dest_range() 295 hash_add(sym->sec->symbol_hash, &sym->hash, sym->idx); in read_symbols() 399 hash_add(sec->rela_hash, &rela->hash, rela->offset); in read_relas() 675 hash_del(&sym->hash); in elf_close() 680 hash_del(&rela->hash); in elf_close()
|
D | check.h | 30 struct hlist_node hash; member
|
D | orc_gen.c | 133 hash_add(ip_relasec->rela_hash, &rela->hash, rela->offset); in create_orc_entry()
|
/tools/perf/lib/ |
D | evlist.c | 188 int hash; in perf_evlist__id_hash() local 193 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id_hash() 194 hlist_add_head(&sid->node, &evlist->heads[hash]); in perf_evlist__id_hash()
|
/tools/bpf/bpftool/ |
D | btf.c | 46 struct hlist_node hash; member 570 hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { in delete_btf_table() 571 hash_del(&obj->hash); in delete_btf_table() 667 hash_add(tab->table, &obj_node->hash, obj_node->btf_id); in build_btf_type_table() 714 hash_for_each_possible(btf_prog_table->table, obj, hash, info->id) { in show_btf_plain() 721 hash_for_each_possible(btf_map_table->table, obj, hash, info->id) { in show_btf_plain() 743 hash_for_each_possible(btf_prog_table->table, obj, hash, in show_btf_json() 752 hash_for_each_possible(btf_map_table->table, obj, hash, in show_btf_json()
|
D | common.c | 418 hash_add(tab->table, &obj_node->hash, obj_node->id); in build_pinned_obj_table() 434 hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { in delete_pinned_obj_table() 435 hash_del(&obj->hash); in delete_pinned_obj_table()
|
/tools/perf/bench/ |
D | Build | 4 perf-y += futex-hash.o
|
/tools/lib/bpf/ |
D | hashmap.c | 126 const void *key, size_t hash, in hashmap_find_entry() argument 135 for (prev_ptr = &map->buckets[hash], cur = *prev_ptr; in hashmap_find_entry()
|
/tools/testing/ktest/ |
D | config-bisect.pl | 249 my ($hash, $config) = @_; 259 ${$hash}{$2} = $1; 261 ${$hash}{$2} = $1;
|
/tools/perf/Documentation/ |
D | perf-bench.txt | 194 *hash*:: 195 Suite for evaluating hash tables.
|
/tools/perf/util/ |
D | evlist.c | 446 int hash; in perf_evlist__id2sid() local 448 hash = hash_64(id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id2sid() 449 head = &evlist->core.heads[hash]; in perf_evlist__id2sid() 517 int hash; in perf_evlist__event2evsel() local 534 hash = hash_64(id, PERF_EVLIST__HLIST_BITS); in perf_evlist__event2evsel() 535 head = &evlist->core.heads[hash]; in perf_evlist__event2evsel()
|