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

Name:Move nodes from local list to the LRU list

Proto:static void __bpf_lru_node_move_in(struct bpf_lru_list *l, struct bpf_lru_node *node, enum bpf_lru_list_type tgt_type)

Type:void

Parameter:

TypeParameterName
struct bpf_lru_list *l
struct bpf_lru_node *node
enum bpf_lru_list_typetgt_type
86  If WARN_ON_ONCE(!IS_LOCAL_LIST_TYPE(type)) || WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(tgt_type)) Then Return
90  bpf_lru_list_count_inc(l, tgt_type)
91  type = tgt_type
92  ref = 0
93  list_move - delete from one list and add as another's head*@list: the entry to move*@head: the head that will precede our entry
Caller
NameDescribe
__local_list_flushFlush the nodes from the local pending list to the LRU list