Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 12 of 12) sorted by relevance

/lib/libc/posix/
Dpthread.c56 struct pthread *thr = (struct pthread *)malloc(sizeof(*thr)); in __pthread_init()
114 thr = malloc(sizeof(*thr)); in pthread_create()
217 struct pthread_mutex *mtx = (struct pthread_mutex *)malloc(sizeof(*mtx)); in pthread_mutex_init()
328 struct pthread_cond *cnd = (struct pthread_cond *)malloc(sizeof(*cnd)); in pthread_cond_init()
/include/
Dstdlib.h16 void *malloc(size_t sz);
/sbin/newfs_o2fs/
Dnewfs_o2fs.c55 tokenBuf = malloc(manifeststat.st_size + 1); in LoadManifest()
129 ObjID *id = malloc(sizeof(ObjID)); in AddFile()
174 BDirEntry *entries = malloc(128 * sizeof(BDirEntry)); in AddDirectory()
176 ObjID *id = malloc(sizeof(ObjID)); in AddDirectory()
/lib/libc/
Dmalloc.c156 return malloc(num*sz); in calloc()
160 malloc(size_t sz) in malloc() function
Ddir.c13 DIR *d = (DIR *)malloc(sizeof(DIR)); in opendir()
DSConscript16 "malloc.c",
/lib/liblwip/src/include/lwip/
Dmem.h57 #define mem_malloc malloc
/sys/include/
Dkmem.h62 void *Slab_Alloc(Slab *slab) __attribute__((malloc));
/lib/liblwip/src/arch/
Dsys_arch.c114 thread = (struct sys_thread *)malloc(sizeof(struct sys_thread)); in introduce_thread()
161 mbox = (struct sys_mbox *)malloc(sizeof(struct sys_mbox)); in sys_mbox_new()
354 sem = (struct sys_sem *)malloc(sizeof(struct sys_sem)); in sys_sem_new_internal()
/lib/liblwip/src/netif/ppp/
Dauth.c361 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l + 1);
/lib/liblwip/doc/
Dsys_arch.txt212 Be carefull with using mem_malloc() in sys_arch. When malloc() refers to
/lib/liblwip/
DCHANGELOG1148 bigger malloc pool if one is empty (only usable with MEM_USE_POOLS).
1176 of the pool allocator (can save code size with MEM_LIBC_MALLOC if libc-malloc
1969 * mem.h: If MEM_LIBC_MALLOC==1, allow the defines (e.g. mem_malloc() -> malloc())
1970 to be overriden in case the C-library malloc implementation is not protected