Lines Matching refs:idle_ws
79 struct list_head idle_ws[ZSTD_BTRFS_MAX_LEVEL]; member
132 if (list_empty(&wsm.idle_ws[level - 1])) in zstd_reclaim_timer_fn()
184 INIT_LIST_HEAD(&wsm.idle_ws[i]); in zstd_init_workspace_manager()
192 list_add(ws, &wsm.idle_ws[ZSTD_BTRFS_MAX_LEVEL - 1]); in zstd_init_workspace_manager()
203 while (!list_empty(&wsm.idle_ws[i])) { in zstd_cleanup_workspace_manager()
204 workspace = container_of(wsm.idle_ws[i].next, in zstd_cleanup_workspace_manager()
235 if (!list_empty(&wsm.idle_ws[i])) { in zstd_find_workspace()
236 ws = wsm.idle_ws[i].next; in zstd_find_workspace()
243 if (list_empty(&wsm.idle_ws[i])) in zstd_find_workspace()
313 if (list_empty(&wsm.idle_ws[ZSTD_BTRFS_MAX_LEVEL - 1])) { in zstd_put_workspace()
325 list_add(&workspace->list, &wsm.idle_ws[workspace->level - 1]); in zstd_put_workspace()