/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | btf_dumper.c | 91 jsonw_string(d->jw, prog_str); in dump_prog_id_as_func_ptr() 120 jsonw_printf(d->jw, "%p", (void *)value); in btf_dumper_ptr() 122 jsonw_printf(d->jw, "%lu", value); in btf_dumper_ptr() 164 jsonw_string(d->jw, in btf_dumper_enum() 171 jsonw_int(d->jw, value); in btf_dumper_enum() 221 jsonw_string(d->jw, data); in btf_dumper_array() 229 jsonw_start_array(d->jw); in btf_dumper_array() 237 jsonw_end_array(d->jw); in btf_dumper_array() 241 static void btf_int128_print(json_writer_t *jw, const void *data, in btf_int128_print() argument 263 jsonw_printf(jw, " in btf_int128_print() 315 btf_dumper_bitfield(__u32 nr_bits, __u8 bit_offset, const void *data, json_writer_t *jw, bool is_plain_text) btf_dumper_bitfield() argument 342 btf_dumper_int_bits(__u32 int_type, __u8 bit_offset, const void *data, json_writer_t *jw, bool is_plain_text) btf_dumper_int_bits() argument 359 btf_dumper_int(const struct btf_type *t, __u8 bit_offset, const void *data, json_writer_t *jw, bool is_plain_text) btf_dumper_int() argument [all...] |
H A D | map.c | 105 jsonw_start_object(d->jw); in do_dump_btf() 108 jsonw_name(d->jw, "key"); in do_dump_btf() 119 jsonw_name(d->jw, "value"); in do_dump_btf() 124 jsonw_name(d->jw, "values"); in do_dump_btf() 125 jsonw_start_array(d->jw); in do_dump_btf() 129 jsonw_start_object(d->jw); in do_dump_btf() 130 jsonw_int_field(d->jw, "cpu", i); in do_dump_btf() 131 jsonw_name(d->jw, "value"); in do_dump_btf() 133 jsonw_end_object(d->jw); in do_dump_btf() 137 jsonw_end_array(d->jw); in do_dump_btf() 149 json_writer_t *jw = jsonw_new(stdout); get_btf_writer() local [all...] |
H A D | main.h | 229 json_writer_t *jw; member
|
H A D | struct_ops.c | 362 /* note: d->jw == wtr */ in __do_dump() 431 d.jw = wtr; in do_dump()
|
H A D | prog.c | 280 .jw = json_wtr, in show_prog_metadata() 328 d.jw = btf_wtr, in show_prog_metadata()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | btf_dumper.c | 100 jsonw_string(d->jw, prog_str); in dump_prog_id_as_func_ptr() 130 jsonw_printf(d->jw, "%p", (void *)value); in btf_dumper_ptr() 132 jsonw_printf(d->jw, "%lu", value); in btf_dumper_ptr() 174 jsonw_string(d->jw, in btf_dumper_enum() 181 jsonw_int(d->jw, value); in btf_dumper_enum() 200 jsonw_string(d->jw, in btf_dumper_enum64() 207 jsonw_int(d->jw, value); in btf_dumper_enum64() 257 jsonw_string(d->jw, data); in btf_dumper_array() 265 jsonw_start_array(d->jw); in btf_dumper_array() 273 jsonw_end_array(d->jw); in btf_dumper_array() 277 btf_int128_print(json_writer_t *jw, const void *data, bool is_plain_text) btf_int128_print() argument 351 btf_dumper_bitfield(__u32 nr_bits, __u8 bit_offset, const void *data, json_writer_t *jw, bool is_plain_text) btf_dumper_bitfield() argument 378 btf_dumper_int_bits(__u32 int_type, __u8 bit_offset, const void *data, json_writer_t *jw, bool is_plain_text) btf_dumper_int_bits() argument 395 btf_dumper_int(const struct btf_type *t, __u8 bit_offset, const void *data, json_writer_t *jw, bool is_plain_text) btf_dumper_int() argument [all...] |
H A D | map.c | 79 jsonw_start_object(d->jw); in do_dump_btf() 82 jsonw_name(d->jw, "key"); in do_dump_btf() 93 jsonw_name(d->jw, "value"); in do_dump_btf() 98 jsonw_name(d->jw, "values"); in do_dump_btf() 99 jsonw_start_array(d->jw); in do_dump_btf() 103 jsonw_start_object(d->jw); in do_dump_btf() 104 jsonw_int_field(d->jw, "cpu", i); in do_dump_btf() 105 jsonw_name(d->jw, "value"); in do_dump_btf() 107 jsonw_end_object(d->jw); in do_dump_btf() 111 jsonw_end_array(d->jw); in do_dump_btf() 123 json_writer_t *jw = jsonw_new(stdout); get_btf_writer() local [all...] |
H A D | main.h | 210 json_writer_t *jw; member
|
H A D | struct_ops.c | 360 /* note: d->jw == wtr */ in __do_dump() 429 d.jw = wtr; in do_dump()
|
H A D | prog.c | 342 .jw = json_wtr, in show_prog_metadata() 390 d.jw = btf_wtr, in show_prog_metadata()
|
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | tree_stall.h | 695 unsigned long jw; in show_rcu_gp_kthreads() local 703 jw = j - data_race(rcu_state.gp_wake_time); in show_rcu_gp_kthreads() 707 ja, jr, jw, (long)data_race(rcu_state.gp_wake_seq), in show_rcu_gp_kthreads()
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | tree_stall.h | 892 unsigned long jw; in show_rcu_gp_kthreads() local 901 jw = j - data_race(READ_ONCE(rcu_state.gp_wake_time)); in show_rcu_gp_kthreads() 906 js, ja, jr, jw, (long)data_race(READ_ONCE(rcu_state.gp_wake_seq)), in show_rcu_gp_kthreads()
|