Function report |
Source Code:kernel\bpf\devmap.c |
Create Date:2022-07-28 13:22:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__dev_map_alloc_node
Proto:static struct bpf_dtab_netdev *__dev_map_alloc_node(struct net *net, struct bpf_dtab *dtab, u32 ifindex, unsigned int idx)
Type:struct bpf_dtab_netdev
Parameter:
Type | Parameter | Name |
---|---|---|
struct net * | net | |
struct bpf_dtab * | dtab | |
u32 | ifindex | |
unsigned int | idx |
594 | dev = kmalloc_node( size of dev , gfp, numa_node) |
598 | bulkq = __alloc_percpu_gfp( size of bulkq , size of * , gfp) |
600 | If Not bulkq Then |
605 | for_each_possible_cpu(cpu) |
611 | If Not must be first member, due to tracepoint Then |
620 | Return dev |
Name | Describe |
---|---|
__dev_map_update_elem | |
__dev_map_hash_update_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 |