Home
last modified time | relevance | path

Searched refs:bpf_lru_node (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/kernel/bpf/
Dbpf_lru_list.c45 static bool bpf_lru_node_is_ref(const struct bpf_lru_node *node) in bpf_lru_node_is_ref()
65 struct bpf_lru_node *node, in __bpf_lru_node_move_to_free()
86 struct bpf_lru_node *node, in __bpf_lru_node_move_in()
104 struct bpf_lru_node *node, in __bpf_lru_node_move()
146 struct bpf_lru_node *node, *tmp_node, *first_node; in __bpf_lru_list_rotate_active()
149 first_node = list_first_entry(active, struct bpf_lru_node, list); in __bpf_lru_list_rotate_active()
174 struct bpf_lru_node *node; in __bpf_lru_list_rotate_inactive()
191 node = list_entry(cur, struct bpf_lru_node, list); in __bpf_lru_list_rotate_inactive()
216 struct bpf_lru_node *node, *tmp_node; in __bpf_lru_list_shrink_inactive()
265 struct bpf_lru_node *node, *tmp_node; in __bpf_lru_list_shrink()
[all …]
Dbpf_lru_list.h26 struct bpf_lru_node { struct
53 typedef bool (*del_from_htab_func)(void *arg, struct bpf_lru_node *node); argument
67 static inline void bpf_lru_node_set_ref(struct bpf_lru_node *node) in bpf_lru_node_set_ref()
81 struct bpf_lru_node *bpf_lru_pop_free(struct bpf_lru *lru, u32 hash);
82 void bpf_lru_push_free(struct bpf_lru *lru, struct bpf_lru_node *node);
83 void bpf_lru_promote(struct bpf_lru *lru, struct bpf_lru_node *node);
Dhashtab.c62 struct bpf_lru_node lru_node;
68 static bool htab_lru_map_delete_node(void *arg, struct bpf_lru_node *node);
130 struct bpf_lru_node *node = bpf_lru_pop_free(&htab->lru, hash); in prealloc_lru_pop()
546 offsetof(struct bpf_lru_node, ref)); in htab_lru_map_gen_lookup()
550 offsetof(struct bpf_lru_node, ref), in htab_lru_map_gen_lookup()
561 static bool htab_lru_map_delete_node(void *arg, struct bpf_lru_node *node) in htab_lru_map_delete_node()