Function report |
Source Code:kernel\bpf\local_storage.c |
Create Date:2022-07-28 13:14:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cgroup_storage_lookup_elem
Proto:static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *_key)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_map * | _map | |
void * | _key |
116 | map = map_to_storage(_map) |
120 | storage = cgroup_storage_lookup(map, key, false) |
121 | If Not storage Then Return NULL |
124 | Return & ({ |
124 | If 1 Then __read_once_size( & (buf), __c, size of buf ) |
124 | Else __read_once_size_nocheck( & (buf), __c, size of buf ) |
124 | Do |
124 | When 0 cycle |
124 | __val |
124 | })->data[0] |
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 |