Searched refs:hashmap_entry (Results 1 – 16 of 16) sorted by relevance
/external/erofs-utils/lib/ |
D | hashmap.c | 69 map->table = calloc(size, sizeof(struct hashmap_entry *)); in alloc_table() 86 const struct hashmap_entry *e1, in entry_equals() 87 const struct hashmap_entry *e2, in entry_equals() 94 const struct hashmap_entry *key) in bucket() 102 struct hashmap_entry **oldtable = map->table; in rehash() 106 struct hashmap_entry *e = oldtable[i]; in rehash() 109 struct hashmap_entry *next = e->next; in rehash() 120 static inline struct hashmap_entry **find_entry_ptr(const struct hashmap *map, in find_entry_ptr() 121 const struct hashmap_entry *key, in find_entry_ptr() 124 struct hashmap_entry **e = &map->table[bucket(map, key)]; in find_entry_ptr() [all …]
|
D | blobchunk.c | 17 struct hashmap_entry ent; 123 container_of((struct hashmap_entry *)a, in erofs_blob_hashmap_cmp() 126 container_of((struct hashmap_entry *)b, in erofs_blob_hashmap_cmp() 565 struct hashmap_entry *e; in erofs_blob_exit() 577 bc = container_of((struct hashmap_entry *)e, in erofs_blob_exit()
|
/external/libbpf/src/ |
D | hashmap.c | 24 static void hashmap_add_entry(struct hashmap_entry **pprev, in hashmap_add_entry() 25 struct hashmap_entry *entry) in hashmap_add_entry() 31 static void hashmap_del_entry(struct hashmap_entry **pprev, in hashmap_del_entry() 32 struct hashmap_entry *entry) in hashmap_del_entry() 65 struct hashmap_entry *cur, *tmp; in hashmap__clear() 103 struct hashmap_entry **new_buckets; in hashmap_grow() 104 struct hashmap_entry *cur, *tmp; in hashmap_grow() 132 struct hashmap_entry ***pprev, in hashmap_find_entry() 133 struct hashmap_entry **entry) in hashmap_find_entry() 135 struct hashmap_entry *cur, **prev_ptr; in hashmap_find_entry() [all …]
|
D | hashmap.h | 60 struct hashmap_entry { struct 69 struct hashmap_entry *next; argument 77 struct hashmap_entry **buckets;
|
D | btf.c | 3920 struct hashmap_entry *hash_entry; in btf_dedup_prim_type() 4467 struct hashmap_entry *hash_entry; in btf_dedup_struct_type() 4560 struct hashmap_entry *hash_entry; in btf_dedup_ref_type()
|
D | btf_dump.c | 226 struct hashmap_entry *cur; in btf_dump_free_names()
|
D | libbpf.c | 5805 struct hashmap_entry *entry; in bpf_object__relocate_core()
|
/external/erofs-utils/include/erofs/ |
D | hashmap.h | 41 struct hashmap_entry { struct 42 struct hashmap_entry *next; argument 50 struct hashmap_entry **table; argument 57 struct hashmap_entry *next; 69 struct hashmap_entry *e = entry; in hashmap_entry_init() 84 struct hashmap_entry key; in hashmap_get_from_hash()
|
/external/bpftool/src/ |
D | pids.c | 33 struct hashmap_entry *entry; in add_ref() 184 struct hashmap_entry *entry; in delete_obj_refs_table() 203 struct hashmap_entry *entry; in emit_obj_refs_json() 235 struct hashmap_entry *entry; in emit_obj_refs_plain()
|
D | btf.c | 863 struct hashmap_entry *entry; in show_btf_plain() 896 struct hashmap_entry *entry; in show_btf_json()
|
D | link.c | 568 struct hashmap_entry *entry; in show_link_close_json() 954 struct hashmap_entry *entry; in show_link_close_plain()
|
D | map.c | 525 struct hashmap_entry *entry; in show_map_close_json() 603 struct hashmap_entry *entry; in show_map_close_plain()
|
D | common.c | 548 struct hashmap_entry *entry; in delete_pinned_obj_table()
|
D | prog.c | 486 struct hashmap_entry *entry; in print_prog_json() 565 struct hashmap_entry *entry; in print_prog_plain()
|
D | gen.c | 2301 struct hashmap_entry *entry; in btfgen_record_obj()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | hashmap.c | 45 struct hashmap_entry *entry, *tmp; in test_hashmap_generic() 262 struct hashmap_entry *entry; in test_hashmap_multimap() 333 struct hashmap_entry *entry; in test_hashmap_empty()
|