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()
204 printf("Running from poll thread, enclave fd %d\n", enclave_fd); in ne_poll_enclave_fd()
211 printf("[iter %d] Polling ...\n", i); in ne_poll_enclave_fd()
215 printf("Error in poll [%m]\n"); in ne_poll_enclave_fd()
223 printf("Poll: %d seconds elapsed\n", in ne_poll_enclave_fd()
229 printf("Poll received value 0x%x\n", fds[0].revents); in ne_poll_enclave_fd()
232 printf("Received POLLHUP\n"); in ne_poll_enclave_fd()
238 printf("Received POLLNVAL\n"); in ne_poll_enclave_fd()
267 printf("Error in mmap memory [%m]\n"); in ne_alloc_user_mem_region()
307 printf("Error in get image stat info [%m]\n"); in ne_load_enclave_image()
315 printf("The enclave memory is smaller than the enclave image size\n"); in ne_load_enclave_image()
324 printf("Error in get image load info, enclave not in init state\n"); in ne_load_enclave_image()
330 printf("Error in get image load info, provided invalid flag\n"); in ne_load_enclave_image()
336 printf("Error in get image load info [%m]\n"); in ne_load_enclave_image()
342 printf("Enclave image offset in enclave memory is %lld\n", in ne_load_enclave_image()
347 printf("Error in open enclave image file [%m]\n"); in ne_load_enclave_image()
355 printf("Error in mmap enclave image [%m]\n"); in ne_load_enclave_image()
422 printf("Error in set user memory region, enclave not in init state\n"); in ne_set_user_mem_region()
428 printf("Error in set user memory region, mem size not multiple of 2 MiB\n"); in ne_set_user_mem_region()
434 printf("Error in set user memory region, invalid user space address\n"); in ne_set_user_mem_region()
440 printf("Error in set user memory region, unaligned user space address\n"); in ne_set_user_mem_region()
446 printf("Error in set user memory region, memory region already used\n"); in ne_set_user_mem_region()
452 printf("Error in set user memory region, not backed by huge pages\n"); in ne_set_user_mem_region()
458 printf("Error in set user memory region, different NUMA node than CPUs\n"); in ne_set_user_mem_region()
464 printf("Error in set user memory region, max memory regions reached\n"); in ne_set_user_mem_region()
470 printf("Error in set user memory region, has page not multiple of 2 MiB\n"); in ne_set_user_mem_region()
476 printf("Error in set user memory region, provided invalid flag\n"); in ne_set_user_mem_region()
482 printf("Error in set user memory region [%m]\n"); in ne_set_user_mem_region()
526 printf("Error in add vcpu, no CPUs available in the NE CPU pool\n"); in ne_add_vcpu()
532 printf("Error in add vcpu, the provided vCPU is already used\n"); in ne_add_vcpu()
538 printf("Error in add vcpu, the provided vCPU is not in the NE CPU pool\n"); in ne_add_vcpu()
544 printf("Error in add vcpu, the core id of the provided vCPU is invalid\n"); in ne_add_vcpu()
550 printf("Error in add vcpu, enclave not in init state\n"); in ne_add_vcpu()
556 printf("Error in add vcpu, the provided vCPU is out of avail CPUs range\n"); in ne_add_vcpu()
562 printf("Error in add vcpu [%m]\n"); in ne_add_vcpu()
589 printf("Error in start enclave, enclave not in init state\n"); in ne_start_enclave()
595 printf("Error in start enclave, no memory regions have been added\n"); in ne_start_enclave()
601 printf("Error in start enclave, no vCPUs have been added\n"); in ne_start_enclave()
607 printf("Error in start enclave, enclave has no full cores set\n"); in ne_start_enclave()
613 printf("Error in start enclave, enclave memory is less than min size\n"); in ne_start_enclave()
619 printf("Error in start enclave, provided invalid flag\n"); in ne_start_enclave()
625 printf("Error in start enclave, provided invalid enclave CID\n"); in ne_start_enclave()
631 printf("Error in start enclave [%m]\n"); in ne_start_enclave()
671 printf("Error in socket [%m]\n"); in ne_start_enclave_check_booted()
679 printf("Error in bind [%m]\n"); in ne_start_enclave_check_booted()
686 printf("Error in listen [%m]\n"); in ne_start_enclave_check_booted()
695 printf("Enclave started, CID %llu\n", enclave_start_info.enclave_cid); in ne_start_enclave_check_booted()
702 printf("Error in poll [%m]\n"); in ne_start_enclave_check_booted()
708 printf("Poll timeout, %d seconds elapsed\n", NE_POLL_WAIT_TIME); in ne_start_enclave_check_booted()
716 printf("Poll received value %d\n", fds[0].revents); in ne_start_enclave_check_booted()
726 printf("Error in accept [%m]\n"); in ne_start_enclave_check_booted()
739 printf("Error in read [%m]\n"); in ne_start_enclave_check_booted()
745 printf("Read %d instead of %d\n", recv_buf, in ne_start_enclave_check_booted()
754 printf("Error in write [%m]\n"); in ne_start_enclave_check_booted()
779 printf("Usage: %s <path_to_enclave_image>\n", argv[0]); in main()
785 printf("The size of the path to enclave image is higher than max path\n"); in main()
792 printf("Error in open NE device [%m]\n"); in main()
797 printf("Creating enclave slot ...\n"); in main()
806 printf("Enclave fd %d\n", enclave_fd); in main()
810 printf("Error in thread create [%m]\n"); in main()
822 printf("Error in alloc userspace memory region, iter %d\n", i); in main()
835 printf("Error in set memory region, iter %d\n", i); in main()
841 printf("Enclave memory regions were added\n"); in main()
851 printf("Error in add vcpu, iter %d\n", i); in main()
856 printf("Added vCPU %d to the enclave\n", ne_vcpus[i]); in main()
859 printf("Enclave vCPUs were added\n"); in main()
863 printf("Error in the enclave start / image loading heartbeat logic [rc=%d]\n", rc); in main()
868 printf("Entering sleep for %d seconds ...\n", NE_SLEEP_TIME); in main()