函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Move nodes from local list to the LRU list

函数原型:static void __bpf_lru_node_move_in(struct bpf_lru_list *l, struct bpf_lru_node *node, enum bpf_lru_list_type tgt_type)

返回类型:void

参数:

类型参数名称
struct bpf_lru_list *l
struct bpf_lru_node *node
enum bpf_lru_list_typetgt_type
86  如果WARN_ON_ONCE(!IS_LOCAL_LIST_TYPE(type))或WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(tgt_type))则返回
90  bpf_lru_list_count_inc(l, tgt_type)
91  type等于tgt_type
92  ref等于0
93  链表项移动到头部
调用者
名称描述
__local_list_flushFlush the nodes from the local pending list to the LRU list