Roman Gushchin
f294b37ec7
bpf: rework cgroup storage pointer passing
...
To simplify the following introduction of per-cpu cgroup storage,
let's rework a bit a mechanism of passing a pointer to a cgroup
storage into the bpf_get_local_storage(). Let's save a pointer
to the corresponding bpf_cgroup_storage structure, instead of
a pointer to the actual buffer.
It will help us to handle per-cpu storage later, which has
a different way of accessing to the actual data.
Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-10-01 16:18:32 +02:00
..
arraymap.c
bpf: add bpffs pretty print for program array map
2018-09-11 14:17:24 -07:00
bpf_lru_list.c
bpf_lru_list.h
btf.c
bpf: btf: Fix end boundary calculation for type section
2018-09-12 22:00:23 +02:00
cgroup.c
bpf: extend cgroup bpf core to allow multiple cgroup storage types
2018-10-01 16:18:32 +02:00
core.c
bpf: fix a rcu usage warning in bpf_prog_array_copy_core()
2018-08-16 21:55:32 +02:00
cpumap.c
bpf: fix redirect to map under tail calls
2018-08-17 15:56:23 -07:00
devmap.c
bpf: fix redirect to map under tail calls
2018-08-17 15:56:23 -07:00
disasm.c
bpf: Remove struct bpf_verifier_env argument from print_bpf_insn
2018-03-23 17:38:57 +01:00
disasm.h
bpf: Remove struct bpf_verifier_env argument from print_bpf_insn
2018-03-23 17:38:57 +01:00
hashtab.c
bpf: add bpffs pretty print for percpu arraymap/hash/lru_hash
2018-08-30 14:03:53 +02:00
helpers.c
bpf: rework cgroup storage pointer passing
2018-10-01 16:18:32 +02:00
inode.c
bpf: decouple btf from seq bpf fs dump and enable more maps
2018-08-13 00:52:45 +02:00
local_storage.c
bpf: rework cgroup storage pointer passing
2018-10-01 16:18:32 +02:00
lpm_trie.c
bpf: decouple btf from seq bpf fs dump and enable more maps
2018-08-13 00:52:45 +02:00
Makefile
bpf: Introduce BPF_MAP_TYPE_REUSEPORT_SOCKARRAY
2018-08-11 01:58:46 +02:00
map_in_map.c
bpf: don't allow create maps of cgroup local storages
2018-08-03 00:47:32 +02:00
map_in_map.h
offload.c
bpf: offload: allow program and map sharing per-ASIC
2018-07-18 15:10:34 +02:00
percpu_freelist.c
percpu_freelist.h
reuseport_array.c
bpf: Introduce BPF_MAP_TYPE_REUSEPORT_SOCKARRAY
2018-08-11 01:58:46 +02:00
sockmap.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2018-09-25 20:29:38 -07:00
stackmap.c
bpf: decouple btf from seq bpf fs dump and enable more maps
2018-08-13 00:52:45 +02:00
syscall.c
bpf: extend cgroup bpf core to allow multiple cgroup storage types
2018-10-01 16:18:32 +02:00
tnum.c
bpf/verifier: improve register value range tracking with ARSH
2018-04-29 08:45:53 -07:00
verifier.c
bpf: extend cgroup bpf core to allow multiple cgroup storage types
2018-10-01 16:18:32 +02:00
xskmap.c
bpf: fix redirect to map under tail calls
2018-08-17 15:56:23 -07:00