Lines Matching refs:caps
194 struct bpf_capabilities *caps; member
292 struct bpf_capabilities caps; member
416 prog.caps = &obj->caps; in bpf_object__add_program()
861 if (!obj->caps.global_data) in bpf_object__init_global_data_maps()
1364 bool has_datasec = obj->caps.btf_datasec; in bpf_object__sanitize_btf()
1365 bool has_func = obj->caps.btf_func; in bpf_object__sanitize_btf()
1427 if (!obj->caps.btf_func) { in bpf_object__sanitize_btf_ext()
1816 if (!obj->caps.global_data) { in bpf_program__collect_reloc()
1984 obj->caps.name = 1; in bpf_object__probe_name()
2029 obj->caps.global_data = 1; in bpf_object__probe_global_data()
2055 obj->caps.btf_func = 1; in bpf_object__probe_btf_func()
2082 obj->caps.btf_datasec = 1; in bpf_object__probe_btf_datasec()
2158 if (obj->caps.name) in bpf_object__create_maps()
3377 if (prog->caps->name) in load_program()