| Function report | 
| Source Code: kernel\bpf\local_storage.c | Create Date:2022-07-28 13:14:15 | 
| 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_get_next_key
Proto:static int cgroup_storage_get_next_key(struct bpf_map *_map, void *_key, void *_next_key)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_map * | _map | |
| void * | _key | |
| void * | _next_key | 
| 238 | map = map_to_storage(_map) | 
| 243 | spin_lock_bh( & lock) | 
| 245 | If list_empty - tests whether a list is empty*@head: the list to test. Then Go to enoent | 
| 248 | If key Then | 
| 249 | storage = cgroup_storage_lookup(map, key, true) | 
| 256 | Else | 
| 261 | spin_unlock_bh( & lock) | 
| 264 | Return 0 | 
| 266 | enoent : | 
| 267 | spin_unlock_bh( & lock) | 
| 268 | Return -ENOENT | 
| 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 |