Lines Matching refs:printf
173 printf("Error in create VM, no CPUs available in the NE CPU pool\n"); in ne_create_vm()
179 printf("Error in create VM [%m]\n"); in ne_create_vm()
203 printf("Running from poll thread, enclave fd %d\n", enclave_fd); in ne_poll_enclave_fd()
210 printf("[iter %d] Polling ...\n", i); in ne_poll_enclave_fd()
214 printf("Error in poll [%m]\n"); in ne_poll_enclave_fd()
222 printf("Poll: %d seconds elapsed\n", in ne_poll_enclave_fd()
228 printf("Poll received value 0x%x\n", fds[0].revents); in ne_poll_enclave_fd()
231 printf("Received POLLHUP\n"); in ne_poll_enclave_fd()
237 printf("Received POLLNVAL\n"); in ne_poll_enclave_fd()
266 printf("Error in mmap memory [%m]\n"); in ne_alloc_user_mem_region()
306 printf("Error in get image stat info [%m]\n"); in ne_load_enclave_image()
314 printf("The enclave memory is smaller than the enclave image size\n"); in ne_load_enclave_image()
323 printf("Error in get image load info, enclave not in init state\n"); in ne_load_enclave_image()
329 printf("Error in get image load info, provided invalid flag\n"); in ne_load_enclave_image()
335 printf("Error in get image load info [%m]\n"); in ne_load_enclave_image()
341 printf("Enclave image offset in enclave memory is %lld\n", in ne_load_enclave_image()
346 printf("Error in open enclave image file [%m]\n"); in ne_load_enclave_image()
354 printf("Error in mmap enclave image [%m]\n"); in ne_load_enclave_image()
421 printf("Error in set user memory region, enclave not in init state\n"); in ne_set_user_mem_region()
427 printf("Error in set user memory region, mem size not multiple of 2 MiB\n"); in ne_set_user_mem_region()
433 printf("Error in set user memory region, invalid user space address\n"); in ne_set_user_mem_region()
439 printf("Error in set user memory region, unaligned user space address\n"); in ne_set_user_mem_region()
445 printf("Error in set user memory region, memory region already used\n"); in ne_set_user_mem_region()
451 printf("Error in set user memory region, not backed by huge pages\n"); in ne_set_user_mem_region()
457 printf("Error in set user memory region, different NUMA node than CPUs\n"); in ne_set_user_mem_region()
463 printf("Error in set user memory region, max memory regions reached\n"); in ne_set_user_mem_region()
469 printf("Error in set user memory region, has page not multiple of 2 MiB\n"); in ne_set_user_mem_region()
475 printf("Error in set user memory region, provided invalid flag\n"); in ne_set_user_mem_region()
481 printf("Error in set user memory region [%m]\n"); in ne_set_user_mem_region()
525 printf("Error in add vcpu, no CPUs available in the NE CPU pool\n"); in ne_add_vcpu()
531 printf("Error in add vcpu, the provided vCPU is already used\n"); in ne_add_vcpu()
537 printf("Error in add vcpu, the provided vCPU is not in the NE CPU pool\n"); in ne_add_vcpu()
543 printf("Error in add vcpu, the core id of the provided vCPU is invalid\n"); in ne_add_vcpu()
549 printf("Error in add vcpu, enclave not in init state\n"); in ne_add_vcpu()
555 printf("Error in add vcpu, the provided vCPU is out of avail CPUs range\n"); in ne_add_vcpu()
561 printf("Error in add vcpu [%m]\n"); in ne_add_vcpu()
588 printf("Error in start enclave, enclave not in init state\n"); in ne_start_enclave()
594 printf("Error in start enclave, no memory regions have been added\n"); in ne_start_enclave()
600 printf("Error in start enclave, no vCPUs have been added\n"); in ne_start_enclave()
606 printf("Error in start enclave, enclave has no full cores set\n"); in ne_start_enclave()
612 printf("Error in start enclave, enclave memory is less than min size\n"); in ne_start_enclave()
618 printf("Error in start enclave, provided invalid flag\n"); in ne_start_enclave()
624 printf("Error in start enclave, provided invalid enclave CID\n"); in ne_start_enclave()
630 printf("Error in start enclave [%m]\n"); in ne_start_enclave()
670 printf("Error in socket [%m]\n"); in ne_start_enclave_check_booted()
678 printf("Error in bind [%m]\n"); in ne_start_enclave_check_booted()
685 printf("Error in listen [%m]\n"); in ne_start_enclave_check_booted()
694 printf("Enclave started, CID %llu\n", enclave_start_info.enclave_cid); in ne_start_enclave_check_booted()
701 printf("Error in poll [%m]\n"); in ne_start_enclave_check_booted()
707 printf("Poll timeout, %d seconds elapsed\n", NE_POLL_WAIT_TIME); in ne_start_enclave_check_booted()
715 printf("Poll received value %d\n", fds[0].revents); in ne_start_enclave_check_booted()
725 printf("Error in accept [%m]\n"); in ne_start_enclave_check_booted()
738 printf("Error in read [%m]\n"); in ne_start_enclave_check_booted()
744 printf("Read %d instead of %d\n", recv_buf, in ne_start_enclave_check_booted()
753 printf("Error in write [%m]\n"); in ne_start_enclave_check_booted()
778 printf("Usage: %s <path_to_enclave_image>\n", argv[0]); in main()
784 printf("The size of the path to enclave image is higher than max path\n"); in main()
791 printf("Error in open NE device [%m]\n"); in main()
796 printf("Creating enclave slot ...\n"); in main()
805 printf("Enclave fd %d\n", enclave_fd); in main()
809 printf("Error in thread create [%m]\n"); in main()
821 printf("Error in alloc userspace memory region, iter %d\n", i); in main()
834 printf("Error in set memory region, iter %d\n", i); in main()
840 printf("Enclave memory regions were added\n"); in main()
850 printf("Error in add vcpu, iter %d\n", i); in main()
855 printf("Added vCPU %d to the enclave\n", ne_vcpus[i]); in main()
858 printf("Enclave vCPUs were added\n"); in main()
862 printf("Error in the enclave start / image loading heartbeat logic [rc=%d]\n", rc); in main()
867 printf("Entering sleep for %d seconds ...\n", NE_SLEEP_TIME); in main()