/xen/xen/arch/x86/ |
A D | physdev.c | 33 int ret = 0; in physdev_hvm_map_pirq() local 88 return ret; in physdev_hvm_map_pirq() 95 int ret; in physdev_map_pirq() local 114 if ( ret ) in physdev_map_pirq() 138 return ret; in physdev_map_pirq() 144 int ret = 0; in physdev_unmap_pirq() local 152 if ( ret ) in physdev_unmap_pirq() 173 return ret; in physdev_unmap_pirq() 180 ret_t ret; in do_physdev_op() local 218 ret = 0; in do_physdev_op() [all …]
|
A D | platform_hypercall.c | 87 int ret = 0; in check_resource_access() local 113 if ( ret ) in check_resource_access() 115 entry->u.ret = ret; in check_resource_access() 131 int ret; in resource_access() local 177 if ( ret ) in resource_access() 179 entry->u.ret = ret; in resource_access() 190 ret_t ret; in do_platform_op() local 200 if ( ret ) in do_platform_op() 201 return ret; in do_platform_op() 618 if ( ret ) in do_platform_op() [all …]
|
A D | sysctl.c | 68 int ret; member 96 if ( ret ) in cpu_up_helper() 102 return ret; in cpu_up_helper() 112 return ret; in cpu_down_helper() 119 int ret = 0; in smt_up_down_helper() local 135 if ( ret && ret != -EEXIST ) in smt_up_down_helper() 152 if ( !ret ) in smt_up_down_helper() 156 return ret; in smt_up_down_helper() 176 long ret = 0; in arch_do_sysctl() local 270 ret = info.ret; in arch_do_sysctl() [all …]
|
A D | domctl.c | 247 if ( ret ) in update_domain_cpu_policy() 268 if ( ret ) in update_domain_cpu_policy() 275 return ret; in update_domain_cpu_policy() 333 long ret = 0; in arch_do_domctl() local 363 if ( !ret ) in arch_do_domctl() 571 if ( !ret ) in arch_do_domctl() 656 if ( ret ) in arch_do_domctl() 691 if ( ret ) in arch_do_domctl() 738 if ( ret ) in arch_do_domctl() 795 if ( !ret ) in arch_do_domctl() [all …]
|
/xen/tools/xl/ |
A D | xl_flask.c | 28 int ret; in main_getenforce() local 32 if (ret < 0) { in main_getenforce() 43 return ret; in main_getenforce() 48 int ret, mode; in main_setenforce() local 73 if (ret) { in main_setenforce() 81 return ret; in main_setenforce() 90 int ret; in main_loadpolicy() local 102 ret = -1; in main_loadpolicy() 107 if (ret < 0) { in main_loadpolicy() 124 if (ret < 0) { in main_loadpolicy() [all …]
|
/xen/tools/misc/ |
A D | xen-hptool.c | 37 int ret; in hp_mem_online_func() local 51 if (ret < 0) in hp_mem_online_func() 56 ret = -1; in hp_mem_online_func() 63 return ret; in hp_mem_online_func() 69 int ret; in hp_mem_query_func() local 82 if (ret < 0) in hp_mem_query_func() 98 return ret; in hp_mem_query_func() 150 int ret; in hp_mem_offline_func() local 253 int ret; in exec_cpu_hp_fn() local 311 int ret; in main_smt_enable() local [all …]
|
A D | xenhypfs.c | 35 int ret = 0; in xenhypfs_cat() local 59 ret = 3; in xenhypfs_cat() 68 return ret; in xenhypfs_cat() 73 int ret; in xenhypfs_wr() local 76 if (ret) { in xenhypfs_wr() 78 ret = 3; in xenhypfs_wr() 81 return ret; in xenhypfs_wr() 119 int ret = 0; in xenhypfs_ls() local 134 return ret; in xenhypfs_ls() 165 return ret; in xenhypfs_tree_sub() [all …]
|
A D | xen-hvmcrash.c | 52 int ret; in main() local 69 ret = xc_domain_getinfo(xch, domid, 1, &dominfo); in main() 70 if (ret < 0) { in main() 80 ret = xc_domain_pause(xch, domid); in main() 81 if (ret < 0) { in main() 91 if (ret < 0) { in main() 96 len = ret; in main() 104 if (ret < 0) { in main() 131 if (ret < 0) { in main() 136 ret = xc_domain_unpause(xch, domid); in main() [all …]
|
/xen/tools/libvchan/ |
A D | node-select.c | 57 int ret; in vchan_wr() local 62 if (ret < 0) { in vchan_wr() 66 if (ret > 0) { in vchan_wr() 67 insiz -= ret; in vchan_wr() 73 int ret; in stdout_wr() local 80 if (ret > 0) { in stdout_wr() 81 outsiz -= ret; in stdout_wr() 110 int ret; in main() local 144 if (ret < 0) { in main() 159 if (ret) in main() [all …]
|
A D | vchan-socket-proxy.c | 99 int ret; in vchan_wr() local 104 if (ret < 0) { in vchan_wr() 110 if (ret > 0) { in vchan_wr() 111 insiz -= ret; in vchan_wr() 117 int ret; in socket_wr() local 124 if (ret > 0) { in socket_wr() 228 int ret; in connect_vchan() local 291 int ret; in data_loop() local 403 int ret; in main() local 470 ret = 0; in main() [all …]
|
/xen/xen/common/ |
A D | sysctl.c | 33 long ret = 0; in do_sysctl() local 45 if ( ret ) in do_sysctl() 46 return ret; in do_sysctl() 62 if ( ret ) in do_sysctl() 92 if ( ret ) in do_sysctl() 139 ret = 0; in do_sysctl() 161 ret = 0; in do_sysctl() 195 if ( ret ) in do_sysctl() 232 if (ret) in do_sysctl() 470 if ( ret != -ENOSYS && ret != -EOPNOTSUPP ) in do_sysctl() [all …]
|
A D | domctl.c | 313 ret = -EFAULT; in vnuma_init() 327 ret = -E2BIG; in vnuma_init() 349 ret = -EINVAL; in vnuma_init() 363 long ret = 0; in do_domctl() local 403 if ( ret ) in do_domctl() 455 ret = ret ? -EFAULT : 0; in do_domctl() 526 ret = 0; in do_domctl() 557 ret = 0; in do_domctl() 686 ret = 0; in do_domctl() 729 ret = 0; in do_domctl() [all …]
|
A D | kexec.c | 361 int ret; in kexec_common_shutdown() local 364 if ( ret ) in kexec_common_shutdown() 452 void * ret; in alloc_from_crash_heap() local 457 return ret; in alloc_from_crash_heap() 528 return ret; in kexec_init_cpu_notes() 685 return ret; in kexec_get_range_internal() 701 return ret; in kexec_get_range() 995 int ret; in kexec_do_load_v1() local 1105 int ret; in kexec_load() local 1148 int ret; in kexec_do_unload() local [all …]
|
A D | hypfs.c | 98 ret = 0; in add_entry() 102 if ( !ret ) in add_entry() 111 return ret; in add_entry() 117 int ret; in hypfs_add_dir() local 122 return ret; in hypfs_add_dir() 128 int ret; in hypfs_add_leaf() local 136 return ret; in hypfs_add_leaf() 297 int ret; in hypfs_write_leaf() local 322 ret = 0; in hypfs_write_leaf() 357 int ret; in hypfs_write_custom() local [all …]
|
/xen/tools/libxl/ |
A D | libxl_colo_proxy.c | 46 int ret; in colo_proxy_send() local 80 return ret; in colo_proxy_send() 87 int ret = 0; in colo_userspace_proxy_send() local 102 return ret; in colo_userspace_proxy_send() 110 int ret; in colo_userspace_proxy_recv() local 137 return ret; in colo_userspace_proxy_recv() 155 int ret; in colo_proxy_recv() local 176 len += ret; in colo_proxy_recv() 186 ret = len; in colo_proxy_recv() 314 ret = 0; in colo_proxy_setup() [all …]
|
/xen/xen/common/sched/ |
A D | cpupool.c | 348 int ret; in cpupool_move_domain_locked() local 364 int ret; in cpupool_move_domain() local 381 int ret; in cpupool_assign_cpu_locked() local 422 int ret; in cpupool_unassign_cpu_finish() local 470 int ret; in cpupool_unassign_cpu_start() local 480 ret = 0; in cpupool_unassign_cpu_start() 521 long ret; in cpupool_unassign_cpu_helper() local 550 int ret; in cpupool_unassign_cpu() local 672 int ret; in cpupool_cpu_remove() local 735 int ret; in cpupool_cpu_remove_forced() local [all …]
|
/xen/xen/drivers/acpi/ |
A D | pmstat.c | 51 int ret = 0; in do_get_pm_info() local 138 ret = 0; in do_get_pm_info() 160 return ret; in do_get_pm_info() 227 if ( ret ) in get_cpufreq_para() 239 if ( ret ) in get_cpufreq_para() 254 if ( ret ) in get_cpufreq_para() 295 return ret; in get_cpufreq_para() 393 return ret; in set_cpufreq_para() 492 return ret; in do_pm_op() 498 int ret; in acpi_set_pdc_bits() local [all …]
|
/xen/tools/golang/xenlight/ |
A D | xenlight.go | 146 if ret != 0 { 181 if ret != 0 { 437 if ret != 0 { 584 if ret != 0 { 623 if ret != 0 { 657 if ret != 0 { 944 if ret < 0 { 955 if ret < 0 { 966 if ret < 0 { 979 if ret < 0 { [all …]
|
/xen/tools/flask/utils/ |
A D | loadpolicy.c | 36 int ret; in main() local 48 ret = -1; in main() 53 if ( ret < 0 ) in main() 68 ret = -1; in main() 77 ret = -1; in main() 84 if ( ret < 0 ) in main() 97 if ( ret < 0 ) in main() 99 errno = -ret; in main() 102 ret = -1; in main() 115 if ( ret < 0 ) in main() [all …]
|
/xen/tools/libs/hypfs/ |
A D | core.c | 97 int ret = -1; in xenhypfs_get_pathbuf() local 122 return ret; in xenhypfs_get_pathbuf() 131 int ret; in xenhypfs_inflate() local 145 if (ret != Z_OK && ret != Z_STREAM_END) in xenhypfs_inflate() 217 int ret; in xenhypfs_read_raw() local 222 if (ret < 0) in xenhypfs_read_raw() 273 ret = errno; in xenhypfs_read_raw() 285 int ret; in xenhypfs_read() local 374 int ret; in xenhypfs_readdir() local 441 ret = -1; in xenhypfs_write() [all …]
|
/xen/xen/drivers/passthrough/ |
A D | device_tree.c | 210 int ret; in iommu_do_dt_domctl() local 219 ret = -ENODEV; in iommu_do_dt_domctl() 223 ret = -EINVAL; in iommu_do_dt_domctl() 230 if ( ret ) in iommu_do_dt_domctl() 234 if ( ret ) in iommu_do_dt_domctl() 257 if ( ret < 0 && ret != -EEXIST ) in iommu_do_dt_domctl() 266 if ( ret ) in iommu_do_dt_domctl() 273 ret = -ENODEV; in iommu_do_dt_domctl() 284 if ( ret ) in iommu_do_dt_domctl() 294 if ( ret ) in iommu_do_dt_domctl() [all …]
|
/xen/tools/libxc/ |
A D | xc_cpu_hotplug.c | 26 int ret; in xc_cpu_online() local 31 ret = xc_sysctl(xch, &sysctl); in xc_cpu_online() 33 return ret; in xc_cpu_online() 39 int ret; in xc_cpu_offline() local 44 ret = xc_sysctl(xch, &sysctl); in xc_cpu_offline() 46 return ret; in xc_cpu_offline() 52 int ret; in xc_smt_enable() local 57 ret = xc_sysctl(xch, &sysctl); in xc_smt_enable() 59 return ret; in xc_smt_enable() 65 int ret; in xc_smt_disable() local [all …]
|
/xen/xen/arch/x86/pv/ |
A D | callback.c | 65 long ret = 0; in register_guest_callback() local 114 return ret; in register_guest_callback() 119 long ret; in unregister_guest_callback() local 133 ret = 0; in unregister_guest_callback() 141 return ret; in unregister_guest_callback() 146 long ret; in do_callback_op() local 179 return ret; in do_callback_op() 252 return ret; in compat_register_guest_callback() 258 long ret; in compat_unregister_guest_callback() local 279 return ret; in compat_unregister_guest_callback() [all …]
|
/xen/xen/drivers/char/ |
A D | arm-uart.c | 43 int ret; in dt_uart_init() local 58 ret = dt_property_read_string(chosen, "stdout-path", &stdout); in dt_uart_init() 59 if ( ret >= 0 ) in dt_uart_init() 66 else if ( ret != -EINVAL /* Not present */ ) in dt_uart_init() 67 printk("Failed to read /chosen/stdout-path (%d)\n", ret); in dt_uart_init() 95 ret = device_init(dev, DEVICE_SERIAL, options); in dt_uart_init() 97 if ( ret ) in dt_uart_init() 98 printk("Unable to initialize dtuart: %d\n", ret); in dt_uart_init() 105 int ret; in acpi_uart_init() local 117 if ( ret ) in acpi_uart_init() [all …]
|
/xen/xen/arch/arm/ |
A D | psci.c | 97 int ret; in psci_is_smc_method() local 101 if ( ret ) in psci_is_smc_method() 143 int ret; in psci_init_0_1() local 157 if ( ret ) in psci_init_0_1() 179 int ret; in psci_init_0_2() local 191 if ( ret ) in psci_init_0_2() 220 int ret; in psci_init() local 225 ret = psci_init_0_2(); in psci_init() 226 if ( ret ) in psci_init() 229 if ( ret ) in psci_init() [all …]
|