Lines Matching refs:hashmap
12 #include <bpf/hashmap.h>
19 int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type)
23 void delete_obj_refs_table(struct hashmap *map) {}
24 void emit_obj_refs_plain(struct hashmap *map, __u32 id, const char *prefix) {}
25 void emit_obj_refs_json(struct hashmap *map, __u32 id, json_writer_t *json_writer) {}
31 static void add_ref(struct hashmap *map, struct pid_iter_entry *e)
86 p_err("failed to append entry to hashmap for ID %u: %s",
98 int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type)
108 p_err("failed to create hashmap for PID references");
177 void delete_obj_refs_table(struct hashmap *map)
195 void emit_obj_refs_json(struct hashmap *map, __u32 id,
228 void emit_obj_refs_plain(struct hashmap *map, __u32 id, const char *prefix)