Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\xskmap.c Create Date:2022-07-28 13:24:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:xsk_map_lookup_elem

Proto:static void *xsk_map_lookup_elem(struct bpf_map *map, void *key)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
void *key
163  WARN_ON_ONCE(!_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section)
164  Return __xsk_map_lookup_elem(map, * (u32 * )key)