Home
last modified time | relevance | path

Searched refs:OPTS_VALID (Results 1 – 8 of 8) sorted by relevance

/linux/tools/lib/bpf/
H A Dbpf.c183 if (!OPTS_VALID(opts, bpf_map_create_opts)) in bpf_map_create()
252 if (!OPTS_VALID(opts, bpf_prog_load_opts)) in bpf_prog_load()
532 if (!OPTS_VALID(opts, bpf_map_batch_opts)) in bpf_map_batch_common()
588 if (!OPTS_VALID(opts, bpf_obj_pin_opts)) in bpf_obj_pin_opts()
617 if (!OPTS_VALID(opts, bpf_obj_get_opts)) in bpf_obj_get_opts()
647 if (!OPTS_VALID(opts, bpf_prog_attach_opts)) in bpf_prog_attach_opts()
937 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts()
984 if (!OPTS_VALID(opts, bpf_test_run_opts)) in bpf_prog_test_run_opts()
1184 if (!OPTS_VALID(opts, bpf_raw_tp_opts)) in bpf_raw_tracepoint_open_opts()
1216 if (!OPTS_VALID(opts, bpf_btf_load_opts)) in bpf_btf_load()
[all …]
H A Dnetlink.c326 if (!OPTS_VALID(opts, bpf_xdp_attach_opts)) in bpf_xdp_attach()
446 if (!OPTS_VALID(opts, bpf_xdp_query_opts)) in bpf_xdp_query()
620 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
634 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy()
727 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
728 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach()
801 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach()
802 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach()
873 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()
874 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
H A Dringbuf.c196 if (!OPTS_VALID(opts, ring_buffer_opts)) in ring_buffer__new()
522 if (!OPTS_VALID(opts, user_ring_buffer_opts)) in user_ring_buffer__new()
H A Dlibbpf_internal.h315 #define OPTS_VALID(opts, type) \ macro
H A Dbtf_dump.c156 if (!OPTS_VALID(opts, btf_dump_opts)) in btf_dump__new()
1272 if (!OPTS_VALID(opts, btf_dump_emit_type_decl_opts)) in btf_dump__emit_type_decl()
2522 if (!OPTS_VALID(opts, btf_dump_type_data_opts)) in btf_dump__dump_type_data()
H A Dlibbpf.c9093 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader()
10760 if (!OPTS_VALID(opts, bpf_perf_event_opts)) in bpf_program__attach_perf_event_opts()
11166 if (!OPTS_VALID(opts, bpf_kprobe_opts)) in bpf_program__attach_kprobe_opts()
11266 if (!OPTS_VALID(opts, bpf_ksyscall_opts)) in bpf_program__attach_ksyscall()
12071 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_uprobe_opts()
12277 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_usdt()
12566 if (!OPTS_VALID(opts, bpf_trace_opts)) in bpf_program__attach_btf_id()
12689 if (!OPTS_VALID(opts, bpf_tcx_opts)) in bpf_program__attach_tcx()
12724 if (!OPTS_VALID(opts, bpf_netkit_opts)) in bpf_program__attach_netkit()
12840 if (!OPTS_VALID(opts, bpf_netfilter_opts)) in bpf_program__attach_netfilter()
[all …]
H A Dlinker.c222 if (!OPTS_VALID(opts, bpf_linker_opts)) in bpf_linker__new()
446 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_file()
H A Dbtf.c3289 if (!OPTS_VALID(opts, btf_dedup_opts)) in btf__dedup()