Home
last modified time | relevance | path

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

/kvm-unit-tests/lib/
H A Dalloc.c7 void *malloc(size_t size) in malloc() function
17 ptr = malloc(nmemb * size); in calloc()
H A Dalloc.h32 void *malloc(size_t size);
H A Dpci-host-generic.c121 host = malloc(sizeof(*host) + in pci_dt_probe()
/kvm-unit-tests/s390x/
H A Dselftest.c49 tmp = malloc(sizeof(int)); in test_malloc()
57 tmp2 = malloc(sizeof(int)); in test_malloc()
H A Dsieve.c47 v = malloc(VSIZE); in main()
/kvm-unit-tests/x86/
H A Dsieve.c47 v = malloc(VSIZE); in main()
H A Dasyncpf.c136 buf = malloc(MEM); in main()
H A Dvmware_backdoors.c57 malloc(sizeof(struct backdoor_port_result)); in vmware_backdoor_port()
H A Dpmu.c970 buf = malloc(N*64); in main()
/kvm-unit-tests/powerpc/
H A Dsieve.c47 v = malloc(VSIZE); in main()
/kvm-unit-tests/riscv/
H A Dsieve.c47 v = malloc(VSIZE); in main()
H A Dsbi-fwft.c232 unsigned long *ptr = malloc(sizeof(unsigned long)); in adue_check()
/kvm-unit-tests/arm/
H A Dsieve.c47 v = malloc(VSIZE); in main()
H A Dpmu.c559 void *addr = malloc(PAGE_SIZE); in test_mem_access()
767 void *addr = malloc(PAGE_SIZE); in test_mem_access_reliability()
808 void *addr = malloc(PAGE_SIZE); in test_chain_promotion()
959 void *addr = malloc(PAGE_SIZE); in test_overflow_interrupt()
/kvm-unit-tests/common/
H A Dsieve.c47 v = malloc(VSIZE); in main()
/kvm-unit-tests/lib/x86/
H A Disr.c69 u8 *thunk = malloc(50); in handle_irq()
/kvm-unit-tests/lib/riscv/
H A Dsetup.c182 env = malloc(initrd_size); in initrd_setup()
/kvm-unit-tests/lib/powerpc/
H A Dsetup.c332 char *env = malloc(initrd_size); in setup()
/kvm-unit-tests/lib/arm/
H A Dsetup.c238 env = malloc(initrd_size); in initrd_setup()