Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/bpf/
Dbpf_lru_list.h55 struct bpf_lru { struct
76 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, argument
78 void bpf_lru_populate(struct bpf_lru *lru, void *buf, u32 node_offset,
80 void bpf_lru_destroy(struct bpf_lru *lru);
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);
Dbpf_lru_list.c142 static void __bpf_lru_list_rotate_active(struct bpf_lru *lru, in __bpf_lru_list_rotate_active()
169 static void __bpf_lru_list_rotate_inactive(struct bpf_lru *lru, in __bpf_lru_list_rotate_inactive()
209 __bpf_lru_list_shrink_inactive(struct bpf_lru *lru, in __bpf_lru_list_shrink_inactive()
240 static void __bpf_lru_list_rotate(struct bpf_lru *lru, struct bpf_lru_list *l) in __bpf_lru_list_rotate()
258 static unsigned int __bpf_lru_list_shrink(struct bpf_lru *lru, in __bpf_lru_list_shrink()
321 static void bpf_lru_list_pop_free_to_local(struct bpf_lru *lru, in bpf_lru_list_pop_free_to_local()
350 static void __local_list_add_pending(struct bpf_lru *lru, in __local_list_add_pending()
378 __local_list_pop_pending(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l) in __local_list_pop_pending()
402 static struct bpf_lru_node *bpf_percpu_lru_pop_free(struct bpf_lru *lru, in bpf_percpu_lru_pop_free()
434 static struct bpf_lru_node *bpf_common_lru_pop_free(struct bpf_lru *lru, in bpf_common_lru_pop_free()
[all …]
Dhashtab.c39 struct bpf_lru lru;