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:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_lru_list_init

Proto:static void bpf_lru_list_init(struct bpf_lru_list *l)

Type:void

Parameter:

TypeParameterName
struct bpf_lru_list *l
634  When i < NR_BPF_LRU_LIST_T cycle Initialization list head
637  When i < NR_BPF_LRU_LIST_COUNT cycle counts[i] = 0
640  The next inacitve list rotation starts from here = lists[BPF_LRU_LIST_T_INACTIVE]
642  raw_spin_lock_init( & lock)
Caller
NameDescribe
bpf_lru_init