Lines Matching refs:freelist
293 ((char*)(p) >= (char*)sh.freelist && (char*)(p) < (char*)&sh.freelist[sh.freelist_size])
308 char **freelist; member
457 sh.freelist = OPENSSL_zalloc(sh.freelist_size * sizeof(char *)); in sh_init()
458 OPENSSL_assert(sh.freelist != NULL); in sh_init()
459 if (sh.freelist == NULL) in sh_init()
520 sh_add_to_list(&sh.freelist[0], sh.arena); in sh_init()
574 OPENSSL_free(sh.freelist); in sh_done()
623 if (sh.freelist[slist] != NULL) in sh_malloc()
630 char *temp = sh.freelist[slist]; in sh_malloc()
636 OPENSSL_assert(temp != sh.freelist[slist]); in sh_malloc()
644 sh_add_to_list(&sh.freelist[slist], temp); in sh_malloc()
645 OPENSSL_assert(sh.freelist[slist] == temp); in sh_malloc()
651 sh_add_to_list(&sh.freelist[slist], temp); in sh_malloc()
652 OPENSSL_assert(sh.freelist[slist] == temp); in sh_malloc()
658 chunk = sh.freelist[list]; in sh_malloc()
685 sh_add_to_list(&sh.freelist[list], ptr); in sh_free()
707 sh_add_to_list(&sh.freelist[list], ptr); in sh_free()
708 OPENSSL_assert(sh.freelist[list] == ptr); in sh_free()