函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_lru_locallist_init

函数原型:static void bpf_lru_locallist_init(struct bpf_lru_locallist *loc_l, int cpu)

返回类型:void

参数:

类型参数名称
struct bpf_lru_locallist *loc_l
intcpu
622 i小于NR_BPF_LRU_LOCAL_LIST_T循环初始化链表头
625  next_steal等于cpu
627  raw_spin_lock_init( & lock)
调用者
名称描述
bpf_lru_init