Home
last modified time | relevance | path

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

/Linux-v6.1/tools/lib/bpf/
Dnetlink.c281 if (!OPTS_VALID(opts, bpf_xdp_attach_opts)) in bpf_xdp_attach()
371 if (!OPTS_VALID(opts, bpf_xdp_query_opts)) in bpf_xdp_query()
513 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
527 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy()
620 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
621 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach()
693 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach()
694 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach()
765 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()
766 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
Dbpf.c180 if (!OPTS_VALID(opts, bpf_map_create_opts)) in bpf_map_create()
246 if (!OPTS_VALID(opts, bpf_prog_load_opts)) in bpf_prog_load()
526 if (!OPTS_VALID(opts, bpf_map_batch_opts)) in bpf_map_batch_common()
601 if (!OPTS_VALID(opts, bpf_obj_get_opts)) in bpf_obj_get_opts()
630 if (!OPTS_VALID(opts, bpf_prog_attach_opts)) in bpf_prog_attach_opts()
682 if (!OPTS_VALID(opts, bpf_link_create_opts)) in bpf_link_create()
794 if (!OPTS_VALID(opts, bpf_link_update_opts)) in bpf_link_update()
828 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts()
873 if (!OPTS_VALID(opts, bpf_test_run_opts)) in bpf_prog_test_run_opts()
1034 if (!OPTS_VALID(opts, bpf_btf_load_opts)) in bpf_btf_load()
[all …]
Dringbuf.c189 if (!OPTS_VALID(opts, ring_buffer_opts)) in ring_buffer__new()
426 if (!OPTS_VALID(opts, user_ring_buffer_opts)) in user_ring_buffer__new()
Dlibbpf_internal.h296 #define OPTS_VALID(opts, type) \ macro
Dbtf_dump.c155 if (!OPTS_VALID(opts, btf_dump_opts)) in btf_dump__new()
1160 if (!OPTS_VALID(opts, btf_dump_emit_type_decl_opts)) in btf_dump__emit_type_decl()
2376 if (!OPTS_VALID(opts, btf_dump_type_data_opts)) in btf_dump__dump_type_data()
Dlibbpf.c7167 if (!OPTS_VALID(opts, bpf_object_open_opts)) in bpf_object_open()
8218 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader()
8559 if (!OPTS_VALID(opts, libbpf_prog_handler_opts)) in libbpf_register_prog_handler()
9698 if (!OPTS_VALID(opts, bpf_perf_event_opts)) in bpf_program__attach_perf_event_opts()
10079 if (!OPTS_VALID(opts, bpf_kprobe_opts)) in bpf_program__attach_kprobe_opts()
10158 if (!OPTS_VALID(opts, bpf_ksyscall_opts)) in bpf_program__attach_ksyscall()
10250 if (!OPTS_VALID(opts, bpf_kprobe_multi_opts)) in bpf_program__attach_kprobe_multi_opts()
10747 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_uprobe_opts()
10909 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_usdt()
11041 if (!OPTS_VALID(opts, bpf_tracepoint_opts)) in bpf_program__attach_tracepoint_opts()
[all …]
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()
Dbtf.c3029 if (!OPTS_VALID(opts, btf_dedup_opts)) in btf__dedup()