wbl 1488 drivers/md/dm-writecache.c static void __writeback_throttle(struct dm_writecache *wc, struct writeback_list *wbl) wbl 1491 drivers/md/dm-writecache.c if (READ_ONCE(wc->writeback_size) - wbl->size >= wc->max_writeback_jobs) { wbl 1493 drivers/md/dm-writecache.c while (wc->writeback_size - wbl->size >= wc->max_writeback_jobs) wbl 1501 drivers/md/dm-writecache.c static void __writecache_writeback_pmem(struct dm_writecache *wc, struct writeback_list *wbl) wbl 1508 drivers/md/dm-writecache.c while (wbl->size) { wbl 1509 drivers/md/dm-writecache.c wbl->size--; wbl 1510 drivers/md/dm-writecache.c e = container_of(wbl->list.prev, struct wc_entry, lru); wbl 1534 drivers/md/dm-writecache.c while (wbl->size && wb->wc_list_n < max_pages) { wbl 1535 drivers/md/dm-writecache.c f = container_of(wbl->list.prev, struct wc_entry, lru); wbl 1541 drivers/md/dm-writecache.c wbl->size--; wbl 1554 drivers/md/dm-writecache.c __writeback_throttle(wc, wbl); wbl 1558 drivers/md/dm-writecache.c static void __writecache_writeback_ssd(struct dm_writecache *wc, struct writeback_list *wbl) wbl 1564 drivers/md/dm-writecache.c while (wbl->size) { wbl 1567 drivers/md/dm-writecache.c wbl->size--; wbl 1568 drivers/md/dm-writecache.c e = container_of(wbl->list.prev, struct wc_entry, lru); wbl 1586 drivers/md/dm-writecache.c wbl->size--; wbl 1587 drivers/md/dm-writecache.c f = container_of(wbl->list.prev, struct wc_entry, lru); wbl 1595 drivers/md/dm-writecache.c __writeback_throttle(wc, wbl); wbl 1606 drivers/md/dm-writecache.c struct writeback_list wbl; wbl 1627 drivers/md/dm-writecache.c INIT_LIST_HEAD(&wbl.list); wbl 1628 drivers/md/dm-writecache.c wbl.size = 0; wbl 1666 drivers/md/dm-writecache.c list_add(&e->lru, &wbl.list); wbl 1667 drivers/md/dm-writecache.c wbl.size++; wbl 1702 drivers/md/dm-writecache.c list_add(&g->lru, &wbl.list); wbl 1703 drivers/md/dm-writecache.c wbl.size++; wbl 1726 drivers/md/dm-writecache.c if (unlikely(!wbl.size)) wbl 1735 drivers/md/dm-writecache.c __writecache_writeback_pmem(wc, &wbl); wbl 1737 drivers/md/dm-writecache.c __writecache_writeback_ssd(wc, &wbl);