Lines Matching refs:OPTS_GET
3073 strict = !OPTS_GET(opts, relaxed_maps, false); in bpf_object__init_maps()
3074 pin_root_path = OPTS_GET(opts, pin_root_path, NULL); in bpf_object__init_maps()
8008 obj_name = OPTS_GET(opts, object_name, NULL) ?: obj_name; in bpf_object_open()
8016 log_buf = OPTS_GET(opts, kernel_log_buf, NULL); in bpf_object_open()
8017 log_size = OPTS_GET(opts, kernel_log_size, 0); in bpf_object_open()
8018 log_level = OPTS_GET(opts, kernel_log_level, 0); in bpf_object_open()
8024 token_path = OPTS_GET(opts, bpf_token_path, NULL); in bpf_object_open()
8050 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
8063 kconfig = OPTS_GET(opts, kconfig, NULL); in bpf_object_open()
9652 sec_def->cookie = OPTS_GET(opts, cookie, 0); in libbpf_register_prog_handler()
9654 sec_def->prog_setup_fn = OPTS_GET(opts, prog_setup_fn, NULL); in libbpf_register_prog_handler()
9655 sec_def->prog_prepare_load_fn = OPTS_GET(opts, prog_prepare_load_fn, NULL); in libbpf_register_prog_handler()
9656 sec_def->prog_attach_fn = OPTS_GET(opts, prog_attach_fn, NULL); in libbpf_register_prog_handler()
10937 force_ioctl_attach = OPTS_GET(opts, force_ioctl_attach, false); in bpf_program__attach_perf_event_opts()
10940 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts()
10951 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts()
10969 if (!OPTS_GET(opts, dont_enable, false)) { in bpf_program__attach_perf_event_opts()
11320 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_kprobe_opts()
11321 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_kprobe_opts()
11322 offset = OPTS_GET(opts, offset, 0); in bpf_program__attach_kprobe_opts()
11323 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts()
11432 kprobe_opts.retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_ksyscall()
11433 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall()
11676 syms = OPTS_GET(opts, syms, false); in bpf_program__attach_kprobe_multi_opts()
11677 addrs = OPTS_GET(opts, addrs, false); in bpf_program__attach_kprobe_multi_opts()
11678 cnt = OPTS_GET(opts, cnt, false); in bpf_program__attach_kprobe_multi_opts()
11679 cookies = OPTS_GET(opts, cookies, false); in bpf_program__attach_kprobe_multi_opts()
11680 unique_match = OPTS_GET(opts, unique_match, false); in bpf_program__attach_kprobe_multi_opts()
11712 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_kprobe_multi_opts()
11713 session = OPTS_GET(opts, session, false); in bpf_program__attach_kprobe_multi_opts()
12137 syms = OPTS_GET(opts, syms, NULL); in bpf_program__attach_uprobe_multi()
12138 offsets = OPTS_GET(opts, offsets, NULL); in bpf_program__attach_uprobe_multi()
12139 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL); in bpf_program__attach_uprobe_multi()
12140 cookies = OPTS_GET(opts, cookies, NULL); in bpf_program__attach_uprobe_multi()
12141 cnt = OPTS_GET(opts, cnt, 0); in bpf_program__attach_uprobe_multi()
12142 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_uprobe_multi()
12143 session = OPTS_GET(opts, session, false); in bpf_program__attach_uprobe_multi()
12255 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_uprobe_opts()
12256 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_uprobe_opts()
12257 ref_ctr_off = OPTS_GET(opts, ref_ctr_offset, 0); in bpf_program__attach_uprobe_opts()
12258 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts()
12280 func_name = OPTS_GET(opts, func_name, NULL); in bpf_program__attach_uprobe_opts()
12492 usdt_cookie = OPTS_GET(opts, usdt_cookie, 0); in bpf_program__attach_usdt()
12592 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
12676 raw_opts.cookie = OPTS_GET(opts, cookie, 0); in bpf_program__attach_raw_tracepoint_opts()
12759 link_opts.tracing.cookie = OPTS_GET(opts, cookie, 0); in bpf_program__attach_btf_id()
12869 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_cgroup_opts()
12870 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_cgroup_opts()
12878 link_create_opts.cgroup.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_cgroup_opts()
12881 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_cgroup_opts()
12897 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_tcx()
12898 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_tcx()
12912 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
12915 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_tcx()
12932 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_netkit()
12933 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_netkit()
12947 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_netkit()
12950 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_netkit()
13004 link_create_opts.iter_info = OPTS_GET(opts, link_info, (void *)0); in bpf_program__attach_iter()
13005 link_create_opts.iter_info_len = OPTS_GET(opts, link_info_len, 0); in bpf_program__attach_iter()
13059 lopts.netfilter.pf = OPTS_GET(opts, pf, 0); in bpf_program__attach_netfilter()
13060 lopts.netfilter.hooknum = OPTS_GET(opts, hooknum, 0); in bpf_program__attach_netfilter()
13061 lopts.netfilter.priority = OPTS_GET(opts, priority, 0); in bpf_program__attach_netfilter()
13062 lopts.netfilter.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_netfilter()
13415 sample_period = OPTS_GET(opts, sample_period, 1); in perf_buffer__new()
13450 p.cpu_cnt = OPTS_GET(opts, cpu_cnt, 0); in perf_buffer__new_raw()
13451 p.cpus = OPTS_GET(opts, cpus, NULL); in perf_buffer__new_raw()
13452 p.map_keys = OPTS_GET(opts, map_keys, NULL); in perf_buffer__new_raw()