Searched refs:var_idx (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/kernel/trace/ |
H A D | trace_events_hist.c | 909 unsigned int var_idx) in check_field_for_var_ref() argument 913 if (hist_field && hist_field->var.idx == var_idx && in check_field_for_var_ref() 934 unsigned int var_idx) in find_var_ref() argument 941 if (check_field_for_var_ref(hist_field, var_data, var_idx)) in find_var_ref() 963 unsigned int var_idx) in find_any_var_ref() argument 972 found = find_var_ref(var_data->hist_data, hist_data, var_idx); in find_any_var_ref() 1289 unsigned int i, var_idx; in resolve_var_refs() local 1295 var_idx = hist_field->var.idx; in resolve_var_refs() 1313 if (!tracing_map_var_set(var_elt, var_idx)) { in resolve_var_refs() 1319 var_val = tracing_map_read_var(var_elt, var_idx); in resolve_var_refs() [all …]
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | gen.c | 1281 size_t i, len, file_sz, map_cnt = 0, prog_cnt = 0, mmap_sz, var_cnt = 0, var_idx = 0; in do_subskeleton() local 1534 ", var_name, ident, var_idx); in do_subskeleton() 1536 var_idx++; in do_subskeleton()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | linker.c | 93 int var_idx; member 1286 sym->var_idx = -1; in add_glob_sym() 2378 if (glob_sym && glob_sym->var_idx >= 0) { in linker_append_btf() 2381 dst_var = &dst_sec->sec_vars[glob_sym->var_idx]; in linker_append_btf() 2411 glob_sym->var_idx = dst_sec->sec_var_cnt - 1; in linker_append_btf()
|
H A D | libbpf.c | 2517 int var_idx, int sec_idx, in bpf_object__init_user_btf_map() argument 2529 vi = btf_var_secinfos(sec) + var_idx; in bpf_object__init_user_btf_map() 2535 pr_warn("map #%d: empty name.\n", var_idx); in bpf_object__init_user_btf_map() 2576 map->btf_var_idx = var_idx; in bpf_object__init_user_btf_map() 13046 int err, len, var_idx, i; in bpf_object__open_subskeleton() local 13077 for (var_idx = 0; var_idx < s->var_cnt; var_idx++) { in bpf_object__open_subskeleton() 13078 var_skel = &s->vars[var_idx]; in bpf_object__open_subskeleton()
|