Searched refs:lru_cache (Results 1 – 9 of 9) sorted by relevance
| /linux/include/linux/ |
| H A D | lru_cache.h | 164 struct lru_cache { struct 238 extern struct lru_cache *lc_create(const char *name, struct kmem_cache *cache, 241 extern void lc_reset(struct lru_cache *lc); 242 extern void lc_destroy(struct lru_cache *lc); 243 extern void lc_del(struct lru_cache *lc, struct lc_element *element); 245 extern struct lc_element *lc_get_cumulative(struct lru_cache *lc, unsigned int enr); 246 extern struct lc_element *lc_try_get(struct lru_cache *lc, unsigned int enr); 247 extern struct lc_element *lc_find(struct lru_cache *lc, unsigned int enr); 248 extern struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr); 249 extern unsigned int lc_put(struct lru_cache *lc, struct lc_element *e); [all …]
|
| /linux/lib/ |
| H A D | lru_cache.c | 40 struct lru_cache *lc_ = (lc); \ 55 int lc_try_lock(struct lru_cache *lc) in lc_try_lock() 77 struct lru_cache *lc_create(const char *name, struct kmem_cache *cache, in lc_create() 83 struct lru_cache *lc; in lc_create() 150 static void lc_free_by_index(struct lru_cache *lc, unsigned i) in lc_free_by_index() 164 void lc_destroy(struct lru_cache *lc) in lc_destroy() 183 void lc_reset(struct lru_cache *lc) in lc_reset() 219 void lc_seq_printf_stats(struct seq_file *seq, struct lru_cache *lc) in lc_seq_printf_stats() 233 static struct hlist_head *lc_hash_slot(struct lru_cache *lc, unsigned int enr) in lc_hash_slot() 239 static struct lc_element *__lc_find(struct lru_cache *lc, unsigned int enr, in __lc_find() [all …]
|
| H A D | Makefile | 214 obj-$(CONFIG_LRU_CACHE) += lru_cache.o
|
| /linux/fs/btrfs/ |
| H A D | Makefile | 36 lru_cache.o raid-stripe-tree.o fiemap.o direct-io.o
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_noinline.c | 181 } lru_cache SEC(".maps"); 673 void *lru_map = &lru_cache; in process_packet()
|
| /linux/tools/perf/pmu-events/ |
| H A D | jevents.py | 6 from functools import lru_cache 460 @lru_cache(maxsize=None)
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_int.h | 852 struct lru_cache *resync; 873 struct lru_cache *act_log; /* activity log */
|
| H A D | drbd_actlog.c | 486 struct lru_cache *al = device->act_log; in drbd_al_begin_io_nonblock()
|
| /linux/ |
| H A D | MAINTAINERS | 7677 F: lib/lru_cache.c
|