Home
last modified time | relevance | path

Searched refs:bpf_cgroup_storage_info (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf-cgroup.h32 struct bpf_cgroup_storage_info { struct
40 DECLARE_PER_CPU(struct bpf_cgroup_storage_info, argument
41 bpf_cgroup_storage_info[BPF_CGROUP_STORAGE_NEST_MAX]);
178 if (unlikely(this_cpu_read(bpf_cgroup_storage_info[i].task) != NULL)) in bpf_cgroup_storage_set()
181 this_cpu_write(bpf_cgroup_storage_info[i].task, current); in bpf_cgroup_storage_set()
183 this_cpu_write(bpf_cgroup_storage_info[i].storage[stype], in bpf_cgroup_storage_set()
200 if (likely(this_cpu_read(bpf_cgroup_storage_info[i].task) != current)) in bpf_cgroup_storage_unset()
203 this_cpu_write(bpf_cgroup_storage_info[i].task, NULL); in bpf_cgroup_storage_unset()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dhelpers.c375 DECLARE_PER_CPU(struct bpf_cgroup_storage_info,
376 bpf_cgroup_storage_info[BPF_CGROUP_STORAGE_NEST_MAX]);
390 if (likely(this_cpu_read(bpf_cgroup_storage_info[i].task) != current)) in BPF_CALL_2()
393 storage = this_cpu_read(bpf_cgroup_storage_info[i].storage[stype]); in BPF_CALL_2()
H A Dlocal_storage.c14 DEFINE_PER_CPU(struct bpf_cgroup_storage_info,
15 bpf_cgroup_storage_info[BPF_CGROUP_STORAGE_NEST_MAX]);