函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__local_list_add_pending

函数原型: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)

返回类型:void

参数:

类型参数名称
struct bpf_lru *lru
struct bpf_lru_locallist *loc_l
intcpu
struct bpf_lru_node *node
u32hash
353  *nodehash_offset的和等于hash
354  cpu等于cpu
355  type等于BPF_LRU_LOCAL_LIST_T_PENDING
356  ref等于0
357  添加链表项
调用者
名称描述
bpf_common_lru_pop_free