Searched refs:max_capacity (Results 1 – 2 of 2) sorted by relevance
/system/core/libcutils/ |
D | mspace.c | 138 size_t max_capacity, int locked, void *base) { in create_contiguous_mspace_with_base() argument 145 assert(starting_capacity <= max_capacity); in create_contiguous_mspace_with_base() 147 assert(((uintptr_t)max_capacity & (pagesize-1)) == 0); in create_contiguous_mspace_with_base() 174 cs->top = (char *)base + max_capacity; in create_contiguous_mspace_with_base() 202 size_t max_capacity, int locked, char const *name) { in create_contiguous_mspace_with_name() argument 209 if (starting_capacity > max_capacity) in create_contiguous_mspace_with_name() 222 max_capacity = (size_t)ALIGN_UP(max_capacity, pagesize); in create_contiguous_mspace_with_name() 226 fd = ashmem_create_region(buf, max_capacity); in create_contiguous_mspace_with_name() 230 base = mmap(NULL, max_capacity, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in create_contiguous_mspace_with_name() 239 m = create_contiguous_mspace_with_base(starting_capacity, max_capacity, in create_contiguous_mspace_with_name() [all …]
|
/system/core/include/cutils/ |
D | mspace.h | 73 mspace create_contiguous_mspace(size_t starting_capacity, size_t max_capacity, 81 size_t max_capacity, int locked, const char *name); 87 size_t max_capacity, int locked, void *base);
|