Function report |
Source Code:kernel\bpf\local_storage.c |
Create Date:2022-07-28 13:14:01 |
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
Proto:static struct bpf_cgroup_storage *cgroup_storage_lookup(struct bpf_cgroup_storage_map *map, struct bpf_cgroup_storage_key *key, bool locked)
Type:struct bpf_cgroup_storage
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_cgroup_storage_map * | map | |
struct bpf_cgroup_storage_key * | key | |
bool | locked |
55 | If Not locked Then spin_lock_bh( & lock) |
65 | Case bpf_cgroup_storage_key_cmp(key, & key) == -1 |
68 | Case bpf_cgroup_storage_key_cmp(key, & key) == 1 |
71 | Default |
72 | If Not locked Then spin_unlock_bh( & lock) |
74 | Return storage |
78 | If Not locked Then spin_unlock_bh( & lock) |
81 | Return NULL |
Name | Describe |
---|---|
cgroup_storage_lookup_elem | |
cgroup_storage_update_elem | |
bpf_percpu_cgroup_storage_copy | |
bpf_percpu_cgroup_storage_update | |
cgroup_storage_get_next_key | |
cgroup_storage_seq_show_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 |