Lines Matching refs:wsm
678 struct workspace_manager *wsm;
681 wsm = btrfs_compress_op[type]->workspace_manager;
682 INIT_LIST_HEAD(&wsm->idle_ws);
683 spin_lock_init(&wsm->ws_lock);
684 atomic_set(&wsm->total_ws, 0);
685 init_waitqueue_head(&wsm->ws_wait);
696 atomic_set(&wsm->total_ws, 1);
697 wsm->free_ws = 1;
698 list_add(workspace, &wsm->idle_ws);
724 struct workspace_manager *wsm;
734 wsm = btrfs_compress_op[type]->workspace_manager;
735 idle_ws = &wsm->idle_ws;
736 ws_lock = &wsm->ws_lock;
737 total_ws = &wsm->total_ws;
738 ws_wait = &wsm->ws_wait;
739 free_ws = &wsm->free_ws;
823 struct workspace_manager *wsm;
830 wsm = btrfs_compress_op[type]->workspace_manager;
831 idle_ws = &wsm->idle_ws;
832 ws_lock = &wsm->ws_lock;
833 total_ws = &wsm->total_ws;
834 ws_wait = &wsm->ws_wait;
835 free_ws = &wsm->free_ws;