Searched refs:s2u (Results 1 – 14 of 14) sorted by relevance
/external/jemalloc/test/unit/ |
D | size_classes.c | 59 s2u(index2size(index-1)+1) : s2u(1), in TEST_BEGIN() 61 assert_zu_eq(size_class, s2u(size_class-1), in TEST_BEGIN() 63 assert_zu_eq(size_class, s2u(size_class), in TEST_BEGIN() 65 assert_zu_eq(s2u(size_class+1), index2size(index+1), in TEST_BEGIN() 74 assert_zu_eq(size_class, s2u(index2size(index-1)+1), in TEST_BEGIN() 76 assert_zu_eq(size_class, s2u(size_class-1), in TEST_BEGIN() 78 assert_zu_eq(size_class, s2u(size_class), in TEST_BEGIN()
|
/external/jemalloc/src/ |
D | huge.c | 39 usize = s2u(size); in huge_malloc() 143 while (usize < s2u(size+extra) && (usize_next = s2u(usize+1)) < oldsize) in huge_ralloc_no_move_similar() 238 usize = s2u(size); in huge_ralloc_no_move_expand() 293 assert(s2u(oldsize) == oldsize); in huge_ralloc_no_move() 294 usize = s2u(size); in huge_ralloc_no_move()
|
D | jemalloc.c | 1404 *usize = s2u(size); 1409 *usize = s2u(size); 1645 usize = s2u(num_size); 1649 usize = s2u(num_size); 1779 usize = s2u(size); 1784 usize = s2u(size); 1896 *usize = s2u(size); 1925 *usize = s2u(size); 1967 assert(((alignment == 0) ? s2u(LARGE_MINCLASS) : 2022 *usize = s2u(size); [all …]
|
D | base.c | 92 usize = s2u(csize); in base_alloc()
|
D | zone.c | 150 return (s2u(size)); in zone_good_size()
|
D | arena.c | 1003 arena_run_t *run = arena_run_first_best_fit(arena, s2u(size)); in arena_run_alloc_large_helper() 2024 usize = s2u(size); in arena_malloc_large() 2448 size_t usize_min = s2u(size); in arena_ralloc_large_grow() 2468 usize = s2u(size + extra); in arena_ralloc_large_grow() 2551 usize = s2u(size + extra); in arena_ralloc_large() 2975 assert(actual_run_size == s2u(actual_run_size)); in bin_info_run_size_calc()
|
D | chunk.c | 94 alloc_size = CHUNK_CEILING(s2u(size + alignment - chunksize)); in chunk_recycle()
|
/external/jemalloc/include/jemalloc/internal/ |
D | jemalloc_internal.h | 511 size_t s2u(size_t size); 657 s2u(size_t size) in s2u() function 694 usize = s2u(ALIGNMENT_CEILING(size, alignment)); in sa2u() 708 usize = (size <= LARGE_MINCLASS) ? LARGE_MINCLASS : s2u(size); in sa2u() 734 usize = s2u(size); in sa2u()
|
D | jemalloc_internal.h.in | 511 size_t s2u(size_t size); 657 s2u(size_t size) function 694 usize = s2u(ALIGNMENT_CEILING(size, alignment)); 708 usize = (size <= LARGE_MINCLASS) ? LARGE_MINCLASS : s2u(size); 734 usize = s2u(size);
|
D | private_symbols.txt | 416 s2u
|
D | prof.h | 451 assert(usize == s2u(usize)); in prof_alloc_prep()
|
D | private_namespace.h | 416 #define s2u JEMALLOC_N(s2u) macro
|
D | arena.h | 1231 assert(s2u(size) == s2u(arena_salloc(ptr, false))); in arena_sdalloc()
|
D | private_unnamespace.h | 416 #undef s2u
|