Home
last modified time | relevance | path

Searched refs:lc_element (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/lib/
A Dlru_cache.c41 struct lc_element *e_ = (e); \
84 struct lc_element *e; in lc_create()
119 lc->lc_element = element; in lc_create()
152 void *p = lc->lc_element[i]; in lc_free_by_index()
171 kfree(lc->lc_element); in lc_destroy()
202 struct lc_element *e = lc->lc_element[i]; in lc_reset()
242 struct lc_element *e; in __lc_find()
314 struct lc_element *e; in lc_prepare_for_change()
353 struct lc_element *e; in __lc_get()
574 return lc->lc_element[i]; in lc_element_by_index()
[all …]
/linux-6.3-rc2/include/linux/
A Dlru_cache.h147 struct lc_element { struct
206 struct lc_element **lc_element; member
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);
256 void (*detail) (struct seq_file *, struct lc_element *));
297 extern struct lc_element *lc_element_by_index(struct lru_cache *lc, unsigned i);
/linux-6.3-rc2/drivers/block/drbd/
A Ddrbd_actlog.c208 struct lc_element *tmp; in find_active_resync_extent()
220 struct lc_element *al_ext; in _al_get()
271 struct lc_element *al_ext; in drbd_al_begin_io_prepare()
318 struct lc_element *e; in __al_write_transaction()
520 struct lc_element *tmp; in drbd_al_begin_io_nonblock()
551 struct lc_element *extent; in drbd_al_complete_io()
655 struct lc_element *e; in update_rs_extent()
904 struct lc_element *e; in _bme_get()
1016 struct lc_element *e; in drbd_try_rs_begin_io()
1137 struct lc_element *e; in drbd_rs_complete_io()
[all …]
A Ddrbd_debugfs.c649 static void resync_dump_detail(struct seq_file *m, struct lc_element *e) in resync_dump_detail()
A Ddrbd_int.h1156 struct lc_element lce;
A Ddrbd_nl.c1151 struct lc_element *e; in drbd_check_al_size()
1162 dc->al_extents, sizeof(struct lc_element), 0); in drbd_check_al_size()
A Ddrbd_main.c2112 "drbd_al", sizeof(struct lc_element), 0, 0, NULL); in drbd_create_mempools()
A Ddrbd_receiver.c2735 struct lc_element *tmp; in drbd_rs_should_slow_down()

Completed in 57 milliseconds