Searched refs:OPTS_VALID (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/tools/lib/bpf/ |
| D | netlink.c | 225 if (!OPTS_VALID(opts, bpf_xdp_set_link_opts)) in bpf_set_link_xdp_fd_opts() 459 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_create() 473 if (!hook || !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_hook_destroy() 565 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_attach() 566 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_attach() 638 !OPTS_VALID(hook, bpf_tc_hook) || in __bpf_tc_detach() 639 !OPTS_VALID(opts, bpf_tc_opts)) in __bpf_tc_detach() 710 !OPTS_VALID(hook, bpf_tc_hook) || in bpf_tc_query() 711 !OPTS_VALID(opts, bpf_tc_opts)) in bpf_tc_query()
|
| D | bpf.c | 540 if (!OPTS_VALID(opts, bpf_map_batch_opts)) in bpf_map_batch_common() 632 if (!OPTS_VALID(opts, bpf_prog_attach_opts)) in bpf_prog_attach_xattr() 681 if (!OPTS_VALID(opts, bpf_link_create_opts)) in bpf_link_create() 744 if (!OPTS_VALID(opts, bpf_link_update_opts)) in bpf_link_update() 852 if (!OPTS_VALID(opts, bpf_test_run_opts)) in bpf_prog_test_run_opts() 1062 if (!OPTS_VALID(opts, bpf_prog_bind_opts)) in bpf_prog_bind_map()
|
| D | ringbuf.c | 167 if (!OPTS_VALID(opts, ring_buffer_opts)) in ring_buffer__new()
|
| D | libbpf_internal.h | 225 #define OPTS_VALID(opts, type) \ macro
|
| D | btf_dump.c | 1105 if (!OPTS_VALID(opts, btf_dump_emit_type_decl_opts)) in btf_dump__emit_type_decl() 2278 if (!OPTS_VALID(opts, btf_dump_type_data_opts)) in btf_dump__dump_type_data()
|
| D | libbpf.c | 6386 if (!OPTS_VALID(opts, bpf_object_open_opts)) in __bpf_object__open() 7634 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader() 9025 if (!OPTS_VALID(opts, bpf_perf_event_opts)) in bpf_program__attach_perf_event_opts() 9222 if (!OPTS_VALID(opts, bpf_kprobe_opts)) in bpf_program__attach_kprobe_opts() 9304 if (!OPTS_VALID(opts, bpf_uprobe_opts)) in bpf_program__attach_uprobe_opts() 9403 if (!OPTS_VALID(opts, bpf_tracepoint_opts)) in bpf_program__attach_tracepoint_opts() 9645 if (!OPTS_VALID(opts, bpf_iter_attach_opts)) in bpf_program__attach_iter()
|
| 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()
|