Searched refs:bpf (Results 1 – 10 of 10) sorted by relevance
/kernel/bpf/ |
D | net_namespace.c | 61 run_array = rcu_replace_pointer(net->bpf.run_array[type], NULL, in netns_bpf_run_array_detach() 72 list_for_each_entry(pos, &net->bpf.links[type], node) { in link_index() 85 list_for_each(pos, &net->bpf.links[type]) in link_count() 96 list_for_each_entry(pos, &net->bpf.links[type], node) { in fill_prog_array() 134 old_array = rcu_dereference_protected(net->bpf.run_array[type], in bpf_netns_link_release() 142 rcu_assign_pointer(net->bpf.run_array[type], new_array); in bpf_netns_link_release() 189 run_array = rcu_dereference_protected(net->bpf.run_array[type], in bpf_netns_link_update_prog() 255 run_array = rcu_dereference_protected(net->bpf.run_array[type], in __netns_bpf_prog_query() 316 if (!list_empty(&net->bpf.links[type])) { in netns_bpf_prog_attach() 332 attached = net->bpf.progs[type]; in netns_bpf_prog_attach() [all …]
|
D | cgroup.c | 82 ret = bpf_prog_run_array_cg(&cgrp->bpf, in __cgroup_bpf_run_lsm_sock() 104 ret = bpf_prog_run_array_cg(&cgrp->bpf, in __cgroup_bpf_run_lsm_socket() 123 ret = bpf_prog_run_array_cg(&cgrp->bpf, in __cgroup_bpf_run_lsm_current() 195 percpu_ref_kill(&cgrp->bpf.refcnt); in cgroup_bpf_offline() 278 bpf.release_work); in cgroup_bpf_release() 280 struct list_head *storages = &cgrp->bpf.storages; in cgroup_bpf_release() 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() 308 cgrp->bpf.effective[atype], in cgroup_bpf_release() 323 percpu_ref_exit(&cgrp->bpf.refcnt); in cgroup_bpf_release() [all …]
|
D | Kconfig | 27 bool "Enable bpf() system call" 37 Enable the bpf() system call that allows to manipulate BPF programs 88 source "kernel/bpf/preload/Kconfig"
|
D | Makefile | 44 $(obj)/relo_core.o: $(srctree)/tools/lib/bpf/relo_core.c FORCE
|
D | local_storage.c | 584 list_add(&storage->list_cg, &cgroup->bpf.storages); in bpf_cgroup_storage_link()
|
D | syscall.c | 5089 SYSCALL_DEFINE3(bpf, int, cmd, union bpf_attr __user *, uattr, unsigned int, size) in SYSCALL_DEFINE3() argument
|
/kernel/bpf/preload/iterators/ |
D | Makefile | 10 BPFTOOL_SRC := $(TOOLS_PATH)/bpf/bpftool 15 LIBBPF_SRC := $(TOOLS_PATH)/lib/bpf 44 iterators.lskel.h: $(OUTPUT)/iterators.bpf.o | $(BPFTOOL) 49 $(OUTPUT)/iterators.bpf.o: iterators.bpf.c $(BPFOBJ) | $(OUTPUT) 51 $(Q)$(CLANG) -g -O2 -target bpf $(INCLUDES) \
|
D | README | 2 If you change "iterators.bpf.c" do "make -j" in this directory to rebuild "iterators.skel.h". 4 See Documentation/bpf/bpf_devel_QA.rst
|
/kernel/ |
D | Makefile | 108 obj-$(CONFIG_BPF) += bpf/
|
D | sys_ni.c | 341 COND_SYSCALL(bpf);
|