wksp               31 fs/squashfs/zstd_wrapper.c 	struct workspace *wksp = kmalloc(sizeof(*wksp), GFP_KERNEL);
wksp               33 fs/squashfs/zstd_wrapper.c 	if (wksp == NULL)
wksp               35 fs/squashfs/zstd_wrapper.c 	wksp->window_size = max_t(size_t,
wksp               37 fs/squashfs/zstd_wrapper.c 	wksp->mem_size = ZSTD_DStreamWorkspaceBound(wksp->window_size);
wksp               38 fs/squashfs/zstd_wrapper.c 	wksp->mem = vmalloc(wksp->mem_size);
wksp               39 fs/squashfs/zstd_wrapper.c 	if (wksp->mem == NULL)
wksp               42 fs/squashfs/zstd_wrapper.c 	return wksp;
wksp               46 fs/squashfs/zstd_wrapper.c 	kfree(wksp);
wksp               53 fs/squashfs/zstd_wrapper.c 	struct workspace *wksp = strm;
wksp               55 fs/squashfs/zstd_wrapper.c 	if (wksp)
wksp               56 fs/squashfs/zstd_wrapper.c 		vfree(wksp->mem);
wksp               57 fs/squashfs/zstd_wrapper.c 	kfree(wksp);
wksp               65 fs/squashfs/zstd_wrapper.c 	struct workspace *wksp = strm;
wksp               73 fs/squashfs/zstd_wrapper.c 	stream = ZSTD_initDStream(wksp->window_size, wksp->mem, wksp->mem_size);