Lines Matching refs:OPTS_GET
3041 strict = !OPTS_GET(opts, relaxed_maps, false); in bpf_object__init_maps()
3042 pin_root_path = OPTS_GET(opts, pin_root_path, NULL); in bpf_object__init_maps()
7930 obj_name = OPTS_GET(opts, object_name, NULL) ?: obj_name; in bpf_object_open()
7938 log_buf = OPTS_GET(opts, kernel_log_buf, NULL); in bpf_object_open()
7939 log_size = OPTS_GET(opts, kernel_log_size, 0); in bpf_object_open()
7940 log_level = OPTS_GET(opts, kernel_log_level, 0); in bpf_object_open()
7946 token_path = OPTS_GET(opts, bpf_token_path, NULL); in bpf_object_open()
7972 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL); in bpf_object_open()
7985 kconfig = OPTS_GET(opts, kconfig, NULL); in bpf_object_open()
9496 sec_def->cookie = OPTS_GET(opts, cookie, 0); in libbpf_register_prog_handler()
9498 sec_def->prog_setup_fn = OPTS_GET(opts, prog_setup_fn, NULL); in libbpf_register_prog_handler()
9499 sec_def->prog_prepare_load_fn = OPTS_GET(opts, prog_prepare_load_fn, NULL); in libbpf_register_prog_handler()
9500 sec_def->prog_attach_fn = OPTS_GET(opts, prog_attach_fn, NULL); in libbpf_register_prog_handler()
10782 force_ioctl_attach = OPTS_GET(opts, force_ioctl_attach, false); in bpf_program__attach_perf_event_opts()
10785 .perf_event.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0)); in bpf_program__attach_perf_event_opts()
10797 if (OPTS_GET(opts, bpf_cookie, 0)) { in bpf_program__attach_perf_event_opts()
11169 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_kprobe_opts()
11170 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_kprobe_opts()
11171 offset = OPTS_GET(opts, offset, 0); in bpf_program__attach_kprobe_opts()
11172 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_kprobe_opts()
11281 kprobe_opts.retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_ksyscall()
11282 kprobe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_ksyscall()
11502 syms = OPTS_GET(opts, syms, false); in bpf_program__attach_kprobe_multi_opts()
11503 addrs = OPTS_GET(opts, addrs, false); in bpf_program__attach_kprobe_multi_opts()
11504 cnt = OPTS_GET(opts, cnt, false); in bpf_program__attach_kprobe_multi_opts()
11505 cookies = OPTS_GET(opts, cookies, false); in bpf_program__attach_kprobe_multi_opts()
11527 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_kprobe_multi_opts()
11528 session = OPTS_GET(opts, session, false); in bpf_program__attach_kprobe_multi_opts()
11963 syms = OPTS_GET(opts, syms, NULL); in bpf_program__attach_uprobe_multi()
11964 offsets = OPTS_GET(opts, offsets, NULL); in bpf_program__attach_uprobe_multi()
11965 ref_ctr_offsets = OPTS_GET(opts, ref_ctr_offsets, NULL); in bpf_program__attach_uprobe_multi()
11966 cookies = OPTS_GET(opts, cookies, NULL); in bpf_program__attach_uprobe_multi()
11967 cnt = OPTS_GET(opts, cnt, 0); in bpf_program__attach_uprobe_multi()
12024 lopts.uprobe_multi.flags = OPTS_GET(opts, retprobe, false) ? BPF_F_UPROBE_MULTI_RETURN : 0; in bpf_program__attach_uprobe_multi()
12074 attach_mode = OPTS_GET(opts, attach_mode, PROBE_ATTACH_MODE_DEFAULT); in bpf_program__attach_uprobe_opts()
12075 retprobe = OPTS_GET(opts, retprobe, false); in bpf_program__attach_uprobe_opts()
12076 ref_ctr_off = OPTS_GET(opts, ref_ctr_offset, 0); in bpf_program__attach_uprobe_opts()
12077 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_uprobe_opts()
12099 func_name = OPTS_GET(opts, func_name, NULL); in bpf_program__attach_uprobe_opts()
12310 usdt_cookie = OPTS_GET(opts, usdt_cookie, 0); in bpf_program__attach_usdt()
12412 pe_opts.bpf_cookie = OPTS_GET(opts, bpf_cookie, 0); in bpf_program__attach_tracepoint_opts()
12497 raw_opts.cookie = OPTS_GET(opts, cookie, 0); in bpf_program__attach_raw_tracepoint_opts()
12581 link_opts.tracing.cookie = OPTS_GET(opts, cookie, 0); in bpf_program__attach_btf_id()
12692 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_tcx()
12693 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_tcx()
12707 link_create_opts.tcx.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_tcx()
12710 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_tcx()
12727 relative_id = OPTS_GET(opts, relative_id, 0); in bpf_program__attach_netkit()
12728 relative_fd = OPTS_GET(opts, relative_fd, 0); in bpf_program__attach_netkit()
12742 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_netkit()
12745 link_create_opts.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_netkit()
12800 link_create_opts.iter_info = OPTS_GET(opts, link_info, (void *)0); in bpf_program__attach_iter()
12801 link_create_opts.iter_info_len = OPTS_GET(opts, link_info_len, 0); in bpf_program__attach_iter()
12855 lopts.netfilter.pf = OPTS_GET(opts, pf, 0); in bpf_program__attach_netfilter()
12856 lopts.netfilter.hooknum = OPTS_GET(opts, hooknum, 0); in bpf_program__attach_netfilter()
12857 lopts.netfilter.priority = OPTS_GET(opts, priority, 0); in bpf_program__attach_netfilter()
12858 lopts.netfilter.flags = OPTS_GET(opts, flags, 0); in bpf_program__attach_netfilter()
13214 sample_period = OPTS_GET(opts, sample_period, 1); in perf_buffer__new()
13250 p.cpu_cnt = OPTS_GET(opts, cpu_cnt, 0); in perf_buffer__new_raw()
13251 p.cpus = OPTS_GET(opts, cpus, NULL); in perf_buffer__new_raw()
13252 p.map_keys = OPTS_GET(opts, map_keys, NULL); in perf_buffer__new_raw()