Lines Matching refs:unbuddied
156 struct list_head *unbuddied; member
542 struct list_head *unbuddied = get_cpu_ptr(pool->unbuddied); in add_to_unbuddied() local
546 list_add(&zhdr->buddy, &unbuddied[freechunks]); in add_to_unbuddied()
549 put_cpu_ptr(pool->unbuddied); in add_to_unbuddied()
660 struct list_head *unbuddied; in __z3fold_alloc() local
665 unbuddied = get_cpu_ptr(pool->unbuddied); in __z3fold_alloc()
667 struct list_head *l = &unbuddied[i]; in __z3fold_alloc()
677 l = &unbuddied[i]; in __z3fold_alloc()
683 put_cpu_ptr(pool->unbuddied); in __z3fold_alloc()
696 put_cpu_ptr(pool->unbuddied); in __z3fold_alloc()
711 put_cpu_ptr(pool->unbuddied); in __z3fold_alloc()
720 unbuddied = per_cpu_ptr(pool->unbuddied, cpu); in __z3fold_alloc()
722 l = &unbuddied[chunks]; in __z3fold_alloc()
781 pool->unbuddied = __alloc_percpu(sizeof(struct list_head)*NCHUNKS, 2); in z3fold_create_pool()
782 if (!pool->unbuddied) in z3fold_create_pool()
785 struct list_head *unbuddied = in z3fold_create_pool() local
786 per_cpu_ptr(pool->unbuddied, cpu); in z3fold_create_pool()
788 INIT_LIST_HEAD(&unbuddied[i]); in z3fold_create_pool()
811 free_percpu(pool->unbuddied); in z3fold_create_pool()