函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_common_lru_populate

函数原型:static void bpf_common_lru_populate(struct bpf_lru *lru, void *buf, u32 node_offset, u32 elem_size, u32 nr_elems)

返回类型:void

参数:

类型参数名称
struct bpf_lru *lru
void *buf
u32node_offset
u32elem_size
u32nr_elems
562  l等于lru_list
565 i小于nr_elems循环
568  node等于bufnode_offset
569  type等于BPF_LRU_LIST_T_FREE
570  ref等于0
571  添加链表项
572  buf加等于elem_size
调用者
名称描述
bpf_lru_populate