Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbpf_lru_list.h24 struct bpf_lru_node { struct
51 typedef bool (*del_from_htab_func)(void *arg, struct bpf_lru_node *node); argument
66 static inline void bpf_lru_node_set_ref(struct bpf_lru_node *node) in bpf_lru_node_set_ref()
77 struct bpf_lru_node *bpf_lru_pop_free(struct bpf_lru *lru, u32 hash);
78 void bpf_lru_push_free(struct bpf_lru *lru, struct bpf_lru_node *node);
H A Dhashtab.c122 struct bpf_lru_node lru_node;
166 static bool htab_lru_map_delete_node(void *arg, struct bpf_lru_node *node);
301 struct bpf_lru_node *node = bpf_lru_pop_free(&htab->lru, hash); in prealloc_lru_pop()
825 offsetof(struct bpf_lru_node, ref)); in htab_lru_map_gen_lookup()
829 offsetof(struct bpf_lru_node, ref), in htab_lru_map_gen_lookup()
859 static bool htab_lru_map_delete_node(void *arg, struct bpf_lru_node *node) in htab_lru_map_delete_node()