Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c1162 __s32 type_id, datasec_id; in bpf_object__init_struct_ops_maps() local
1171 datasec_id = btf__find_by_name_kind(btf, STRUCT_OPS_SEC, in bpf_object__init_struct_ops_maps()
1173 if (datasec_id < 0) { in bpf_object__init_struct_ops_maps()
1179 datasec = btf__type_by_id(btf, datasec_id); in bpf_object__init_struct_ops_maps()
/linux-6.1.9/kernel/bpf/
Dverifier.c12565 s32 datasec_id; in check_pseudo_btf_id() local
12607 datasec_id = find_btf_percpu_datasec(btf); in check_pseudo_btf_id()
12608 if (datasec_id > 0) { in check_pseudo_btf_id()
12609 datasec = btf_type_by_id(btf, datasec_id); in check_pseudo_btf_id()