Searched refs:OPTS_VALID (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.c | 180 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() 525 if (!OPTS_VALID(opts, bpf_map_batch_opts)) in bpf_map_batch_common() 581 if (!OPTS_VALID(opts, bpf_obj_pin_opts)) in bpf_obj_pin_opts() 610 if (!OPTS_VALID(opts, bpf_obj_get_opts)) in bpf_obj_get_opts() 640 if (!OPTS_VALID(opts, bpf_prog_attach_opts)) in bpf_prog_attach_opts() 678 if (!OPTS_VALID(opts, bpf_prog_detach_opts)) in bpf_prog_detach_opts() 912 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts() 959 if (!OPTS_VALID(opts, bpf_test_run_opts)) in bpf_prog_test_run_opts() 1180 if (!OPTS_VALID(opts, bpf_btf_load_opts)) in bpf_btf_load() [all …]
|
H A D | netlink.c | 326 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 D | ringbuf.c | 189 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()
|
H A D | libbpf_internal.h | 311 #define OPTS_VALID(opts, type) \ macro
|
H A D | btf_dump.c | 156 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() 2517 if (!OPTS_VALID(opts, btf_dump_type_data_opts)) in btf_dump__dump_type_data()
|
H A D | libbpf.c | 8510 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader() 10116 if (!OPTS_VALID(opts, bpf_perf_event_opts)) in bpf_program__attach_perf_event_opts() 10522 if (!OPTS_VALID(opts, bpf_kprobe_opts)) in bpf_program__attach_kprobe_opts() 10622 if (!OPTS_VALID(opts, bpf_ksyscall_opts)) in bpf_program__attach_ksyscall() 11382 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_uprobe_opts() 11578 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_usdt() 11710 if (!OPTS_VALID(opts, bpf_tracepoint_opts)) in bpf_program__attach_tracepoint_opts() 11853 if (!OPTS_VALID(opts, bpf_trace_opts)) in bpf_program__attach_btf_id() 11970 if (!OPTS_VALID(opts, bpf_tcx_opts)) in bpf_program__attach_tcx() 12087 if (!OPTS_VALID(opts, bpf_netfilter_opts)) in bpf_program__attach_netfilter() [all …]
|
H A D | linker.c | 222 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 D | btf.c | 3044 if (!OPTS_VALID(opts, btf_dedup_opts)) in btf__dedup()
|