Function report |
Source Code:kernel\bpf\local_storage.c |
Create Date:2022-07-28 13:14:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_cgroup_storage_calculate_size
Proto:static size_t bpf_cgroup_storage_calculate_size(struct bpf_map *map, u32 *pages)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_map * | map | |
u32 * | pages |
464 | If cgroup_storage_type(map) == BPF_CGROUP_STORAGE_SHARED Then |
465 | size = sizeof(structbpf_storage_buffer) + value_size |
468 | Else |
469 | size = value_size |
474 | Return size |
Name | Describe |
---|---|
bpf_cgroup_storage_alloc | |
bpf_cgroup_storage_free |
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 |