wc_entry 113 drivers/md/dm-writecache.c struct wc_entry *current_free; wc_entry 146 drivers/md/dm-writecache.c struct wc_entry *entries; wc_entry 191 drivers/md/dm-writecache.c struct wc_entry **wc_list; wc_entry 193 drivers/md/dm-writecache.c struct wc_entry *wc_list_inline[WB_LIST_INLINE]; wc_entry 200 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 349 drivers/md/dm-writecache.c static struct wc_memory_entry *memory_entry(struct dm_writecache *wc, struct wc_entry *e) wc_entry 354 drivers/md/dm-writecache.c static void *memory_data(struct dm_writecache *wc, struct wc_entry *e) wc_entry 359 drivers/md/dm-writecache.c static sector_t cache_sector(struct dm_writecache *wc, struct wc_entry *e) wc_entry 365 drivers/md/dm-writecache.c static uint64_t read_original_sector(struct dm_writecache *wc, struct wc_entry *e) wc_entry 374 drivers/md/dm-writecache.c static uint64_t read_seq_count(struct dm_writecache *wc, struct wc_entry *e) wc_entry 383 drivers/md/dm-writecache.c static void clear_seq_count(struct dm_writecache *wc, struct wc_entry *e) wc_entry 391 drivers/md/dm-writecache.c static void write_original_sector_seq_count(struct dm_writecache *wc, struct wc_entry *e, wc_entry 537 drivers/md/dm-writecache.c static struct wc_entry *writecache_find_entry(struct dm_writecache *wc, wc_entry 540 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 547 drivers/md/dm-writecache.c e = container_of(node, struct wc_entry, rb_node); wc_entry 562 drivers/md/dm-writecache.c e = container_of(node, struct wc_entry, rb_node); wc_entry 569 drivers/md/dm-writecache.c struct wc_entry *e2; wc_entry 576 drivers/md/dm-writecache.c e2 = container_of(node, struct wc_entry, rb_node); wc_entry 583 drivers/md/dm-writecache.c static void writecache_insert_entry(struct dm_writecache *wc, struct wc_entry *ins) wc_entry 585 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 589 drivers/md/dm-writecache.c e = container_of(*node, struct wc_entry, rb_node); wc_entry 601 drivers/md/dm-writecache.c static void writecache_unlink(struct dm_writecache *wc, struct wc_entry *e) wc_entry 607 drivers/md/dm-writecache.c static void writecache_add_to_freelist(struct dm_writecache *wc, struct wc_entry *e) wc_entry 634 drivers/md/dm-writecache.c static struct wc_entry *writecache_pop_from_freelist(struct dm_writecache *wc) wc_entry 636 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 647 drivers/md/dm-writecache.c wc->current_free = next ? container_of(next, struct wc_entry, rb_node) : NULL; wc_entry 651 drivers/md/dm-writecache.c e = container_of(wc->freelist.next, struct wc_entry, lru); wc_entry 661 drivers/md/dm-writecache.c static void writecache_free_entry(struct dm_writecache *wc, struct wc_entry *e) wc_entry 694 drivers/md/dm-writecache.c static void writecache_flush_entry(struct dm_writecache *wc, struct wc_entry *e) wc_entry 701 drivers/md/dm-writecache.c static bool writecache_entry_is_committed(struct dm_writecache *wc, struct wc_entry *e) wc_entry 708 drivers/md/dm-writecache.c struct wc_entry *e, *e2; wc_entry 717 drivers/md/dm-writecache.c e = container_of(wc->lru.next, struct wc_entry, lru); wc_entry 730 drivers/md/dm-writecache.c e2 = container_of(e->lru.next, struct wc_entry, lru); wc_entry 751 drivers/md/dm-writecache.c e2 = container_of(rb_node, struct wc_entry, rb_node); wc_entry 760 drivers/md/dm-writecache.c e = container_of(e->lru.prev, struct wc_entry, lru); wc_entry 792 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 814 drivers/md/dm-writecache.c e = container_of(node, struct wc_entry, rb_node); wc_entry 868 drivers/md/dm-writecache.c wc->entries = vmalloc(array_size(sizeof(struct wc_entry), wc->n_blocks)); wc_entry 872 drivers/md/dm-writecache.c struct wc_entry *e = &wc->entries[b]; wc_entry 941 drivers/md/dm-writecache.c struct wc_entry *e = &wc->entries[b]; wc_entry 962 drivers/md/dm-writecache.c struct wc_entry *e = &wc->entries[b]; wc_entry 971 drivers/md/dm-writecache.c struct wc_entry *old; wc_entry 1151 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 1361 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 1399 drivers/md/dm-writecache.c struct wc_entry *e; wc_entry 1472 drivers/md/dm-writecache.c static bool wc_add_block(struct writeback_struct *wb, struct wc_entry *e, gfp_t gfp) wc_entry 1503 drivers/md/dm-writecache.c struct wc_entry *e, *f; wc_entry 1510 drivers/md/dm-writecache.c e = container_of(wbl->list.prev, struct wc_entry, lru); wc_entry 1522 drivers/md/dm-writecache.c unlikely(!(wb->wc_list = kmalloc_array(max_pages, sizeof(struct wc_entry *), wc_entry 1535 drivers/md/dm-writecache.c f = container_of(wbl->list.prev, struct wc_entry, lru); wc_entry 1560 drivers/md/dm-writecache.c struct wc_entry *e, *f; wc_entry 1568 drivers/md/dm-writecache.c e = container_of(wbl->list.prev, struct wc_entry, lru); wc_entry 1587 drivers/md/dm-writecache.c f = container_of(wbl->list.prev, struct wc_entry, lru); wc_entry 1603 drivers/md/dm-writecache.c struct wc_entry *f, *g, *e = NULL; wc_entry 1643 drivers/md/dm-writecache.c e = container_of(rb_first(&wc->tree), struct wc_entry, rb_node); wc_entry 1647 drivers/md/dm-writecache.c e = container_of(wc->lru.prev, struct wc_entry, lru); wc_entry 1654 drivers/md/dm-writecache.c f = container_of(node, struct wc_entry, rb_node); wc_entry 1677 drivers/md/dm-writecache.c g = container_of(next_node, struct wc_entry, rb_node); wc_entry 1712 drivers/md/dm-writecache.c g = container_of(next_node, struct wc_entry, rb_node); wc_entry 1752 drivers/md/dm-writecache.c struct wc_entry e;