Searched defs:malloc (Results 1 - 25 of 37) sorted by path

12

/illumos-gate/usr/src/boot/lib/libstand/
H A Dstand.h251 extern void *malloc(size_t bytes);
412 #define malloc(x) Malloc(x, __FILE__, __LINE__) macro
417 #define malloc(x) Malloc(x, NULL, 0) macro
H A Dzalloc_malloc.c34 * MALLOC.C - malloc equivalent, runs on top of zalloc and uses sbrk
48 #ifdef malloc
49 #undef malloc macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dfakewin.h43 #define malloc _fmalloc macro
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.h74 #define malloc(a) my_malloc(a, __FILE__, __LINE__) macro
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_hash.h60 #define malloc bkmem_alloc macro
/illumos-gate/usr/src/cmd/sgs/include/
H A Dsgs.h210 #define malloc libld_malloc macro
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c33 * Simplified version of malloc(), calloc() and free(), to be linked with
126 * for later malloc activity.
154 * Replace both malloc() and lmalloc() (libc's private memory allocator).
157 #pragma weak lmalloc = malloc
159 malloc(size_t size) function
224 if ((mp = malloc(total)) == NULL)
238 return (malloc(size));
263 if ((newptr = malloc(size)) == NULL)
/illumos-gate/usr/src/cmd/spell/
H A Dmalloc.c81 malloc(nbytes) function
157 * from malloc into the arena
195 /* realloc(p, nbytes) reallocates a block obtained from malloc()
196 * and freed since last call of malloc()
216 q = (union store *)malloc(nbytes);
/illumos-gate/usr/src/common/tsol/
H A Dltos.c57 #define malloc(l) kmem_alloc(l, KM_NOSLEEP) macro
96 if ((hex = malloc(hex_len)) == NULL) {
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h418 /* cannot override local malloc */
429 #undef malloc macro
430 #define malloc _ast_malloc macro
431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
134 extern Vmalloc_t* Vmregion; /* malloc region */
186 extern Void_t* malloc _ARG_(( size_t ));
234 #undef malloc macro
243 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
255 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
268 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h397 /* cannot override local malloc */
408 #undef malloc macro
409 #define malloc _ast_malloc macro
410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
/illumos-gate/usr/src/lib/libast/common/include/
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
134 extern Vmalloc_t* Vmregion; /* malloc region */
186 extern Void_t* malloc _ARG_(( size_t ));
234 #undef malloc macro
243 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
255 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
268 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dmalloc.c32 #define malloc ______malloc macro
50 #include <malloc.h>
59 #undef malloc macro
60 #define malloc _ast_malloc macro
82 * define _AST_std_malloc=1 to force the standard malloc
84 * will simply call malloc etc.
91 /* malloc compatibility functions
151 #undef malloc macro
236 /* if getenv() calls malloc(), the options may not affect the eventual region */
260 extern Void_t* malloc(re function
579 #undef malloc macro
580 #define malloc macro
680 #undef malloc macro
731 #define malloc macro
[all...]
H A Dvmhdr.h98 #define _std_malloc 1 /* do not define malloc/free/realloc */
357 #undef malloc macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h418 /* cannot override local malloc */
429 #undef malloc macro
430 #define malloc _ast_malloc macro
431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
134 extern Vmalloc_t* Vmregion; /* malloc region */
186 extern Void_t* malloc _ARG_(( size_t ));
234 #undef malloc macro
243 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
255 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
268 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h397 /* cannot override local malloc */
408 #undef malloc macro
409 #define malloc _ast_malloc macro
410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_map.h418 /* cannot override local malloc */
429 #undef malloc macro
430 #define malloc _ast_malloc macro
431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
134 extern Vmalloc_t* Vmregion; /* malloc region */
186 extern Void_t* malloc _ARG_(( size_t ));
234 #undef malloc macro
243 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
255 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
268 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h397 /* cannot override local malloc */
408 #undef malloc macro
409 #define malloc _ast_malloc macro
410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_map.h418 /* cannot override local malloc */
429 #undef malloc macro
430 #define malloc _ast_malloc macro
431 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
H A Dvmalloc.h25 /* Public header file for the virtual malloc package.
134 extern Vmalloc_t* Vmregion; /* malloc region */
186 extern Void_t* malloc _ARG_(( size_t ));
234 #undef malloc macro
243 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro
255 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) )
268 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h397 /* cannot override local malloc */
408 #undef malloc macro
409 #define malloc _ast_malloc macro
410 extern __MANGLE__ __V_* malloc __PROTO__((size_t));
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmalloc.c30 * file: malloc.c
393 * malloc(nbytes)
422 malloc(uint nbytes) function
547 } /*malloc*/
738 * a block freed since the LAST call of malloc(). Thus the old
747 * dummy = malloc(1);
769 return (malloc(nbytes));
902 ptr = malloc(nbytes);
1208 * load /usr/lib/malloc.debug.o with your program.
1228 * done by malloc() an
[all...]

Completed in 160 milliseconds

12