Function report |
Source Code:kernel\bpf\cpumap.c |
Create Date:2022-07-28 13:24:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Runs under RCU-read-side, plus in softirq under NAPI protection.* Thus, safe percpu variable access.
Proto:static int bq_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_cpu_map_entry * | rcpu | |
struct xdp_frame * | xdpf |
645 | flush_list = this_cpu_ptr(flush_list) |
648 | If Value for the false possibility is greater at compile time(count == 8 == one cacheline on 64-bit archs ) Then bq_flush_to_queue(bq, true) |
662 | If Not prev Then list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks. |
665 | Return 0 |
Name | Describe |
---|---|
cpu_map_enqueue |
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 |