Function report |
Source Code:kernel\bpf\bpf_lru_list.c |
Create Date:2022-07-28 13:12:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_common_lru_push_free
Proto:static void bpf_common_lru_push_free(struct bpf_lru *lru, struct bpf_lru_node *node)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_lru * | lru | |
| struct bpf_lru_node * | node |
| 507 | If WARN_ON_ONCE(type == BPF_LRU_LIST_T_FREE) || WARN_ON_ONCE(type == BPF_LRU_LOCAL_LIST_T_FREE) Then Return |
| 511 | If type == BPF_LRU_LOCAL_LIST_T_PENDING Then |
| 514 | loc_l = per_cpu_ptr(local_list, cpu) |
| 516 | raw_spin_lock_irqsave( & lock, flags) |
| 519 | raw_spin_unlock_irqrestore( & lock, flags) |
| 520 | Go to check_lru_list |
| 524 | ref = 0 |
| 527 | raw_spin_unlock_irqrestore( & lock, flags) |
| 528 | Return |
| 531 | check_lru_list : |
| 532 | bpf_lru_list_push_free( & lru_list, node) |
| Name | Describe |
|---|---|
| bpf_lru_push_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 |