Home
last modified time | relevance | path

Searched refs:var_idx (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/kernel/trace/
Dtrace_events_hist.c908 unsigned int var_idx) in check_field_for_var_ref() argument
912 if (hist_field && hist_field->var.idx == var_idx && in check_field_for_var_ref()
933 unsigned int var_idx) in find_var_ref() argument
940 if (check_field_for_var_ref(hist_field, var_data, var_idx)) in find_var_ref()
962 unsigned int var_idx) in find_any_var_ref() argument
971 found = find_var_ref(var_data->hist_data, hist_data, var_idx); in find_any_var_ref()
1288 unsigned int i, var_idx; in resolve_var_refs() local
1294 var_idx = hist_field->var.idx; in resolve_var_refs()
1312 if (!tracing_map_var_set(var_elt, var_idx)) { in resolve_var_refs()
1318 var_val = tracing_map_read_var(var_elt, var_idx); in resolve_var_refs()
[all …]
/Linux-v6.1/tools/bpf/bpftool/
Dgen.c1280 size_t i, len, file_sz, map_cnt = 0, prog_cnt = 0, mmap_sz, var_cnt = 0, var_idx = 0; in do_subskeleton() local
1533 ", var_name, ident, var_idx); in do_subskeleton()
1535 var_idx++; in do_subskeleton()
/Linux-v6.1/tools/lib/bpf/
Dlinker.c93 int var_idx; member
1278 sym->var_idx = -1; in add_glob_sym()
2370 if (glob_sym && glob_sym->var_idx >= 0) { in linker_append_btf()
2373 dst_var = &dst_sec->sec_vars[glob_sym->var_idx]; in linker_append_btf()
2403 glob_sym->var_idx = dst_sec->sec_var_cnt - 1; in linker_append_btf()
Dlibbpf.c2453 int var_idx, int sec_idx, in bpf_object__init_user_btf_map() argument
2465 vi = btf_var_secinfos(sec) + var_idx; in bpf_object__init_user_btf_map()
2471 pr_warn("map #%d: empty name.\n", var_idx); in bpf_object__init_user_btf_map()
2512 map->btf_var_idx = var_idx; in bpf_object__init_user_btf_map()
12238 int err, len, var_idx, i; in bpf_object__open_subskeleton() local
12269 for (var_idx = 0; var_idx < s->var_cnt; var_idx++) { in bpf_object__open_subskeleton()
12270 var_skel = &s->vars[var_idx]; in bpf_object__open_subskeleton()