/xen/xen/drivers/acpi/apei/ |
A D | erst.c | 152 int rc; in erst_exec_add_value() local 156 if (rc) in erst_exec_add_value() 166 int rc; in erst_exec_subtract_value() local 170 if (rc) in erst_exec_subtract_value() 189 int rc; in erst_exec_stall_while_true() local 212 int rc; in erst_exec_skip_next_instruction_if_true() local 216 if (rc) in erst_exec_skip_next_instruction_if_true() 248 int rc; in erst_exec_move_data() local 260 if (rc) in erst_exec_move_data() 367 int rc; in erst_get_erange() local [all …]
|
A D | apei-base.c | 72 int rc; in __apei_exec_read_register() local 75 if (rc) in __apei_exec_read_register() 86 int rc; in apei_exec_read_register() local 90 if (rc) in apei_exec_read_register() 100 int rc; in apei_exec_read_register_value() local 103 if (rc) in apei_exec_read_register_value() 112 int rc; in __apei_exec_write_register() local 119 if (rc) in __apei_exec_write_register() 138 int rc; in apei_exec_write_register_value() local 198 return !optional && rc < 0 ? rc : 0; in __apei_exec_run() [all …]
|
/xen/xen/common/ |
A D | unlzma.c | 90 rc->ptr = rc->buffer; in rc_read() 91 rc->buffer_end = rc->buffer + rc->buffer_size; in rc_read() 105 rc->buffer_end = rc->buffer + rc->buffer_size; in rc_init() 106 rc->ptr = rc->buffer; in rc_init() 119 rc->code = (rc->code << 8) | *rc->ptr++; in rc_init_code() 130 rc->code = (rc->code << 8) | *rc->ptr++; in rc_do_normalize() 157 rc->range = rc->bound; in rc_update_bit_0() 162 rc->range -= rc->bound; in rc_update_bit_1() 163 rc->code -= rc->bound; in rc_update_bit_1() 187 rc->code -= rc->range; in rc_direct_bit() [all …]
|
A D | mem_access.c | 35 long rc; in mem_access_memop() local 43 if ( rc ) in mem_access_memop() 44 return rc; in mem_access_memop() 46 rc = -EINVAL; in mem_access_memop() 51 if ( rc ) in mem_access_memop() 54 rc = -ENODEV; in mem_access_memop() 62 rc = -EINVAL; in mem_access_memop() 71 if ( rc > 0 ) in mem_access_memop() 82 if ( rc > 0 ) in mem_access_memop() 94 rc = -ENOSYS; in mem_access_memop() [all …]
|
/xen/tools/libxl/ |
A D | libxl_vsnd.c | 65 int rc; in libxl__sample_formats_from_string() local 87 rc = 0; in libxl__sample_formats_from_string() 97 int rc; in libxl__params_from_xenstore() local 146 rc = 0; in libxl__params_from_xenstore() 156 int rc; in libxl__stream_from_xenstore() local 179 rc = 0; in libxl__stream_from_xenstore() 189 int rc; in libxl__pcm_from_xenstore() local 220 rc = 0; in libxl__pcm_from_xenstore() 232 int rc; in libxl__vsnd_from_xenstore() local 280 rc = 0; in libxl__vsnd_from_xenstore() [all …]
|
A D | libxl_mem.c | 32 int rc = 1; in libxl_domain_setmaxmem() local 85 rc = 0; in libxl_domain_setmaxmem() 97 int rc; in libxl__fill_dom0_memory_info() local 158 rc = 0; in libxl__fill_dom0_memory_info() 332 rc = 0; in libxl_set_memory_target() 352 int rc; in libxl__get_memory_target() local 401 rc = 0; in libxl__get_memory_target() 412 if (rc) in libxl__memkb_64to32() 431 int rc; in libxl_get_memory_target() local 443 int rc; in libxl_get_memory_target_0x040700() local [all …]
|
A D | libxl_usb.c | 45 int rc; in libxl__device_usbctrl_setdefault() local 310 int rc; in libxl__device_usbctrl_del_xenstore() local 463 int rc; in libxl__device_usbctrl_add() local 533 if (rc) in device_usbctrl_add_qmp_cb() 546 aodev->rc = rc; in device_usbctrl_add_done() 706 aodev->rc = rc; in device_usbctrl_remove_done() 715 int rc; in libxl__usbctrl_from_xenstore() local 754 if (rc) in libxl__usbctrl_from_xenstore() 1621 if (rc) return rc; in usbback_dev_assign() 1864 aodev->rc = rc; in device_usbdev_add_done() [all …]
|
A D | libxl_dom_suspend.c | 64 rc = 0; in libxl__domain_suspend_init() 67 return rc; in libxl__domain_suspend_init() 76 int rc = 0; in libxl__domain_suspend_device_model() local 97 if (rc) in libxl__domain_suspend_device_model() 147 int ret, rc; in domain_suspend_callback_common() local 288 int rc; in domain_suspend_common_wait_guest() local 413 dss->rc = rc; in domain_suspend_callback_common_done() 476 return rc; in libxl__domain_resume_deprecated() 569 int rc; in dm_resume_xswatch_cb() local 578 rc = 0; in dm_resume_xswatch_cb() [all …]
|
A D | libxl_remus.c | 34 int rc; in init_device_subkind() local 45 rc = 0; in init_device_subkind() 47 return rc; in init_device_subkind() 145 if (rc) in remus_setup_failed() 181 if (rc) in remus_teardown_done() 217 if (rc) in remus_domain_suspend_callback_common_done() 226 dss->rc = rc; in remus_domain_suspend_callback_common_done() 236 if (rc) in remus_devices_postsuspend_cb() 243 dss->rc = rc; in remus_devices_postsuspend_cb() 278 dss->rc = rc; in remus_devices_preresume_cb() [all …]
|
A D | libxl_dom_save.c | 91 int rc; in domain_suspend_switch_qemu_xen_traditional_logdirty() local 162 int rc; in switch_logdirty_xswatch() local 214 int rc; in domain_suspend_switch_qemu_xen_logdirty() local 245 if (rc) in switch_qemu_xen_logdirty_done() 301 if (rc) { in domain_suspend_switch_qemu_logdirty_done() 302 dss->rc = rc; in domain_suspend_switch_qemu_logdirty_done() 334 int rc; in libxl__save_emulator_xenstore_data() local 365 rc = 0; in libxl__save_emulator_xenstore_data() 368 if (!rc) { in libxl__save_emulator_xenstore_data() 510 int rc; in libxl__restore_emulator_xenstore_data() local [all …]
|
A D | libxl_stream_read.c | 285 if (rc) in libxl__stream_read_start() 331 if (rc) in stream_header_done() 480 int rc; in setup_read_record() local 488 if (rc) in setup_read_record() 505 if (rc) in record_header_done() 520 if (rc) in record_header_done() 537 if (rc) in record_body_done() 703 if (rc) in write_emulator_blob() 726 if (rc) in write_emulator_done() 927 if (!stream->rc && rc) { in check_all_finished() [all …]
|
A D | libxl_psr.c | 149 int rc; in libxl_psr_cmt_attach() local 164 int rc; in libxl_psr_cmt_detach() local 178 int rc; in libxl_psr_cmt_domain_attached() local 196 int rc; in libxl_psr_cmt_get_total_rmid() local 214 int rc; in libxl_psr_cmt_get_l3_cache_size() local 238 int rc; in libxl_psr_cmt_type_supported() local 307 int rc; in libxl_psr_cmt_get_cache_occupancy() local 382 int rc; in libxl_psr_cat_get_info() local 388 if (rc) in libxl_psr_cat_get_info() 408 int rc; in libxl_psr_cat_get_l3_info() local [all …]
|
A D | libxl_sched.c | 27 int rc; in libxl__set_vcpuaffinity() local 43 if (rc) in libxl__set_vcpuaffinity() 89 rc = 0; in libxl__set_vcpuaffinity() 199 int rc; in sched_credit_domain_get() local 220 int rc; in sched_credit_domain_set() local 296 rc = 0; in libxl_sched_credit_params_get() 347 rc = 0; in libxl_sched_credit_params_set() 369 rc = 0; in libxl_sched_credit2_params_get() 396 rc = 0; in libxl_sched_credit2_params_set() 406 int rc; in sched_credit2_domain_get() local [all …]
|
A D | libxl_disk.c | 28 int rc; in disk_eject_xswatch_callback() local 45 if (rc) { in disk_eject_xswatch_callback() 83 int rc; in libxl_evenable_disk_eject() local 157 int rc; in libxl__device_disk_setdefault() local 164 if (rc < 0) return rc; in libxl__device_disk_setdefault() 442 aodev->rc = rc; in device_disk_add() 1213 dls->rc = rc; in libxl__device_disk_local_initiate_attach() 1227 rc = aodev->rc; in local_device_attach_cb() 1250 dls->rc = rc; in local_device_attach_cb() 1286 aodev->rc = rc; in libxl__device_disk_local_initiate_detach() [all …]
|
A D | libxl_domain.c | 33 int rc; in libxl__domain_rename() local 117 if (rc) in libxl__domain_rename() 157 rc = 0; in libxl__domain_rename() 171 int rc; in libxl_domain_rename() local 220 int rc; in libxl_domain_preserve() local 413 int rc; in libxl_domain_remus_start() local 502 if (flrc && !rc) rc = flrc; in domain_suspend_cb() 512 int rc; in libxl_domain_suspend() local 824 return rc ? AO_CREATE_FAIL(rc) : AO_INPROGRESS; in libxl_domain_shutdown() 1114 dds->rc = rc; in stubdom_destroy_callback() [all …]
|
A D | libxl_cpupool.c | 56 if (rc) in cpupool_info() 61 rc = 0; in cpupool_info() 64 return rc; in cpupool_info() 73 return rc; in libxl_cpupool_info() 136 int rc; in libxl_cpupool_create() local 156 if (rc) { in libxl_cpupool_create() 211 if (rc) in libxl_cpupool_destroy() 241 rc = 0; in libxl_cpupool_destroy() 257 int rc; in libxl_cpupool_rename() local 269 rc = 0; in libxl_cpupool_rename() [all …]
|
A D | libxl_netbuffer.c | 80 rc = 0; in init_subkind_nic() 122 int rc; in get_vifname() local 217 rc = 0; in init_qdisc() 303 int rc; in nic_setup() local 326 if (rc) in nic_setup() 332 dev->aodev.rc = rc; in nic_setup() 407 aodev->rc = rc; in netbuf_setup_script_cb() 425 dev->aodev.rc = rc; in nic_teardown() 442 aodev->rc = rc; in netbuf_teardown_script_cb() 501 dev->aodev.rc = rc; in nic_postsuspend() [all …]
|
A D | libxl_flask.c | 22 int rc; in libxl_flask_context_to_sid() local 26 return rc; in libxl_flask_context_to_sid() 32 int rc; in libxl_flask_sid_to_context() local 37 if (!rc) { in libxl_flask_sid_to_context() 42 return rc; in libxl_flask_sid_to_context() 47 int rc; in libxl_flask_getenforce() local 51 return rc; in libxl_flask_getenforce() 56 int rc; in libxl_flask_setenforce() local 60 return rc; in libxl_flask_setenforce() 66 int rc; in libxl_flask_loadpolicy() local [all …]
|
/xen/tools/libxc/ |
A D | xc_sr_save.c | 141 if ( rc ) in write_batch() 146 rc = -1; in write_batch() 376 int rc; in send_dirty_pages() local 426 int rc; in enable_logdirty() local 506 int rc; in send_memory_live() local 593 int rc; in colo_merge_secondary_dirty_bitmap() local 631 rc = 0; in colo_merge_secondary_dirty_bitmap() 648 int rc; in suspend_and_send_dirty() local 705 int rc; in verify_frames() local 741 int rc; in send_domain_memory_live() local [all …]
|
A D | xc_dom_hvmloader.c | 58 int rc; in xc_dom_probe_hvm_kernel() local 65 if ( rc != 0 ) in xc_dom_probe_hvm_kernel() 66 return rc; in xc_dom_probe_hvm_kernel() 69 if ( rc != 0 ) in xc_dom_probe_hvm_kernel() 70 return rc; in xc_dom_probe_hvm_kernel() 78 if ( rc == 0 ) in xc_dom_probe_hvm_kernel() 94 if ( rc != 0 ) in xc_dom_parse_hvm_kernel() 95 return rc; in xc_dom_parse_hvm_kernel() 129 return rc; in xc_dom_parse_hvm_kernel() 170 int rc; in modules_init() local [all …]
|
/xen/xen/xsm/flask/ss/ |
A D | policydb.c | 172 int rc; in roles_init() local 195 if ( rc ) in roles_init() 224 if ( rc ) in policydb_init() 228 if ( rc ) in policydb_init() 232 if ( rc ) in policydb_init() 389 int rc; in policydb_index_classes() local 737 int rc; in policydb_load_isids() local 843 int rc; in mls_read_range_helper() local 895 rc = 0; in mls_read_range_helper() 911 int rc; in context_read_and_validate() local [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | mgmt_authority.c | 62 if (rc) in do_provision_aik() 66 if (rc) in do_provision_aik() 76 if (rc) { in do_provision_aik() 87 if (rc) { in do_provision_aik() 192 int rc; in do_pcr_setup() local 196 if (rc) in do_pcr_setup() 201 if (rc) in do_pcr_setup() 213 if (rc) in do_pcr_setup() 225 if (rc) in do_pcr_setup() 278 int rc; in group_do_activate() local [all …]
|
A D | disk_read.c | 99 if (rc) in find_group_key() 121 int rc; in parse_root_key() local 131 if (rc) in parse_root_key() 138 if (rc) in parse_root_key() 189 if (rc) in find_root_key() 259 if (rc) in load_verify_vtpm_pages() 316 if (rc) in load_verify_vtpm_itree() 331 int rc; in load_verify_group() local 392 int rc; in load_root_pre() local 474 if (rc) in load_root_post() [all …]
|
/xen/tools/tests/xen-access/ |
A D | xen-access.c | 94 int rc; in xc_wait_for_event_or_timeout() local 106 if ( rc == 1 ) in xc_wait_for_event_or_timeout() 133 int rc; in xenaccess_teardown() local 178 if ( rc != 0 ) in xenaccess_teardown() 181 return rc; in xenaccess_teardown() 194 int rc; in xenaccess_init() local 248 if ( rc < 0 ) in xenaccess_init() 267 if ( rc ) in xenaccess_init() 279 if ( rc ) in xenaccess_init() 381 int rc = -1; in main() local [all …]
|
/xen/xen/arch/arm/ |
A D | domctl.c | 28 int rc; in handle_vuart_init() local 42 if ( !rc ) in handle_vuart_init() 45 return rc; in handle_vuart_init() 57 int rc; in arch_do_domctl() local 70 return rc; in arch_do_domctl() 74 int rc; in arch_do_domctl() local 99 if ( rc ) in arch_do_domctl() 103 if ( rc ) in arch_do_domctl() 120 int rc; in arch_do_domctl() local 155 int rc; in arch_do_domctl() local [all …]
|