函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\devmap.c Create Date:2022-07-27 14:40:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dev_map_hash_lookup_elem

函数原型:static void *dev_map_hash_lookup_elem(struct bpf_map *map, void *key)

返回类型:void

参数:

类型参数名称
struct bpf_map *map
void *key
506  obj等于__dev_map_hash_lookup_elem(map, * (u32 * )key)
508  struct net_device * dev = obj ? must be first member, due to tracepoint : NULL
510  返回:dev ? & ifindex : NULL