Home
last modified time | relevance | path

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

/linux-6.15/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()
533 if (!OPTS_VALID(opts, bpf_map_batch_opts)) in bpf_map_batch_common()
589 if (!OPTS_VALID(opts, bpf_obj_pin_opts)) in bpf_obj_pin_opts()
618 if (!OPTS_VALID(opts, bpf_obj_get_opts)) in bpf_obj_get_opts()
648 if (!OPTS_VALID(opts, bpf_prog_attach_opts)) in bpf_prog_attach_opts()
939 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts()
986 if (!OPTS_VALID(opts, bpf_test_run_opts)) in bpf_prog_test_run_opts()
1187 if (!OPTS_VALID(opts, bpf_raw_tp_opts)) in bpf_raw_tracepoint_open_opts()
1219 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.c197 if (!OPTS_VALID(opts, ring_buffer_opts)) in ring_buffer__new()
524 if (!OPTS_VALID(opts, user_ring_buffer_opts)) in user_ring_buffer__new()
H A Dlinker.c233 if (!OPTS_VALID(opts, bpf_linker_opts)) in bpf_linker__new()
279 if (!OPTS_VALID(opts, bpf_linker_opts)) in bpf_linker__new_fd()
524 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_file()
548 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_fd()
568 if (!OPTS_VALID(opts, bpf_linker_file_opts)) in bpf_linker__add_buf()
H A Dbtf_dump.c157 if (!OPTS_VALID(opts, btf_dump_opts)) in btf_dump__new()
1273 if (!OPTS_VALID(opts, btf_dump_emit_type_decl_opts)) in btf_dump__emit_type_decl()
2526 if (!OPTS_VALID(opts, btf_dump_type_data_opts)) in btf_dump__dump_type_data()
H A Dlibbpf.c9214 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader()
10883 if (!OPTS_VALID(opts, bpf_perf_event_opts)) in bpf_program__attach_perf_event_opts()
11282 if (!OPTS_VALID(opts, bpf_kprobe_opts)) in bpf_program__attach_kprobe_opts()
11382 if (!OPTS_VALID(opts, bpf_ksyscall_opts)) in bpf_program__attach_ksyscall()
12231 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_uprobe_opts()
12437 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_usdt()
12722 if (!OPTS_VALID(opts, bpf_trace_opts)) in bpf_program__attach_btf_id()
12844 if (!OPTS_VALID(opts, bpf_tcx_opts)) in bpf_program__attach_tcx()
12879 if (!OPTS_VALID(opts, bpf_netkit_opts)) in bpf_program__attach_netkit()
12994 if (!OPTS_VALID(opts, bpf_netfilter_opts)) in bpf_program__attach_netfilter()
[all …]
H A Dlibbpf_internal.h316 #define OPTS_VALID(opts, type) \ macro
H A Dbtf.c3504 if (!OPTS_VALID(opts, btf_dedup_opts)) in btf__dedup()