Searched refs:lc_element (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/include/linux/ |
D | lru_cache.h | 147 struct lc_element { struct 207 struct lc_element **lc_element; member 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); 251 extern unsigned int lc_put(struct lru_cache *lc, struct lc_element *e); 258 void (*detail) (struct seq_file *, struct lc_element *)); 299 extern struct lc_element *lc_element_by_index(struct lru_cache *lc, unsigned i); [all …]
|
/linux-5.19.10/lib/ |
D | lru_cache.c | 41 struct lc_element *e_ = (e); \ 44 BUG_ON(lc_->lc_element[i] != e_); } while (0) 93 struct lc_element **element = NULL; in lc_create() 95 struct lc_element *e; in lc_create() 111 element = kcalloc(e_count, sizeof(struct lc_element *), GFP_KERNEL); in lc_create() 130 lc->lc_element = element; in lc_create() 163 void *p = lc->lc_element[i]; in lc_free_by_index() 182 kfree(lc->lc_element); in lc_destroy() 213 struct lc_element *e = lc->lc_element[i]; in lc_reset() 250 static struct lc_element *__lc_find(struct lru_cache *lc, unsigned int enr, in __lc_find() [all …]
|
/linux-5.19.10/drivers/block/drbd/ |
D | drbd_actlog.c | 207 struct lc_element *tmp; in find_active_resync_extent() 217 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get() 219 struct lc_element *al_ext; in _al_get() 270 struct lc_element *al_ext; in drbd_al_begin_io_prepare() 317 struct lc_element *e; in __al_write_transaction() 519 struct lc_element *tmp; in drbd_al_begin_io_nonblock() 535 struct lc_element *al_ext; in drbd_al_begin_io_nonblock() 550 struct lc_element *extent; in drbd_al_complete_io() 568 static int _try_lc_del(struct drbd_device *device, struct lc_element *al_ext) in _try_lc_del() 592 struct lc_element *al_ext; in drbd_al_shrink() [all …]
|
D | drbd_debugfs.c | 649 static void resync_dump_detail(struct seq_file *m, struct lc_element *e) in resync_dump_detail()
|
D | drbd_int.h | 1224 struct lc_element lce;
|
D | drbd_nl.c | 1151 struct lc_element *e; in drbd_check_al_size() 1162 dc->al_extents, sizeof(struct lc_element), 0); in drbd_check_al_size()
|
D | drbd_main.c | 2112 "drbd_al", sizeof(struct lc_element), 0, 0, NULL); in drbd_create_mempools()
|
D | drbd_receiver.c | 2721 struct lc_element *tmp; in drbd_rs_should_slow_down()
|