/xen-4.10.0-shim-comet/tools/blktap2/control/ |
A D | tap-ctl-spawn.c | 46 EPRINTF("pipe failed: %d\n", errno); in __tap_ctl_spawn() 47 return -errno; in __tap_ctl_spawn() 51 EPRINTF("fork failed: %d\n", errno); in __tap_ctl_spawn() 52 return -errno; in __tap_ctl_spawn() 62 EPRINTF("dup2 failed: %d\n", errno); in __tap_ctl_spawn() 63 exit(errno); in __tap_ctl_spawn() 67 EPRINTF("dup2 failed: %d\n", errno); in __tap_ctl_spawn() 68 exit(errno); in __tap_ctl_spawn() 109 return -errno; in tap_ctl_wait() 141 errno = 0; in tap_ctl_get_child_id() [all …]
|
A D | tap-ctl-allocate.c | 67 if (err && errno != EEXIST) { in tap_ctl_prepare_directory() 69 err = errno; in tap_ctl_prepare_directory() 107 return errno; in tap_ctl_make_device() 113 return errno; in tap_ctl_make_device() 137 EPRINTF("failed to open /proc/misc: %d\n", errno); in tap_ctl_check_environment() 138 return errno; in tap_ctl_check_environment() 170 EPRINTF("failed to open control device: %d\n", errno); in tap_ctl_allocate_device() 171 return errno; in tap_ctl_allocate_device() 177 EPRINTF("failed to allocate new device: %d\n", errno); in tap_ctl_allocate_device() 178 return errno; in tap_ctl_allocate_device()
|
A D | tap-ctl-ipc.c | 68 if (errno == EINTR) in tap_ctl_read_message() 75 if (errno == EINTR) in tap_ctl_read_message() 124 if (errno == EINTR) in tap_ctl_write_message() 131 if (errno == EINTR) in tap_ctl_write_message() 192 EPRINTF("couldn't create socket for %s: %d\n", name, errno); in tap_ctl_connect() 193 return -errno; in tap_ctl_connect() 202 EPRINTF("couldn't connect to %s: %d\n", name, errno); in tap_ctl_connect() 204 return -errno; in tap_ctl_connect()
|
/xen-4.10.0-shim-comet/tools/tests/xenstore/ |
A D | xs-test.c | 156 return errno; in verify_node() 178 return errno; in test_read() 218 return errno; in test_dir() 232 return errno; in test_dir_deinit() 265 return errno; in test_rm() 325 if ( errno ) in test_ta2() 332 if ( errno ) in test_ta2() 344 ret = errno; in test_ta2() 380 if ( errno ) in test_ta3() 389 if ( errno ) in test_ta3() [all …]
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xenlockprof.c | 41 errno, strerror(errno)); in main() 50 errno, strerror(errno)); in main() 60 errno, strerror(errno)); in main() 69 errno, strerror(errno)); in main() 77 errno, strerror(errno)); in main()
|
A D | xenpm.c | 871 errno, strerror(errno)); in scaling_max_freq_func() 894 errno, strerror(errno)); in scaling_min_freq_func() 917 errno, strerror(errno)); in scaling_speed_func() 940 errno, strerror(errno)); in scaling_sampling_rate_func() 963 errno, strerror(errno)); in scaling_up_threshold_func() 1011 errno, strerror(errno)); in cpu_topology_func() 1027 errno, strerror(errno)); in cpu_topology_func() 1085 errno, strerror(errno)); in set_vcpu_migration_delay_func() 1100 errno, strerror(errno)); in get_vcpu_migration_delay_func() 1140 errno, strerror(errno)); in enable_turbo_mode() [all …]
|
A D | xenperf.c | 118 errno, strerror(errno)); in main() 127 errno, strerror(errno)); in main() 137 errno, strerror(errno)); in main() 147 errno, strerror(errno)); in main() 154 errno, strerror(errno)); in main()
|
A D | xencons | 8 import errno, os, signal, socket, struct, sys 31 if error[0] != errno.EINTR: 37 if error[0] != errno.EINTR: 46 if error[0] != errno.EINTR: 54 if error[0] == errno.EPIPE: 56 if error[0] != errno.EINTR:
|
A D | xen-livepatch.c | 105 rc = errno; in list_func() 149 errno = EINVAL; in get_name() 150 return errno; in get_name() 180 int saved_errno = errno; in upload_func() 188 int saved_errno = errno; in upload_func() 200 int saved_errno = errno; in upload_func() 211 rc = errno; in upload_func() 223 filename, errno, strerror(errno)); in upload_func() 313 int saved_errno = errno; in action_func() 340 int saved_errno = errno; in action_func() [all …]
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | xl_flask.c | 33 if (errno == ENOSYS) in main_getenforce() 74 if (errno == ENOSYS) { in main_setenforce() 101 polFName, strerror(errno)); in main_loadpolicy() 109 "policy file '%s': %s\n", polFName, strerror(errno)); in main_loadpolicy() 118 strerror(errno)); in main_loadpolicy() 125 if (errno == ENOSYS) { in main_loadpolicy() 128 errno = -ret; in main_loadpolicy() 130 strerror(errno)); in main_loadpolicy()
|
/xen-4.10.0-shim-comet/tools/flask/utils/ |
A D | loadpolicy.c | 47 polFName, strerror(errno)); in main() 56 "policy file '%s': %s\n", polFName, strerror(errno)); in main() 67 strerror(errno)); in main() 76 strerror(errno)); in main() 87 strerror(errno)); in main() 99 errno = -ret; in main() 101 strerror(errno)); in main() 116 fprintf(stderr, "Unable to unmap policy memory: %s\n", strerror(errno)); in main()
|
/xen-4.10.0-shim-comet/tools/console/client/ |
A D | main.c | 197 if (errno == EINTR || errno == EAGAIN) { in console_loop() 225 (errno == EINTR || errno == EAGAIN)) { in console_loop() 245 (errno == EINTR || errno == EAGAIN)) { in console_loop() 291 err(errno, "Could not open %s", lockfile); in console_lock() 294 if (errno == EINTR) in console_lock() 297 err(errno, "Could not lock %s", lockfile); in console_lock() 300 err(errno, "Could not fstat %s", lockfile); in console_lock() 302 if (errno != ENOENT) in console_lock() 403 err(errno, "Could not contact XenStore"); in main() 410 err(errno, "xs_get_domain_path()"); in main() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | tapdisk-utils.c | 75 EPRINTF("RLIMIT_MEMLOCK failed: %d\n", errno); in tapdisk_set_resource_limits() 76 return -errno; in tapdisk_set_resource_limits() 81 EPRINTF("mlockall failed: %d\n", errno); in tapdisk_set_resource_limits() 82 return -errno; in tapdisk_set_resource_limits() 89 EPRINTF("RLIMIT_CORE failed: %d\n", errno); in tapdisk_set_resource_limits() 161 return -errno; in tapdisk_linux_version() 186 if ( (len == -1) && (errno == EINTR) ) in read_exact() 189 errno = 0; in read_exact() 206 if ( (len == -1) && (errno == EINTR) ) in write_exact()
|
A D | tapdisk-ring.c | 44 return -errno; in tapdisk_uring_create_ctlfd() 52 err = -errno; in tapdisk_uring_create_ctlfd() 58 err = -errno; in tapdisk_uring_create_ctlfd() 64 err = -errno; in tapdisk_uring_create_ctlfd() 103 return -errno; in tapdisk_uring_connect_ctlfd() 111 err = -errno; in tapdisk_uring_connect_ctlfd() 143 err = -errno; in tapdisk_uring_create_shmem() 151 err = -errno; in tapdisk_uring_create_shmem() 190 err = -errno; in tapdisk_uring_connect_shmem() 216 err = -errno; in tapdisk_uring_connect_shmem() [all …]
|
A D | lock.c | 137 *reterrno = errno; in NFSnormalizedStatTime() 190 *ioerror = errno ? errno : EIO; in lock_holder() 201 errno = 0; in lock_holder() 253 if (!dptr && errno) { in lock_holder() 338 if (errno == EIO) { in lock() 344 errno = 0; in lock() 386 if (errno == EIO) { in lock() 418 if (errno == EIO) { in lock() 423 status = errno; in lock() 478 status = errno; in lock() [all …]
|
/xen-4.10.0-shim-comet/tools/libs/call/ |
A D | linux.c | 46 if ( fd == -1 && ( errno == ENOENT || errno == ENXIO || errno == ENODEV )) in osdep_xencall_open() 113 saved_errno = errno; in osdep_alloc_pages() 115 errno = saved_errno; in osdep_alloc_pages() 121 int saved_errno = errno; in osdep_free_pages() 127 errno = saved_errno; in osdep_free_pages()
|
/xen-4.10.0-shim-comet/tools/libs/foreignmemory/ |
A D | linux.c | 44 if ( fd == -1 && ( errno == ENOENT || errno == ENXIO || errno == ENODEV )) in osdep_xenforeignmemory_open() 85 while ( (rc < 0) && (errno == ENOENT) ); in map_foreign_batch_single() 134 if ( rc < 0 && errno != ENOENT ) in retry_paged() 171 if ( rc < 0 && errno == ENOENT ) in osdep_xenforeignmemory_map() 179 else if ( rc < 0 && errno == EINVAL && (int)num > 0 ) in osdep_xenforeignmemory_map() 212 rc = rc < 0 ? -errno : 0; in osdep_xenforeignmemory_map() 234 rc = -errno; in osdep_xenforeignmemory_map() 250 errno = -rc; in osdep_xenforeignmemory_map() 257 int saved_errno = errno; in osdep_xenforeignmemory_map() 261 errno = saved_errno; in osdep_xenforeignmemory_map()
|
A D | netbsd.c | 57 saved_errno = errno; in osdep_xenforeignmemory_open() 59 errno = saved_errno; in osdep_xenforeignmemory_open() 87 int saved_errno = errno; in osdep_map_foreign_batch() 90 errno = saved_errno; in osdep_map_foreign_batch() 106 errno = -EOPNOTSUPP; in osdep_xenforeignmemory_restrict()
|
A D | solaris.c | 58 saved_errno = errno; in osdep_xenforeignmemory_open() 60 errno = saved_errno; in osdep_xenforeignmemory_open() 85 int saved_errno = errno; in osdep_map_foreign_batch() 88 errno = saved_errno; in osdep_map_foreign_batch() 103 errno = -EOPNOTSUPP; in osdep_xenforeignmemory_restrict()
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_private.h | 130 errno = IPRINTF_errno; \ 134 errno = DPRINTF_errno; \ 138 errno = DBGPRINTF_errno; \ 143 errno = ERROR_errno; \ 147 ## _a , errno, xc_strerror(xch, errno)); \ 148 errno = PERROR_errno; \ 247 if ( errno == EACCES ) in do_physdev_op() 274 if ( errno == EACCES ) in do_domctl() 301 if ( errno == EACCES ) in do_sysctl() 330 if ( errno == EACCES ) in do_platform_op() [all …]
|
/xen-4.10.0-shim-comet/tools/libfsimage/ext2fs-lib/ |
A D | ext2fs-lib.c | 48 errno = EINVAL; in ext2lib_mount() 62 errno = EINVAL; in ext2lib_umount() 82 errno = ENOENT; in ext2lib_open() 94 errno = EINVAL; in ext2lib_open() 113 errno = EINVAL; in ext2lib_read() 129 errno = EINVAL; in ext2lib_pread() 134 errno = EINVAL; in ext2lib_pread() 143 errno = EINVAL; in ext2lib_pread()
|
/xen-4.10.0-shim-comet/tools/xenbackendd/ |
A D | xenbackendd.c | 99 dolog(LOG_ERR, "can't vfork: %s", strerror(errno)); in doexec() 103 dolog(LOG_ERR, "can't exec %s: %s", cmd, strerror(errno)); in doexec() 129 strerror(errno)); in xen_setup() 197 log_file, strerror(errno)); in main() 207 pidfile, strerror(errno)); in main() 212 strerror(errno)); in main() 221 log_file, strerror(errno)); in main() 230 log_file, strerror(errno)); in main() 271 "Failed to read %s (%s)", buf, strerror(errno)); in main() 302 strerror(errno)); in main()
|
/xen-4.10.0-shim-comet/tools/console/daemon/ |
A D | io.c | 338 dom->domid, errno, strerror(errno)); in buffer_append() 404 logfile, errno, strerror(errno)); in create_hv_log() 453 logfile, errno, strerror(errno)); in create_console_log() 556 err = errno; in console_create_tty() 1161 "%d (%s)", errno, strerror(errno)); in handle_hv_logs() 1300 errno, strerror(errno)); in handle_io() 1309 "%d (%s)", errno, strerror(errno)); in handle_io() 1319 errno, strerror(errno)); in handle_io() 1380 errno, strerror(errno)); in handle_io() 1388 errno, strerror(errno)); in handle_io() [all …]
|
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | xenstored_core.c | 392 errno = EIO; in read_node() 433 return errno; in write_node_raw() 452 errno = EIO; in write_node_raw() 453 return errno; in write_node_raw() 463 return errno; in write_node() 520 return errno; in ask_parents() 557 return errno; in errno_from_parents() 589 errno = errno_from_parents(conn, ctx, name, errno, perm); in get_node() 812 return errno; in send_directory() 833 return errno; in send_directory_part() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/ |
A D | vhd-util-coalesce.c | 41 errno = 0; in __raw_io_write() 45 vhd_sectors_to_bytes(sec), -errno); in __raw_io_write() 46 return -errno; in __raw_io_write() 54 vhd_sectors_to_bytes(secs), ret, -errno); in __raw_io_write() 55 return (errno ? -errno : -EIO); in __raw_io_write() 173 err = -errno; in vhd_util_coalesce()
|