/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 112 ELF(Word) *hash = 0; in vdso_init_from_sysinfo_ehdr() 130 hash = (ELF(Word) *) in vdso_init_from_sysinfo_ehdr() 146 if (!vdso_info.symstrings || !vdso_info.symtab || !hash) in vdso_init_from_sysinfo_ehdr() 153 vdso_info.nbucket = hash[0]; in vdso_init_from_sysinfo_ehdr() 154 vdso_info.nchain = hash[1]; in vdso_init_from_sysinfo_ehdr() 155 vdso_info.bucket = &hash[2]; in vdso_init_from_sysinfo_ehdr() 156 vdso_info.chain = &hash[vdso_info.nbucket + 2]; in vdso_init_from_sysinfo_ehdr() 163 const char *name, ELF(Word) hash) in vdso_match_version() 196 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 test_pkt_md_access() 39 TEST_FIELD(__u16, hash, 0xFFFF); in test_pkt_md_access() 40 TEST_FIELD(__u32, hash, 0xFFFFFFFF); in test_pkt_md_access()
|
D | lsm.c | 24 } hash SEC(".maps"); 77 value = bpf_map_lookup_elem(&hash, &key); in BPF_PROG()
|
D | map_ptr_kern.c | 114 struct bpf_htab *hash = (struct bpf_htab *)&m_hash; in check_hash() local 118 VERIFY(check_default_noinline(&hash->map, map)); in check_hash() 120 VERIFY(hash->n_buckets == MAX_ENTRIES); in check_hash() 121 VERIFY(hash->elem_size == 64); in check_hash() 123 VERIFY(hash->count.counter == 0); in check_hash() 128 if (bpf_map_update_elem(hash, &key, &val, 0)) in check_hash() 131 VERIFY(hash->count.counter == HALF_ENTRIES); in check_hash()
|
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 | 215 __u32 hash = get_packet_hash(pckt, is_ipv6); in get_packet_dst() local 216 __u32 key = RING_SIZE * vip_info->vip_num + hash % RING_SIZE; in get_packet_dst() 219 if (hash != 0x358459b7 /* jhash of ipv4 packet */ && in get_packet_dst() 220 hash != 0x2f4bc6bb /* jhash of ipv6 packet */) in get_packet_dst()
|
/tools/testing/kunit/test_data/ |
D | test_is_test_passed-no_tests_run.log | 11 PID hash table entries: 256 (order: -1, 2048 bytes) 12 Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) 13 Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) 20 Mount-cache hash table entries: 512 (order: 0, 4096 bytes) 21 Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes) 26 futex hash table entries: 256 (order: 0, 6144 bytes)
|
D | test_output_isolated_correctly.log | 4 Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) 5 Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) 45 Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) 46 Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) 51 futex hash table entries: 256 (order: 0, 6144 bytes)
|
/tools/testing/selftests/filesystems/incfs/ |
D | utils.c | 103 uint8_t hash[SHA256_DIGEST_SIZE]; member 135 memcpy(sb->hash_section.hash, root_hash, SHA256_DIGEST_SIZE); in format_signature() 365 void sha256(const char *data, size_t dsize, char *hash) in sha256() argument 371 SHA256_Final((unsigned char *)hash, &ctx); in sha256() 374 void md5(const char *data, size_t dsize, char *hash) in md5() argument 380 MD5_Final((unsigned char *)hash, &ctx); in md5()
|
D | utils.h | 65 void sha256(const char *data, size_t dsize, char *hash); 67 void md5(const char *data, size_t dsize, char *hash);
|
/tools/perf/util/ |
D | expr.c | 23 size_t hash = 0; in key_hash() local 26 hash *= 31; in key_hash() 27 hash += *str; in key_hash() 30 return hash; in key_hash()
|
D | hashmap.c | 131 const void *key, size_t hash, in hashmap_find_entry() argument 140 for (prev_ptr = &map->buckets[hash], cur = *prev_ptr; in hashmap_find_entry()
|
/tools/testing/selftests/bpf/ |
D | test_tcpnotify.h | 15 __u8 hash; member
|
D | test_select_reuseport_common.h | 33 __u32 hash; member
|
/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 | 30 struct hlist_node hash; member 48 struct hlist_node hash; member 69 struct hlist_node hash; member
|
D | cfi.h | 28 struct hlist_node hash; /* must be first, cficmp() */ member
|
D | elf.c | 146 elf_hash_for_each_possible(elf->section_hash, sec, hash, idx) in find_section_by_index() 157 elf_hash_for_each_possible(elf->symbol_hash, sym, hash, idx) in find_symbol_by_index() 243 elf_hash_for_each_possible(elf->reloc_hash, reloc, hash, in find_reloc_by_dest_range() 328 elf_hash_add(elf->section_hash, &sec->hash, sec->idx); in read_sections() 364 elf_hash_add(elf->symbol_hash, &sym->hash, sym->idx); in elf_add_symbol() 534 elf_hash_add(elf->reloc_hash, &reloc->hash, reloc_hash(reloc)); in elf_add_reloc() 731 hlist_del(&old->hash); in elf_create_section_symbol() 732 elf_hash_add(elf->symbol_hash, &old->hash, old->idx); in elf_create_section_symbol() 862 elf_hash_add(elf->reloc_hash, &reloc->hash, reloc_hash(reloc)); in read_relocs() 1053 elf_hash_add(elf->section_hash, &sec->hash, sec->idx); in elf_create_section() [all …]
|
D | check.h | 41 struct hlist_node hash; member
|
/tools/testing/selftests/bpf/prog_tests/ |
D | skb_ctx.c | 66 skb.hash = 1; in test_skb_ctx() 69 skb.hash = 0; in test_skb_ctx()
|
/tools/bpf/bpftool/ |
D | btf.c | 48 struct hlist_node hash; member 607 hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { in delete_btf_table() 608 hash_del(&obj->hash); in delete_btf_table() 705 hash_add(tab->table, &obj_node->hash, obj_node->btf_id); in build_btf_type_table() 752 hash_for_each_possible(btf_prog_table->table, obj, hash, info->id) { in show_btf_plain() 759 hash_for_each_possible(btf_map_table->table, obj, hash, info->id) { in show_btf_plain() 782 hash_for_each_possible(btf_prog_table->table, obj, hash, in show_btf_json() 791 hash_for_each_possible(btf_map_table->table, obj, hash, in show_btf_json()
|
/tools/perf/bench/ |
D | Build | 5 perf-y += futex-hash.o
|
/tools/lib/bpf/ |
D | hashmap.c | 131 const void *key, size_t hash, in hashmap_find_entry() argument 140 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;
|