File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1684,6 +1684,13 @@ mach_thread_self
16841684mach_timebase_info
16851685mach_timebase_info_data_t
16861686madvise
1687+ malloc_statistics_t
1688+ malloc_zone_check
1689+ malloc_zone_log
1690+ malloc_zone_print
1691+ malloc_zone_print_ptr_info
1692+ malloc_zone_statistics
1693+ malloc_zone_t
16871694max_align_t
16881695mcontext_t
16891696memset_pattern4
@@ -1695,6 +1702,7 @@ mkdirat
16951702mkstemps
16961703mount
16971704msghdr
1705+ mstats
16981706newlocale
16991707nice
17001708nl_item
Original file line number Diff line number Diff line change @@ -645,6 +645,10 @@ s! {
645645 pub chunks_free: :: size_t,
646646 pub bytes_free: :: size_t,
647647 }
648+
649+ pub struct malloc_zone_t {
650+ __private: [ :: uintptr_t; 18 ] , // FIXME: keeping private for now
651+ }
648652}
649653
650654s_no_extra_traits ! {
@@ -4066,6 +4070,11 @@ extern "C" {
40664070 pub fn memset_pattern16 ( b : * mut :: c_void , pattern16 : * const :: c_void , len : :: size_t ) ;
40674071
40684072 pub fn mstats ( ) -> mstats ;
4073+ pub fn malloc_zone_check ( zone : * mut :: malloc_zone_t ) -> :: boolean_t ;
4074+ pub fn malloc_zone_print ( zone : * mut :: malloc_zone_t , verbose : :: boolean_t ) ;
4075+ pub fn malloc_zone_statistics ( zone : * mut :: malloc_zone_t , stats : * mut malloc_statistics_t ) ;
4076+ pub fn malloc_zone_log ( zone : * mut :: malloc_zone_t , address : * mut :: c_void ) ;
4077+ pub fn malloc_zone_print_ptr_info ( ptr : * mut :: c_void ) ;
40694078
40704079 pub fn proc_listpids (
40714080 t : u32 ,
You can’t perform that action at this time.
0 commit comments