Home
last modified time | relevance | path

Searched refs:bpf_capable (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dcapability.h259 static inline bool bpf_capable(void) in bpf_capable() function
Dbpf_verifier.h413 bool bpf_capable; member
/kernel/linux/linux-5.10/kernel/bpf/
Dqueue_stack_maps.c48 if (!bpf_capable()) in queue_stack_map_alloc_check()
Dreuseport_array.c158 if (!bpf_capable()) in reuseport_array_alloc()
Dsyscall.c1577 if (!bpf_capable()) { in map_freeze()
2137 !bpf_capable()) in bpf_prog_load()
2150 attr->insn_cnt > (bpf_capable() ? BPF_COMPLEXITY_LIMIT_INSNS : BPF_MAXINSNS)) in bpf_prog_load()
2154 !bpf_capable()) in bpf_prog_load()
3465 if (!bpf_capable()) { in bpf_prog_get_info_by_fd()
3827 if (!bpf_capable()) in bpf_btf_load()
4383 if (sysctl_unprivileged_bpf_disabled && !bpf_capable()) in SYSCALL_DEFINE3()
Dbpf_local_storage.c532 if (!bpf_capable()) in bpf_local_storage_map_alloc_check()
Dlpm_trie.c546 if (!bpf_capable()) in trie_alloc()
Dbpf_struct_ops.c561 if (!bpf_capable()) in bpf_struct_ops_map_alloc()
Dhelpers.c704 if (!bpf_capable()) in bpf_base_func_proto()
Dcpumap.c90 if (!bpf_capable()) in cpu_map_alloc()
Dstackmap.c98 if (!bpf_capable()) in stack_map_alloc()
Dverifier.c1350 reg->precise = env->subprog_cnt > 1 || !env->bpf_capable; in __mark_reg_unknown()
1495 if (!env->bpf_capable) { in check_subprogs()
2038 if (!env->bpf_capable) in __mark_chain_precision()
2313 !register_is_null(reg) && env->bpf_capable) { in check_stack_write_fixed_off()
8570 if (loop_ok && env->bpf_capable) in push_insn()
9707 if (!env->bpf_capable && states_cnt > BPF_COMPLEXITY_LIMIT_STATES) in is_state_visited()
11555 if (env->bpf_capable && !expect_blinding && in fixup_bpf_calls()
12375 is_priv = bpf_capable(); in bpf_check()
12416 env->bpf_capable = bpf_capable(); in bpf_check()
Dcore.c657 !bpf_capable()) in bpf_prog_kallsyms_add()
837 if (!bpf_capable()) { in bpf_jit_charge_modmem()
Dhashtab.c363 if (lru && !bpf_capable()) in htab_map_alloc_check()
/kernel/linux/linux-5.10/net/core/
Dbpf_sk_storage.c447 if (!bpf_capable()) in bpf_sk_storage_diag_alloc()
Dfilter.c7579 if (!bpf_capable()) in cg_skb_is_valid_access()
7591 if (!bpf_capable()) in cg_skb_is_valid_access()