Searched refs:malloc (Results 1 – 12 of 12) sorted by relevance
56 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()
16 void *malloc(size_t sz);
55 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()
156 return malloc(num*sz); in calloc()160 malloc(size_t sz) in malloc() function
13 DIR *d = (DIR *)malloc(sizeof(DIR)); in opendir()
16 "malloc.c",
57 #define mem_malloc malloc
62 void *Slab_Alloc(Slab *slab) __attribute__((malloc));
114 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()
361 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l + 1);
212 Be carefull with using mem_malloc() in sys_arch. When malloc() refers to
1148 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-malloc1969 * 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