Lines Matching refs:OPTS_GET
3104 strict = !OPTS_GET(opts, relaxed_maps, false); in bpf_object__init_maps()
3105 pin_root_path = OPTS_GET(opts, pin_root_path, NULL); in bpf_object__init_maps()
8316 obj_name = OPTS_GET(opts, object_name, NULL) ?: obj_name; in bpf_object_open()
8324 log_buf = OPTS_GET(opts, kernel_log_buf, NULL); in bpf_object_open()
8325 log_size = OPTS_GET(opts, kernel_log_size, 0); in bpf_object_open()
8326 log_level = OPTS_GET(opts, kernel_log_level, 0); in bpf_object_open()
8332 token_path = OPTS_GET(opts, bpf_token_path, NULL); in bpf_object_open()
8358 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
8371 kconfig = OPTS_GET(opts, kconfig, NULL); in bpf_object_open()
9969 sec_def->cookie = OPTS_GET(opts, cookie, 0); in libbpf_register_prog_handler()
9971 sec_def->prog_setup_fn = OPTS_GET(opts, prog_setup_fn, NULL); in libbpf_register_prog_handler()
9972 sec_def->prog_prepare_load_fn = OPTS_GET(opts, prog_prepare_load_fn, NULL); in libbpf_register_prog_handler()
9973 sec_def->prog_attach_fn = OPTS_GET(opts, prog_attach_fn, NULL); in libbpf_register_prog_handler()
11289 force_ioctl_attach = OPTS_GET(opts, force_ioctl_attach, false); in bpf_program__attach_perf_event_opts()
11292 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts()
11303 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts()
11321 if (!OPTS_GET(opts, dont_enable, false)) { in bpf_program__attach_perf_event_opts()
11670 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_kprobe_opts()
11671 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_kprobe_opts()
11672 offset = OPTS_GET(opts, offset, 0); in bpf_program__attach_kprobe_opts()
11673 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts()
11782 kprobe_opts.retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_ksyscall()
11783 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall()
12027 syms = OPTS_GET(opts, syms, false); in bpf_program__attach_kprobe_multi_opts()
12028 addrs = OPTS_GET(opts, addrs, false); in bpf_program__attach_kprobe_multi_opts()
12029 cnt = OPTS_GET(opts, cnt, false); in bpf_program__attach_kprobe_multi_opts()
12030 cookies = OPTS_GET(opts, cookies, false); in bpf_program__attach_kprobe_multi_opts()
12031 unique_match = OPTS_GET(opts, unique_match, false); in bpf_program__attach_kprobe_multi_opts()
12063 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_kprobe_multi_opts()
12064 session = OPTS_GET(opts, session, false); in bpf_program__attach_kprobe_multi_opts()
12486 syms = OPTS_GET(opts, syms, NULL); in bpf_program__attach_uprobe_multi()
12487 offsets = OPTS_GET(opts, offsets, NULL); in bpf_program__attach_uprobe_multi()
12488 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL); in bpf_program__attach_uprobe_multi()
12489 cookies = OPTS_GET(opts, cookies, NULL); in bpf_program__attach_uprobe_multi()
12490 cnt = OPTS_GET(opts, cnt, 0); in bpf_program__attach_uprobe_multi()
12491 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_uprobe_multi()
12492 session = OPTS_GET(opts, session, false); in bpf_program__attach_uprobe_multi()
12604 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_uprobe_opts()
12605 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_uprobe_opts()
12606 ref_ctr_off = OPTS_GET(opts, ref_ctr_offset, 0); in bpf_program__attach_uprobe_opts()
12607 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts()
12629 func_name = OPTS_GET(opts, func_name, NULL); in bpf_program__attach_uprobe_opts()
12841 usdt_cookie = OPTS_GET(opts, usdt_cookie, 0); in bpf_program__attach_usdt()
12941 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
13025 raw_opts.cookie = OPTS_GET(opts, cookie, 0); in bpf_program__attach_raw_tracepoint_opts()
13108 link_opts.tracing.cookie = OPTS_GET(opts, cookie, 0); in bpf_program__attach_btf_id()
13218 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_cgroup_opts()
13219 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_cgroup_opts()
13227 link_create_opts.cgroup.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_cgroup_opts()
13230 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_cgroup_opts()
13246 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_tcx()
13247 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_tcx()
13261 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
13264 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_tcx()
13281 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_netkit()
13282 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_netkit()
13296 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_netkit()
13299 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_netkit()
13353 link_create_opts.iter_info = OPTS_GET(opts, link_info, (void *)0); in bpf_program__attach_iter()
13354 link_create_opts.iter_info_len = OPTS_GET(opts, link_info_len, 0); in bpf_program__attach_iter()
13408 lopts.netfilter.pf = OPTS_GET(opts, pf, 0); in bpf_program__attach_netfilter()
13409 lopts.netfilter.hooknum = OPTS_GET(opts, hooknum, 0); in bpf_program__attach_netfilter()
13410 lopts.netfilter.priority = OPTS_GET(opts, priority, 0); in bpf_program__attach_netfilter()
13411 lopts.netfilter.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_netfilter()
13764 sample_period = OPTS_GET(opts, sample_period, 1); in perf_buffer__new()
13799 p.cpu_cnt = OPTS_GET(opts, cpu_cnt, 0); in perf_buffer__new_raw()
13800 p.cpus = OPTS_GET(opts, cpus, NULL); in perf_buffer__new_raw()
13801 p.map_keys = OPTS_GET(opts, map_keys, NULL); in perf_buffer__new_raw()