Function report |
Source Code:kernel\bpf\bpf_lru_list.c |
Create Date:2022-07-28 13:12:34 |
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_list_pop_free_to_local
Proto:static void bpf_lru_list_pop_free_to_local(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_lru * | lru | |
struct bpf_lru_locallist * | loc_l |
323 | nfree = 0 |
325 | raw_spin_lock( & lock) |
335 | If ++nfree == LOCAL_FREE_TARGET Then Break |
339 | If nfree < LOCAL_FREE_TARGET Then Calls __bpf_lru_list_shrink_inactive() to shrink some* ref-bit-cleared nodes and move them to the designated* free list |
344 | raw_spin_unlock( & lock) |
Name | Describe |
---|---|
bpf_common_lru_pop_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 |