Home
last modified time | relevance | path

Searched refs:compress_workspace (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/pstore/
Dplatform.c99 static void *compress_workspace; variable
181 .workspace = compress_workspace, in pstore_compress()
235 compress_workspace = in allocate_buf_for_compression()
237 if (!compress_workspace) { in allocate_buf_for_compression()
252 if (IS_ENABLED(CONFIG_PSTORE_COMPRESS) && compress_workspace) { in free_buf_for_compression()
253 vfree(compress_workspace); in free_buf_for_compression()
254 compress_workspace = NULL; in free_buf_for_compression()
/linux-6.12.1/fs/bcachefs/
Dcompress.c398 BUG_ON(!mempool_initialized(&c->compress_workspace[compression_type])); in __bio_compress()
407 workspace = mempool_alloc(&c->compress_workspace[compression_type], GFP_NOFS); in __bio_compress()
450 mempool_free(workspace, &c->compress_workspace[compression_type]); in __bio_compress()
563 for (i = 0; i < ARRAY_SIZE(c->compress_workspace); i++) in bch2_fs_compress_exit()
564 mempool_exit(&c->compress_workspace[i]); in bch2_fs_compress_exit()
580 size_t compress_workspace; in __bch2_fs_compress_init() member
622 if (mempool_initialized(&c->compress_workspace[i->type])) in __bch2_fs_compress_init()
626 &c->compress_workspace[i->type], in __bch2_fs_compress_init()
627 1, i->compress_workspace)) in __bch2_fs_compress_init()
Dbcachefs.h970 mempool_t compress_workspace[BCH_COMPRESSION_TYPE_NR]; member