Searched refs:alloc_mem (Results 1 – 4 of 4) sorted by relevance
238 static void *alloc_mem(size_t size) in alloc_mem() function293 mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()296 hole_mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()299 mem[i] = (record_t *) alloc_mem(chunk_size); in allocate()302 hole_mem[i] = alloc_mem(page_size); in allocate()388 copy = alloc_mem(copy_size); in search_mem()
410 int alloc_mem(int nbytes);930 alloc_mem(-1); in doio()939 alloc_mem(-1); in doio()947 alloc_mem(-1); in doio()955 alloc_mem(-1); in doio()969 alloc_mem(-1); in doio()1048 alloc_mem(-1); in doio()1055 alloc_mem(-1); in doio()1077 alloc_mem(-1); in doio()1454 alloc_mem(nbytes + wtob(1) * 2 + in do_read()[all …]
253 void *alloc_mem(void *threadnum) in alloc_mem() function354 if (pthread_create(&thrdid[thrd_ndx], NULL, alloc_mem, in main()
28 static int alloc_mem(long int length, int testcase) in alloc_mem() function67 ret = alloc_mem(LENGTH, (long)args); in child_alloc_thread()77 int ret = alloc_mem(TESTMEM + MB, testcase); in child_alloc()