Home
last modified time | relevance | path

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

/kernel/bpf/
Dbpf_lru_list.h53 struct bpf_lru { struct
74 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, argument
76 void bpf_lru_populate(struct bpf_lru *lru, void *buf, u32 node_offset,
78 void bpf_lru_destroy(struct bpf_lru *lru);
79 struct bpf_lru_node *bpf_lru_pop_free(struct bpf_lru *lru, u32 hash);
80 void bpf_lru_push_free(struct bpf_lru *lru, struct bpf_lru_node *node);
81 void bpf_lru_promote(struct bpf_lru *lru, struct bpf_lru_node *node);
Dbpf_lru_list.c139 static void __bpf_lru_list_rotate_active(struct bpf_lru *lru, in __bpf_lru_list_rotate_active()
166 static void __bpf_lru_list_rotate_inactive(struct bpf_lru *lru, in __bpf_lru_list_rotate_inactive()
206 __bpf_lru_list_shrink_inactive(struct bpf_lru *lru, in __bpf_lru_list_shrink_inactive()
237 static void __bpf_lru_list_rotate(struct bpf_lru *lru, struct bpf_lru_list *l) in __bpf_lru_list_rotate()
255 static unsigned int __bpf_lru_list_shrink(struct bpf_lru *lru, in __bpf_lru_list_shrink()
318 static void bpf_lru_list_pop_free_to_local(struct bpf_lru *lru, in bpf_lru_list_pop_free_to_local()
347 static void __local_list_add_pending(struct bpf_lru *lru, in __local_list_add_pending()
375 __local_list_pop_pending(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l) in __local_list_pop_pending()
399 static struct bpf_lru_node *bpf_percpu_lru_pop_free(struct bpf_lru *lru, in bpf_percpu_lru_pop_free()
431 static struct bpf_lru_node *bpf_common_lru_pop_free(struct bpf_lru *lru, in bpf_common_lru_pop_free()
[all …]
Dhashtab.c98 struct bpf_lru lru;