Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dnetlink.c274 if (!OPTS_VALID(opts, bpf_xdp_set_link_opts)) in bpf_set_link_xdp_fd_opts()
508 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
522 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy()
614 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
615 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach()
687 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach()
688 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach()
759 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()
760 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
Dbpf.c542 if (!OPTS_VALID(opts, bpf_map_batch_opts)) in bpf_map_batch_common()
634 if (!OPTS_VALID(opts, bpf_prog_attach_opts)) in bpf_prog_attach_xattr()
683 if (!OPTS_VALID(opts, bpf_link_create_opts)) in bpf_link_create()
746 if (!OPTS_VALID(opts, bpf_link_update_opts)) in bpf_link_update()
854 if (!OPTS_VALID(opts, bpf_test_run_opts)) in bpf_prog_test_run_opts()
1064 if (!OPTS_VALID(opts, bpf_prog_bind_opts)) in bpf_prog_bind_map()
Dringbuf.c171 if (!OPTS_VALID(opts, ring_buffer_opts)) in ring_buffer__new()
Dlibbpf_internal.h225 #define OPTS_VALID(opts, type) \ macro
Dbtf_dump.c1179 if (!OPTS_VALID(opts, btf_dump_emit_type_decl_opts)) in btf_dump__emit_type_decl()
2387 if (!OPTS_VALID(opts, btf_dump_type_data_opts)) in btf_dump__dump_type_data()
Dlibbpf.c6410 if (!OPTS_VALID(opts, bpf_object_open_opts)) in __bpf_object__open()
7658 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader()
9052 if (!OPTS_VALID(opts, bpf_perf_event_opts)) in bpf_program__attach_perf_event_opts()
9249 if (!OPTS_VALID(opts, bpf_kprobe_opts)) in bpf_program__attach_kprobe_opts()
9331 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_uprobe_opts()
9430 if (!OPTS_VALID(opts, bpf_tracepoint_opts)) in bpf_program__attach_tracepoint_opts()
9672 if (!OPTS_VALID(opts, bpf_iter_attach_opts)) in bpf_program__attach_iter()
Dlinker.c223 if (!OPTS_VALID(opts, bpf_linker_opts)) in bpf_linker__new()
447 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_file()