函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_lru_list_init

函数原型:static void bpf_lru_list_init(struct bpf_lru_list *l)

返回类型:void

参数:

类型参数名称
struct bpf_lru_list *l
634 i小于NR_BPF_LRU_LIST_T循环初始化链表头
637 i小于NR_BPF_LRU_LIST_COUNT循环counts[i]等于0
640  The next inacitve list rotation starts from here 等于lists[BPF_LRU_LIST_T_INACTIVE]
642  raw_spin_lock_init( & lock)
调用者
名称描述
bpf_lru_init