Home
last modified time | relevance | path

Searched refs:linum (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf_skc_cls_ingress.c65 skel->bss->linum = 0; in reset_test()
70 if (skel->bss->linum) in print_err_line()
71 printf("bpf prog error at line %u\n", skel->bss->linum); in print_err_line()
116 CHECK(skel->bss->linum, "bpf prog detected error", "at line %u\n", in test_conn()
117 skel->bss->linum); in test_conn()
176 CHECK(skel->bss->linum, "bpf prog detected error", "at line %u\n", in test_syncookie()
177 skel->bss->linum); in test_syncookie()
Dsock_fields.c105 __u32 idx, ingress_linum, egress_linum, linum; in check_result() local
119 err = bpf_map_lookup_elem(linum_map_fd, &idx, &linum); in check_result()
121 ASSERT_EQ(linum, 0, "failure in read_sk_dst_port on line"); in check_result()
Dtcp_hdr_options.c191 lport, linum_err.linum, linum_err.err); in check_error_linum()
199 lport, linum_err.linum, linum_err.err); in check_error_linum()
Dselect_reuseport.c227 __u32 linum; in get_linum() local
230 err = bpf_map_lookup_elem(linum_map, &index_zero, &linum); in get_linum()
234 return linum; in get_linum()
/linux-6.6.21/tools/bpf/bpftool/
Dxlated_dumper.h35 bool opcodes, bool linum);
37 bool opcodes, bool linum);
40 bool opcodes, bool linum);
Dmain.h181 bool linum);
190 bool linum) in disasm_print_insn() argument
229 const char *prefix, bool linum);
231 const struct bpf_line_info *linfo, bool linum);
233 const struct bpf_line_info *linfo, bool linum);
Dcfg.c385 bool opcodes, bool linum) in draw_bb_node() argument
406 opcodes, linum); in draw_bb_node()
434 bool opcodes, bool linum) in func_output_bb_def() argument
439 draw_bb_node(func, bb, dd, opcodes, linum); in func_output_bb_def()
460 cfg_dump(struct cfg *cfg, struct dump_data *dd, bool opcodes, bool linum) in cfg_dump() argument
468 func_output_bb_def(func, dd, opcodes, linum); in cfg_dump()
476 bool opcodes, bool linum) in dump_xlated_cfg() argument
485 cfg_dump(&cfg, dd, opcodes, linum); in dump_xlated_cfg()
Dxlated_dumper.c219 bool opcodes, bool linum) in dump_xlated_json() argument
265 btf_dump_linfo_json(btf, linfo, linum); in dump_xlated_json()
304 bool opcodes, bool linum) in dump_xlated_plain() argument
345 linum); in dump_xlated_plain()
369 bool opcodes, bool linum) in dump_xlated_for_graph() argument
413 btf_dump_linfo_dotlabel(btf, linfo, linum); in dump_xlated_for_graph()
Djit_disasm.c324 bool linum) in disasm_print_insn() argument
353 btf_dump_linfo_json(btf, linfo, linum); in disasm_print_insn()
359 linum); in disasm_print_insn()
Dcfg.h10 bool opcodes, bool linum);
Dbtf_dumper.c771 const char *prefix, bool linum) in btf_dump_linfo_plain() argument
782 if (linum) { in btf_dump_linfo_plain()
802 const struct bpf_line_info *linfo, bool linum) in btf_dump_linfo_json() argument
809 if (linum) { in btf_dump_linfo_json()
875 const struct bpf_line_info *linfo, bool linum) in btf_dump_linfo_dotlabel() argument
883 if (linum) { in btf_dump_linfo_dotlabel()
Dprog.c698 char *filepath, bool opcodes, bool visual, bool linum) in prog_dump() argument
824 linum)) in prog_dump()
853 dump_xlated_json(&dd, buf, member_len, opcodes, linum); in prog_dump()
855 dump_xlated_cfg(&dd, buf, member_len, opcodes, linum); in prog_dump()
857 dump_xlated_plain(&dd, buf, member_len, opcodes, linum); in prog_dump()
879 bool linum = false; in do_dump() local
934 linum = true; in do_dump()
942 if (filepath && (opcodes || visual || linum)) { in do_dump()
982 err = prog_dump(&info, mode, filepath, opcodes, visual, linum); in do_dump()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c116 linum = __LINE__; \
117 bpf_map_update_elem(&linum_map, &linum_idx, &linum, BPF_ANY); \
128 __u32 linum, linum_idx; in egress_read_sock_fields() local
221 __u32 linum, linum_idx; in ingress_read_sock_fields() local
284 __u32 linum, linum_idx; in read_sk_dst_port() local
Dtest_btf_skc_cls_ingress.c23 __u32 linum = 0; variable
25 #define LOG() ({ if (!linum) linum = __LINE__; })
Dtest_select_reuseport_kern.c59 linum = __LINE__; \
66 __u32 linum, index = 0, flags = 0, index_zero = 0; in _select_by_skb_data() local
177 bpf_map_update_elem(&linum_map, &index_zero, &linum, BPF_ANY); in _select_by_skb_data()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_tcp_hdr_options.h37 unsigned int linum; member
142 __linum_err.linum = __LINE__; \
/linux-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst31 | **bpftool** **prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual*…
32 | **bpftool** **prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
91 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual**] }]
109 be displayed. If **linum** is specified, the filename, line
112 **bpftool prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
122 be displayed. If **linum** is specified, the filename, line
/linux-6.6.21/tools/bpf/bpftool/bash-completion/
Dbpftool376 if ! _bpftool_search_list 'linum opcodes visual'; then
379 _bpftool_once_attr 'linum opcodes'