Searched refs:kernel_supports (Results 1 – 4 of 4) sorted by relevance
/external/libbpf/android/ |
D | bpf_stub.c | 15 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) in kernel_supports() function
|
/external/libbpf/src/ |
D | libbpf.c | 2631 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in btf_needs_sanitization() 2632 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization() 2633 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in btf_needs_sanitization() 2634 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in btf_needs_sanitization() 2635 bool has_decl_tag = kernel_supports(obj, FEAT_BTF_DECL_TAG); in btf_needs_sanitization() 2636 bool has_type_tag = kernel_supports(obj, FEAT_BTF_TYPE_TAG); in btf_needs_sanitization() 2644 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in bpf_object__sanitize_btf() 2645 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf() 2646 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in bpf_object__sanitize_btf() 2647 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in bpf_object__sanitize_btf() [all …]
|
D | libbpf_internal.h | 336 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
|
D | bpf.c | 154 if (memlock_bumped || kernel_supports(NULL, FEAT_MEMCG_ACCOUNT)) in bump_rlimit_memlock()
|