Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\hashtab.c Create Date:2022-07-28 13:09:05
Last Modify:2022-05-23 09:15:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prealloc_lru_pop

Proto:static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key, u32 hash)

Type:struct htab_elem

Parameter:

TypeParameterName
struct bpf_htab *htab
void *key
u32hash
122  node = bpf_lru_pop_free( & lru, hash)
125  If node Then
126  l = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(node, structhtab_elem, lru_node)
127  No 3D Now!(key, key, key_size)
128  Return l
131  Return NULL
Caller
NameDescribe
htab_lru_map_update_elem
__htab_lru_percpu_map_update_elem