Home
last modified time | relevance | path

Searched refs:alloc_workspace (Results 1 – 5 of 5) sorted by relevance

/fs/jffs2/
Dcompr_lzo.c30 static int __init alloc_workspace(void) in alloc_workspace() function
95 ret = alloc_workspace(); in jffs2_lzo_init()
/fs/btrfs/
Dcompression.c762 atomic_t *alloc_workspace = &comp_alloc_workspace[idx]; in find_workspace() local
775 if (atomic_read(alloc_workspace) > cpus) { in find_workspace()
780 if (atomic_read(alloc_workspace) > cpus && !*num_workspace) in find_workspace()
785 atomic_inc(alloc_workspace); in find_workspace()
788 workspace = btrfs_compress_op[idx]->alloc_workspace(); in find_workspace()
790 atomic_dec(alloc_workspace); in find_workspace()
805 atomic_t *alloc_workspace = &comp_alloc_workspace[idx]; in free_workspace() local
819 atomic_dec(alloc_workspace); in free_workspace()
Dcompression.h52 struct list_head *(*alloc_workspace)(void); member
Dlzo.c422 .alloc_workspace = lzo_alloc_workspace,
Dzlib.c394 .alloc_workspace = zlib_alloc_workspace,