Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__local_list_add_pending

Proto:static void __local_list_add_pending(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l, int cpu, struct bpf_lru_node *node, u32 hash)

Type:void

Parameter:

TypeParameterName
struct bpf_lru *lru
struct bpf_lru_locallist *loc_l
intcpu
struct bpf_lru_node *node
u32hash
353  *(node + hash_offset) = hash
354  cpu = cpu
355  type = BPF_LRU_LOCAL_LIST_T_PENDING
356  ref = 0
357  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.
Caller
NameDescribe
bpf_common_lru_pop_free