Files
kernel_arpi/include/linux
Hao Luo eaa6bcb71e bpf: Introduce bpf_per_cpu_ptr()
Add bpf_per_cpu_ptr() to help bpf programs access percpu vars.
bpf_per_cpu_ptr() has the same semantic as per_cpu_ptr() in the kernel
except that it may return NULL. This happens when the cpu parameter is
out of range. So the caller must check the returned value.

Signed-off-by: Hao Luo <haoluo@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200929235049.2533242-5-haoluo@google.com
2020-10-02 15:00:49 -07:00
..
2020-09-18 17:49:20 -07:00
2020-10-02 14:59:25 -07:00
2020-10-02 15:00:49 -07:00
2020-09-21 15:00:40 -07:00
2020-10-02 15:00:49 -07:00
2020-09-15 13:26:28 -07:00
2020-08-14 19:56:56 -07:00
2020-08-26 12:41:56 +02:00
2020-09-04 09:25:20 -07:00
2020-09-23 18:02:49 -07:00
2020-09-29 14:02:53 -07:00
2020-09-24 19:49:36 -07:00
2020-08-31 12:52:33 -07:00
2020-09-23 18:02:49 -07:00