2012-04-17 03:22:14 -04:00
|
|
|
/*
|
|
|
|
|
* $FreeBSD$
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
FBSD_1.0 {
|
|
|
|
|
_malloc_options;
|
|
|
|
|
_malloc_message;
|
|
|
|
|
malloc;
|
|
|
|
|
posix_memalign;
|
|
|
|
|
calloc;
|
|
|
|
|
realloc;
|
|
|
|
|
free;
|
|
|
|
|
malloc_usable_size;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
FBSD_1.3 {
|
|
|
|
|
malloc_conf;
|
|
|
|
|
malloc_message;
|
|
|
|
|
aligned_alloc;
|
|
|
|
|
malloc_stats_print;
|
|
|
|
|
mallctl;
|
|
|
|
|
mallctlnametomib;
|
|
|
|
|
mallctlbymib;
|
2014-01-22 21:47:36 -05:00
|
|
|
mallocx;
|
|
|
|
|
rallocx;
|
|
|
|
|
xallocx;
|
|
|
|
|
sallocx;
|
|
|
|
|
dallocx;
|
|
|
|
|
nallocx;
|
2012-04-17 03:22:14 -04:00
|
|
|
allocm;
|
|
|
|
|
rallocm;
|
|
|
|
|
sallocm;
|
|
|
|
|
dallocm;
|
|
|
|
|
nallocm;
|
Make the malloc(3) family of functions weak and make their non-weak
implementations visible for use by applications. The functions $F that
are now weak symbols are:
allocm, calloc, dallocm, free, malloc, malloc_usable_size,
nallocm, posix_memalign, rallocm, realloc, sallocm
The non-weak implementations of $F are exported as __$F.
Submitted by: stevek@juniper.net
Reviewed by: jasone@, kib@
Approved by: jasone@ (jemalloc)
Obtained from: juniper Networks, Inc
2013-05-25 14:59:11 -04:00
|
|
|
__malloc;
|
|
|
|
|
__calloc;
|
|
|
|
|
__realloc;
|
|
|
|
|
__free;
|
|
|
|
|
__posix_memalign;
|
|
|
|
|
__malloc_usable_size;
|
2014-01-22 21:47:36 -05:00
|
|
|
__mallocx;
|
|
|
|
|
__rallocx;
|
|
|
|
|
__xallocx;
|
|
|
|
|
__sallocx;
|
|
|
|
|
__dallocx;
|
|
|
|
|
__nallocx;
|
Make the malloc(3) family of functions weak and make their non-weak
implementations visible for use by applications. The functions $F that
are now weak symbols are:
allocm, calloc, dallocm, free, malloc, malloc_usable_size,
nallocm, posix_memalign, rallocm, realloc, sallocm
The non-weak implementations of $F are exported as __$F.
Submitted by: stevek@juniper.net
Reviewed by: jasone@, kib@
Approved by: jasone@ (jemalloc)
Obtained from: juniper Networks, Inc
2013-05-25 14:59:11 -04:00
|
|
|
__allocm;
|
|
|
|
|
__rallocm;
|
|
|
|
|
__sallocm;
|
|
|
|
|
__dallocm;
|
|
|
|
|
__nallocm;
|
2012-04-17 03:22:14 -04:00
|
|
|
};
|
|
|
|
|
|
2015-08-18 04:18:28 -04:00
|
|
|
FBSD_1.4 {
|
|
|
|
|
sdallocx;
|
|
|
|
|
__sdallocx;
|
2016-02-29 14:10:32 -05:00
|
|
|
__aligned_alloc;
|
|
|
|
|
__malloc_stats_print;
|
|
|
|
|
__mallctl;
|
|
|
|
|
__mallctlnametomib;
|
|
|
|
|
__mallctlbymib;
|
2015-08-18 04:18:28 -04:00
|
|
|
};
|
|
|
|
|
|
2012-04-17 03:22:14 -04:00
|
|
|
FBSDprivate_1.0 {
|
|
|
|
|
_malloc_thread_cleanup;
|
|
|
|
|
_malloc_prefork;
|
|
|
|
|
_malloc_postfork;
|
2015-01-03 13:38:46 -05:00
|
|
|
_malloc_first_thread;
|
2012-04-17 03:22:14 -04:00
|
|
|
};
|