Searched refs:malloc_stat (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/lib/libumem/common/ |
H A D | malloc.c | 48 uint32_t malloc_stat; /* = UMEM_MALLOC_ENCODE(state, malloc_size) */ member 97 ret->malloc_stat = UMEM_MALLOC_ENCODE(MALLOC_MAGIC, high_size); in umem_malloc() 101 ret->malloc_stat = UMEM_MALLOC_ENCODE(MALLOC_OVERSIZE_MAGIC, in umem_malloc() 110 ret->malloc_stat = UMEM_MALLOC_ENCODE(MALLOC_SECOND_MAGIC, in umem_malloc() 116 ret->malloc_stat = UMEM_MALLOC_ENCODE(MALLOC_MAGIC, size); in umem_malloc() 212 ret->malloc_stat = UMEM_MALLOC_ENCODE(MEMALIGN_MAGIC, in memalign() 218 ret->malloc_stat = UMEM_MALLOC_ENCODE(MEMALIGN_MAGIC, low_size); in memalign() 265 switch (UMEM_MALLOC_DECODE(buf->malloc_stat, size)) { in process_free() 272 buf->malloc_stat = UMEM_FREE_PATTERN_32; in process_free() 282 buf->malloc_stat = UMEM_FREE_PATTERN_32; in process_free() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 3860 uint32_t malloc_stat; /* == UMEM_MALLOC_ENCODE(state, malloc_size) */ member 3988 switch (UMEM_MALLOC_DECODE(md.malloc_stat, md.malloc_size)) { in um_umem_buffer_cb()
|