Searched refs:wb_ctl (Results 1 – 1 of 1) sorted by relevance
827 static void release_wb_ctl(struct zram_wb_ctl *wb_ctl) in release_wb_ctl() argument829 if (!wb_ctl) in release_wb_ctl()833 WARN_ON(atomic_read(&wb_ctl->num_inflight)); in release_wb_ctl()834 WARN_ON(!list_empty(&wb_ctl->done_reqs)); in release_wb_ctl()836 while (!list_empty(&wb_ctl->idle_reqs)) { in release_wb_ctl()839 req = list_first_entry(&wb_ctl->idle_reqs, in release_wb_ctl()845 kfree_rcu(wb_ctl, rcu); in release_wb_ctl()850 struct zram_wb_ctl *wb_ctl; in init_wb_ctl() local853 wb_ctl = kmalloc_obj(*wb_ctl); in init_wb_ctl()854 if (!wb_ctl) in init_wb_ctl()[all …]