Searched refs:OPTS_GET (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/lib/bpf/
H A Dbpf.c193 attr.btf_fd = OPTS_GET(opts, btf_fd, 0);
194 attr.btf_key_type_id = OPTS_GET(opts, btf_key_type_id, 0);
195 attr.btf_value_type_id = OPTS_GET(opts, btf_value_type_id, 0);
196 attr.btf_vmlinux_value_type_id = OPTS_GET(opts, btf_vmlinux_value_type_id, 0);
197 attr.value_type_btf_obj_fd = OPTS_GET(opts, value_type_btf_obj_fd, 0);
199 attr.inner_map_fd = OPTS_GET(opts, inner_map_fd, 0);
200 attr.map_flags = OPTS_GET(opts, map_flags, 0);
201 attr.map_extra = OPTS_GET(opts, map_extra, 0);
202 attr.numa_node = OPTS_GET(opts, numa_node, 0);
203 attr.map_ifindex = OPTS_GET(opt
[all...]
H A Dnetlink.c329 old_prog_fd = OPTS_GET(opts, old_prog_fd, 0);
545 switch (OPTS_GET(hook, attach_point, 0)) {
549 if (OPTS_GET(hook, parent, 0))
597 req.tc.tcm_ifindex = OPTS_GET(hook, ifindex, 0);
621 OPTS_GET(hook, ifindex, 0) <= 0)
635 OPTS_GET(hook, ifindex, 0) <= 0)
638 switch (OPTS_GET(hook, attach_point, 0)) {
731 ifindex = OPTS_GET(hook, ifindex, 0);
732 parent = OPTS_GET(hook, parent, 0);
733 attach_point = OPTS_GET(hoo
[all...]
H A Dbtf_dump.c1279 fname = OPTS_GET(opts, field_name, "");
1280 lvl = OPTS_GET(opts, indent_level, 0);
1281 d->strip_mods = OPTS_GET(opts, strip_mods, false);
2524 d->typed_dump->indent_lvl = OPTS_GET(opts, indent_level, 0);
2527 if (!OPTS_GET(opts, indent_str, NULL))
2533 d->typed_dump->compact = OPTS_GET(opts, compact, false);
2534 d->typed_dump->skip_names = OPTS_GET(opts, skip_names, false);
2535 d->typed_dump->emit_zeroes = OPTS_GET(opts, emit_zeroes, false);
H A Dlibbpf.c2970 strict = !OPTS_GET(opts, relaxed_maps, false);
2971 pin_root_path = OPTS_GET(opts, pin_root_path, NULL);
7830 obj_name = OPTS_GET(opts, object_name, NULL);
7842 log_buf = OPTS_GET(opts, kernel_log_buf, NULL);
7843 log_size = OPTS_GET(opts, kernel_log_size, 0);
7844 log_level = OPTS_GET(opts, kernel_log_level, 0);
7850 token_path = OPTS_GET(opts, bpf_token_path, NULL);
7876 btf_tmp_path = OPTS_GET(opts, btf_custom_path, NULL);
7889 kconfig = OPTS_GET(opts, kconfig, NULL);
9374 sec_def->cookie = OPTS_GET(opt
[all...]
H A Dlibbpf_internal.h319 #define OPTS_GET(opts, field, fallback_value) \ macro
H A Dbtf.c3399 if (OPTS_GET(opts, force_collisions, false))
3403 d->btf_ext = OPTS_GET(opts, btf_ext, NULL);

Completed in 229 milliseconds