Function report |
Source Code:kernel\bpf\bpf_lru_list.c |
Create Date:2022-07-28 13:12:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bpf_lru_node_move_to_free
Proto:static void __bpf_lru_node_move_to_free(struct bpf_lru_list *l, struct bpf_lru_node *node, struct list_head *free_list, enum bpf_lru_list_type tgt_free_type)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_lru_list * | l | |
| struct bpf_lru_node * | node | |
| struct list_head * | free_list | |
| enum bpf_lru_list_type | tgt_free_type |
| 66 | If WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(type)) Then Return |
| 72 | If list == The next inacitve list rotation starts from here Then The next inacitve list rotation starts from here = prev |
| 75 | bpf_lru_list_count_dec(l, type) |
| 77 | type = tgt_free_type |
| Name | Describe |
|---|---|
| __bpf_lru_list_shrink_inactive | Shrink the inactive list. It starts from the tail of the* inactive list and only move the nodes without the ref bit* set to the designated free list. |
| __bpf_lru_list_shrink | Calls __bpf_lru_list_shrink_inactive() to shrink some* ref-bit-cleared nodes and move them to the designated* free list |
| bpf_lru_list_pop_free_to_local |
| 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 |