Searched refs:OPTS_VALID (Results 1 – 8 of 8) sorted by relevance
/tools/lib/bpf/ |
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() 726 if (!OPTS_VALID(opts, bpf_link_create_opts)) in bpf_link_create() 873 if (!OPTS_VALID(opts, bpf_link_update_opts)) in bpf_link_update() 912 if (!OPTS_VALID(opts, bpf_prog_query_opts)) in bpf_prog_query_opts() [all …]
|
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()
|
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()
|
D | libbpf_internal.h | 311 #define OPTS_VALID(opts, type) \ macro
|
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()
|
D | libbpf.c | 7393 if (!OPTS_VALID(opts, bpf_object_open_opts)) in bpf_object_open() 8510 if (!OPTS_VALID(opts, gen_loader_opts)) in bpf_object__gen_loader() 8876 if (!OPTS_VALID(opts, libbpf_prog_handler_opts)) in libbpf_register_prog_handler() 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() 10847 if (!OPTS_VALID(opts, bpf_kprobe_multi_opts)) in bpf_program__attach_kprobe_multi_opts() 11270 if (!OPTS_VALID(opts, bpf_uprobe_multi_opts)) in bpf_program__attach_uprobe_multi() 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() [all …]
|
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()
|
D | btf.c | 3044 if (!OPTS_VALID(opts, btf_dedup_opts)) in btf__dedup()
|