Lines Matching refs:freelist
321 ((char*)(p) >= (char*)sh.freelist && (char*)(p) < (char*)&sh.freelist[sh.freelist_size])
334 char **freelist; member
483 sh.freelist = OPENSSL_zalloc(sh.freelist_size * sizeof(char *)); in sh_init()
484 OPENSSL_assert(sh.freelist != NULL); in sh_init()
485 if (sh.freelist == NULL) in sh_init()
546 sh_add_to_list(&sh.freelist[0], sh.arena); in sh_init()
600 OPENSSL_free(sh.freelist); in sh_done()
649 if (sh.freelist[slist] != NULL) in sh_malloc()
656 char *temp = sh.freelist[slist]; in sh_malloc()
662 OPENSSL_assert(temp != sh.freelist[slist]); in sh_malloc()
670 sh_add_to_list(&sh.freelist[slist], temp); in sh_malloc()
671 OPENSSL_assert(sh.freelist[slist] == temp); in sh_malloc()
677 sh_add_to_list(&sh.freelist[slist], temp); in sh_malloc()
678 OPENSSL_assert(sh.freelist[slist] == temp); in sh_malloc()
684 chunk = sh.freelist[list]; in sh_malloc()
711 sh_add_to_list(&sh.freelist[list], ptr); in sh_free()
733 sh_add_to_list(&sh.freelist[list], ptr); in sh_free()
734 OPENSSL_assert(sh.freelist[list] == ptr); in sh_free()