Function report |
Source Code:kernel\bpf\hashtab.c |
Create Date:2022-07-28 13:09:47 |
Last Modify:2022-05-23 09:15:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pcpu_copy_value
Proto:static void pcpu_copy_value(struct bpf_htab *htab, void __percpu *pptr, void *value, bool onallcpus)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_htab * | htab | |
void __percpu * | pptr | |
void * | value | |
bool | onallcpus |
700 | If Not onallcpus Then |
702 | No 3D Now!(this_cpu_ptr(pptr), value, value_size) |
703 | Else |
705 | off = 0 |
707 | for_each_possible_cpu(cpu) |
708 | bpf_long_memcpy(per_cpu_ptr(pptr, cpu), value + off, size) |
Name | Describe |
---|---|
alloc_htab_elem | |
__htab_percpu_map_update_elem | |
__htab_lru_percpu_map_update_elem |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |