Searched refs:alloc_workspace (Results 1 – 5 of 5) sorted by relevance
30 static int __init alloc_workspace(void) in alloc_workspace() function95 ret = alloc_workspace(); in jffs2_lzo_init()
762 atomic_t *alloc_workspace = &comp_alloc_workspace[idx]; in find_workspace() local775 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() local819 atomic_dec(alloc_workspace); in free_workspace()
52 struct list_head *(*alloc_workspace)(void); member
422 .alloc_workspace = lzo_alloc_workspace,
394 .alloc_workspace = zlib_alloc_workspace,