Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlibbpf.c1356 __s32 type_id, datasec_id; in init_struct_ops_maps() local
1365 datasec_id = btf__find_by_name_kind(btf, sec_name, in init_struct_ops_maps()
1367 if (datasec_id < 0) { in init_struct_ops_maps()
1373 datasec = btf__type_by_id(btf, datasec_id); in init_struct_ops_maps()
/linux/kernel/bpf/
H A Dverifier.c18926 s32 datasec_id; in check_pseudo_btf_id() local
18976 datasec_id = find_btf_percpu_datasec(btf); in check_pseudo_btf_id()
18977 if (datasec_id > 0) { in check_pseudo_btf_id()
18978 datasec = btf_type_by_id(btf, datasec_id); in check_pseudo_btf_id()