Home
last modified time | relevance | path

Searched refs:datasec_id (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c1147 __s32 type_id, datasec_id; in init_struct_ops_maps() local
1156 datasec_id = btf__find_by_name_kind(btf, sec_name, in init_struct_ops_maps()
1158 if (datasec_id < 0) { in init_struct_ops_maps()
1164 datasec = btf__type_by_id(btf, datasec_id); in init_struct_ops_maps()
/Linux-v6.6/kernel/bpf/
Dverifier.c16816 s32 datasec_id; in check_pseudo_btf_id() local
16866 datasec_id = find_btf_percpu_datasec(btf); in check_pseudo_btf_id()
16867 if (datasec_id > 0) { in check_pseudo_btf_id()
16868 datasec = btf_type_by_id(btf, datasec_id); in check_pseudo_btf_id()