Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dnetlink.c328 if (!OPTS_VALID(opts, bpf_xdp_attach_opts)) in bpf_xdp_attach()
448 if (!OPTS_VALID(opts, bpf_xdp_query_opts)) in bpf_xdp_query()
635 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create()
649 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy()
743 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach()
744 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach()
817 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach()
818 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach()
889 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query()
890 !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()
523 if (!OPTS_VALID(opts, user_ring_buffer_opts)) in user_ring_buffer__new()
H A Dlinker.c232 if (!OPTS_VALID(opts, bpf_linker_opts)) in bpf_linker__new()
278 if (!OPTS_VALID(opts, bpf_linker_opts)) in bpf_linker__new_fd()
523 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_file()
547 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_fd()
567 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_buf()
H A Dlibbpf.c8492 if (!OPTS_VALID(opts, bpf_object_open_opts)) in bpf_object_open()
9724 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader()
10003 if (!OPTS_VALID(opts, bpf_prog_load_opts)) in bpf_program__clone()
10246 if (!OPTS_VALID(opts, libbpf_prog_handler_opts)) in libbpf_register_prog_handler()
11577 if (!OPTS_VALID(opts, bpf_perf_event_opts)) in bpf_program__attach_perf_event_opts()
11977 if (!OPTS_VALID(opts, bpf_kprobe_opts)) in bpf_program__attach_kprobe_opts()
12079 if (!OPTS_VALID(opts, bpf_ksyscall_opts)) in bpf_program__attach_ksyscall()
12329 if (!OPTS_VALID(opts, bpf_kprobe_multi_opts)) in bpf_program__attach_kprobe_multi_opts()
12749 if (!OPTS_VALID(opts, bpf_tracing_multi_opts)) in bpf_program__attach_tracing_multi()
13086 if (!OPTS_VALID(opts, bpf_uprobe_multi_opts)) in bpf_program__attach_uprobe_multi()
[all …]
H A Dlibbpf_internal.h329 #define OPTS_VALID(opts, type) \ macro
H A Dbtf_dump.c157 if (!OPTS_VALID(opts, btf_dump_opts)) in btf_dump__new()
1276 if (!OPTS_VALID(opts, btf_dump_emit_type_decl_opts)) in btf_dump__emit_type_decl()
2589 if (!OPTS_VALID(opts, btf_dump_type_data_opts)) in btf_dump__dump_type_data()
H A Dbtf.c1294 if (!OPTS_VALID(opts, btf_new_opts)) in btf__new_empty_opts()
3910 if (!OPTS_VALID(opts, btf_dedup_opts)) in btf__dedup()
6279 if (!OPTS_VALID(opts, btf_permute_opts)) in btf__permute()