• Home
  • Raw
  • Download

Lines Matching refs:table

16 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type)  in build_obj_refs_table()  argument
20 void delete_obj_refs_table(struct obj_refs_table *table) {} in delete_obj_refs_table() argument
21 void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id, const char *prefix) {} in emit_obj_refs_plain() argument
22 void emit_obj_refs_json(struct obj_refs_table *table, __u32 id, json_writer_t *json_writer) {} in emit_obj_refs_json() argument
28 static void add_ref(struct obj_refs_table *table, struct pid_iter_entry *e) in add_ref() argument
35 hash_for_each_possible(table->table, refs, node, e->id) { in add_ref()
79 hash_add(table->table, &refs->node, e->id); in add_ref()
90 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) in build_obj_refs_table() argument
98 hash_init(table->table); in build_obj_refs_table()
154 add_ref(table, e); in build_obj_refs_table()
165 void delete_obj_refs_table(struct obj_refs_table *table) in delete_obj_refs_table() argument
171 hash_for_each_safe(table->table, bkt, tmp, refs, node) { in delete_obj_refs_table()
178 void emit_obj_refs_json(struct obj_refs_table *table, __u32 id, in emit_obj_refs_json() argument
185 if (hash_empty(table->table)) in emit_obj_refs_json()
188 hash_for_each_possible(table->table, refs, node, id) { in emit_obj_refs_json()
208 void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id, const char *prefix) in emit_obj_refs_plain() argument
214 if (hash_empty(table->table)) in emit_obj_refs_plain()
217 hash_for_each_possible(table->table, refs, node, id) { in emit_obj_refs_plain()