Lines Matching refs:workspace

886 	struct heuristic_ws *workspace;  in free_heuristic_ws()  local
888 workspace = list_entry(ws, struct heuristic_ws, list); in free_heuristic_ws()
890 kvfree(workspace->sample); in free_heuristic_ws()
891 kfree(workspace->bucket); in free_heuristic_ws()
892 kfree(workspace->bucket_b); in free_heuristic_ws()
893 kfree(workspace); in free_heuristic_ws()
970 struct list_head *workspace; in btrfs_init_workspace_manager() local
982 workspace = alloc_workspace(type, 0); in btrfs_init_workspace_manager()
983 if (IS_ERR(workspace)) { in btrfs_init_workspace_manager()
989 list_add(workspace, &wsm->idle_ws); in btrfs_init_workspace_manager()
1016 struct list_head *workspace; in btrfs_get_workspace() local
1035 workspace = idle_ws->next; in btrfs_get_workspace()
1036 list_del(workspace); in btrfs_get_workspace()
1039 return workspace; in btrfs_get_workspace()
1061 workspace = alloc_workspace(type, level); in btrfs_get_workspace()
1064 if (IS_ERR(workspace)) { in btrfs_get_workspace()
1089 return workspace; in btrfs_get_workspace()
1203 struct list_head *workspace; in btrfs_compress_pages() local
1207 workspace = get_workspace(type, level); in btrfs_compress_pages()
1208 ret = compression_compress_pages(type, workspace, mapping, start, pages, in btrfs_compress_pages()
1210 put_workspace(type, workspace); in btrfs_compress_pages()
1216 struct list_head *workspace; in btrfs_decompress_bio() local
1220 workspace = get_workspace(type, 0); in btrfs_decompress_bio()
1221 ret = compression_decompress_bio(workspace, cb); in btrfs_decompress_bio()
1222 put_workspace(type, workspace); in btrfs_decompress_bio()
1235 struct list_head *workspace; in btrfs_decompress() local
1238 workspace = get_workspace(type, 0); in btrfs_decompress()
1239 ret = compression_decompress(type, workspace, data_in, dest_page, in btrfs_decompress()
1241 put_workspace(type, workspace); in btrfs_decompress()