Home
last modified time | relevance | path

Searched refs:lru_cache (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Dlru_cache.h164 struct lru_cache { struct
239 extern struct lru_cache *lc_create(const char *name, struct kmem_cache *cache,
242 extern void lc_reset(struct lru_cache *lc);
243 extern void lc_destroy(struct lru_cache *lc);
244 extern void lc_set(struct lru_cache *lc, unsigned int enr, int index);
245 extern void lc_del(struct lru_cache *lc, struct lc_element *element);
247 extern struct lc_element *lc_get_cumulative(struct lru_cache *lc, unsigned int enr);
248 extern struct lc_element *lc_try_get(struct lru_cache *lc, unsigned int enr);
249 extern struct lc_element *lc_find(struct lru_cache *lc, unsigned int enr);
250 extern struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr);
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dlru_cache.c40 struct lru_cache *lc_ = (lc); \
55 int lc_try_lock(struct lru_cache *lc) in lc_try_lock()
87 struct lru_cache *lc_create(const char *name, struct kmem_cache *cache, in lc_create()
93 struct lru_cache *lc; in lc_create()
160 static void lc_free_by_index(struct lru_cache *lc, unsigned i) in lc_free_by_index()
174 void lc_destroy(struct lru_cache *lc) in lc_destroy()
193 void lc_reset(struct lru_cache *lc) in lc_reset()
229 void lc_seq_printf_stats(struct seq_file *seq, struct lru_cache *lc) in lc_seq_printf_stats()
243 static struct hlist_head *lc_hash_slot(struct lru_cache *lc, unsigned int enr) in lc_hash_slot()
249 static struct lc_element *__lc_find(struct lru_cache *lc, unsigned int enr, in __lc_find()
[all …]
H A DMakefile231 obj-$(CONFIG_LRU_CACHE) += lru_cache.o
/OK3568_Linux_fs/buildroot/package/python-async-lru/
H A DConfig.in5 Simple lru_cache for asyncio.
/OK3568_Linux_fs/buildroot/package/python-backports-functools-lru-cache/
H A DConfig.in5 Backport of functools.lru_cache from Python 3.3
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-cachetools_5.0.0.bb5 Python 3 Standard Library @lru_cache function decorator."
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python-daemon/
H A D0001-Workaround-for-issue-2-1.patch17 @lru_cache(maxsize=128)
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c180 } lru_cache SEC(".maps");
700 void *lru_map = &lru_cache; in process_packet()
/OK3568_Linux_fs/kernel/drivers/block/drbd/
H A Ddrbd_int.h920 struct lru_cache *resync;
943 struct lru_cache *act_log; /* activity log */
H A Ddrbd_actlog.c486 struct lru_cache *al = device->act_log; in drbd_al_begin_io_nonblock()
H A Ddrbd_nl.c1149 struct lru_cache *n, *t; in drbd_check_al_size()
1797 struct lru_cache *resync_lru = NULL; in drbd_adm_attach()
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Dwic.py18 from functools import wraps, lru_cache
26 @lru_cache()
/OK3568_Linux_fs/kernel/
H A DMAINTAINERS5414 F: lib/lru_cache.c