Searched refs:json_writer_t (Results 1 - 14 of 14) sorted by relevance
/linux-master/tools/bpf/bpftool/ |
H A D | json_writer.h | 21 typedef struct json_writer json_writer_t; typedef in typeref:struct:json_writer 24 json_writer_t *jsonw_new(FILE *f); 26 void jsonw_destroy(json_writer_t **self_p); 29 void jsonw_pretty(json_writer_t *self, bool on); 32 void jsonw_reset(json_writer_t *self); 35 void jsonw_name(json_writer_t *self, const char *name); 38 void __printf(2, 0) jsonw_vprintf_enquote(json_writer_t *self, const char *fmt, 40 void __printf(2, 3) jsonw_printf(json_writer_t *self, const char *fmt, ...); 41 void jsonw_string(json_writer_t *self, const char *value); 42 void jsonw_bool(json_writer_t *sel [all...] |
H A D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) 37 static void jsonw_eol(json_writer_t *self) 47 static void jsonw_eor(json_writer_t *self) 57 static void jsonw_puts(json_writer_t *self, const char *str) 90 json_writer_t *jsonw_new(FILE *f) 92 json_writer_t *self = malloc(sizeof(*self)); 103 void jsonw_destroy(json_writer_t **self_p) 105 json_writer_t *self = *self_p; 114 void jsonw_pretty(json_writer_t *self, bool on) 119 void jsonw_reset(json_writer_t *sel [all...] |
H A D | main.h | 77 extern json_writer_t *json_wtr; 122 json_writer_t *json_wtr); 211 json_writer_t *jw; 273 void netfilter_dump_json(const struct bpf_link_info *info, json_writer_t *wtr);
|
H A D | link.c | 128 show_link_header_json(struct bpf_link_info *info, json_writer_t *wtr) 142 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr) 153 static void show_link_ifindex_json(__u32 ifindex, json_writer_t *wtr) 201 static void show_iter_json(struct bpf_link_info *info, json_writer_t *wtr) 223 void netfilter_dump_json(const struct bpf_link_info *info, json_writer_t *wtr) 286 show_kprobe_multi_json(struct bpf_link_info *info, json_writer_t *wtr) 338 show_uprobe_multi_json(struct bpf_link_info *info, json_writer_t *wtr) 364 show_perf_event_kprobe_json(struct bpf_link_info *info, json_writer_t *wtr) 376 show_perf_event_uprobe_json(struct bpf_link_info *info, json_writer_t *wtr) 386 show_perf_event_tracepoint_json(struct bpf_link_info *info, json_writer_t *wt [all...] |
H A D | pids.c | 25 void emit_obj_refs_json(struct hashmap *map, __u32 id, json_writer_t *json_writer) {} 201 json_writer_t *json_writer)
|
H A D | map.c | 121 static json_writer_t *get_btf_writer(void) 123 json_writer_t *jw = jsonw_new(stdout); 450 static void show_map_header_json(struct bpf_map_info *info, json_writer_t *wtr) 744 json_writer_t *btf_wtr) 823 map_dump(int fd, struct bpf_map_info *info, json_writer_t *wtr, 897 json_writer_t *wtr = NULL, *btf_wtr = NULL; 1034 json_writer_t *btf_wtr;
|
H A D | main.c | 26 json_writer_t *json_wtr;
|
H A D | btf_dumper.c | 277 static void btf_int128_print(json_writer_t *jw, const void *data, 352 const void *data, json_writer_t *jw, 379 const void *data, json_writer_t *jw, 396 const void *data, json_writer_t *jw,
|
H A D | struct_ops.c | 408 json_writer_t *wtr = json_wtr;
|
H A D | btf.c | 105 json_writer_t *w = json_wtr;
|
H A D | prog.c | 369 json_writer_t *btf_wtr;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | json_writer.h | 21 typedef struct json_writer json_writer_t; typedef in typeref:struct:json_writer 24 json_writer_t *jsonw_new(FILE *f); 26 void jsonw_destroy(json_writer_t **self_p); 29 void jsonw_pretty(json_writer_t *self, bool on); 32 void jsonw_reset(json_writer_t *self); 35 void jsonw_name(json_writer_t *self, const char *name); 38 void __printf(2, 0) jsonw_vprintf_enquote(json_writer_t *self, const char *fmt, 40 void __printf(2, 3) jsonw_printf(json_writer_t *self, const char *fmt, ...); 41 void jsonw_string(json_writer_t *self, const char *value); 42 void jsonw_bool(json_writer_t *sel [all...] |
H A D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) 37 static void jsonw_eol(json_writer_t *self) 47 static void jsonw_eor(json_writer_t *self) 57 static void jsonw_puts(json_writer_t *self, const char *str) 90 json_writer_t *jsonw_new(FILE *f) 92 json_writer_t *self = malloc(sizeof(*self)); 103 void jsonw_destroy(json_writer_t **self_p) 105 json_writer_t *self = *self_p; 114 void jsonw_pretty(json_writer_t *self, bool on) 119 void jsonw_reset(json_writer_t *sel [all...] |
H A D | test_progs.c | 272 static void jsonw_write_log_message(json_writer_t *w, char *log_buf, size_t log_cnt) 288 json_writer_t *w) 1328 json_writer_t *w = NULL;
|
Completed in 169 milliseconds