Searched refs:lru_cache (Results 1 – 8 of 8) sorted by relevance
164 struct lru_cache { struct242 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);251 extern unsigned int lc_put(struct lru_cache *lc, struct lc_element *e);252 extern void lc_committed(struct lru_cache *lc);268 static inline int lc_try_lock_for_transaction(struct lru_cache *lc) in lc_try_lock_for_transaction()282 extern int lc_try_lock(struct lru_cache *lc);288 static inline void lc_unlock(struct lru_cache *lc) in lc_unlock()[all …]
40 struct lru_cache *lc_ = (lc); \55 int lc_try_lock(struct lru_cache *lc) in lc_try_lock()94 struct lru_cache *lc; in lc_create()161 static void lc_free_by_index(struct lru_cache *lc, unsigned i) in lc_free_by_index()175 void lc_destroy(struct lru_cache *lc) in lc_destroy()194 void lc_reset(struct lru_cache *lc) in lc_reset()296 bool lc_is_used(struct lru_cache *lc, unsigned int enr) in lc_is_used()310 void lc_del(struct lru_cache *lc, struct lc_element *e) in lc_del()346 static int lc_unused_element_available(struct lru_cache *lc) in lc_unused_element_available()535 void lc_committed(struct lru_cache *lc) in lc_committed()[all …]
233 obj-$(CONFIG_LRU_CACHE) += lru_cache.o
180 } lru_cache SEC(".maps");700 void *lru_map = &lru_cache; in process_packet()
920 struct lru_cache *resync;943 struct lru_cache *act_log; /* activity log */
486 struct lru_cache *al = device->act_log; in drbd_al_begin_io_nonblock()
1149 struct lru_cache *n, *t; in drbd_check_al_size()1797 struct lru_cache *resync_lru = NULL; in drbd_adm_attach()
5873 F: lib/lru_cache.c
Completed in 47 milliseconds