Lines Matching refs:tlsf

515 int tlsf_check(tlsf_t tlsf)  in tlsf_check()  argument
519 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_check()
651 pool_t tlsf_add_pool(tlsf_t tlsf, void* mem, size_t bytes) in tlsf_add_pool() argument
689 block_insert(tlsf_cast(control_t*, tlsf), block); in tlsf_add_pool()
700 void tlsf_remove_pool(tlsf_t tlsf, pool_t pool) in tlsf_remove_pool() argument
702 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_remove_pool()
741 pool_t tlsf_get_pool(tlsf_t tlsf) in tlsf_get_pool() argument
743 return tlsf_cast(pool_t, (char*)tlsf + tlsf_size()); in tlsf_get_pool()
748 tlsf_t tlsf = tlsf_create(mem); in tlsf_create_with_pool() local
749 tlsf_add_pool(tlsf, (char*)mem + tlsf_size(), bytes - tlsf_size()); in tlsf_create_with_pool()
750 return tlsf; in tlsf_create_with_pool()
753 void* tlsf_malloc(tlsf_t tlsf, size_t size) in tlsf_malloc() argument
755 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_malloc()
784 void* tlsf_memalign_offs(tlsf_t tlsf, size_t align, size_t size, size_t data_offset) in tlsf_memalign_offs() argument
786 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_memalign_offs()
859 void* tlsf_memalign(tlsf_t tlsf, size_t align, size_t size) in tlsf_memalign() argument
861 return tlsf_memalign_offs(tlsf, align, size, 0); in tlsf_memalign()
865 void tlsf_free(tlsf_t tlsf, void* ptr) in tlsf_free() argument
870 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_free()
893 void* tlsf_realloc(tlsf_t tlsf, void* ptr, size_t size) in tlsf_realloc() argument
895 control_t* control = tlsf_cast(control_t*, tlsf); in tlsf_realloc()
901 tlsf_free(tlsf, ptr); in tlsf_realloc()
906 p = tlsf_malloc(tlsf, size); in tlsf_realloc()
925 p = tlsf_malloc(tlsf, size); in tlsf_realloc()
930 tlsf_free(tlsf, ptr); in tlsf_realloc()