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

/linux-master/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);
65 static inline void bpf_lru_node_set_ref(struct bpf_lru_node *node)
76 struct bpf_lru_node *bpf_lru_pop_free(struct bpf_lru *lru, u32 hash);
77 void bpf_lru_push_free(struct bpf_lru *lru, struct bpf_lru_node *node);
H A Dbpf_lru_list.c41 /* bpf_lru_node helpers */
42 static bool bpf_lru_node_is_ref(const struct bpf_lru_node *node)
47 static void bpf_lru_node_clear_ref(struct bpf_lru_node *node)
67 struct bpf_lru_node *node,
88 struct bpf_lru_node *node,
106 struct bpf_lru_node *node,
148 struct bpf_lru_node *node, *tmp_node, *first_node;
151 first_node = list_first_entry(active, struct bpf_lru_node, list);
176 struct bpf_lru_node *node;
193 node = list_entry(cur, struct bpf_lru_node, lis
[all...]
H A Dhashtab.c126 struct bpf_lru_node lru_node;
184 static bool htab_lru_map_delete_node(void *arg, struct bpf_lru_node *node);
305 struct bpf_lru_node *node = bpf_lru_pop_free(&htab->lru, hash);
769 offsetof(struct bpf_lru_node, ref));
773 offsetof(struct bpf_lru_node, ref),
800 static bool htab_lru_map_delete_node(void *arg, struct bpf_lru_node *node)

Completed in 233 milliseconds