Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dlru_cache.h164 struct lru_cache { struct
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);
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);
250 extern void lc_committed(struct lru_cache *lc);
266 static inline int lc_try_lock_for_transaction(struct lru_cache *lc) in lc_try_lock_for_transaction()
280 extern int lc_try_lock(struct lru_cache *lc);
286 static inline void lc_unlock(struct lru_cache *lc) in lc_unlock()
[all …]
/linux-6.3-rc2/lib/
A Dlru_cache.c40 struct lru_cache *lc_ = (lc); \
55 int lc_try_lock(struct lru_cache *lc) in lc_try_lock()
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()
285 bool lc_is_used(struct lru_cache *lc, unsigned int enr) in lc_is_used()
299 void lc_del(struct lru_cache *lc, struct lc_element *e) in lc_del()
335 static int lc_unused_element_available(struct lru_cache *lc) in lc_unused_element_available()
524 void lc_committed(struct lru_cache *lc) in lc_committed()
[all …]
A DMakefile238 obj-$(CONFIG_LRU_CACHE) += lru_cache.o
/linux-6.3-rc2/fs/btrfs/
A DMakefile36 lru_cache.o
/linux-6.3-rc2/tools/perf/pmu-events/
A Djevents.py6 from functools import lru_cache
361 @lru_cache(maxsize=None)
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_xdp_noinline.c180 } lru_cache SEC(".maps");
700 void *lru_map = &lru_cache; in process_packet()
/linux-6.3-rc2/drivers/block/drbd/
A Ddrbd_int.h848 struct lru_cache *resync;
871 struct lru_cache *act_log; /* activity log */
A Ddrbd_actlog.c486 struct lru_cache *al = device->act_log; in drbd_al_begin_io_nonblock()
A Ddrbd_nl.c1150 struct lru_cache *n, *t; in drbd_check_al_size()
1732 struct lru_cache *resync_lru = NULL; in drbd_adm_attach()
/linux-6.3-rc2/
A DMAINTAINERS6304 F: lib/lru_cache.c

Completed in 41 milliseconds