| /onnv/onnv-gate/usr/src/stand/lib/sa/ |
| malloc.c | 32 * For documentation on these functions, see malloc(3C). 36 malloc(size_t size) function 55 addr = malloc(number * size); 68 addr = malloc(size);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| fakewin.h | 43 #define malloc _fmalloc macro
|
| /onnv/onnv-gate/usr/src/lib/libpkg/common/ |
| nhash.c | 41 #define malloc bkmem_alloc macro 79 if ((*cp = (Cache *) malloc(sizeof (**cp))) == NULL) { 80 (void) fprintf(stderr, pkg_gt("malloc(Cache **cp)")); 84 (Bucket *) malloc(sizeof (*(*cp)->bp) * hsz)) == NULL) { 85 (void) fprintf(stderr, pkg_gt("malloc(Bucket cp->bp)")); 125 (Item **) malloc(sizeof (*bp->itempp) * cp->bsz); 134 (Item **) malloc(sizeof (*bp->itempp) *
|
| nhash.h | 63 #define malloc bkmem_alloc macro
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/autofs/ |
| debug_alloc.h | 74 #define malloc(a) my_malloc(a, __FILE__, __LINE__) macro
|
| /onnv/onnv-gate/usr/src/cmd/lvm/rpc.metamedd/ |
| med_hash.h | 66 #define malloc bkmem_alloc macro
|
| /onnv/onnv-gate/usr/src/lib/libumem/common/ |
| malloc.c | 45 * argument to umem_alloc(), not the argument to malloc(). 54 malloc(size_t size_arg) function 126 retval = malloc(size); 158 * if malloc provides the required alignment, use it. 162 return (malloc(size_arg)); 390 return (malloc(newsize)); 408 buf = malloc(newsize);
|
| /onnv/onnv-gate/usr/src/cmd/sgs/rtld/common/ |
| malloc.c | 33 * 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 212 if ((mp = malloc(num)) == NULL) 226 return (malloc(size)); 251 if ((newptr = malloc(size)) == NULL)
|
| /onnv/onnv-gate/usr/src/cmd/spell/ |
| malloc.c | 81 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);
|
| /onnv/onnv-gate/usr/src/lib/libbsdmalloc/common/ |
| malloc.bsd43.c | 8 * wizard:/space/4.3reno/usr/src/lib/libc/stdlib/malloc.c 28 * malloc.c (Caltech) 2/21/82 97 malloc(size_t nbytes) function 105 * First time malloc is called, setup page size and 252 * old malloc man page, it realloc's an already freed block. Usually 273 return (malloc(nbytes)); 287 * If all lookups fail, then just malloc() the 292 if ((res = malloc(nbytes)) != NULL) 317 if ((res = malloc(nbytes)) == NULL)
|
| /onnv/onnv-gate/usr/src/lib/libmapmalloc/common/ |
| textmem.c | 36 * Simplified version of malloc(), free() and realloc(), to be linked with 96 malloc(size_t size) function
|
| /onnv/onnv-gate/usr/src/common/tsol/ |
| ltos.c | 57 #define malloc(l) kmem_alloc(l, KM_NOSLEEP) macro 96 if ((hex = malloc(hex_len)) == NULL) {
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/ |
| sdbm.h | 177 # define malloc Perl_malloc macro
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| malloc.c | 33 * Memory management: malloc(), realloc(), free(). 71 * This never worked when alternate malloc() libraries were used 75 * real locking: libc_malloc_lock. This puts libc's malloc() package 76 * on the same footing as all other malloc packages. 94 #define FREESIZE (1<<5) /* size for preserving free blocks until next malloc */ 97 static void *flist[FREESIZE]; /* list of blocks to be freed on next malloc */ 127 /* want to return a unique pointer on malloc(0) */ 163 malloc(size_t size) function 224 /* perform free's of space since last malloc */ 330 /* perform free's of space since last malloc */ [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| malloc.c | 30 * file: malloc.c 393 * malloc(nbytes) 405 * Malloc returns a pointer to the allocated block. A null 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)); 899 * expand. Malloc a new block, copy the old block to the new, 902 ptr = malloc(nbytes) [all...] |
| /onnv/onnv-gate/usr/src/lib/libmalloc/common/ |
| malloc.c | 41 #include "malloc.h" 57 * use level memory allocater (malloc, free, realloc) 59 * -malloc, free, realloc and mallopt form a memory allocator 60 * similar to malloc, free, and realloc. The routines 91 * with a preceding block during the search phase of malloc. 96 * freed and reallocated on the next call to malloc. The 102 * malloc. This block contains a header and ?????? small blocks. 178 * malloc(nbytes) - give a user nbytes to use 182 malloc(size_t nbytes) function 212 return (malloc(size)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/sgs/include/ |
| sgs.h | 182 #define malloc libld_malloc macro
|
| /onnv/onnv-gate/usr/src/lib/libast/amd64/include/ast/ |
| vmalloc.h | 25 /* Public header file for the virtual malloc package. 130 extern Vmalloc_t* Vmregion; /* malloc region */ 181 extern Void_t* malloc _ARG_(( size_t )); 229 #undef malloc macro 238 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro 250 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) ) 263 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
|
| /onnv/onnv-gate/usr/src/lib/libast/common/include/ |
| vmalloc.h | 25 /* Public header file for the virtual malloc package. 130 extern Vmalloc_t* Vmregion; /* malloc region */ 181 extern Void_t* malloc _ARG_(( size_t )); 229 #undef malloc macro 238 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro 250 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) ) 263 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
|
| /onnv/onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| malloc.c | 32 #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. 93 /* malloc compatibility functions. 126 #undef malloc macro 336 /* if getenv() calls malloc(), the eventual region may not see this */ 391 /* slip in the new region now so that malloc() will work fine * 434 extern Void_t* malloc(reg size_t size) function 753 #undef malloc macro 754 #define malloc macro 854 #undef malloc macro 905 #define malloc macro [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/i386/include/ast/ |
| vmalloc.h | 25 /* Public header file for the virtual malloc package. 130 extern Vmalloc_t* Vmregion; /* malloc region */ 181 extern Void_t* malloc _ARG_(( size_t )); 229 #undef malloc macro 238 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro 250 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) ) 263 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
|
| /onnv/onnv-gate/usr/src/lib/libast/sparc/include/ast/ |
| vmalloc.h | 25 /* Public header file for the virtual malloc package. 130 extern Vmalloc_t* Vmregion; /* malloc region */ 181 extern Void_t* malloc _ARG_(( size_t )); 229 #undef malloc macro 238 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro 250 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) ) 263 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
|
| /onnv/onnv-gate/usr/src/lib/libast/sparcv9/include/ast/ |
| vmalloc.h | 25 /* Public header file for the virtual malloc package. 130 extern Vmalloc_t* Vmregion; /* malloc region */ 181 extern Void_t* malloc _ARG_(( size_t )); 229 #undef malloc macro 238 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) ) macro 250 #define malloc(s) ( _VMFL_(Vmregion), (malloc)((size_t)(s)) ) 263 #define malloc(s) ( _VMFL_(Vmregion), _VMNM_(mallo,/,*,*,/,c)\
|
| /onnv/onnv-gate/usr/src/lib/watchmalloc/common/ |
| malloc.c | 33 * Memory management: malloc(), realloc(), free(), memalign(). 119 /* want to return a unique pointer on malloc(0) */ 164 malloc(size_t size) function 401 call_malloc: /* call malloc to get a new block */ 414 * Attempt special case recovery allocations since malloc() failed: 419 * malloc() may have failed to allocate the chunk of 422 * malloc() may have failed as with 2. Change to 465 /* malloc() sets errno */ 476 * than malloc/realloc and the tree searches performed by these 1099 * Malloc enough to ensure that a block can be aligned correctly [all...] |
| /onnv/onnv-gate/usr/src/lib/libmtmalloc/common/ |
| mtmalloc.c | 52 * The MT hot malloc implementation contained herein is designed to be 53 * plug-compatible with the libc version of malloc. It is not intended 104 * get to the aligned address from malloc'ed address is the minimum size 107 * from memaligned address, we can get to the malloc'ed address. Otherwise, 110 * malloc'ed address. 234 malloc(size_t bytes) function 258 return (malloc(bytes)); 270 * p = malloc(64); 283 new = malloc(bytes); 336 ptr = malloc(size) [all...] |