void * __attribute__ ((malloc)) valloc(uintptr_t size) { spin_lock(mem_lock); void * ret = klvalloc(size); spin_unlock(mem_lock); return ret; }
void * __attribute__ ((malloc)) valloc(size_t size) { spin_lock(&lock); void * ret = klvalloc(size); spin_unlock(&lock); return ret; }
void * __malloc valloc(uintptr_t size) { spin_lock(mem_lock); void * ret = klvalloc(size); spin_unlock(mem_lock); return ret; }