Home
last modified time | relevance | path

Searched refs:atype (Results 1 – 4 of 4) sorted by relevance

/kernel/bpf/
Dcgroup.c32 enum cgroup_bpf_attach_type atype, in bpf_prog_run_array_cg() argument
46 array = rcu_dereference(cgrp->effective[atype]); in bpf_prog_run_array_cg()
283 unsigned int atype; in cgroup_bpf_release() local
287 for (atype = 0; atype < ARRAY_SIZE(cgrp->bpf.progs); atype++) { in cgroup_bpf_release()
288 struct hlist_head *progs = &cgrp->bpf.progs[atype]; in cgroup_bpf_release()
305 static_branch_dec(&cgroup_bpf_enabled_key[atype]); in cgroup_bpf_release()
308 cgrp->bpf.effective[atype], in cgroup_bpf_release()
373 enum cgroup_bpf_attach_type atype) in hierarchy_allows_attach() argument
381 u32 flags = p->bpf.flags[atype]; in hierarchy_allows_attach()
386 cnt = prog_list_length(&p->bpf.progs[atype]); in hierarchy_allows_attach()
[all …]
Dverifier.c4763 enum bpf_access_type atype, in check_ptr_to_btf_access() argument
4805 off, size, atype, &btf_id, &flag); in check_ptr_to_btf_access()
4807 if (atype != BPF_READ) { in check_ptr_to_btf_access()
4813 atype, &btf_id, &flag); in check_ptr_to_btf_access()
4825 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()
4834 enum bpf_access_type atype, in check_ptr_to_map_access() argument
4872 if (atype != BPF_READ) { in check_ptr_to_map_access()
4877 ret = btf_struct_access(&env->log, btf_vmlinux, t, off, size, atype, &btf_id, &flag); in check_ptr_to_map_access()
5519 enum bpf_access_type atype = meta && meta->raw_mode ? BPF_WRITE : BPF_READ; in check_helper_mem_access()
5527 atype, -1, false); in check_helper_mem_access()
Dbtf.c5820 enum bpf_access_type atype __maybe_unused, in btf_struct_access()
/kernel/trace/
Dtrace_probe.h199 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument
200 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)