Lines Matching refs:csize
995 size_t csize = 0; in base_pages_alloc() local
1007 csize = CHUNK_CEILING(minsize); in base_pages_alloc()
1023 incr += csize; in base_pages_alloc()
1050 csize = PAGE_CEILING(minsize); in base_pages_alloc()
1051 base_pages = pages_map(NULL, csize); in base_pages_alloc()
1055 base_past_addr = (void *)((uintptr_t)base_pages + csize); in base_pages_alloc()
1057 base_mapped += csize; in base_pages_alloc()
1066 size_t csize; in base_alloc() local
1069 csize = CACHELINE_CEILING(size); in base_alloc()
1074 if ((uintptr_t)base_next_addr + csize > (uintptr_t)base_past_addr) { in base_alloc()
1075 if (base_pages_alloc(csize)) { in base_alloc()
1083 base_next_addr = (void *)((uintptr_t)base_next_addr + csize); in base_alloc()
2645 size_t csize; in huge_malloc() local
2650 csize = CHUNK_CEILING(size); in huge_malloc()
2651 if (csize == 0) { in huge_malloc()
2661 ret = chunk_alloc(csize); in huge_malloc()
2669 node->size = csize; in huge_malloc()
2675 huge_allocated += csize; in huge_malloc()
2680 memset(ret, 0xa5, csize); in huge_malloc()
2682 memset(ret, 0, csize); in huge_malloc()