/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 | map_ptr_kern.c | 108 struct bpf_htab *hash = (struct bpf_htab *)&m_hash; in check_hash() local 112 VERIFY(check_default_noinline(&hash->map, map)); in check_hash() 114 VERIFY(hash->n_buckets == MAX_ENTRIES); in check_hash() 115 VERIFY(hash->elem_size == 64); in check_hash() 117 VERIFY(hash->count.counter == 0); in check_hash() 122 if (bpf_map_update_elem(hash, &key, &val, 0)) in check_hash() 125 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 | lsm.c | 24 } hash SEC(".maps"); 125 value = bpf_map_lookup_elem(&hash, &key); in BPF_PROG()
|
D | test_tcpnotify_kern.c | 70 .hash = 0xef, in bpf_testcb()
|
D | bpf_tracing_net.h | 10 #define UNIX_ABSTRACT(unix_sk) (unix_sk->addr->hash < UNIX_HASH_SIZE)
|
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/lib/bpf/ |
D | strset.c | 42 struct hashmap *hash; in strset__new() local 48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new() 49 if (IS_ERR(hash)) in strset__new() 53 set->strs_hash = hash; in strset__new() 70 err = hashmap__add(hash, (void *)off, (void *)off); in strset__new()
|
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/filesystems/incfs/ |
D | utils.c | 113 uint8_t hash[SHA256_DIGEST_SIZE]; member 145 memcpy(sb->hash_section.hash, root_hash, SHA256_DIGEST_SIZE); in format_signature() 375 void sha256(const char *data, size_t dsize, char *hash) in sha256() argument 381 SHA256_Final((unsigned char *)hash, &ctx); in sha256() 384 void md5(const char *data, size_t dsize, char *hash) in md5() argument 390 MD5_Final((unsigned char *)hash, &ctx); in md5()
|
D | utils.h | 67 void sha256(const char *data, size_t dsize, char *hash); 69 void md5(const char *data, size_t dsize, char *hash);
|
/tools/testing/kunit/test_data/ |
D | test_is_test_passed-no_tests_run_no_header.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/bpf/ |
D | test_tcpnotify.h | 15 __u8 hash; member
|
D | test_select_reuseport_common.h | 33 __u32 hash; member
|
/tools/objtool/include/objtool/ |
D | elf.h | 30 struct hlist_node hash; member 47 struct hlist_node hash; member 68 struct hlist_node hash; member
|
D | cfi.h | 28 struct hlist_node hash; /* must be first, cficmp() */ member
|
D | check.h | 41 struct hlist_node 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/perf/util/ |
D | expr.c | 46 size_t hash = 0; in key_hash() local 49 hash *= 31; in key_hash() 50 hash += *str; in key_hash() 53 return hash; in key_hash()
|
/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 | 49 struct hlist_node hash; member 643 hash_for_each_safe(tab->table, bkt, tmp, obj, hash) { in delete_btf_table() 644 hash_del(&obj->hash); in delete_btf_table() 741 hash_add(tab->table, &obj_node->hash, obj_node->btf_id); in build_btf_type_table() 795 hash_for_each_possible(btf_prog_table->table, obj, hash, info->id) { in show_btf_plain() 802 hash_for_each_possible(btf_map_table->table, obj, hash, info->id) { in show_btf_plain() 826 hash_for_each_possible(btf_prog_table->table, obj, hash, in show_btf_json() 835 hash_for_each_possible(btf_map_table->table, obj, hash, in show_btf_json()
|
/tools/objtool/ |
D | elf.c | 103 elf_hash_for_each_possible(section, sec, hash, idx) { in find_section_by_index() 115 elf_hash_for_each_possible(symbol, sym, hash, idx) { in find_symbol_by_index() 203 elf_hash_for_each_possible(reloc, reloc, hash, in find_reloc_by_dest_range() 294 elf_hash_add(section, &sec->hash, sec->idx); in read_sections() 332 elf_hash_add(symbol, &sym->hash, sym->idx); in elf_add_symbol() 510 elf_hash_add(reloc, &reloc->hash, reloc_hash(reloc)); in elf_add_reloc() 708 hlist_del(&old->hash); in elf_create_section_symbol() 709 elf_hash_add(symbol, &old->hash, old->idx); in elf_create_section_symbol() 842 elf_hash_add(reloc, &reloc->hash, reloc_hash(reloc)); in read_relocs() 1026 elf_hash_add(section, &sec->hash, sec->idx); in elf_create_section() [all …]
|
/tools/perf/bench/ |
D | Build | 5 perf-y += futex-hash.o
|