Lines Matching refs:allocpool
356 struct dmem_cgroup_pool_state **allocpool) in alloc_pool_single() argument
361 if (!*allocpool) { in alloc_pool_single()
366 pool = *allocpool; in alloc_pool_single()
367 *allocpool = NULL; in alloc_pool_single()
398 struct dmem_cgroup_pool_state **allocpool) in get_cg_pool_locked() argument
410 pool = alloc_pool_single(p, region, allocpool); in get_cg_pool_locked()
574 struct dmem_cgroup_pool_state *pool, *allocpool = NULL; in get_cg_pool_unlocked() local
588 pool = get_cg_pool_locked(cg, region, &allocpool); in get_cg_pool_unlocked()
597 if (WARN_ON(allocpool)) in get_cg_pool_unlocked()
600 allocpool = kzalloc(sizeof(*allocpool), GFP_KERNEL); in get_cg_pool_unlocked()
601 if (allocpool) { in get_cg_pool_unlocked()
608 kfree(allocpool); in get_cg_pool_unlocked()