Lines Matching refs:idle_ws
919 INIT_LIST_HEAD(&wsm->idle_ws); in btrfs_init_workspace_manager()
935 list_add(workspace, &wsm->idle_ws); in btrfs_init_workspace_manager()
945 while (!list_empty(&wsman->idle_ws)) { in btrfs_cleanup_workspace_manager()
946 ws = wsman->idle_ws.next; in btrfs_cleanup_workspace_manager()
965 struct list_head *idle_ws; in btrfs_get_workspace() local
972 idle_ws = &wsm->idle_ws; in btrfs_get_workspace()
980 if (!list_empty(idle_ws)) { in btrfs_get_workspace()
981 workspace = idle_ws->next; in btrfs_get_workspace()
1061 struct list_head *idle_ws; in btrfs_put_workspace() local
1068 idle_ws = &wsm->idle_ws; in btrfs_put_workspace()
1076 list_add(ws, idle_ws); in btrfs_put_workspace()