Skip to content

Instantly share code, notes, and snippets.

@tklengyel
Last active December 6, 2023 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tklengyel/29e9de911f8afe0623ef11cc7fb7f23f to your computer and use it in GitHub Desktop.
Save tklengyel/29e9de911f8afe0623ef11cc7fb7f23f to your computer and use it in GitHub Desktop.
Xen (98758ae48974d6d24f999e4d9324e463d326f66f) cognitive complexity analysis
# apt-get install clang-18 clang-tools-18 clang-tidy-18
# make defconfig
# intercept-build-18 make
# run-clang-tidy-18 -quiet -config="{Checks: 'readability-function-cognitive-complexity', CheckOptions: [{key: readability-function-cognitive-complexity.Threshold, value: 0}, {key: readability-function-cognitive-complexity.DescribeBasicIncrements, value: False}]}" 2>/dev/null | grep warning | grep "cognitive complexity" | tee -a cognitive-complexity.log
arch/x86/acpi/boot.c:63:28: warning: function 'acpi_parse_madt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:109:28: warning: function 'parse_cstate' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1501:10: warning: function 'pmstat_get_cx_nr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1673:28: warning: function 'cpuidle_presmp_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:442:6: warning: function 'cpuidle_wakeup_mwait' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:508:13: warning: function 'acpi_idle_do_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:537:12: warning: function 'acpi_idle_bm_check' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:660:6: warning: function 'update_idle_stats' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:615:21: warning: function 'acpi_cpufreq_cpu_exit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:98:17: warning: function 'extract_freq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:152:28: warning: function 'cpufreq_gov_hwp_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:647:12: warning: function 'hwp_register_driver' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:307:21: warning: function 'powernow_cpufreq_cpu_exit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:329:21: warning: function 'powernow_register_driver' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:70:21: warning: function 'powernow_cpufreq_update' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpuidle_menu.c:177:21: warning: function 'get_sleep_length_us' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:137:13: warning: function 'freeze_domains' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:154:13: warning: function 'thaw_domains' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:421:13: warning: function 'tboot_sleep' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/alternative.c:377:28: warning: function 'nmi_apply_alternatives' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1019:13: warning: function '__setup_APIC_LVTT' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1061:28: warning: function 'hsx_deadline_rev' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1072:28: warning: function 'bdx_deadline_rev' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1085:28: warning: function 'skx_deadline_rev' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1147:17: warning: function 'apic_tmcct_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:114:6: warning: function 'ack_bad_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1273:6: warning: function 'disable_APIC_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1286:6: warning: function 'enable_APIC_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1490:28: warning: function 'apic_mode_to_str' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:483:13: warning: function 'resume_x2apic' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:826:6: warning: function 'x2apic_ap_setup' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:998:20: warning: function 'wait_8254_wraparound' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:212:13: warning: function 'skip_realmode' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:248:12: warning: function 'rows2vmode' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:344:16: warning: function 'cmdline_parse_early' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:60:15: warning: function 'strlen' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:133:13: warning: function 'endianadjust_ehdr32' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:152:13: warning: function 'endianadjust_ehdr64' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:171:13: warning: function 'endianadjust_phdr32' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:185:13: warning: function 'endianadjust_phdr64' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:199:13: warning: function 'endianadjust_shdr32' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/reloc.c:80:13: warning: function 'zero_mem' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/reloc.c:86:12: warning: function 'copy_mem' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:271:13: warning: function 'recalculate_misc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:671:15: warning: function 'early_init_amd' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/centaur.c:51:22: warning: function 'init_centaur' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:147:13: warning: function 'set_cpuid_faulting' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:26:6: warning: function 'update_mcu_opt_ctrl' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel_cacheinfo.c:104:12: warning: function 'find_num_cache_leaves' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel_cacheinfo.c:83:5: warning: function 'cpuid4_cache_lookup' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce-apei.c:56:5: warning: function 'apei_write_mce' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1129:6: warning: function 'intpose_inval' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1238:13: warning: function 'x86_mc_hwcr_wren_restore' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1697:13: warning: function 'mc_panic_dump' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1803:21: warning: function 'mce_delayed_action' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1915:6: warning: function 'mce_handler_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:247:12: warning: function 'mca_init_global' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:422:13: warning: function 'mce_spin_lock' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:587:6: warning: function 'mce_available' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:596:14: warning: function 'mce_firstbank' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:103:20: warning: function 'mcheck_intel_therm_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:297:22: warning: function 'intel_srar_dhandler' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:367:22: warning: function 'intel_default_mce_uhandler' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:937:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:272:6: warning: function 'mctelem_has_deferred' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:107:13: warning: function 'verify_patch_size' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:198:36: warning: function 'compare_header' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:94:22: warning: function 'collect_cpu_info' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:373:12: warning: function 'secondary_nmi_work' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:110:13: warning: function 'signature_matches' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:89:40: warning: function 'get_ext_sigtable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:144:20: warning: function 'print_fixed_last' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:259:13: warning: function 'mtrr_wrmsr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:589:21: warning: function 'generic_have_wrcomb' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:458:1: warning: function 'mtrr_add' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:545:1: warning: function 'mtrr_del' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:76:20: warning: function 'mtrr_attrib_to_str' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:82:12: warning: function 'have_wrcomb' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1002:22: warning: function 'auto_demotion_disable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1017:22: warning: function 'c1e_promotion_enable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1026:22: warning: function 'c1e_promotion_disable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1227:34: warning: function 'irtl_2_usec' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1402:20: warning: function 'mwait_idle_state_table_update' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:149:28: warning: function 'choose_hwdom_vcpu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:334:15: warning: function 'vpmu_save_force' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:494:22: warning: function 'vpmu_clear_last' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:631:6: warning: function 'vpmu_dump' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:116:19: warning: function 'get_fam15h_addr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:183:20: warning: function 'context_load' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:563:36: warning: function 'amd_vpmu_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:590:36: warning: function 'hygon_vpmu_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/debug.c:31:14: warning: function 'x86_adj_dr7_rsvd' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/delay.c:18:6: warning: function '__udelay' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:206:27: warning: function 'dmi_checksum' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:653:29: warning: function 'dmi_decode' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:811:13: warning: function 'dmi_end_boot' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:35:20: warning: function 'memsize_gt_zero' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:40:29: warning: function 'get_memsize' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1047:6: warning: function 'arch_domain_creation_finished' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:109:6: warning: function 'play_dead' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1523:5: warning: function 'arch_vcpu_reset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1540:1: warning: function 'time_area_populate' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1870:15: warning: function 'paravirt_ctxt_switch_from' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1930:27: warning: function 'need_full_gdt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:288:13: warning: function 'cpu_policy_updated' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domctl.c:140:6: warning: function 'arch_get_domain_info' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:75:20: warning: function 'add_memory_region' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:177:23: warning: function 'FormatDec' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:208:37: warning: function 'wstrlen' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:217:23: warning: function 'wstrcpy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:279:20: warning: function 'match_guid' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:727:20: warning: function 'handle_file_info' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:808:20: warning: function 'read_section' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/ebmalloc.c:28:14: warning: function 'ebmalloc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/ebmalloc.c:55:13: warning: function 'free_ebmalloc_unused_mem' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/mkreloc.c:74:13: warning: function 'usage' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:159:6: warning: function 'efi_rs_using_pgtables' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:187:6: warning: function 'efi_halt_system' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:68:21: warning: function 'pit_get_count' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/extable.c:198:15: warning: function 'search_pre_exception_table' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:270:6: warning: function 'cache_flush' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:356:6: warning: function 'guest_flush_tlb_mask' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/gdbsx.c:169:6: warning: function 'domain_pause_for_debugger' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:124:12: warning: function 'hpet_next_event' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:240:22: warning: function 'hpet_interrupt_handler' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:400:20: warning: function 'pvh_init_p2m' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:906:20: warning: function 'pvh_acpi_xsdt_table_allowed' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1036:13: warning: function 'latch_linear_to_phys' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:114:21: warning: function 'ioreq_server_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1274:21: warning: function 'hvmemul_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2105:21: warning: function 'hvmemul_read_segment' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2141:21: warning: function 'hvmemul_read_io' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2255:21: warning: function 'hvmemul_read_msr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2268:21: warning: function 'hvmemul_write_msr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2938:20: warning: function 'guest_x86_mode_to_str' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2965:5: warning: function 'hvmemul_cache_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:101:24: warning: function 'hpet_read64' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:561:21: warning: function 'hpet_range' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:702:13: warning: function 'hpet_set' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:733:6: warning: function 'hpet_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:767:6: warning: function 'hpet_reset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:108:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1641:6: warning: function 'hvm_vcpu_destroy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2799:6: warning: function 'hvm_mapped_guest_frames_mark_dirty' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:284:6: warning: function 'hvm_get_guest_pat' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:369:5: warning: function 'hvm_scale_tsc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3831:22: warning: function 'is_cross_vendor' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3940:13: warning: function 'hvm_latch_shinfo_size' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:411:13: warning: function 'hvm_set_guest_tsc_msr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:421:13: warning: function 'hvm_set_guest_tsc_adjust' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:449:6: warning: function 'hvm_set_info_guest' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:275:6: warning: function 'register_mmio_handler' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:288:6: warning: function 'register_portio_handler' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:229:6: warning: function 'register_g2m_portio_handler' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:395:21: warning: function 'vpci_mmcfg_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:422:21: warning: function 'vpci_mmcfg_write' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:499:6: warning: function 'destroy_vpci_mmcfg' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:55:6: warning: function 'hvm_emulate_one_insn' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:20:6: warning: function 'hvm_domain_use_pirq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:578:5: warning: function 'hvm_local_events_need_delivery' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:118:6: warning: function 'hvm_monitor_descriptor_access' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:140:29: warning: function 'gfn_of_rip' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:216:5: warning: function 'hvm_monitor_cpuid' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:349:5: warning: function 'hvm_monitor_io' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:75:6: warning: function 'hvm_monitor_emul_unimplemented' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:279:16: warning: function 'page_pat_type' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:362:22: warning: function 'valid_mtrr_type' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:524:6: warning: function 'hvm_destroy_cacheattr_region_list' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:91:9: warning: function 'pat_type_2_pte_flags' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:338:6: warning: function 'pmtimer_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:372:6: warning: function 'pmtimer_reset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:59:6: warning: function 'hvm_acpi_power_button' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:72:6: warning: function 'hvm_acpi_sleep_button' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:219:22: warning: function 'rtc_update_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:232:22: warning: function 'rtc_update_timer2' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:247:21: warning: function 'to_bcd' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:255:21: warning: function 'from_bcd' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:457:22: warning: function 'rtc_alarm_cb' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:901:6: warning: function 'rtc_update_clock' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:343:5: warning: function '_hvm_init_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:103:13: warning: function 'stdvga_try_cache_enable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:120:13: warning: function 'stdvga_cache_disable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:183:13: warning: function 'stdvga_out' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:201:21: warning: function 'stdvga_intercept_pio' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:304:21: warning: function 'stdvga_mem_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/asid.c:13:6: warning: function 'svm_asid_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1182:21: warning: function 'svm_vcpu_initialise' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1540:6: warning: function 'svm_load_segs_prefetch' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2171:13: warning: function 'svm_vmexit_do_hlt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2207:13: warning: function 'svm_vmexit_do_pause' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2394:13: warning: function 'svm_invlpga_intercept' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2409:22: warning: function 'is_invlpg' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2425:22: warning: function 'svm_get_pending_event' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:390:13: warning: function 'svm_restore_dr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:555:22: warning: function 'svm_set_interrupt_shadow' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:758:21: warning: function 'svm_set_guest_pat' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:769:21: warning: function 'svm_get_guest_pat' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:780:17: warning: function 'scale_tsc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:853:22: warning: function 'svm_set_rdtsc_exiting' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:890:30: warning: function 'svm_get_insn_bytes' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svmdebug.c:19:6: warning: function 'svm_vmcb_dump' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/vmcb.c:22:21: warning: function 'alloc_vmcb' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:565:5: warning: function 'vioapic_get_mask' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:576:14: warning: function 'vioapic_get_vector' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:587:5: warning: function 'vioapic_get_trigger_mode' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:673:13: warning: function 'vioapic_free' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:367:6: warning: function 'viridian_synic_is_auto_eoi_sint' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:381:6: warning: function 'viridian_synic_save_vcpu_ctxt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:64:6: warning: function 'viridian_apic_assist_clear' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:119:13: warning: function 'stop_stimer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:496:5: warning: function 'viridian_time_vcpu_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:538:6: warning: function 'viridian_time_save_vcpu_ctxt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:558:6: warning: function 'viridian_time_load_vcpu_ctxt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:582:6: warning: function 'viridian_time_load_domain_ctxt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1053:6: warning: function 'viridian_dump_guest_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1096:6: warning: function 'viridian_unmap_guest_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1048:21: warning: function 'vlapic_range' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1165:11: warning: function 'vlapic_tdt_msr_get' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1380:8: warning: function 'is_vlapic_lvtpc_enabled' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:683:22: warning: function 'vlapic_pt_cb' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:432:13: warning: function 'add_msixtbl_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:643:21: warning: function 'msi_gflags' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:664:13: warning: function 'vpci_mask_pirq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:844:6: warning: function 'vpci_msix_arch_mask_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:877:5: warning: function 'vpci_msix_arch_disable_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1001:6: warning: function 'virtual_vmcs_exit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1633:6: warning: function 'vmx_vcpu_disable_pml' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1991:29: warning: function 'vmr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:212:12: warning: function 'adjust_vmx_controls' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:233:15: warning: function 'cap_check' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:565:16: warning: function 'vmx_alloc_vmcs' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:613:13: warning: function 'vmx_clear_vmcs' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:95:13: warning: function 'update_ept_param' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1058:22: warning: function 'vmx_save_vmcs_ctxt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1151:22: warning: function 'vmx_ctxt_switch_to' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1457:22: warning: function 'vmx_setup_tsc_scaling' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1467:22: warning: function 'vmx_set_tsc_offset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1478:22: warning: function 'vmx_set_rdtsc_exiting' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1541:22: warning: function 'vmx_get_nonreg_state' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1556:22: warning: function 'vmx_set_nonreg_state' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2455:22: warning: function 'vmx_get_pending_event' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2493:21: warning: function 'vmtrace_get_option' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2608:21: warning: function 'vmtrace_reset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3074:22: warning: function 'vmx_fpu_dirty_intercept' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3109:22: warning: function 'vmx_invlpg' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3434:13: warning: function 'vmx_free_vlapic_mapping' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:4764:13: warning: function 'sign_extend_msr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:688:13: warning: function 'vmx_restore_host_msrs' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:876:13: warning: function 'vmx_save_dr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:916:13: warning: function 'vmx_restore_dr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:184:13: warning: function 'vcpu_relinquish_resources' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:207:19: warning: function 'nvmx_vcpu_eptp_base' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:234:12: warning: function 'vvmcs_offset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:373:19: warning: function '__n2_pin_exec_control' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:378:19: warning: function '__n2_exec_control' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:49:6: warning: function 'nvmx_cpu_dead' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:531:19: warning: function '__shadow_control' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:674:13: warning: function 'nvmx_update_exit_control' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:687:13: warning: function 'nvmx_update_entry_control' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:763:13: warning: function '__clear_current_vvmcs' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:771:13: warning: function 'unmap_msr_bitmap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:803:13: warning: function 'unmap_io_bitmap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:828:35: warning: function 'map_io_bitmap_all' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:973:13: warning: function 'vvmcs_to_shadow' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:454:6: warning: function 'vpic_reset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:472:6: warning: function 'vpic_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:203:13: warning: function 'pt_freeze_time' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:473:6: warning: function 'pt_migrate' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:300:6: warning: function 'save_fpu_enable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:173:19: warning: function 'i8259A_irq_real' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:54:22: warning: function 'end_8259A_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1263:20: warning: function 'print_IO_APIC' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1501:19: warning: function 'timer_irq_works' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1570:22: warning: function 'ack_edge_ioapic_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:193:10: warning: function 'io_apic_get_used_vector_map' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2338:5: warning: function 'ioapic_guest_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2497:21: warning: function 'delivery_mode_2_str' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:419:6: warning: function 'free_ioapic_entries' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/ioport_emulate.c:103:28: warning: function 'ioport_quirks_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1067:28: warning: function 'guest_action' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:106:20: warning: function 'valid_irq_vector' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1196:18: warning: function 'domain_spin_lock_irq_desc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1270:13: warning: function 'cleanup_domain_irq_pirq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1306:6: warning: function 'cleanup_domain_irq_mapping' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:143:13: warning: function 'trace_irq_mask' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:896:6: warning: function 'pirq_set_affinity' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:926:6: warning: function 'alloc_direct_apic_vector' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:939:22: warning: function 'irq_ratelimit_timer_fn' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:958:28: warning: function 'irq_ratelimit_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:23:13: warning: function 'has_active_waitqueue' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/machine_kexec.c:198:5: warning: function 'machine_kexec_get' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1705:6: warning: function 'fill_ro_mpt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:257:20: warning: function 'assign_io_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4546:6: warning: function 'do_update_va_mapping' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:464:15: warning: function 'domain_get_maximum_gpfn' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:569:20: warning: function 'set_tlbflush_timestamp' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6327:6: warning: function 'write_32bit_pse_identmap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/altp2m.c:98:6: warning: function 'altp2m_vcpu_disable_ve' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:325:14: warning: function 'hap_get_allocation' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:804:1: warning: function 'hap_write_p2m_entry_post' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:823:31: warning: function 'hap_p2m_ga_to_gfn_real_mode' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:125:15: warning: function 'nept_misconfiguration_check' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:88:15: warning: function 'nept_non_present_check' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_hap.c:62:1: warning: function 'nestedp2m_write_p2m_entry_post' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:252:5: warning: function 'p2m_set_altp2m_mem_access' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:299:6: warning: function 'xenmem_access_to_p2m_access' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:499:6: warning: function 'p2m_mem_access_sanity_check' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:194:6: warning: function 'p2m_final_teardown' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:97:13: warning: function 'p2m_teardown_hostp2m' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:33:22: warning: function 'is_epte_valid' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1417:6: warning: function 'p2m_pod_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1429:6: warning: function 'p2m_pod_active' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:503:13: warning: function 'pod_unlock_and_flush' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:695:1: warning: function 'p2m_pod_decrease_reservation' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:122:13: warning: function '_memory_type_changed' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1537:1: warning: function 'p2m_get_p2m' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1776:6: warning: function 'p2m_altp2m_check' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1910:6: warning: function 'p2m_flush_altp2m' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:219:6: warning: function 'p2m_enable_hardware_log_dirty' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:227:6: warning: function 'p2m_disable_hardware_log_dirty' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:235:6: warning: function 'p2m_flush_hardware_cached_dirty' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2551:5: warning: function 'p2m_set_suppress_ve' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:266:6: warning: function 'p2m_tlb_flush_sync' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:59:6: warning: function 'p2m_free_logdirty' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:79:13: warning: function 'change_entry_type_global' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:45:14: warning: function 'paging_new_log_dirty_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:62:14: warning: function 'paging_new_log_dirty_leaf' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:89:15: warning: function 'paging_map_log_dirty_bitmap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:956:27: warning: function 'paging_get_mode' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:995:5: warning: function 'arch_get_paging_mempool_size' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/physmap.c:57:1: warning: function 'guest_physmap_remove_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1071:22: warning: function 'shadow_blow_all_tables' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1092:1: warning: function 'next_shadow' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1098:1: warning: function 'set_next_shadow' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1417:21: warning: function 'shadow_get_allocation' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1435:21: warning: function 'sh_hash' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1804:20: warning: function 'trace_shadow_wrmap_bf' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:429:20: warning: function 'trace_resync' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:140:1: warning: function 'hvm_emulate_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:153:1: warning: function 'hvm_emulate_insn_fetch' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:968:1: warning: function 'sh_write_p2m_entry_post' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/pv.c:34:1: warning: function 'shadow_cmpxchg_guest_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:124:19: warning: function 'mpf_checksum' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:579:20: warning: function 'efi_unmap_mpf' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1176:13: warning: function 'msi_free_irqs' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:127:13: warning: function 'memory_decoded' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:140:13: warning: function 'msix_memory_decoded' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:266:6: warning: function '__msi_set_enable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:278:13: warning: function 'msi_set_enable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:418:15: warning: function 'unmask_msi_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:430:30: warning: function 'startup_msi_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:528:5: warning: function '__setup_msi_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msr.c:29:5: warning: function 'init_vcpu_msr_policy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:245:13: warning: function 'enable_lapic_nmi_watchdog' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:268:6: warning: function 'release_lapic_nmi' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:285:13: warning: function 'clear_msr_range' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:293:20: warning: function 'write_watchdog_counter' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:430:21: warning: function 'cpu_nmi_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:476:12: warning: function 'watchdog_setup' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:81:28: warning: function 'parse_watchdog_timeout' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/numa.c:30:12: warning: function 'arch_numa_setup' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/percpu.c:18:13: warning: function 'percpu_init_areas' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/platform_hypercall.c:95:13: warning: function 'msr_write_allowed' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1236:21: warning: function 'get_socket_cpu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1491:13: warning: function 'psr_alloc_cos' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1498:6: warning: function 'psr_domain_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1646:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:420:22: warning: function 'cat_get_feat_info' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:450:22: warning: function 'l3_cdp_get_feat_info' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:461:22: warning: function 'l3_cdp_write_msr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:702:6: warning: function 'psr_free_rmid' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/callback.c:105:13: warning: function 'unregister_guest_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:114:12: warning: function 'setup_compat_l4' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:139:13: warning: function 'release_compat_l4' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:517:6: warning: function 'toggle_guest_pt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emulate.c:70:6: warning: function 'pv_emul_instruction_done' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/misc-hypercalls.c:19:6: warning: function 'do_get_debugreg' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:17:21: warning: function 'pv_emul_is_mem_write' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:50:21: warning: function 'ptwr_emulated_insn_fetch' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/traps.c:108:6: warning: function 'set_guest_nmi_trapbounce' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/traps.c:137:13: warning: function 'pv_trap_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/traps.c:93:6: warning: function 'set_guest_machinecheck_trapbounce' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:294:13: warning: function 'discard_initial_images' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:719:20: warning: function 'using_2M_mapping' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:833:20: warning: function 'loader_is_grub2' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:132:6: warning: function 'machine_halt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:536:28: warning: function 'reboot_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:169:15: warning: function 'send_IPI_mask_flat' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:314:6: warning: function 'smp_send_call_function_mask' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:344:22: warning: function 'stop_this_cpu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:427:15: warning: function 'cpu_down_helper' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1119:21: warning: function 'cpu_smpboot_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1263:6: warning: function '__cpu_disable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1404:13: warning: function 'smp_cpus_done' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:548:5: warning: function 'alloc_cpu_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:681:6: warning: function 'cpu_exit_clear' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:128:13: warning: function 'acpi_numa_slit_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:34:20: warning: function 'node_found' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/sysctl.c:40:22: warning: function 'l3_cache_get' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1083:5: warning: function 'stime2tsc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1133:1: warning: function 'mktime' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1656:6: warning: function 'domain_set_time_offset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1911:22: warning: function 'tsc_check_slave' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1922:13: warning: function 'tsc_check_reliability' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2105:22: warning: function 'time_calibration' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2466:28: warning: function 'disable_pit_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2484:15: warning: function 'pit_broadcast_exit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2630:10: warning: function 'gtsc_to_gtime' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:280:14: warning: function 'freq_string' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:844:17: warning: function 'read_counter' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:920:13: warning: function 'resume_platform_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1677:13: warning: function 'pci_serr_nmicont' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1701:13: warning: function 'pci_serr_error' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1722:13: warning: function 'io_check_error' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1741:13: warning: function 'unknown_nmi_error' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2048:29: warning: function '__set_intr_gate' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2140:13: warning: function 'init_idt_traps' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:421:15: warning: function 'get_stack_trace_bottom' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:438:22: warning: function 'get_shstk_bottom' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:450:15: warning: function 'get_stack_dump_bottom' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:837:6: warning: function 'do_unhandled_trap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/cpu_idle.c:35:7: warning: function 'xlat_malloc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1138:12: warning: function 'transfer_pages_to_heap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:122:12: warning: function 'hotadd_mem_valid' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconf-fam10h.c:198:13: warning: function 'check_enable_amd_mmconf_dmi' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:48:22: warning: function 'pci_dev_base' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/traps.c:293:21: warning: function 'write_stub_trampoline' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:53:15: warning: function 'x86_insn_operand_ea' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:63:15: warning: function 'x86_insn_is_portio' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:99:15: warning: function 'x86_insn_immediate' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:80:6: warning: function 'set_msr_xss' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:115:6: warning: function '__bitmap_and' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:126:6: warning: function '__bitmap_or' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:137:6: warning: function '__bitmap_xor' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:148:6: warning: function '__bitmap_andnot' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:384:13: warning: function 'bitmap_byte_to_long' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:50:13: warning: function 'clamp_last_byte' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/compat/multicall.c:15:20: warning: function 'xlat_multicall_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/compat/multicall.c:30:13: warning: function '__trace_multicall_call' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1123:6: warning: function 'vcpu_end_shutdown_deferral' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1237:6: warning: function 'vcpu_unpause' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:899:16: warning: function 'rcu_lock_domain_by_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:927:16: warning: function 'rcu_lock_domain_by_any_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/domctl.c:156:6: warning: function 'vnuma_destroy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1146:5: warning: function 'evtchn_unmask' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1232:12: warning: function 'evtchn_set_priority' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:139:23: warning: function '_evtchn_from_port' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:145:13: warning: function 'free_evtchn_bucket' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1613:6: warning: function 'evtchn_move_pirqs' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1691:22: warning: function 'dump_evtchn_info' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:571:13: warning: function 'link_pirq_port' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:379:21: warning: function 'evtchn_fifo_set_priority' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:446:13: warning: function 'unmap_guest_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:511:13: warning: function 'cleanup_control_block' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:524:12: warning: function 'setup_event_array' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:53:29: warning: function 'evtchn_fifo_word_from_port' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:692:5: warning: function 'evtchn_fifo_expand_array' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:426:20: warning: function 'gnttab_flush_tlb' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4344:22: warning: function 'gnttab_usage_print_all' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/gunzip.c:69:20: warning: function 'flush_window' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:152:13: warning: function 'node_exit_all' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:183:6: warning: function 'hypfs_free_dyndata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:354:28: warning: function 'hypfs_get_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:488:13: warning: function 'ioreq_server_free_rangesets' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:48:6: warning: function 'ioreq_signal_mapcache_invalidate' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:561:13: warning: function 'ioreq_server_disable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:73:29: warning: function 'get_ioreq_server' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:413:13: warning: function 'do_presmp_initcalls' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:420:13: warning: function 'do_initcalls' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1148:12: warning: function 'kexec_do_unload' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:360:12: warning: function 'kexec_common_shutdown' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:434:15: warning: function 'sizeof_cpu_notes' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:453:15: warning: function 'alloc_from_crash_heap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:534:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:668:12: warning: function 'kexec_get_range_internal' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:738:12: warning: function 'kexec_load_get_bits' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:756:6: warning: function 'vmcoreinfo_append_str' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:775:13: warning: function 'crash_save_vmcoreinfo' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:811:13: warning: function 'kexec_unload_image' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:903:17: warning: function 'kexec_load_v1_arch' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:379:22: warning: function 'read_clocks_slave' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:523:22: warning: function 'do_toggle_alt_key' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:531:13: warning: function 'initialize_keytable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:415:19: warning: function 'kimage_alloc_control_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:536:6: warning: function 'kimage_free' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:71:26: warning: function 'kimage_alloc_zeroed_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:836:17: warning: function 'kimage_entry_next' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:843:7: warning: function 'kimage_entry_mfn' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:850:15: warning: function 'kimage_entry_ind' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:121:10: warning: function 'elf_round_up' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:145:10: warning: function 'elf_phdr_count' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:225:13: warning: function 'elf_strfmt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:22:6: warning: function 'elf_mark_broken' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:234:12: warning: function 'elf_section_start' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:245:12: warning: function 'elf_segment_start' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:375:6: warning: function 'elf_set_xdest' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:81:6: warning: function 'elf_memset_safe' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:2188:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:2203:28: warning: function 'livepatch_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:254:13: warning: function 'free_payload_data' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1124:21: warning: function 'ioreq_server_max_frames' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1144:21: warning: function 'resource_max_frames' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1226:12: warning: function '_acquire_resource' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1881:6: warning: function 'destroy_ring_for_helper' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/monitor.c:133:6: warning: function 'monitor_guest_request' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/multicall.c:28:13: warning: function 'trace_multicall_call' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:51:6: warning: function 'numa_disabled' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2633:6: warning: function 'scrub_one_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:775:13: warning: function 'poison_one_page' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/preempt.c:28:8: warning: function 'in_atomic' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:55:41: warning: function 'rcu_node_alloc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:747:28: warning: function 'radix_tree_init_maxindex' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:74:32: warning: function 'radix_tree_node_alloc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:417:8: warning: function 'rangeset_is_empty' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:532:13: warning: function 'print_limit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:61:22: warning: function 'first_range' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:70:22: warning: function 'next_range' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:79:13: warning: function 'insert_range' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:248:13: warning: function 'force_quiescent_state' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:275:6: warning: function 'call_rcu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:376:13: warning: function 'cpu_quiet' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:534:13: warning: function 'rcu_idle_timer_start' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:598:13: warning: function 'rcu_move_batch' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:608:13: warning: function 'rcu_offline_cpu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:644:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rwlock.c:12:20: warning: function 'rspin_until_writer_unlock' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/rwlock.c:26:6: warning: function 'queue_read_lock_slowpath' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:206:13: warning: function 'update_schedule_units' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:306:1: warning: function 'arinc653_sched_get' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:347:1: warning: function 'a653sched_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:493:1: warning: function 'a653sched_unit_wake' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1383:5: warning: function 'vcpu_set_hard_affinity' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:142:28: warning: function 'unit2vcpu_cpu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1575:6: warning: function 'watchdog_domain_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1587:6: warning: function 'watchdog_domain_destroy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:206:20: warning: function 'trace_runstate_change' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2113:13: warning: function 'vcpu_periodic_timer_work_locked' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2146:6: warning: function 'vcpu_set_periodic_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:224:20: warning: function 'trace_continue_running' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2263:27: warning: function 'do_schedule' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2283:13: warning: function 'vcpu_context_saved' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2806:22: warning: function 'sched_res_free' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2967:12: warning: function 'sched_get_id_by_name' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:3453:13: warning: function 'sched_setup_dom0_vcpus' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:370:13: warning: function 'sched_spin_unlock_double' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1112:30: warning: function 'cpupool_dir_getsize' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1124:43: warning: function 'cpupool_dir_enter' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:170:14: warning: function 'cpupool_get_granularity' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:175:13: warning: function 'free_cpupool_struct' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:226:24: warning: function '__cpupool_get_by_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:247:6: warning: function 'cpupool_put' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:669:6: warning: function 'cpupool_rm_domain' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:74:13: warning: function 'sched_gran_print' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:975:14: warning: function 'cpupool_get_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1249:1: warning: function '__csched_set_tslice' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1304:1: warning: function 'csched_alloc_domdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1584:22: warning: function 'csched_tick' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:2032:1: warning: function 'csched_dump_unit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:2262:1: warning: function 'csched_deinit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:576:1: warning: function 'csched_alloc_pdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:626:1: warning: function 'csched_move_timers' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1100:1: warning: function '_runq_assign' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1423:1: warning: function 'update_load' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2686:13: warning: function 'unit_is_migrateable' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3166:1: warning: function 'csched2_alloc_domdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3198:1: warning: function 'csched2_free_domdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3766:1: warning: function 'csched2_dump_unit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:691:6: warning: function 'smt_idle_mask_set' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:704:6: warning: function 'smt_idle_mask_clear' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:853:20: warning: function 'same_core' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:133:21: warning: function 'null_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:181:23: warning: function 'null_alloc_pdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:198:23: warning: function 'null_alloc_udata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:222:23: warning: function 'null_alloc_domdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:242:22: warning: function 'null_free_domdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:939:20: warning: function 'dump_unit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:295:1: warning: function 'compare_unit_priority' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:491:1: warning: function 'deadline_queue_remove' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:775:1: warning: function 'rt_deinit_pdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:807:1: warning: function 'rt_alloc_domdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:829:1: warning: function 'rt_free_domdata' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/shutdown.c:33:6: warning: function 'hwdom_shutdown' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:377:5: warning: function '_spin_is_locked' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:485:6: warning: function '_spin_unlock_recursive' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:68:28: warning: function 'lockdebug_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/stop_machine.c:185:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/stop_machine.c:201:28: warning: function 'cpu_stopmachine_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/stop_machine.c:64:13: warning: function 'stopmachine_wait_state' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/symbols.c:82:21: warning: function 'get_symbol_offset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:217:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/time.c:127:6: warning: function 'do_settime' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:131:12: warning: function 'add_to_heap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:152:12: warning: function 'remove_from_list' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:233:20: warning: function 'deactivate_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:540:10: warning: function 'align_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:436:28: warning: function 'calc_rec_size' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:77:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:125:20: warning: function 'rc_do_normalize' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:132:27: warning: function 'rc_normalize' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:182:26: warning: function 'rc_direct_bit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:195:1: warning: function 'rc_bit_tree_decode' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:33:25: warning: function 'read_int' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:85:20: warning: function 'rc_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/version.c:100:5: warning: function 'xen_build_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/virtual_region.c:108:6: warning: function 'tighten_virtual_region_perms' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/virtual_region.c:128:13: warning: function 'setup_virtual_regions' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/virtual_region.c:96:6: warning: function 'relax_virtual_region_perms' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:161:13: warning: function 'vm_event_wake_queued' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:314:12: warning: function 'vm_event_get_response' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:455:6: warning: function 'vm_event_cancel_slot' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:512:6: warning: function 'vm_event_check_ring' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:564:6: warning: function 'vm_event_cleanup' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:226:6: warning: function 'vunmap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:27:12: warning: function 'skip_atoi' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:771:5: warning: function 'xvasprintf' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/warning.c:11:13: warning: function 'warning_add' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:638:7: warning: function '_xzalloc' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:233:28: warning: function 'pre_map_gar_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:246:12: warning: function 'apei_exec_pre_map_gars' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:262:28: warning: function 'post_unmap_gar_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:54:5: warning: function 'apei_exec_ctx_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:70:5: warning: function '__apei_exec_read_register' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:83:14: warning: function 'apei_exec_read_register' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:97:14: warning: function 'apei_exec_read_register_value' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:142:20: warning: function 'apei_post_unmap' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:230:12: warning: function 'apei_read_mem' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:258:12: warning: function 'apei_write_mem' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:106:12: warning: function 'erst_timedout' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:149:21: warning: function 'erst_exec_add_value' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:163:21: warning: function 'erst_exec_subtract_value' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:177:21: warning: function 'erst_exec_stall' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:402:9: warning: function 'erst_get_record_count' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:417:12: warning: function '__erst_get_next_record_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:436:5: warning: function 'erst_get_next_record_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:687:9: warning: function 'erst_read' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:89:19: warning: function 'erst_errno' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/numa.c:123:1: warning: function 'acpi_parse_x2apic_affinity' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/numa.c:142:1: warning: function 'acpi_parse_processor_affinity' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/numa.c:160:1: warning: function 'acpi_parse_memory_affinity' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/numa.c:177:21: warning: function 'acpi_parse_srat' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/numa.c:196:12: warning: function 'acpi_numa_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:284:1: warning: function 'acpi_table_get_entry_madt' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:463:12: warning: function 'acpi_table_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:475:28: warning: function 'acpi_parse_apic_instance' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbutils.c:178:1: warning: function 'acpi_tb_verify_checksum' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbutils.c:216:4: warning: function 'acpi_tb_checksum' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:266:20: warning: function 'loglvl_str' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:301:13: warning: function 'do_adj_thresh' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:316:22: warning: function 'do_dec_thresh' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:410:6: warning: function 'console_giveback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1022:20: warning: function 'detect_set_debug_port' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1303:15: warning: function 'ehci_dbgp_setup_preirq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1362:29: warning: function 'ehci_dbgp_init_postirq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1418:22: warning: function 'ehci_dbgp_suspend' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1435:22: warning: function 'ehci_dbgp_resume' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1467:28: warning: function 'parse_ehci_dbgp' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:682:28: warning: function '__find_dbgp' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:1354:13: warning: function 'enable_exar_enhanced_bits' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:385:29: warning: function 'ns16550_init_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:503:22: warning: function 'ns16550_suspend' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:595:28: warning: function 'ns16550_irq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:601:22: warning: function 'ns16550_start_tx' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:611:22: warning: function 'ns16550_stop_tx' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:661:19: warning: function 'parse_parity_char' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:34:20: warning: function 'serial_start_tx' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:40:20: warning: function 'serial_stop_tx' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:414:6: warning: function 'serial_force_unlock' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:464:6: warning: function 'serial_end_sync' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:481:6: warning: function 'serial_start_log_everything' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:497:6: warning: function 'serial_end_log_everything' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:430:13: warning: function 'print_PSS' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:670:21: warning: function 'cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:166:28: warning: function 'cpufreq_gov_performance_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:208:28: warning: function 'cpufreq_gov_powersave_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:94:21: warning: function 'cpufreq_userspace_cpu_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:175:22: warning: function 'do_dbs_timer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:188:13: warning: function 'dbs_timer_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:204:13: warning: function 'dbs_timer_exit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:361:28: warning: function 'cpufreq_gov_dbs_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:370:6: warning: function 'cpufreq_dbs_timer_suspend' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:148:6: warning: function 'cpufreq_statistic_exit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:425:5: warning: function 'cpufreq_get_turbo_status' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:44:6: warning: function 'cpufreq_residency_update' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1073:20: warning: function 'is_ivmd_block' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1319:12: warning: function 'amd_iommu_get_ivrs_dev_entries' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:312:19: warning: function 'parse_ivmd_device_select' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:356:19: warning: function 'parse_ivmd_device_iommu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:477:19: warning: function 'parse_ivhd_device_padding' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:489:19: warning: function 'parse_ivhd_device_select' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:915:1: warning: function 'get_ivhd_header_size' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:366:6: warning: function 'amd_iommu_flush_device' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_detect.c:43:19: warning: function 'get_iommu_capabilities' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:288:12: warning: function 'do_invalidate_pages' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:308:12: warning: function 'do_invalidate_all' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:823:21: warning: function 'guest_iommu_mmio_range' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:868:6: warning: function 'guest_iommu_destroy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1070:29: warning: function 'free_ivrs_mapping_callback' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1579:15: warning: function 'amd_iommu_crash_shutdown' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:209:13: warning: function 'set_iommu_command_buffer_control' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:262:22: warning: function 'set_iommu_event_log_control' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:45:19: warning: function 'map_iommu_mmio_region' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:493:22: warning: function 'set_x2apic_affinity' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:57:20: warning: function 'unmap_iommu_mmio_region' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:636:22: warning: function 'parse_ppr_log_entry' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:66:13: warning: function 'set_iommu_ht_flags' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:965:20: warning: function 'deallocate_buffer' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:110:21: warning: function 'get_next_ioapic_sbdf_index' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:118:20: warning: function 'get_intremap_lock' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:743:21: warning: function 'dump_intremap_mapping' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:83:14: warning: function 'amd_iommu_intremap_table_order' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:688:21: warning: function 'amd_iommu_group_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:743:22: warning: function 'amd_dump_page_tables' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:289:6: warning: function 'iommu_domain_destroy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:690:12: warning: function 'iommu_add_extra_reserved_device_memory' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/msi.c:72:6: warning: function 'pdev_msi_deinit' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1174:12: warning: function 'hest_match_pci' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1183:13: warning: function 'hest_match_type' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:124:13: warning: function 'pci_segments_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1253:6: warning: function 'pcie_aer_get_firmware_first' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:131:12: warning: function 'pci_add_segment' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:136:22: warning: function 'pci_get_ro_map' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:451:20: warning: function '_pci_hide_device' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:1062:13: warning: function 'platform_supports_x2apic' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:173:19: warning: function 'hpet_to_iommu' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:271:5: warning: function 'is_igd_drhd' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:450:19: warning: function 'acpi_dmar_check_length' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:85:13: warning: function 'scope_devices_free' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1435:21: warning: function 'intel_iommu_domain_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2474:22: warning: function 'adjust_vtd_irq_affinities' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:272:6: warning: function 'free_pgtable_maddr' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2948:21: warning: function 'intel_iommu_group_id' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:76:16: warning: function 'convert_domid' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:468:21: warning: function 'vtd_flush_context_noop' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:476:21: warning: function 'vtd_flush_iotlb_noop' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:167:20: warning: function 'snb_errata_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:285:6: warning: function 'vtd_ops_preamble_quirk' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:300:6: warning: function 'vtd_ops_postamble_quirk' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/utils.c:52:6: warning: function 'print_iommu_regs' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/utils.c:82:12: warning: function 'get_level_index' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:1134:28: warning: function 'setup_dpci_softirq' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:33:37: warning: function '_pirq_dpci' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:904:13: warning: function '__hvm_dpci_eoi' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:915:13: warning: function 'hvm_gsi_eoi' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:96:6: warning: function 'pt_pirq_softirq_active' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:291:6: warning: function 'iommu_identity_map_teardown' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:686:28: warning: function 'bsp_init' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msi.c:83:13: warning: function 'update_msi' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/ctors.c:7:13: warning: function 'init_constructors' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/memcpy.c:16:8: warning: function 'memcpy' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/memset.c:15:8: warning: function 'memset' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/strlen.c:11:9: warning: function 'strlen' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/strtol.c:13:6: warning: function 'simple_strtol' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/strtoll.c:13:11: warning: function 'simple_strtoll' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:50:13: warning: function 'x86_cpuid_vendor_to_str' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:5:13: warning: function 'zero_leaves' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:276:12: warning: function 'compare_name_orig' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:395:13: warning: function 'learn_symbol' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:404:13: warning: function 'forget_symbol' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:544:13: warning: function 'optimize_token_table' has cognitive complexity of 1 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:183:1: warning: function 'acpi_parse_lapic_addr_ovr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:235:1: warning: function 'acpi_parse_ioapic' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:279:1: warning: function 'acpi_parse_nmi_src' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:294:28: warning: function 'acpi_parse_hpet' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:730:12: warning: function 'acpi_boot_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1634:6: warning: function 'cpuidle_using_deep_cstate' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:274:13: warning: function 'get_hw_residencies' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:186:13: warning: function 'drv_write' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:246:22: warning: function 'read_measured_perf_ctrs' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:456:21: warning: function 'acpi_cpufreq_verify' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:58:12: warning: function 'check_est_cpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:678:5: warning: function 'cpufreq_cpu_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:105:20: warning: function 'hwp_handle_option' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:257:21: warning: function 'hwp_cpufreq_target' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:526:5: warning: function 'get_hwp_para' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:81:21: warning: function 'hwp_governor' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:184:21: warning: function 'powernow_cpufreq_verify' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:135:5: warning: function 'get_physical_broadcast' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:470:13: warning: function '__enable_x2apic' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:177:12: warning: function 'strmaxcmp' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:217:11: warning: function 'edd_parse' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:232:11: warning: function 'edid_parse' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/reloc.c:99:12: warning: function 'copy_string' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:735:13: warning: function 'init_guest_cpu_policies' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:151:24: warning: function '_probe_mask_msr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:387:6: warning: function 'amd_set_cpuid_user_dis' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:470:22: warning: function 'disable_c1e' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:486:6: warning: function 'amd_check_disable_c1e' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:898:13: warning: function 'detect_zen2_null_seg_behaviour' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:927:13: warning: function 'skinit_enable_intr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/hygon.c:9:13: warning: function 'hygon_get_topology' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:347:13: warning: function 'probe_c3_errata' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:58:20: warning: function 'check_memory_type_self_snoop_errata' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mcaction.c:8:1: warning: function 'mci_action_add_pageoffline' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1073:13: warning: function 'intpose_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1223:17: warning: function 'x86_mc_hwcr_wren' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:153:6: warning: function 'mcabanks_free' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:66:28: warning: function 'mce_set_verbosity' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:717:12: warning: function 'cpu_bank_alloc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:104:15: warning: function 'mc_amd_recoverable_scan' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:285:22: warning: function 'intel_checkaddr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:346:22: warning: function 'intel_default_mce_dhandler' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:597:13: warning: function 'mce_set_owner' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:610:13: warning: function 'cpu_mcheck_distribute_cmci' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:639:13: warning: function 'cpu_mcheck_disable' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:807:13: warning: function 'intel_mce_post_reset' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:917:12: warning: function 'cpu_mcabank_alloc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:506:18: warning: function 'mctelem_consume_oldest_begin' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:346:21: warning: function 'vmce_save_vcpu_ctxt' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:173:36: warning: function 'compare_revisions' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:185:36: warning: function 'microcode_fits' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:281:13: warning: function 'is_cpu_primary' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:380:12: warning: function 'primary_thread_work' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:728:28: warning: function 'microcode_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:751:5: warning: function 'microcode_update_one' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:119:22: warning: function 'collect_cpu_info' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:388:13: warning: function 'intel_can_load_microcode' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:126:27: warning: function 'mtrr_attrib_to_str' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:277:13: warning: function 'set_fixed_range' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:32:1: warning: function 'get_mtrr_var_range' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:526:22: warning: function 'generic_set_mtrr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:101:20: warning: function 'init_table' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:408:12: warning: function 'mtrr_check' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:613:6: warning: function 'mtrr_aps_sync_begin' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:620:6: warning: function 'mtrr_aps_sync_end' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:628:6: warning: function 'mtrr_bp_restore' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1326:20: warning: function 'skx_idle_state_table_update' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1355:20: warning: function 'adl_idle_state_table_update' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1379:20: warning: function 'spr_idle_state_table_update' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:351:6: warning: function 'vpmu_save' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:482:6: warning: function 'vpmu_initialise' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:150:13: warning: function 'amd_vpmu_set_msr_bitmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:164:13: warning: function 'amd_vpmu_unset_msr_bitmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:803:22: warning: function 'core2_vpmu_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/debug.c:11:14: warning: function 'x86_adj_dr6_rsvd' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:127:20: warning: function 'bt_iounmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:509:28: warning: function 'dmi_disable_acpi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:524:28: warning: function 'force_acpi_ht' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:302:22: warning: function 'dom0_paging_pages' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1900:13: warning: function '_update_runstate_area' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:485:16: warning: function 'alloc_domain_struct' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:618:6: warning: function 'arch_vcpu_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:686:22: warning: function 'init_e820' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1097:20: warning: function 'efi_variables' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:193:20: warning: function 'DisplayUint' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:226:19: warning: function 'wstrcmp' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:247:23: warning: function 's2w' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/ebmalloc.c:40:6: warning: function 'efi_boot_mem_unused' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/mkreloc.c:161:20: warning: function 'map_section' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:166:15: warning: function 'efi_get_time' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:200:6: warning: function 'efi_reset_system' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:148:12: warning: function 'pit_get_out' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:401:6: warning: function 'pit_stop_channel0_irq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:586:6: warning: function 'pit_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:92:22: warning: function 'pit_time_fired' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/extable.c:26:39: warning: function 'cmp_ex' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:301:6: warning: function 'cache_writeback' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/bigsmp.c:30:28: warning: function 'probe_bigsmp' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:314:13: warning: function 'check_x2apic_preenabled' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:183:13: warning: function 'evt_do_broadcast' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:385:19: warning: function 'hpet_assign_irq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:553:22: warning: function 'handle_rtc_once' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:683:6: warning: function 'hpet_disable_legacy_broadcast' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:764:5: warning: function 'hpet_broadcast_is_available' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:770:5: warning: function 'hpet_legacy_irq_tick' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:788:13: warning: function 'hpet_enable_legacy_replacement_mode' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/asid.c:73:6: warning: function 'hvm_asid_flush_vcpu_asid' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/asid.c:84:6: warning: function 'hvm_asid_flush_core' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:90:12: warning: function 'set_isa_irq_level' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1677:21: warning: function 'hvmemul_validate' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2539:21: warning: function 'hvmemul_vmfunc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:136:19: warning: function 'hpet_check_access_length' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:325:13: warning: function 'timer_sanitize_int_route' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:137:20: warning: function 'hap_supported' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2049:5: warning: function 'hvm_handle_xsetbv' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:219:5: warning: function 'hvm_event_needs_reinjection' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:323:5: warning: function 'hvm_set_guest_pat' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4105:12: warning: function 'hvmop_flush_tlb_all' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:492:6: warning: function 'hvm_migrate_pirqs' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:767:21: warning: function 'hvm_save_tsc_adjust' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:240:5: warning: function 'hvm_io_intercept' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:327:8: warning: function 'hvm_mmio_internal' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:255:22: warning: function 'vpci_portio_accept' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:331:6: warning: function 'register_vpci_portio_handler' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:37:6: warning: function 'send_timeoffset_req' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:83:6: warning: function 'handle_mmio_with_translation' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:121:13: warning: function 'hvm_unmap_ioreq_gfn' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:308:21: warning: function 'hvm_access_cf8' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:683:21: warning: function 'irq_save_isa' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:692:21: warning: function 'irq_save_link' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:37:13: warning: function 'set_npt_base' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:295:16: warning: function 'effective_mm_type' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/nestedhvm.c:53:1: warning: function 'nestedhvm_vcpu_initialise' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:362:6: warning: function 'pmtimer_deinit' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/quirks.c:17:28: warning: function 'dmi_hvm_deny_port80' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:633:12: warning: function 'update_in_progress' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:729:6: warning: function 'rtc_migrate_timers' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:802:6: warning: function 'rtc_reset' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1271:1: warning: function 'nestedsvm_vmexit_defer' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1542:1: warning: function 'nestedsvm_gif_isset' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1554:6: warning: function 'svm_vmexit_do_stgi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1576:6: warning: function 'svm_vmexit_do_clgi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1164:21: warning: function 'svm_domain_initialise' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1734:13: warning: function 'svm_vmexit_do_cr_access' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2224:1: warning: function 'svm_vmexit_do_vmrun' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2374:22: warning: function 'svm_wbinvd_intercept' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2380:13: warning: function 'svm_vmexit_do_invalidate_cache' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:398:12: warning: function 'svm_vmcb_save' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:541:30: warning: function 'svm_get_interrupt_shadow' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:872:22: warning: function 'svm_set_descriptor_access_exiting' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:928:20: warning: function 'svm_tsc_ratio_save' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:935:20: warning: function 'svm_tsc_ratio_load' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/vmcb.c:206:6: warning: function 'svm_destroy_vmcb' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:281:5: warning: function 'viridian_synic_vcpu_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:128:22: warning: function 'stimer_expire' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:244:6: warning: function 'viridian_time_poll_timers' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:512:6: warning: function 'viridian_vcpu_deinit' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1428:6: warning: function 'vlapic_reset' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1638:6: warning: function 'vlapic_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:73:12: warning: function 'vlapic_find_highest_vector' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:89:12: warning: function 'vlapic_test_and_set_irr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:94:13: warning: function 'vlapic_clear_irr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:589:6: warning: function 'msixtbl_pt_cleanup' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:751:12: warning: function 'vpci_msi_enable' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1609:5: warning: function 'vmx_vcpu_enable_pml' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1863:5: warning: function 'vmx_create_vmcs' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1916:13: warning: function 'vmx_update_debug_state' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:973:6: warning: function 'vmx_vmcs_switch' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1383:21: warning: function 'vmx_set_guest_pat' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1395:21: warning: function 'vmx_get_guest_pat' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1488:22: warning: function 'vmx_set_descriptor_access_exiting' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1910:13: warning: function 'nvmx_enqueue_n2_exceptions' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2107:22: warning: function 'vmx_set_info_guest' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2135:22: warning: function 'vmx_update_eoi_exit_bitmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2144:11: warning: function 'set_svi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2405:21: warning: function 'vmx_vcpu_emulate_vmfunc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3055:6: warning: function 'update_guest_eip' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:4779:13: warning: function 'lbr_fixup' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:562:21: warning: function 'vmx_domain_initialise' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:745:6: warning: function 'vmx_update_cpu_exec_control' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:753:6: warning: function 'vmx_update_secondary_exec_control' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:923:13: warning: function 'vmx_vmcs_save' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1151:15: warning: function 'nvmx_vpid_enabled' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1473:13: warning: function 'nvmx_eptp_update' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1614:12: warning: function 'set_vvmcs_launched' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2010:12: warning: function 'nvmx_handle_invept' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2038:12: warning: function 'nvmx_handle_invvpid' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:545:16: warning: function '_shadow_io_bitmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:558:13: warning: function 'update_msrbitmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:755:13: warning: function 'nvmx_update_pfec' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:787:26: warning: function '_map_msr_bitmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:814:28: warning: function '_map_io_bitmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:834:13: warning: function 'nvmx_purge_vvmcs' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:211:13: warning: function 'pt_thaw_time' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:557:6: warning: function 'destroy_periodic_time' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hypercall.c:206:21: warning: function 'arch_do_multicall_call' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:381:6: warning: function 'vcpu_destroy_fpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:116:15: warning: function 'enable_8259A_irq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:131:5: warning: function 'i8259A_irq_pending' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:96:13: warning: function '_disable_8259A_irq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2325:12: warning: function 'apic_pin_2_gsi_irq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2565:20: warning: function 'bad_ioapic_register' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/ioport_emulate.c:14:30: warning: function 'ioemul_handle_proliant_quirk' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:127:13: warning: function '_trace_irq_mask' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1528:5: warning: function 'pirq_shared' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:735:6: warning: function 'move_native_irq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:822:13: warning: function 'send_cleanup_vector' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:211:5: warning: function 'arch_livepatch_verify_elf' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/machine_kexec.c:105:5: warning: function 'machine_kexec_load' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1301:12: warning: function 'put_page_from_l4e' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1822:13: warning: function 'demote_l1_table' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4558:6: warning: function 'do_update_va_mapping_otherdomain' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4894:14: warning: function 'mmio_ro_emulated_write' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4966:6: warning: function 'free_xen_pagetable' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4972:7: warning: function 'alloc_mapped_pagetable' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:508:6: warning: function 'make_cr3' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/altp2m.c:14:1: warning: function 'altp2m_vcpu_initialise' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:536:6: warning: function 'hap_final_teardown' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:697:22: warning: function 'hap_invlpg' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:70:6: warning: function 'p2m_free_one' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1161:22: warning: function 'ept_change_entry_type_global' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1219:22: warning: function 'ept_memory_type_changed' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1377:5: warning: function 'ept_p2m_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:194:21: warning: function 'ept_set_middle_entry' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:763:8: warning: function 'ept_handle_misconfig' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:1165:6: warning: function 'p2m_pt_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:537:21: warning: function 'p2m_flags_to_access' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1144:5: warning: function 'set_mmio_p2m_entry' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:277:6: warning: function 'p2m_unlock_and_tlb_flush' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:46:5: warning: function 'p2m_init_logdirty' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:204:12: warning: function 'paging_log_dirty_enable' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:664:6: warning: function 'paging_vcpu_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:795:6: warning: function 'paging_vcpu_teardown' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1057:6: warning: function 'shadow_blow_tables_per_domain' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:3053:21: warning: function 'sh_enable_log_dirty' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:394:12: warning: function 'oos_remove_write_access' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/pv.c:20:1: warning: function 'shadow_write_guest_entry' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/monitor.c:25:5: warning: function 'arch_monitor_init_domain' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:262:20: warning: function 'MP_intsrc_info' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1168:6: warning: function 'pci_disable_msi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1384:13: warning: function 'early_msi_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:481:25: warning: function 'alloc_msi_entry' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:253:5: warning: function 'reserve_lapic_nmi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/numa.c:103:12: warning: function 'arch_get_ram_range' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/percpu.c:26:12: warning: function 'init_percpu_area' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1510:20: warning: function 'init_psr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/dom0_build.c:34:13: warning: function 'dom0_update_physmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:171:28: warning: function 'pge_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:291:6: warning: function 'pv_vcpu_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:343:6: warning: function 'pv_domain_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:419:13: warning: function 'xpti_pcid_enabled' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:216:21: warning: function 'ptwr_emulated_write' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:234:21: warning: function 'ptwr_emulated_cmpxchg' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:33:21: warning: function 'ptwr_emulated_read' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/trace.c:111:6: warning: function '__trace_ptwr_emulation' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/trace.c:42:6: warning: function '__trace_pv_page_fault' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/trace.c:5:6: warning: function '__trace_pv_trap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/trace.c:73:6: warning: function '__trace_trap_one_addr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/trace.c:84:6: warning: function '__trace_trap_two_addr' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/traps.c:156:5: warning: function 'pv_raise_nmi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:780:14: warning: function 'xen_msr_s_cet_value' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:121:31: warning: function '__machine_halt' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:39:6: warning: function 'apic_wait_icr_idle' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1018:7: warning: function 'cpu_alloc_stack' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/string.c:38:8: warning: function 'memmove' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:134:5: warning: function 'scale_delta' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1455:10: warning: function 'get_s_time_fixed' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1665:5: warning: function 'cpu_frequency_change' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:182:13: warning: function 'smp_send_timer_broadcast_ipi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2367:12: warning: function 'init_xen_time' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:321:24: warning: function 'calibrate_tsc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:371:28: warning: function 'init_pit' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:943:19: warning: function 'try_platform_timer' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1350:12: warning: function 'handle_gdt_ldt_mapping_fault' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1824:6: warning: function 'nmi_check_continuation' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2242:6: warning: function 'asm_domain_crash_synchronous' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:755:13: warning: function 'vector_name' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/tsx.c:24:28: warning: function 'parse_tsx' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1118:6: warning: function 'domain_set_alloc_bitsize' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:142:12: warning: function 'm2p_mapped' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/pci.c:14:9: warning: function 'pci_conf_read8' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/pci.c:27:10: warning: function 'pci_conf_read16' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/pci.c:40:10: warning: function 'pci_conf_read32' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:571:14: warning: function 'xstate_ctxt_size' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/core_parking.c:252:19: warning: function 'register_core_parking_policy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/core_parking.c:261:28: warning: function 'core_parking_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1110:5: warning: function 'vcpu_start_shutdown_deferral' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:136:13: warning: function 'vmtrace_free_buffer' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1783:1: warning: function 'runstate_area_populate' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:801:13: warning: function 'setup_system_domains' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:883:16: warning: function 'get_domain_by_id' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:934:5: warning: function 'rcu_lock_remote_domain_by_id' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:948:5: warning: function 'rcu_lock_live_remote_domain_by_id' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domctl.c:129:8: warning: function 'domctl_lock_acquire' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/domctl.c:51:19: warning: function 'is_free_domid' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:291:12: warning: function 'evtchn_get_port' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:467:12: warning: function 'setup_control_block' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:533:13: warning: function 'cleanup_event_array' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:97:12: warning: function 'try_set_link' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:139:12: warning: function 'parse_gnttab_limit' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2883:13: warning: function 'gnttab_copy_unlock_domains' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:908:12: warning: function '_set_status' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:309:13: warning: function 'ioreq_server_free_mfn' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:539:13: warning: function 'ioreq_server_enable' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:702:12: warning: function 'ioreq_server_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:215:13: warning: function 'cmdline_parse' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:561:13: warning: function 'kexec_early_calculations' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:883:12: warning: function 'kexec_load_slot' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:796:5: warning: function 'kimage_alloc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:198:13: warning: function 'elf_section_name' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:239:12: warning: function 'elf_section_end' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:251:12: warning: function 'elf_segment_end' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:282:26: warning: function 'elf_sym_by_index' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:291:13: warning: function 'elf_note_name' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:303:10: warning: function 'elf_note_numeric' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:33:13: warning: function 'elf_ptrval_in_range' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:357:6: warning: function 'elf_is_elfbinary' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:68:6: warning: function 'elf_memcpy_safe' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:2084:5: warning: function 'livepatch_op' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:2117:20: warning: function 'state2str' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:103:15: warning: function '__copy_mfn_to_guest_offset' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:502:13: warning: function 'setup_node_bootmem' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1260:22: warning: function 'scrub_continue' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:735:29: warning: function '__maxindex' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:505:6: warning: function 'rangeset_swap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:564:6: warning: function 'rangeset_domain_printk' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:96:22: warning: function 'alloc_range' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:185:13: warning: function 'rcu_barrier_action' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:346:13: warning: function 'rcu_start_batch' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:522:5: warning: function 'rcu_needs_cpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:550:13: warning: function 'rcu_idle_timer_stop' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:670:13: warning: function 'rcu_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:446:1: warning: function 'a653sched_free_udata' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:473:1: warning: function 'a653sched_unit_sleep' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:608:1: warning: function 'a653sched_pick_resource' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1294:6: warning: function 'sched_migrate_timers' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:151:28: warning: function 'sched_unit2vcpu_cpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1523:22: warning: function 'domain_watchdog_timeout' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1778:6: warning: function 'alloc_affinity_masks' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2132:13: warning: function 'vcpu_periodic_timer_work' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2292:13: warning: function 'unit_context_saved' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2734:31: warning: function 'sched_alloc_res' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2847:21: warning: function 'cpu_schedule_callback' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:335:10: warning: function 'get_cpu_idle_time' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:424:13: warning: function 'sched_unit_add_vcpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:827:6: warning: function 'sched_destroy_vcpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:941:6: warning: function 'vcpu_sleep_sync' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:360:12: warning: function 'cpupool_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:691:12: warning: function 'cpupool_cpu_add' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1179:1: warning: function 'csched_unit_yield' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:699:1: warning: function '__csched_vcpu_is_cache_hot' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:872:1: warning: function 'csched_res_pick' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3788:1: warning: function 'dump_pcpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:809:13: warning: function 't2c_update' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:352:1: warning: function 'rt_dump_pcpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:676:1: warning: function 'rt_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:753:13: warning: function 'move_repl_timer' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:789:1: warning: function 'rt_move_timers' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/shutdown.c:18:22: warning: function 'maybe_reboot' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/softirq.c:140:6: warning: function 'raise_softirq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:292:41: warning: function 'observe_lock' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:301:26: warning: function 'observe_head' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:138:22: warning: function 'tasklet_softirq_action' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/time.c:166:11: warning: function 'wallclock_time' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:164:12: warning: function 'add_to_list' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:87:13: warning: function 'up_heap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:287:12: warning: function 'tb_set_size' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:446:22: warning: function 'bogus' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:168:19: warning: function 'rc_get_bit' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:95:27: warning: function 'rc_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/unzstd.c:74:19: warning: function 'handle_zstd_error' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:176:13: warning: function 'vm_event_wake' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:226:13: warning: function 'vm_event_release_slot' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:221:7: warning: function 'vmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:290:7: warning: function 'vzalloc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:281:14: warning: function 'print_vcpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:696:5: warning: function 'vscnprintf' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:745:5: warning: function 'scnprintf' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/wait.c:40:5: warning: function 'init_waitqueue_vcpu' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:128:20: warning: function 'MAPPING_SEARCH' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:163:20: warning: function 'MAPPING_INSERT' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:361:6: warning: function 'xmem_pool_destroy' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:213:12: warning: function 'apei_post_unmap_gar' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:287:5: warning: function 'apei_read' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:309:5: warning: function 'apei_write' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:64:22: warning: function '__apei_ioremap_fast' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:208:21: warning: function 'erst_exec_skip_next_instruction_if_true' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:644:12: warning: function '__erst_read_to_erange' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:114:6: warning: function 'acpi_os_unmap_memory' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:305:12: warning: function 'set_cpufreq_gov' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/reboot.c:5:6: warning: function 'acpi_reboot' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbfadt.c:161:13: warning: function 'acpi_tb_parse_fadt' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbutils.c:307:1: warning: function 'acpi_tb_get_root_table_entry' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:1085:13: warning: function 'console_init_postirq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:283:22: warning: function 'do_toggle_guest' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:416:6: warning: function 'console_serial_puts' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1200:22: warning: function 'ehci_dbgp_putc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1232:21: warning: function 'ehci_dbgp_getc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:590:12: warning: function 'dbgp_bulk_write' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:117:11: warning: function 'ns_read_reg' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:135:13: warning: function 'ns_write_reg' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:161:13: warning: function 'handle_dw_usr_busy_quirk' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:243:21: warning: function 'ns16550_tx_ready' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:260:21: warning: function 'ns16550_getc' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:395:13: warning: function 'ns16550_setup_postirq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:555:22: warning: function 'ns16550_resume' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:550:12: warning: function 'serial_irq' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:559:26: warning: function 'serial_vuart_info' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:158:12: warning: function 'cpufreq_register_governor' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:584:13: warning: function 'cpufreq_cmdline_common_para' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:119:28: warning: function 'cpufreq_gov_userspace_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:137:21: warning: function 'cpufreq_governor_performance' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:179:21: warning: function 'cpufreq_governor_powersave' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:85:1: warning: function 'cpufreq_userspace_handle_option' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:60:5: warning: function 'write_ondemand_sampling_rate' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:70:5: warning: function 'write_ondemand_up_threshold' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:80:5: warning: function 'get_cpufreq_ondemand_para' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:63:6: warning: function 'cpufreq_statistic_update' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1066:20: warning: function 'is_ivhd_block' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:637:19: warning: function 'parse_ivhd_device_extended' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:775:5: warning: function 'guest_iommu_set_base' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:979:21: warning: function 'allocate_buffer' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:761:15: warning: function 'amd_iommu_dump_intremap_tables' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:238:6: warning: function 'amd_iommu_set_intremap_table' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:37:28: warning: function 'clear_iommu_pte_present' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:58:13: warning: function 'set_iommu_pde_present' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:181:26: warning: function 'check_hwdom_reqs' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:454:5: warning: function 'iommu_legacy_unmap' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:623:5: warning: function 'iommu_do_domctl' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/msi.c:77:6: warning: function 'pdev_dump_msi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1209:13: warning: function 'hest_source_is_pcie_aer' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:564:13: warning: function 'pci_enable_acs' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:886:5: warning: function 'pci_release_devices' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:986:13: warning: function 'pci_device_detect' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:180:19: warning: function 'acpi_register_atsr_unit' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:66:19: warning: function 'acpi_register_drhd_unit' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:641:14: warning: function 'msi_msg_write_remap_rte' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:653:21: warning: function 'intel_setup_hpet_msi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:858:15: warning: function 'intel_iommu_disable_eim' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:664:25: warning: function 'iommu_flush_iotlb_psi' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:374:13: warning: function 'platform_quirks_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:409:25: warning: function 'map_me_phantom_function' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:151:22: warning: function 'domain_get_irq_dpci' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:716:6: warning: function 'pt_pirq_cleanup_check' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:177:19: warning: function 'arch_iommu_check_autotranslated_hwdom' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:699:6: warning: function 'arch_iommu_use_permitted' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/pci/pci.c:119:6: warning: function 'pci_intx' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/lfb.c:146:12: warning: function 'lfb_init' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:198:19: warning: function 'apply_map' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:395:22: warning: function 'cmd_write' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:35:26: warning: function 'control_read' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:472:17: warning: function 'rb_first' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:484:17: warning: function 'rb_last' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:555:6: warning: function 'rb_replace_node' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
lib/strcasecmp.c:8:6: warning: function 'strcasecmp' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
lib/strnlen.c:12:8: warning: function 'strnlen' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
lib/strsep.c:18:7: warning: function 'strsep' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:77:19: warning: function 'is_arm_mapping_symbol' has cognitive complexity of 2 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:199:1: warning: function 'acpi_parse_x2apic_nmi' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:218:1: warning: function 'acpi_parse_lapic_nmi' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:330:28: warning: function 'acpi_invalidate_bgrt' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:707:12: warning: function 'acpi_boot_table_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:333:26: warning: function 'acpi_pm_ticks_elapsed' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:131:22: warning: function 'do_drv_read' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:150:22: warning: function 'do_drv_write' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:342:6: warning: function 'intel_feature_detect' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:360:21: warning: function 'check_freqs' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:69:17: warning: function 'extract_io' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:83:17: warning: function 'extract_msr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:169:22: warning: function 'get_cpu_data' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpuidle_menu.c:147:24: warning: function 'avg_intr_interval_us' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/alternative.c:127:24: warning: function 'add_nops' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1377:22: warning: function 'error_interrupt' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:748:28: warning: function 'apic_set_verbosity' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:93:12: warning: function 'modern_apic' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:86:14: warning: function 'strchr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/reloc.c:352:17: warning: function 'reloc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/bzimage.c:56:19: warning: function 'bzimage_check' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/compat.c:18:7: warning: function 'do_physdev_op_compat' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:118:29: warning: function '_parse_xen_cpuid' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:450:13: warning: function 'disable_c1_ramping' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:124:13: warning: function 'probe_cpuid_faulting' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:207:13: warning: function 'setup_doitm' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:405:12: warning: function 'num_cpu_cores' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:86:24: warning: function '_probe_mask_msr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/barrier.c:19:6: warning: function 'mce_barrier_enter' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/barrier.c:37:6: warning: function 'mce_barrier_exit' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:126:19: warning: function 'mcabanks_alloc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:574:6: warning: function 'mcheck_mca_clearbanks' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:243:22: warning: function 'amd_need_clearbank_scan' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:260:5: warning: function 'vmce_amd_wrmsr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:271:13: warning: function 'intel_memerr_dhandler' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:320:22: warning: function 'intel_srao_dhandler' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:707:13: warning: function 'mce_is_broadcast' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:723:13: warning: function 'intel_enable_lmce' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:92:13: warning: function 'intel_thermal_supported' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:132:13: warning: function 'mctelem_xchg_head' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:533:6: warning: function 'mctelem_ack' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/util.c:6:6: warning: function 'mce_panic_check' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:43:6: warning: function 'vmce_init_vcpu' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:295:12: warning: function 'wait_for_condition' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:354:13: warning: function 'wait_for_state' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:552:21: warning: function 'do_microcode_update' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:229:36: warning: function 'compare_revisions' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:313:22: warning: function 'generic_get_mtrr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:343:13: warning: function 'set_fixed_ranges' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:484:13: warning: function 'post_set' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:570:14: warning: function 'generic_validate_add_page' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:165:19: warning: function 'types_compatible' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:584:6: warning: function 'mtrr_ap_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:602:6: warning: function 'mtrr_save_state' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:635:28: warning: function 'mtrr_init_finialize' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1644:13: warning: function 'mwait_pc10_supported' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:783:21: warning: function 'cpu_callback' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:85:6: warning: function 'vpmu_lvtpc_update' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:260:20: warning: function 'context_save' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:396:21: warning: function 'amd_vpmu_do_rdmsr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:414:22: warning: function 'amd_vpmu_destroy' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpuid.c:13:6: warning: function 'recheck_cpu_features' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:134:27: warning: function 'dmi_string' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:699:13: warning: function 'dmi_scan_machine' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:2507:6: warning: function 'vcpu_kick' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:520:14: warning: function 'alloc_vcpu_struct' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:81:22: warning: function 'default_idle' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:927:6: warning: function 'arch_domain_shutdown' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:933:6: warning: function 'arch_domain_pause' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:939:6: warning: function 'arch_domain_unpause' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:91:13: warning: function 'print_e820_memory_map' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:236:19: warning: function 'wstrncmp' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:265:21: warning: function 'w2s' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:288:20: warning: function 'PrintErrMesg' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:498:23: warning: function 'point_tail' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:520:22: warning: function 'split_string' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:216:15: warning: function 'wmemchr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:412:21: warning: function 'pit_save' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/probe.c:46:28: warning: function 'genapic_apic_force' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:72:30: warning: function 'cpu_mask_to_apicid_x2apic_cluster' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:278:12: warning: function 'hpet_msi_write' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:311:22: warning: function 'hpet_msi_set_affinity' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:301:12: warning: function 'inject_event' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:68:12: warning: function 'set_pci_intx_level' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:1159:26: warning: function 'pvh_setup_mmcfg' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:52:20: warning: function 'print_order_stats' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:690:19: warning: function 'pvh_setup_cpus' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2719:5: warning: function 'hvm_emulate_one_mmio' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1199:21: warning: function 'hvm_save_cpu_xsave_states' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:276:6: warning: function 'hvm_set_rdtsc_exiting' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:339:5: warning: function 'hvm_get_tsc_scaling_ratio' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3455:14: warning: function 'copy_to_user_hvm' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3469:14: warning: function 'clear_user_hvm' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3484:14: warning: function 'copy_from_user_hvm' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5168:5: warning: function 'hvm_debug_op' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hypercall.c:22:6: warning: function 'hvm_memory_op' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hypercall.c:42:6: warning: function 'hvm_grant_table_op' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:184:12: warning: function 'hvm_add_ioreq_gfn' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:202:5: warning: function 'arch_ioreq_server_map_pages' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:26:13: warning: function 'assert_gsi' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:293:6: warning: function 'hvm_maybe_deassert_evtchn_irq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:628:22: warning: function 'dump_irq_info' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:81:13: warning: function 'deassert_irq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:316:10: warning: function 'get_pat_flags' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:779:6: warning: function 'memory_type_changed' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:107:13: warning: function 'check_for_pf_ticks' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:267:21: warning: function 'convert_hour' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:745:21: warning: function 'rtc_save' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:884:6: warning: function 'rtc_deinit' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1198:14: warning: function 'nsvm_hap_walk_L1_p2m' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:72:14: warning: function 'nsvm_vcpu_initialise' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1455:22: warning: function 'svm_cpu_dead' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2270:1: warning: function 'svm_vmexit_do_vmload' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2305:1: warning: function 'svm_vmexit_do_vmsave' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:300:22: warning: function 'svm_enable_msr_interception' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:905:22: warning: function 'svm_init_hypercall_page' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/vmcb.c:179:5: warning: function 'svm_create_vmcb' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:46:6: warning: function 'viridian_apic_assist_completed' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:517:6: warning: function 'viridian_time_vcpu_deinit' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:87:13: warning: function 'time_ref_count_freeze' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:106:13: warning: function 'vlapic_error' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1477:21: warning: function 'lapic_save_hidden' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1485:21: warning: function 'lapic_save_regs' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:569:13: warning: function 'vlapic_set_tdcr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:943:5: warning: function 'vlapic_apicv_write' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:572:6: warning: function 'msixtbl_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:2211:12: warning: function 'vmx_vmcs_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:655:14: warning: function 'vmx_cpu_up_prepare' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1503:22: warning: function 'vmx_init_hypercall_page' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2320:22: warning: function 'vmx_handle_eoi' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2328:22: warning: function 'vmx_enable_msr_interception' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2336:22: warning: function 'vmx_vcpu_update_eptp' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2418:22: warning: function 'vmx_vcpu_emulate_ve' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3259:20: warning: function 'ler_to_fixup_check' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:763:6: warning: function 'vmx_update_exception_bitmap' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1010:20: warning: function 'shadow_to_vvmcs' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1594:15: warning: function 'vvmcs_launched' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1632:13: warning: function 'clear_vvmcs_launched' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1834:12: warning: function 'nvmx_handle_vmptrst' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:191:15: warning: function 'nvmx_domain_relinquish_resources' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:246:10: warning: function 'get_vvmcs_virtual' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:383:19: warning: function '__n2_secondary_exec_control' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:354:21: warning: function 'vpic_intercept_pic_io' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:242:6: warning: function 'pt_restore_timer' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:444:6: warning: function 'pt_intr_post' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:51:6: warning: function 'hvm_set_guest_time' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:608:6: warning: function 'pt_adjust_global_vcpu_target' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:636:13: warning: function 'pt_resume' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:40:20: warning: function 'fpu_fxrstor' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1548:30: warning: function 'startup_edge_ioapic_irq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1602:28: warning: function 'setup_ioapic_ack' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2099:6: warning: function 'ioapic_suspend' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:235:28: warning: function '__ioapic_read_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:266:6: warning: function '__ioapic_write_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:558:13: warning: function 'clear_IO_APIC' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:757:19: warning: function 'MPBIOS_polarity' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:831:12: warning: function 'MPBIOS_trigger' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1000:13: warning: function 'release_irq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2045:20: warning: function 'is_free_pirq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:394:5: warning: function 'arch_init_one_irq_desc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:708:6: warning: function 'move_masked_irq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:836:15: warning: function 'irq_complete_move' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:37:5: warning: function 'arch_livepatch_safety_check' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1158:1: warning: function 'get_page_from_l4e' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1275:12: warning: function 'put_page_from_l2e' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1288:12: warning: function 'put_page_from_l3e' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2081:13: warning: function 'l3t_lock' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4915:14: warning: function 'mmcfg_intercept_write' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:552:13: warning: function 'update_cr3' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/altp2m.c:116:5: warning: function 'p2m_init_altp2m' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/altp2m.c:139:6: warning: function 'p2m_teardown_altp2m' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/altp2m.c:29:1: warning: function 'altp2m_vcpu_destroy' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:170:21: warning: function 'hap_enable_log_dirty' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:550:6: warning: function 'hap_vcpu_teardown' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:769:22: warning: function 'hap_update_paging_modes' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:95:10: warning: function 'nept_get_ept_vpid_cap' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:29:12: warning: function '_p2m_get_mem_access' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/nested.c:25:5: warning: function 'p2m_init_nestedp2m' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/nested.c:48:6: warning: function 'p2m_teardown_nestedp2m' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:49:20: warning: function 'p2m_init_one' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:79:12: warning: function 'p2m_init_hostp2m' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1259:6: warning: function 'ept_sync_domain' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:169:1: warning: function 'p2m_find_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1418:6: warning: function 'np2m_flush_base' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:68:5: warning: function 'p2m_is_logdirty_range' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:331:6: warning: function 'paging_mark_dirty' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:587:6: warning: function 'paging_log_dirty_range' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:636:5: warning: function 'paging_domain_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:73:14: warning: function 'paging_new_log_dirty_node' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/physmap.c:67:5: warning: function 'set_identity_p2m_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/physmap.c:82:5: warning: function 'clear_identity_p2m_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1519:13: warning: function 'sh_hash_audit' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2283:6: warning: function 'shadow_prepare_page_type_change' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2307:13: warning: function 'sh_detach_old_tables' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:315:19: warning: function 'oos_fixup_flush_gmfn' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:241:20: warning: function 'MP_ioapic_info' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:917:17: warning: function 'highest_gsi' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:291:13: warning: function 'msix_set_enable' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:64:13: warning: function 'msix_fixmap_free' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:152:29: warning: function 'wait_for_nmis' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/platform_hypercall.c:68:13: warning: function 'msr_read_allowed' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1631:13: warning: function 'psr_cpu_fini' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:796:32: warning: function 'get_socket_info' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:900:21: warning: function 'get_cos_num' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:76:21: warning: function 'parse_pcid' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:1257:21: warning: function 'insn_fetch' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:200:13: warning: function 'admin_io_okay' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:852:17: warning: function 'guest_efer' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/hypercall.c:119:6: warning: function 'pv_ring3_init_hypercall_page' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:790:29: warning: function 'reinit_bsp_stack' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:861:28: warning: function 'copy_bios_e820' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:112:20: warning: function 'kb_wait' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:248:15: warning: function 'invalidate_interrupt' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1418:13: warning: function 'smp_intr_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:87:13: warning: function 'smp_store_cpu_info' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:807:20: warning: function 'rsb_is_full_width' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:831:20: warning: function 'should_use_eager_fpu' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:976:20: warning: function 'has_div_vuln' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1155:13: warning: function '__get_cmos_time' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1643:13: warning: function 'update_domain_rtc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2505:5: warning: function 'time_suspend' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2523:5: warning: function 'time_resume' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2618:10: warning: function 'gtime_to_gtsc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2639:10: warning: function 'pv_soft_rdtsc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:543:28: warning: function 'init_pmtimer' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:902:13: warning: function 'extable_fixup' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/usercopy.c:122:14: warning: function 'copy_to_guest_pv' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/usercopy.c:139:14: warning: function 'clear_guest_pv' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:48:6: warning: function 'vm_event_cleanup_domain' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:116:22: warning: function 'mcfg_ioremap' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/pci.c:53:6: warning: function 'pci_conf_write8' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/pci.c:61:6: warning: function 'pci_conf_write16' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/pci.c:69:6: warning: function 'pci_conf_write32' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:115:14: warning: function 'x86emul_read_xcr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:57:6: warning: function 'set_xcr0' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/compat/xlat.c:21:6: warning: function 'xlat_vcpu_runstate_info' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/core_parking.c:43:28: warning: function 'setup_core_parking_option' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1014:6: warning: function '__domain_crash' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:108:13: warning: function 'vcpu_check_shutdown' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1243:5: warning: function 'vcpu_pause_by_systemcontroller' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1263:5: warning: function 'vcpu_unpause_by_systemcontroller' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:126:13: warning: function 'vcpu_info_reset' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1310:6: warning: function 'domain_unpause' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1321:12: warning: function '_domain_pause_by_systemcontroller' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:838:5: warning: function 'domain_set_node_affinity' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:868:23: warning: function 'domid_to_domain' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:154:23: warning: function 'alloc_evtchn_bucket' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:533:12: warning: function 'evtchn_bind_ipi' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:581:13: warning: function 'unlink_pirq_port' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:86:22: warning: function 'default_xen_notification_fn' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:321:22: warning: function 'evtchn_fifo_clear_pending' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:423:12: warning: function 'map_guest_page' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:484:12: warning: function 'map_control_block' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:707:6: warning: function 'evtchn_fifo_destroy' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2866:12: warning: function 'gnttab_copy_lock_domain' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3009:15: warning: function 'gnttab_copy_buf_valid' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4154:14: warning: function 'gnttab_resource_max_frames' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:534:1: warning: function '_get_maptrack_handle' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/gunzip.c:91:12: warning: function 'gzip_check' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:467:12: warning: function 'ioreq_server_alloc_pages' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/irq.c:4:5: warning: function 'init_one_irq_desc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1068:12: warning: function 'kexec_load_v1' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1162:12: warning: function 'kexec_unload_v1' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1174:12: warning: function 'kexec_unload_v1_compat' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1190:12: warning: function 'kexec_unload' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:398:22: warning: function 'kexec_reboot' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:621:12: warning: function 'kexec_get_reserve' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:276:13: warning: function 'kimage_free_page_list' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:432:12: warning: function 'kimage_add_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:822:5: warning: function 'kimage_load_segments' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:554:10: warning: function 'elf_lookup_addr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:130:10: warning: function 'elf_shdr_count' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:169:27: warning: function 'elf_shdr_by_index' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:183:27: warning: function 'elf_phdr_by_index' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:296:12: warning: function 'elf_note_desc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:367:6: warning: function 'elf_phdr_is_loadable' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:55:6: warning: function 'elf_access_ok' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1435:20: warning: function 'was_action_consistent' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1606:20: warning: function 'livepatch_applied_have_vetoing_hooks' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1660:12: warning: function 'livepatch_spin' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:436:13: warning: function 'section_ok' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:602:19: warning: function 'livepatch_check_expectations' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:12:1: warning: function 'livepatch_elf_sec_by_name' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/monitor.c:91:5: warning: function 'monitor_traps' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/notifier.c:21:13: warning: function 'notifier_chain_register' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:478:12: warning: function 'compute_hash_shift' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:513:13: warning: function 'numa_init_array' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2027:19: warning: function 'find_non_smt' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:451:6: warning: function 'rangeset_destroy' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:45:22: warning: function 'find_range' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:391:13: warning: function 'rcu_check_quiescent_state' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:469:22: warning: function 'rcu_process_callbacks' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1323:13: warning: function 'sched_set_affinity' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1503:6: warning: function 'vcpu_yield' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1659:5: warning: function 'vcpuaffinity_params_invalid' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2250:13: warning: function 'sched_tasklet_check' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2726:22: warning: function 'poll_timer_fn' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:351:13: warning: function 'sched_spin_lock_double' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:442:27: warning: function 'sched_alloc_unit_mem' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:642:13: warning: function 'sched_move_irqs' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:923:6: warning: function 'vcpu_sleep_nosync' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1088:21: warning: function 'cpupool_dir_read' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1146:37: warning: function 'cpupool_dir_findentry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:185:24: warning: function 'alloc_cpupool_struct' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:384:12: warning: function 'cpupool_move_domain_locked' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:57:20: warning: function 'sched_gran_get_name' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:641:5: warning: function 'cpupool_add_domain' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:81:12: warning: function 'sched_gran_get' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:985:15: warning: function 'dump_runq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1008:23: warning: function 'csched_alloc_udata' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:2116:1: warning: function 'csched_dump' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:4133:1: warning: function 'csched2_global_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:459:28: warning: function 'parse_credit2_runqueue' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:947:22: warning: function 'null_dump_pcpu' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:503:1: warning: function 'deadline_queue_insert' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:355:6: warning: function '_spin_unlock' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:421:6: warning: function '_spin_barrier' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:112:27: warning: function 'rc_init_code' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:243:13: warning: function 'vm_event_mark_and_pause' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:787:6: warning: function 'vm_event_vcpu_unpause' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:295:14: warning: function 'print_pci_addr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:110:5: warning: function '__apei_exec_write_register' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:104:22: warning: function 'apei_pre_map' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:192:12: warning: function 'apei_pre_map_gar' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:363:12: warning: function 'erst_get_erange' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:387:16: warning: function '__erst_get_record_count' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:660:16: warning: function '__erst_read' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:708:9: warning: function 'erst_read_next' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:736:5: warning: function 'erst_clear' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:756:19: warning: function 'erst_check_table' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/numa.c:37:13: warning: function 'acpi_table_print_srat_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:244:13: warning: function 'acpi_os_free_memory' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:403:12: warning: function 'set_cpufreq_cppc' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbfadt.c:226:13: warning: function 'acpi_tb_create_local_fadt' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:1099:13: warning: function 'console_endboot' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:230:12: warning: function '_parse_loglvl' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:398:5: warning: function 'console_steal' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1163:20: warning: function '_ehci_dbgp_flush' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1293:22: warning: function 'ehci_dbgp_poll' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:529:20: warning: function 'dbgp_mdelay' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:613:12: warning: function 'dbgp_bulk_read' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:775:12: warning: function 'ehci_dbgp_controller_reset' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:233:22: warning: function 'ns16550_poll' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:516:13: warning: function '_ns16550_resume' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:544:22: warning: function 'ns16550_delayed_resume' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:679:19: warning: function 'check_existence' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:170:5: warning: function 'cpufreq_limit_change' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:702:12: warning: function 'cpufreq_register_driver' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:377:5: warning: function 'cpufreq_driver_getavg' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1362:19: warning: function 'amd_iommu_prepare_one' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1533:13: warning: function 'invalidate_all_domain_pages' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1542:21: warning: function '_invalidate_all_devices' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:198:13: warning: function 'set_iommu_guest_translation_control' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:835:13: warning: function 'amd_iommu_erratum_746_workaround' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:80:28: warning: function 'set_iommu_pte_present' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:707:12: warning: function 'iommu_get_extra_reserved_device_memory' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/msi.c:6:5: warning: function 'pdev_msix_assign' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:424:13: warning: function 'free_pdev' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:459:12: warning: function 'pci_hide_device' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:82:24: warning: function 'alloc_pseg' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:1039:6: warning: function 'acpi_dmar_reinstate' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:1047:6: warning: function 'acpi_dmar_zap' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:122:12: warning: function 'acpi_ioapic_device_match' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:133:24: warning: function 'ioapic_to_drhd' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:142:19: warning: function 'ioapic_to_iommu' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:152:13: warning: function 'acpi_hpet_device_match' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:163:24: warning: function 'hpet_to_drhd' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:742:1: warning: function 'acpi_parse_one_rhsa' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:95:20: warning: function 'disable_all_dmar_units' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:963:19: warning: function 'add_user_rmrr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:108:12: warning: function 'hpetid_to_bdf' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:95:12: warning: function 'apicid_to_bdf' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1227:19: warning: function 'iommu_set_interrupt' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2317:20: warning: function 'vtd_ept_page_compatible' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2373:21: warning: function 'intel_iommu_enable_device' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2433:6: warning: function 'clear_fault_bits' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2455:13: warning: function 'adjust_irq_affinity' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:247:10: warning: function 'alloc_pgtable_maddr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:3001:22: warning: function 'vtd_crash_shutdown' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:185:20: warning: function 'map_igd_reg' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:204:12: warning: function 'cantiga_vtd_ops_preamble' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:267:13: warning: function 'snb_vtd_ops_postamble' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:615:13: warning: function 'quirk_iommu_caps' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:70:5: warning: function 'is_igd_vt_enabled_quirk' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:87:20: warning: function 'cantiga_b3_errata_init' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/x86/ats.c:33:24: warning: function 'find_ats_dev_drhd' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:1005:21: warning: function 'pci_clean_dpci_irq' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:73:13: warning: function 'raise_softirq_for' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:814:6: warning: function 'hvm_dpci_msi_eoi' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/vesa.c:32:28: warning: function 'parse_font_height' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msi.c:25:26: warning: function 'control_read' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:169:13: warning: function 'access_allowed' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:45:13: warning: function 'update_entry' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:509:6: warning: function 'vpci_access_allowed' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
lib/memchr.c:16:8: warning: function 'memchr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
lib/memchr_inv.c:16:7: warning: function 'memchr_inv' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
lib/memcmp.c:13:6: warning: function 'memcmp' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
lib/strchr.c:12:8: warning: function 'strchr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
lib/strlcpy.c:18:8: warning: function 'strlcpy' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
lib/strrchr.c:12:8: warning: function 'strrchr' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:429:14: warning: function 'memmem_pvt' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:482:12: warning: function 'find_best_token' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:528:13: warning: function 'insert_real_symbols_in_table' has cognitive complexity of 3 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:252:1: warning: function 'acpi_parse_int_src_ovr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1621:6: warning: function 'cpuidle_disable_deep_cstate' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:284:13: warning: function 'print_hw_residencies' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:82:6: warning: function 'lapic_timer_init' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:322:30: warning: function 'get_cur_freq_on_cpu' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:239:22: warning: function 'hwp_write_request' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:284:13: warning: function 'hdc_set_pkg_hdc_ctl' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:308:13: warning: function 'hdc_set_pm_ctl1' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/lib.c:90:14: warning: function 'acpi_get_processor_id' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:399:12: warning: function 'acpi_get_wake_status' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1510:13: warning: function 'record_boot_APIC_mode' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1524:16: warning: function 'current_local_apic_mode' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:409:13: warning: function 'sync_Arb_IDs' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/compat.c:53:6: warning: function 'do_event_channel_op_compat' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:1007:13: warning: function 'amd_check_erratum_1485' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:1310:28: warning: function 'zen2_c6_errata_check' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:887:6: warning: function 'amd_init_spectral_chicken' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:981:22: warning: function 'zen2_disable_c6' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:105:13: warning: function 'is_forced_cpu_cap' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:110:22: warning: function 'default_init' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:778:6: warning: function 'print_cpu_info' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1104:13: warning: function 'intpose_add' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:134:15: warning: function 'mc_amd_addrcheck' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:186:20: warning: function 'intel_get_extended_msr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/non-fatal.c:89:28: warning: function 'init_nonfatal_mce_checker' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:143:13: warning: function 'check_final_patch_levels' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:425:12: warning: function 'secondary_thread_fn' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:789:12: warning: function 'microcode_init_cache' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:287:21: warning: function 'apply_microcode' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:443:13: warning: function 'prepare_set' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:134:22: warning: function 'ipi_handler' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1199:20: warning: function 'ivt_idle_state_table_update' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:438:13: warning: function 'get_vpmu' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:500:13: warning: function 'vpmu_arch_destroy' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:613:13: warning: function 'pvpmu_finish' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:112:27: warning: function 'bt_ioremap' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:479:28: warning: function 'ich10_bios_quirk' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:321:29: warning: function 'default_nr_pages' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1935:13: warning: function 'update_xen_slot_in_full_gdt' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:259:6: warning: function 'update_guest_memory_policy' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:903:6: warning: function 'arch_domain_destroy' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1160:20: warning: function 'efi_set_gop_mode' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:133:6: warning: function 'efi_rs_leave' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:355:25: warning: function 'cast_guid' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:76:6: warning: function 'efi_enabled' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:604:6: warning: function 'pit_deinit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:348:14: warning: function 'guest_flush_tlb_flags' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:48:12: warning: function 'pre_flush' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/gdbsx.c:155:5: warning: function 'gdbsx_guest_mem_io' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/gdbsx.c:31:1: warning: function 'dbg_hvm_va2mfn' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/probe.c:29:13: warning: function 'generic_bigsmp_probe' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:257:28: warning: function 'parse_x2apic_mode' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:91:22: warning: function 'send_IPI_mask_x2apic_phys' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:741:15: warning: function 'hpet_broadcast_exit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:206:13: warning: function 'allow_p2m_type_change' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:862:20: warning: function 'acpi_memory_banned' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2924:26: warning: function 'hvmemul_get_seg_reg' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:88:12: warning: function 'set_context_data' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:244:9: warning: function 'hvm_combine_hw_exceptions' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:386:13: warning: function 'hvm_set_guest_tsc_fixed' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:430:10: warning: function 'hvm_get_guest_tsc_fixed' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4417:12: warning: function 'hvm_allow_get_param' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4464:5: warning: function 'hvm_get_param' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:799:21: warning: function 'hvm_save_cpu_ctxt' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:148:22: warning: function 'g2m_portio_accept' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:355:32: warning: function 'vpci_mmcfg_find' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:249:6: warning: function 'arch_ioreq_server_map_mem_type_completed' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:46:6: warning: function 'hvm_monitor_cr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:94:6: warning: function 'hvm_monitor_msr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:688:21: warning: function 'hvm_save_mtrr_msr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:816:21: warning: function 'hw_rtc_io' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:83:22: warning: function 'rtc_pf_callback' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:456:21: warning: function 'stdvga_mem_write' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:616:6: warning: function 'stdvga_deinit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:102:15: warning: function 'nsvm_vcpu_destroy' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:171:17: warning: function 'nestedsvm_fpu_vmentry' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:200:13: warning: function 'nestedsvm_fpu_vmexit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1523:13: warning: function 'svm_init_erratum_383' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1597:12: warning: function '_svm_cpu_up' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2245:1: warning: function 'nsvm_get_nvmcb_page' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:817:22: warning: function 'svm_set_tsc_offset' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:48:28: warning: function 'addr_vioapic' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:65:28: warning: function 'gsi_vioapic' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:21:13: warning: function 'update_reference_tsc' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:77:17: warning: function 'trc_val' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:183:30: warning: function 'msixtbl_find_entry' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1119:22: warning: function 'vmx_ctxt_switch_from' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:141:13: warning: function 'vmx_pi_switch_to' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2570:21: warning: function 'vmtrace_control' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3725:22: warning: function 'vmx_wbinvd_intercept' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3914:13: warning: function 'vmx_propagate_intr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3980:13: warning: function 'vmx_handle_xsaves' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3986:13: warning: function 'vmx_handle_xrstors' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:621:21: warning: function 'vmx_vcpu_initialise' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:721:13: warning: function 'vmx_restore_guest_msrs' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1680:12: warning: function 'nvmx_handle_vmresume' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:300:6: warning: function 'set_vvmcs_virtual' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:31:5: warning: function 'nvmx_cpu_up_prepare' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:495:13: warning: function 'vmfail' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:745:13: warning: function 'nvmx_update_tpr_threshold' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:852:5: warning: function 'nvmx_get_tsc_offset' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:340:17: warning: function 'vpic_ioport_read' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:184:13: warning: function 'pt_process_missed_ticks' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:223:6: warning: function 'pt_save_timer' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:428:30: warning: function 'is_pt_irq' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:287:6: warning: function 'init_8259A' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:714:12: warning: function 'EISA_ELCR' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:915:12: warning: function 'pin_2_irq' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:989:20: warning: function 'ioapic_register_intr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1313:14: warning: function 'alloc_pirq_struct' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2655:6: warning: function 'fixup_eoi' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:966:12: warning: function 'request_irq' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:174:28: warning: function 'parse_mmio_relax' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2535:6: warning: function 'get_page' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5999:22: warning: function 'ioremap_wc' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6269:6: warning: function 'memguard_unguard_stack' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6277:40: warning: function 'get_platform_badpages' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:633:5: warning: function 'hap_domctl' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:682:21: warning: function 'hap_page_fault' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:109:15: warning: function 'nept_rwx_bits_check' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:273:12: warning: function 'set_mem_access' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:109:5: warning: function 'p2m_init' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:21:12: warning: function 'p2m_initialise' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1230:13: warning: function 'ept_sync_domain_prepare' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:479:1: warning: function 'p2m_pod_offline_or_broken_replace' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1403:1: warning: function 'p2m_flush_nestedp2m' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1782:8: warning: function 'p2m_switch_vcpu_altp2m_by_id' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1967:5: warning: function 'p2m_init_altp2m_by_id' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:479:5: warning: function 'p2m_alloc_table' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:804:5: warning: function 'paging_teardown' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:869:5: warning: function 'paging_enable' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:108:6: warning: function 'shadow_vcpu_init' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:46:33: warning: function 'hvm_get_seg_reg' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:735:13: warning: function 'find_smp_config' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:844:12: warning: function 'mp_find_ioapic' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msr.c:315:10: warning: function 'msr_spec_ctrl_valid_bits' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:220:6: warning: function 'disable_lapic_nmi_watchdog' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:51:28: warning: function 'parse_watchdog' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:517:22: warning: function 'mba_sanitize_thrtl' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/callback.c:17:12: warning: function 'register_guest_nmi_callback' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:147:15: warning: function 'pv_fixup_guest_cr4' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:742:21: warning: function 'read_cr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/grant_table.c:19:21: warning: function 'grant_to_pte_flags' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/misc-hypercalls.c:158:6: warning: function 'do_stack_switch' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/misc-hypercalls.c:31:6: warning: function 'do_fpu_taskswitch' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:267:12: warning: function 'ptwr_do_page_fault' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:172:28: warning: function 'parse_smep_param' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:203:28: warning: function 'parse_smap_param' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:2053:6: warning: function 'arch_get_xen_caps' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:621:20: warning: function 'setup_max_pdx' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:650:20: warning: function 'parse_video_info' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:691:20: warning: function 'kexec_reserve_area' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:206:15: warning: function 'send_IPI_mask_phys' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1243:1: warning: function 'remove_siblinginfo' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:313:6: warning: function 'start_secondary' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:1321:20: warning: function 'cpu_has_gds' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:988:20: warning: function 'div_calculations' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:264:28: warning: function 'srat_parse_region' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:92:13: warning: function 'numa_fw_bad' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1019:24: warning: function 'read_pt_and_tmcct' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1571:13: warning: function 'write_time_guest_area' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2599:28: warning: function 'tsc_parse' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:293:24: warning: function 'read_pt_and_tsc' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:588:28: warning: function 'init_tsc' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:608:6: warning: function 'show_stack_overflow' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/usercopy.c:182:14: warning: function 'copy_from_guest_pv' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/acpi_mmcfg.c:48:19: warning: function 'acpi_mcfg_check_entry' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1131:14: warning: function 'domain_clamp_alloc_bitsize' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:178:8: warning: function 'pci_mmcfg_decode' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:29:22: warning: function 'get_virt' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:58:5: warning: function 'pci_mmcfg_read' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:88:5: warning: function 'pci_mmcfg_write' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/decode.c:951:1: warning: function 'decode_0f3a' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:139:14: warning: function 'x86emul_write_xcr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:77:15: warning: function 'x86_insn_is_cr_access' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:104:6: warning: function '__bitmap_complement' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:203:5: warning: function '__bitmap_weight' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:218:6: warning: function '__bitmap_set' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:238:6: warning: function '__bitmap_clear' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:273:5: warning: function 'bitmap_find_free_region' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:463:5: warning: function 'xenctl_bitmap_to_cpumask' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/core_parking.c:214:6: warning: function 'core_parking_remove' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1767:1: warning: function 'vcpu_info_populate' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:2052:14: warning: function 'pirq_get_info' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:2091:22: warning: function 'continue_hypercall_tasklet_handler' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:356:28: warning: function 'parse_extra_guest_irqs' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1163:13: warning: function 'has_active_evtchns' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:263:13: warning: function 'check_free_port' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2898:12: warning: function 'gnttab_copy_lock_domains' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2926:13: warning: function 'gnttab_copy_release_buf' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:320:1: warning: function 'shared_entry_header' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:710:21: warning: function 'nr_grant_entries' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:930:13: warning: function 'reduce_status_for_pin' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/gunzip.c:104:12: warning: function 'perform_gunzip' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1058:6: warning: function 'ioreq_server_remove_vcpu_all' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:111:6: warning: function 'domain_has_ioreq_server' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:36:6: warning: function 'ioreq_request_mapcache_invalidate' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:441:13: warning: function 'ioreq_server_remove_all_vcpus' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:989:12: warning: function 'ioreq_server_set_state' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:485:28: warning: function 'param_init' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:233:28: warning: function 'parse_crashinfo_maxaddr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:456:22: warning: function 'run_all_nonirq_keyhandlers' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:480:22: warning: function 'run_all_keyhandlers' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:514:22: warning: function 'do_debug_key' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:257:12: warning: function 'kimage_is_destination_range' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:170:24: warning: function 'elf_load_image' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:320:10: warning: function 'elf_note_numeric_array' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1184:12: warning: function 'livepatch_get' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1315:20: warning: function 'livepatch_display_metadata' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:209:12: warning: function 'resolve_old_address' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:26:12: warning: function 'elf_verify_strtab' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:506:5: warning: function 'livepatch_elf_load' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1108:13: warning: function 'xatp_permission_check' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1198:12: warning: function 'acquire_vmtrace_buf' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:61:6: warning: function 'valid_numa_range' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/random.c:11:14: warning: function 'get_random' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:183:27: warning: function 'find_unit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2956:32: warning: function 'sched_get_by_name' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:306:6: warning: function 'vcpu_runstate_get' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:461:13: warning: function 'sched_domain_insert_unit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:442:12: warning: function 'cpupool_assign_cpu_locked' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2301:1: warning: function 'csched2_unit_yield' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2580:13: warning: function 'consider' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/smp.c:76:6: warning: function 'smp_call_function_interrupt' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:307:27: warning: function 'spin_lock_common' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/symbols.c:174:5: warning: function 'xensyms_read' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:54:6: warning: function 'tasklet_schedule_on_cpu' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:311:6: warning: function 'set_timer' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:329:6: warning: function 'stop_timer' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:342:6: warning: function 'timer_expires_before' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:105:12: warning: function 'calculate_tbuf_size' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:338:13: warning: function 'init_trace_bufs' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:310:26: warning: function 'write_byte' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:329:26: warning: function 'copy_bytes' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/virtual_region.c:41:30: warning: function 'find_text_region' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:465:12: warning: function 'vm_event_grab_slot' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:529:5: warning: function '__vm_event_claim_slot' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:202:7: warning: function '__vmap' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/wait.c:279:6: warning: function 'finish_wait' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/wait.c:93:6: warning: function 'wake_up_nr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:182:28: warning: function 'FIND_SUITABLE_BLOCK' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:51:27: warning: function '__apei_find_iomap' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/hwregs.c:67:1: warning: function 'acpi_hw_get_bit_register_info' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:167:12: warning: function 'read_scaling_available_governors' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:434:20: warning: function 'check_multiple_madt' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:1205:5: warning: function '__printk_ratelimit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:427:22: warning: function 'dump_console_ring_key' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1313:29: warning: function 'ehci_dbgp_init_preirq' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:386:20: warning: function 'dbgp_set_data' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:401:20: warning: function 'dbgp_get_data' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:734:12: warning: function 'ehci_dbgp_startup' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:847:12: warning: function 'ehci_wait_for_port' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:1439:38: warning: function 'get_token' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:581:29: warning: function 'ns16550_endboot' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:512:13: warning: function 'serial_init_preirq' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:520:13: warning: function 'serial_init_irq' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:542:13: warning: function 'serial_endboot' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:568:6: warning: function 'serial_suspend' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:576:6: warning: function 'serial_resume' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:144:26: warning: function '__find_governor' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:67:5: warning: function 'write_userspace_scaling_setspeed' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:109:34: warning: function 'find_iommu_from_bdf_cap' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:278:6: warning: function 'amd_iommu_flush_iotlb' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:311:13: warning: function 'amd_iommu_flush_all_iotlbs' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:329:13: warning: function '_amd_iommu_flush_pages' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_detect.c:25:19: warning: function 'get_iommu_msi_capabilities' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:339:12: warning: function 'do_completion_wait' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1166:5: warning: function 'iterate_ivrs_mappings' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1587:15: warning: function 'amd_iommu_resume' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:279:22: warning: function 'set_iommu_ppr_log_control' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:811:15: warning: function 'iov_adjust_irq_affinities' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:930:13: warning: function 'disable_iommu' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:321:15: warning: function 'amd_iommu_ioapic_update_ire' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:673:21: warning: function 'amd_setup_hpet_msi' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:96:14: warning: function 'ioapic_id_to_index' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:323:21: warning: function 'iov_enable_xt' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:342:5: warning: function 'amd_iommu_alloc_root' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:106:12: warning: function 'pci_segments_iterate' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1218:21: warning: function 'aer_hest_parse' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:277:13: warning: function 'apply_quirks' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:256:24: warning: function 'drhd_to_rhsa' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1401:13: warning: function 'iommu_free' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:949:20: warning: function 'iommu_get_fault_reason' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:51:21: warning: function 'qinval_next_index' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:791:21: warning: function '_hvm_dpci_msi_eoi' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/vesa.c:148:13: warning: function 'vesa_endboot' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/parse-size.c:3:20: warning: function 'parse_size_and_unit' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/strcmp.c:12:6: warning: function 'strcmp' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/strlcat.c:17:8: warning: function 'strlcat' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/strncmp.c:13:6: warning: function 'strncmp' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/strstr.c:12:8: warning: function 'strstr' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:327:12: warning: function 'copy_leaf_to_buffer' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/msr.c:26:5: warning: function 'x86_msr_copy_to_buffer' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/msr.c:9:12: warning: function 'copy_msr_to_buffer' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
lib/xxhash32.c:223:10: warning: function 'xxh32_digest' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:235:13: warning: function 'output_label' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:559:12: warning: function 'compare_value' has cognitive complexity of 4 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:577:6: warning: function 'errata_c6_workaround' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:225:21: warning: function 'hwp_cpufreq_verify' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpuidle_menu.c:117:19: warning: function 'which_bucket' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpuidle_menu.c:240:22: warning: function 'menu_reflect' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:83:12: warning: function 'device_power_down' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1118:20: warning: function 'check_deadline_errata' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1346:22: warning: function 'spurious_interrupt' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:427:13: warning: function 'init_bsp_APIC' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:640:5: warning: function 'lapic_suspend' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/bzimage.c:74:22: warning: function 'bzimage_headroom' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce-apei.c:93:9: warning: function 'apei_read_mce' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:735:21: warning: function 'cpu_callback' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:208:1: warning: function 'amd_f10_handler' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:199:1: warning: function 'intel_get_extended_msrs' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:62:5: warning: function 'vmce_restore_vcpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:328:12: warning: function 'microcode_update_cpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:811:19: warning: function 'early_microcode_update_cpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:290:14: warning: function 'generic_get_free_region' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:211:13: warning: function 'set_mtrr' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:568:13: warning: function 'mtrr_bp_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:372:5: warning: function 'vpmu_load' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:461:13: warning: function 'put_vpmu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:533:43: warning: function 'common_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:207:13: warning: function 'core2_vpmu_set_msr_bitmap' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:231:13: warning: function 'core2_vpmu_unset_msr_bitmap' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/crash.c:116:13: warning: function 'nmi_shootdown_cpus' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:322:19: warning: function '_dmi_iterate' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:456:20: warning: function 'dmi_save_ident' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domctl.c:102:12: warning: function 'vcpu_set_vmce' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:185:23: warning: function 'FormatHex' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:869:20: warning: function 'efi_console_set_mode' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:557:6: warning: function 'pit_reset' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/extable.c:66:1: warning: function 'search_one_extable' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:87:13: warning: function 'do_tlb_flush' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:955:6: warning: function 'hpet_disable' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:22:13: warning: function '_raw_copy_from_guest_buf_offset' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1195:12: warning: function 'linear_write' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1247:12: warning: function '__hvmemul_read' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1690:21: warning: function 'hvmemul_rep_ins' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/grant_table.c:38:5: warning: function 'replace_grant_p2m_mapping' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:211:22: warning: function 'hpet_timer_fired' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:706:6: warning: function 'hvm_domain_relinquish_resources' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:650:21: warning: function 'irq_save_pci' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:242:21: warning: function 'acpi_save' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:306:5: warning: function 'pmtimer_change_ioport' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/quirks.c:28:28: warning: function 'check_port80' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:33:5: warning: function 'arch_hvm_load' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1553:6: warning: function 'svm_load_segs' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1712:22: warning: function 'svm_fpu_dirty_intercept' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2183:13: warning: function 'svm_vmexit_do_rdtsc' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2335:12: warning: function 'svm_is_erratum_383' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:263:1: warning: function 'svm_msrbit' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:570:21: warning: function 'svm_guest_x86_mode' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:69:13: warning: function 'svm_crash_or_fault' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:598:21: warning: function 'ioapic_save' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:91:17: warning: function 'vioapic_read_indirect' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:26:6: warning: function 'viridian_apic_assist_set' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:398:6: warning: function 'viridian_synic_load_vcpu_ctxt' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:96:13: warning: function 'time_ref_count_thaw' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1111:21: warning: function 'viridian_save_domain_ctxt' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1151:21: warning: function 'viridian_save_vcpu_ctxt' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:523:6: warning: function 'viridian_domain_deinit' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:703:12: warning: function 'hvcall_flush' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:803:13: warning: function 'send_ipi' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1387:13: warning: function 'vlapic_do_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:449:6: warning: function 'vlapic_handle_EOI' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:831:6: warning: function 'vpci_msi_arch_print' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1354:30: warning: function 'locate_msr_entry' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1589:6: warning: function 'vmx_set_eoi_exit_bitmap' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1596:6: warning: function 'vmx_clear_eoi_exit_bitmap' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:131:13: warning: function 'vmx_pi_switch_from' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1968:6: warning: function 'vmx_inject_extint' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1988:6: warning: function 'vmx_inject_nmi' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2868:20: warning: function 'has_if_pschange_mc' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3286:12: warning: function 'is_last_branch_msr' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:4738:13: warning: function 'lbr_tsx_fixup' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:485:38: warning: function 'get_model_specific_lbr' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:861:14: warning: function 'vmx_guest_x86_mode' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:142:15: warning: function 'nvmx_vcpu_destroy' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1965:12: warning: function 'nvmx_handle_vmwrite' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2381:6: warning: function 'nvmx_idtv_handling' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:338:13: warning: function 'init_IRQ' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1074:20: warning: function 'setup_ExtINT_IRQ0_pin' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1653:22: warning: function 'mask_and_ack_level_ioapic_irq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2069:13: warning: function 'setup_IO_APIC' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2312:12: warning: function 'ioapic_physbase_to_id' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:429:13: warning: function 'modify_IO_APIC_irq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:492:13: warning: function '__eoi_IO_APIC_irq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:608:12: warning: function 'find_irq_entry' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:625:19: warning: function 'find_isa_irq_pin' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1233:12: warning: function 'prepare_domain_irq_pirq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2772:6: warning: function 'arch_evtchn_bind_pirq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:851:14: warning: function 'set_desc_affinity' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:126:15: warning: function 'arch_livepatch_apply' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/machine_kexec.c:149:6: warning: function 'machine_kexec' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:591:13: warning: function 'inc_linear_entries' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:622:13: warning: function 'inc_linear_uses' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6311:6: warning: function 'paging_invlpg' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6336:15: warning: function 'get_upper_mfn_bound' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:718:13: warning: function 'flush_vcpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:71:15: warning: function 'nept_emt_bits_check' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:72:6: warning: function 'p2m_mem_access_emulate_check' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1526:14: warning: function 'p2m_find_altp2m_by_eptp' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:224:13: warning: function 'ept_free_entry' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:40:12: warning: function 'atomic_write_ept_entry' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1394:1: warning: function 'guest_physmap_mark_populate_on_demand' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:188:1: warning: function 'p2m_free_entry' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1640:21: warning: function 'mmio_order' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:679:13: warning: function 'flush_vcpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:713:20: warning: function 'efi_check_config' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:820:6: warning: function 'mp_unregister_lapic' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:931:13: warning: function 'mp_override_legacy_irq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:103:13: warning: function 'msix_put_fixmap' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1072:13: warning: function '_pci_cleanup_msix' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1124:5: warning: function 'pci_prepare_msix' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:502:5: warning: function 'setup_msi_irq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:571:25: warning: function 'find_msi_entry' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:323:13: warning: function 'setup_p6_watchdog' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1296:12: warning: function 'write_psr_msrs' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:730:13: warning: function 'psr_assoc_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:959:12: warning: function 'skip_prior_features' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/descriptor-tables.c:116:6: warning: function 'do_set_gdt' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/descriptor-tables.c:276:5: warning: function 'validate_segdesc_page' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:146:13: warning: function 'default_reboot_type' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:355:6: warning: function 'smp_send_stop' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:315:14: warning: function 'numa_node_to_arch_nid' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:40:10: warning: function 'pxm_to_node' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1046:17: warning: function 'calibrate_apic_timer' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2064:37: warning: function 'calc_ler_msr' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2095:6: warning: function 'percpu_traps_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:532:13: warning: function 'show_trace' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:952:5: warning: function 'guest_rdmsr_xen' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:65:36: warning: function 'pci_mmcfg_e7520' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:136:5: warning: function 'pci_mmcfg_arch_enable' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:210:12: warning: function 'pci_mmcfg_arch_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/cpu.c:145:5: warning: function 'cpu_up' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/dm.c:22:6: warning: function 'do_dm_op' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1083:6: warning: function 'domain_resume' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1355:5: warning: function 'domain_unpause_by_systemcontroller' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1642:5: warning: function 'default_initialise_vcpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/domctl.c:175:27: warning: function 'vnuma_alloc' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1412:5: warning: function 'alloc_unbound_xen_event_channel' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:239:12: warning: function 'get_free_port' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:307:5: warning: function 'evtchn_alloc_unbound' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:859:6: warning: function 'evtchn_virq_enabled' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:355:22: warning: function 'evtchn_fifo_is_pending' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:363:22: warning: function 'evtchn_fifo_is_masked' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:371:22: warning: function 'evtchn_fifo_is_busy' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1788:1: warning: function 'gnttab_populate_status_frames' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/guestcopy.c:9:7: warning: function 'safe_copy_string_from_guest' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:277:12: warning: function 'hypfs_get_path_user' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:530:12: warning: function 'hypfs_read' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1071:6: warning: function 'ioreq_server_destroy_all' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:954:5: warning: function 'ioreq_server_map_mem_type' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:204:28: warning: function 'parse_low_crashinfo' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:573:28: warning: function 'kexec_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:632:12: warning: function 'kexec_get_cpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:211:22: warning: function 'dump_hwdom_action' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1594:20: warning: function 'has_payload_any_vetoing_hooks' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1163:12: warning: function 'acquire_ioreq_server' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1904:5: warning: function 'check_get_page_from_gfn' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1950:5: warning: function 'prepare_ring_for_helper' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1774:5: warning: function 'query_page_offline' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:193:28: warning: function 'parse_bootscrub_param' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2598:22: warning: function 'pagealloc_info' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2680:16: warning: function 'get_pg_owner' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/pdx.c:32:6: warning: function '__mfn_valid' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:300:15: warning: function 'radix_tree_next_hole' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:337:15: warning: function 'radix_tree_prev_hole' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:700:6: warning: function 'radix_tree_destroy' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:537:13: warning: function 'rangeset_printk' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:385:1: warning: function 'a653sched_alloc_udata' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1180:13: warning: function 'sched_check_affinity_broken' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2007:6: warning: function 'do_set_timer_op' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2084:6: warning: function 'sched_adjust_global' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:477:27: warning: function 'sched_alloc_unit' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:109:21: warning: function 'cpupool_check_granularity' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:414:13: warning: function 'cpupool_update_node_affinity' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:2063:1: warning: function 'csched_dump_pcpu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:2180:1: warning: function 'csched_global_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:166:6: warning: function 'lock_enter' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/time.c:97:6: warning: function 'update_domain_wallclock_time' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:104:12: warning: function 'remove_from_heap' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:554:22: warning: function 'dump_timerq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:305:5: warning: function 'trace_will_trace_event' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:250:14: warning: function 'print_domain' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
common/warning.c:20:13: warning: function 'warning_print' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:78:29: warning: function 'apei_range_map' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:244:21: warning: function 'erst_exec_move_data' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/hwregs.c:567:1: warning: function 'acpi_hw_low_level_read' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/hwregs.c:637:1: warning: function 'acpi_hw_low_level_write' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/hwregs.c:94:13: warning: function 'acpi_get_register' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:93:1: warning: function 'acpi_os_map_memory' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:362:1: warning: function 'acpi_table_parse_entries' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbutils.c:125:1: warning: function 'acpi_tb_print_table_header' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbutils.c:245:1: warning: function 'acpi_tb_install_table' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbxfroot.c:66:27: warning: function 'acpi_tb_validate_rsdp' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:1134:12: warning: function 'console_has' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:530:13: warning: function '__serial_rx' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:582:22: warning: function 'serial_rx' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:415:13: warning: function 'dbgp_issue_command' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:511:12: warning: function 'dbgp_wait_until_complete' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:178:22: warning: function 'ns16550_interrupt' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:210:22: warning: function '__ns16550_poll' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:272:13: warning: function 'pci_serial_early_init' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:303:13: warning: function 'ns16550_setup_preirq' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:170:6: warning: function 'cpufreq_statistic_reset' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:238:19: warning: function 'register_range_for_device' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:328:19: warning: function 'parse_ivmd_device_range' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:745:28: warning: function 'parse_ivrs_hpet' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:26:13: warning: function 'send_iommu_command' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:592:13: warning: function 'iommu_check_event_log' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:650:13: warning: function 'iommu_check_ppr_log' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:688:5: warning: function 'amd_iommu_reserve_domain_unity_unmap' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:303:28: warning: function 'iov_detect' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:647:21: warning: function 'amd_iommu_remove_device' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:99:13: warning: function 'any_pdev_behind_iommu' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:675:6: warning: function 'iommu_has_feature' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:55:20: warning: function 'dmar_scope_add_buses' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:161:13: warning: function 'cleanup_domid_map' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:970:12: warning: function 'iommu_page_fault_do_one' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:1027:5: warning: function 'arch_pci_clean_pirqs' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:659:21: warning: function 'init_msix' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:528:6: warning: function 'vpci_ecam_write' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:544:6: warning: function 'vpci_ecam_read' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
lib/list-sort.c:28:26: warning: function 'merge' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:80:1: warning: function '__rb_change_child' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
lib/xxhash64.c:244:10: warning: function 'xxh64_digest' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:250:12: warning: function 'expand_symbol' has cognitive complexity of 5 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1245:5: warning: function 'get_cpu_id' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:466:6: warning: function 'mwait_idle_with_hints' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:649:6: warning: function 'update_last_cx_stat' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:126:12: warning: function 'hwp_cmdline_parse' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:139:13: warning: function 'amd_fixup_frequency' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:52:22: warning: function 'update_cpb' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:106:13: warning: function 'device_power_up' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:166:13: warning: function 'acpi_sleep_prepare' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1544:6: warning: function 'check_for_unexpected_msi' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:215:13: warning: function 'connect_bsp_APIC' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:114:15: warning: function 'strcspn' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:215:13: warning: function 'do_write' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:236:13: warning: function 'do_read' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/compat.c:31:6: warning: function 'do_sched_op_compat' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:347:6: warning: function 'calculate_raw_cpu_policy' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:908:13: warning: function 'init_dom0_cpuid_policy' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:168:29: warning: function 'probe_masking_msrs' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:498:13: warning: function 'check_syscfg_dram_mod_en' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:91:1: warning: function 'mc_ec2type' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:1002:5: warning: function 'vmce_intel_wrmsr' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:61:22: warning: function 'intel_thermal_interrupt' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:426:12: warning: function 'vcpu_fill_mc_msrs' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:217:21: warning: function 'apply_microcode' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:204:20: warning: function 'microcode_grab_module' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:397:21: warning: function 'microcode_nmi_callback' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:701:5: warning: function 'microcode_update' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:163:20: warning: function 'print_fixed' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:359:13: warning: function 'set_mtrr_var_ranges' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:503:22: warning: function 'generic_set_all' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:810:28: warning: function 'vpmu_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:310:13: warning: function 'context_update' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:187:6: warning: function 'init_hypercall_page' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:234:5: warning: function 'mapcache_domain_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:489:20: warning: function 'reserve_dmi_region' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1120:20: warning: function 'efi_get_apple_properties' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1648:29: warning: function 'ram_range_valid' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:703:22: warning: function 'blexit' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/pe.c:84:20: warning: function 'pe_name_compare' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:83:21: warning: function 'efi_rs_enter' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:222:12: warning: function 'pit_get_gate' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:465:21: warning: function 'handle_pit_io' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:850:13: warning: function 'hpet_disable_legacy_replacement_mode' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/asid.c:51:6: warning: function 'hvm_asid_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:47:12: warning: function 'track_dirty_vram' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:876:20: warning: function 'pvh_acpi_table_allowed' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1003:31: warning: function 'hvmemul_find_mmio_cache' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1768:21: warning: function 'hvmemul_rep_outs' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:3000:6: warning: function 'hvmemul_cache_restore' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/grant_table.c:16:5: warning: function 'create_grant_p2m_mapping' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3790:22: warning: function 'is_sysdesc_access' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4093:13: warning: function 'hvm_s3_resume' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4113:12: warning: function 'hvmop_set_evtchn_upcall_vector' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4392:12: warning: function 'hvmop_set_param' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5224:6: warning: function 'hvm_get_segment_register' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:731:6: warning: function 'hvm_domain_destroy' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:303:6: warning: function 'relocate_portio_handler' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:43:21: warning: function 'hvm_mmio_read' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:52:21: warning: function 'hvm_mmio_write' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:78:21: warning: function 'hvm_portio_read' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:93:21: warning: function 'hvm_portio_write' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:171:21: warning: function 'g2m_portio_read' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:197:21: warning: function 'g2m_portio_write' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:240:14: warning: function 'hvm_pci_decode_addr' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:171:13: warning: function 'hvm_remove_ioreq_gfn' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:32:6: warning: function 'arch_vcpu_ioreq_completion' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:55:14: warning: function 'hvm_alloc_legacy_ioreq_gfn' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:71:14: warning: function 'hvm_alloc_ioreq_gfn' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:89:13: warning: function 'hvm_free_legacy_ioreq_gfn' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:588:13: warning: function 'irq_dump' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:59:6: warning: function 'hvm_ioapic_deassert' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:331:5: warning: function 'hvm_monitor_vmexit' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:576:13: warning: function 'rtc_set_time' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:698:21: warning: function 'handle_rtc_io' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:372:5: warning: function '_hvm_check_entry' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/emulate.c:113:14: warning: function 'svm_get_task_switch_insn_len' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/intr.c:31:13: warning: function 'svm_inject_nmi' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/intr.c:53:13: warning: function 'svm_inject_extint' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1022:1: warning: function 'nsvm_vmcb_prepare4vmexit' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:223:12: warning: function 'nsvm_vcpu_hostsave' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:839:14: warning: function 'nsvm_vcpu_vmexit_event' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1499:13: warning: function 'lapic_load_fixup' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:165:17: warning: function 'vlapic_get_ppr' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:304:22: warning: function 'vlapic_init_sipi_action' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:460:15: warning: function 'is_multicast_dest' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:197:25: warning: function 'msixtbl_addr_to_desc' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:842:6: warning: function 'vmx_vmcs_enter' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2097:22: warning: function 'vmx_event_pending' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2197:13: warning: function '__vmx_deliver_posted_interrupt' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2252:22: warning: function 'vmx_deliver_posted_intr' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3204:20: warning: function 'lbr_tsx_fixup_check' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3992:13: warning: function 'vmx_handle_descriptor_access' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:4019:12: warning: function 'vmx_handle_apic_write' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:700:13: warning: function 'vmx_save_guest_msrs' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:895:13: warning: function '__restore_debug_registers' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1259:13: warning: function 'sync_vvmcs_guest_state' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1277:13: warning: function 'sync_vvmcs_ro' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1493:6: warning: function 'nvmx_switch_guest' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1530:12: warning: function 'nvmx_handle_vmxon' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2338:14: warning: function 'nvmx_hap_walk_L1_p2m' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2771:6: warning: function 'nvmx_set_cr_read_shadow' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:485:13: warning: function 'vmfail_invalid' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:590:6: warning: function 'nvmx_update_exec_control' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:307:5: warning: function 'vcpu_init_fpu' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:175:20: warning: function 'replace_pin_at_irq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1799:20: warning: function 'init_IO_APIC_traps' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:203:30: warning: function 'alloc_ioapic_entries' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:516:13: warning: function 'clear_IO_APIC_pin' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:74:13: warning: function 'share_vector_maps' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1207:18: warning: function 'pirq_spin_lock_irq_desc' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1402:22: warning: function 'set_eoi_ready' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:180:12: warning: function 'bind_irq_vector' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2428:6: warning: function 'free_domain_pirqs' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:919:6: warning: function 'set_direct_apic_vector' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:367:13: warning: function 'arch_livepatch_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1134:1: warning: function 'get_page_from_l3e' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3119:6: warning: function 'put_page_type' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3141:5: warning: function 'get_page_type_preemptible' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:614:13: warning: function 'dec_linear_entries' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6249:6: warning: function 'memguard_guard_stack' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:638:13: warning: function 'dec_linear_uses' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:770:6: warning: function 'is_memory_hole' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1329:13: warning: function 'ept_disable_pml' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1359:22: warning: function 'ept_flush_pml_buffers' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:363:6: warning: function 'p2m_pod_get_mem_target' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:517:5: warning: function 'p2m_pt_handle_deferred_changes' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1135:5: warning: function 'set_foreign_p2m_entry' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:128:6: warning: function 'p2m_memory_type_changed' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1394:1: warning: function 'p2m_flush' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2674:5: warning: function 'p2m_set_altp2m_view_visibility' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:332:6: warning: function 'p2m_put_gfn' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:578:1: warning: function 'p2m_remove_page' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:1010:5: warning: function 'arch_set_paging_mempool_size' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:896:6: warning: function 'pagetable_dying' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2617:6: warning: function 'shadow_put_top_level' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2772:6: warning: function 'shadow_vcpu_teardown' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:599:12: warning: function 'sh_skip_sync' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:882:6: warning: function 'shadow_unhook_mappings' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/monitor.c:113:6: warning: function 'monitored_msr' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/monitor.c:128:6: warning: function 'monitored_msr_onchangeonly' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/monitor.c:96:12: warning: function 'monitor_disable_msr' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:210:20: warning: function 'MP_bus_info' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:494:27: warning: function 'construct_default_ISA_mptable' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:784:13: warning: function 'mp_register_lapic_address' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:799:5: warning: function 'mp_register_lapic' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:390:12: warning: function 'msi_get_mask_bit' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:411:15: warning: function 'mask_msi_irq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:437:22: warning: function 'shutdown_msi_irq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:353:12: warning: function 'setup_p4_watchdog' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/percpu.c:66:21: warning: function 'cpu_percpu_callback' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1679:28: warning: function 'psr_presmp_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/callback.c:429:6: warning: function 'do_nmi_op' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:24:28: warning: function 'parse_pv' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/traps.c:121:22: warning: function 'nmi_softirq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:730:22: warning: function 'init_done' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:840:22: warning: function 'cmdline_cook' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:295:15: warning: function 'new_tlbflush_clock_period' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:326:6: warning: function '__stop_this_cpu' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:404:15: warning: function 'cpu_up_helper' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:116:13: warning: function 'synchronize_tsc_master' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:140:13: warning: function 'synchronize_tsc_slave' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:558:20: warning: function 'check_smt_enabled' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:180:1: warning: function 'acpi_numa_processor_affinity_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:327:4: warning: function '__node_distance' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/sysctl.c:94:6: warning: function 'arch_do_physinfo' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:105:19: warning: function 'div_frac' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1540:13: warning: function '__update_vcpu_system_time' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2397:13: warning: function 'early_time_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:837:17: warning: function '__read_platform_stime' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:116:6: warning: function 'vm_event_set_registers' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:364:22: warning: function 'pci_mmcfg_reject_broken' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig_64.c:200:8: warning: function 'pci_ro_mmcfg_decode' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1224:6: warning: function 'vcpu_pause' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1283:13: warning: function '_domain_pause' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1299:6: warning: function 'domain_pause' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:154:12: warning: function 'vmtrace_alloc_buffer' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:367:28: warning: function 'parse_dom0_param' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/event_2l.c:45:22: warning: function 'evtchn_2l_clear_pending' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:270:6: warning: function 'evtchn_free' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:959:6: warning: function 'send_global_virq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:992:13: warning: function 'clear_global_virq_handlers' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:81:22: warning: function 'evtchn_fifo_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3020:12: warning: function 'gnttab_copy_buf' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3955:6: warning: function 'grant_table_warn_active_grants' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:142:13: warning: function 'node_exit' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:174:7: warning: function 'hypfs_get_dyndata' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:299:30: warning: function 'hypfs_dir_findentry' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:81:13: warning: function 'hypfs_read_lock' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:89:13: warning: function 'hypfs_write_lock' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:97:13: warning: function 'hypfs_unlock' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:413:13: warning: function 'ioreq_server_remove_vcpu' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:842:12: warning: function 'ioreq_server_map_io_range' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:894:12: warning: function 'ioreq_server_unmap_io_range' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1078:12: warning: function 'kexec_load_v1_compat' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:336:19: warning: function 'kexec_crash_save_info' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:912:12: warning: function 'kexec_segments_add_segment' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:128:22: warning: function 'show_handlers' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:287:26: warning: function 'kimage_alloc_normal_control_page' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:767:12: warning: function 'kimage_load_segment' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:150:27: warning: function 'elf_shdr_by_name' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:340:27: warning: function 'elf_note_next' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1062:13: warning: function 'free_payload' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:570:19: warning: function 'livepatch_verify_expectation_fn' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:939:15: warning: function 'is_payload_symbol' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:118:20: warning: function 'cutoff_node' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:641:28: warning: function 'numa_setup' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2178:13: warning: function 'heap_init_late' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:805:13: warning: function 'check_and_stop_scrub' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:102:12: warning: function 'radix_tree_extend' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:698:6: warning: function 'rcu_idle_enter' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:715:6: warning: function 'rcu_idle_exit' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1015:13: warning: function 'sched_unit_move_locked' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1073:13: warning: function 'sched_unit_migrate_start' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2050:6: warning: function 'sched_adjust' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2640:22: warning: function 'schedule' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2836:6: warning: function 'sched_rm_cpu' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2913:18: warning: function 'sched_get_opt_cpumask' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:3369:19: warning: function 'scheduler_alloc' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:3393:6: warning: function 'scheduler_free' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1184:30: warning: function 'hypfs_gran_getsize' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:474:12: warning: function 'cpupool_unassign_cpu_finish' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1055:1: warning: function 'csched_free_udata' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:2218:1: warning: function 'csched_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:266:1: warning: function 'inc_nr_runnable' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:517:1: warning: function 'csched_free_pdata' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1130:1: warning: function 'runq_assign' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1157:1: warning: function 'runq_deassign' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1477:20: warning: function 'runq_remove' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:169:22: warning: function 'null_deinit_pdata' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:675:1: warning: function 'null_res_pick' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:526:1: warning: function 'q_remove' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:847:1: warning: function 'rt_alloc_udata' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/softirq.c:77:6: warning: function 'open_softirq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:234:13: warning: function 'rel_lock' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:339:6: warning: function '_spin_lock_irq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/symbols.c:213:15: warning: function 'symbols_lookup_by_name' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:182:12: warning: function 'remove_entry' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:285:13: warning: function 'active_timer' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:66:13: warning: function 'down_heap' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:292:30: warning: function 'peek_old_byte' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/unzstd.c:105:19: warning: function 'decompress_single' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/virtual_region.c:121:13: warning: function 'unregister_init_virtual_region' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/virtual_region.c:59:6: warning: function 'register_virtual_region' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/virtual_region.c:87:6: warning: function 'unregister_virtual_region' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:108:21: warning: function 'vm_event_ring_available' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:779:6: warning: function 'vm_event_vcpu_pause' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/wait.c:263:6: warning: function 'prepare_to_wait' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:262:20: warning: function 'INSERT_BLOCK' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:527:23: warning: function 'xmalloc_pool_get' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:563:13: warning: function 'tlsf_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:408:12: warning: function 'acpi_table_parse' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbinstal.c:108:20: warning: function 'acpi_tb_resize_root_table_list' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:1266:6: warning: function 'panic' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:219:12: warning: function '__parse_loglvl' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:488:13: warning: function 'switch_serial_input' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1038:13: warning: function 'ehci_dbgp_bios_handoff' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1378:12: warning: function 'ehci_dbgp_check_release' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1556:5: warning: function 'dbgp_op' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:1723:13: warning: function 'ns16550_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:356:29: warning: function 'ns16550_init_preirq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:529:13: warning: function 'serial_init_postirq' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:592:19: warning: function 'cpufreq_handle_common_option' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:89:5: warning: function 'cpufreq_statistic_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1194:28: warning: function 'detect_iommu_acpi' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:550:19: warning: function 'parse_ivhd_device_alias' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:112:22: warning: function 'get_gfn_from_base_reg' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:266:12: warning: function 'do_complete_ppr_request' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:318:12: warning: function 'do_invalidate_iotlb_pages' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:593:17: warning: function 'iommu_mmio_read64' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1015:22: warning: function 'allocate_cmd_buffer' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:105:13: warning: function 'register_iommu_cmd_buffer_in_mmio_space' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1117:20: warning: function 'amd_iommu_init_cleanup' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1333:20: warning: function 'amd_sp5100_erratum28' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:133:13: warning: function 'register_iommu_event_log_in_mmio_space' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1447:12: warning: function 'amd_iommu_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:161:13: warning: function 'register_iommu_ppr_log_in_mmio_space' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:82:13: warning: function 'register_iommu_dev_table_in_mmio_space' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:125:12: warning: function 'get_intremap_requestor_id' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:182:13: warning: function 'free_intremap_entry' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:261:12: warning: function 'update_intremap_entry_from_ioapic' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:613:7: warning: function 'amd_iommu_alloc_intremap_table' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:610:22: warning: function 'flush_count' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:359:21: warning: function 'amd_iommu_domain_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:550:22: warning: function 'amd_iommu_domain_destroy' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/msi.c:21:5: warning: function 'pdev_msi_init' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1263:21: warning: function '_dump_pci_devices' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:913:16: warning: function 'pdev_type' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:280:19: warning: function 'scope_device_count' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:281:12: warning: function 'remap_entry_to_ioapic_rte' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:408:23: warning: function 'io_apic_read_remap_rte' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:432:15: warning: function 'io_apic_write_remap_rte' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:60:12: warning: function 'init_apic_pin_2_ir_idx' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:183:13: warning: function 'any_pdev_behind_iommu' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2287:21: warning: function 'intel_iommu_lookup_page' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:216:25: warning: function 'invalidate_sync' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:254:5: warning: function 'qinval_device_iotlb_sync' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:69:13: warning: function 'qinval_update_qtail' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:238:13: warning: function 'snb_vtd_ops_preamble' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:927:21: warning: function '_hvm_dpci_isairq_eoi' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:971:6: warning: function 'hvm_dpci_eoi' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:196:5: warning: function 'vpci_remove_register' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
lib/memmove.c:15:8: warning: function 'memmove' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:496:17: warning: function 'rb_next' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:527:17: warning: function 'rb_prev' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
lib/strpbrk.c:12:7: warning: function 'strpbrk' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
lib/xxhash32.c:86:10: warning: function 'xxh32' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:413:13: warning: function 'build_initial_tok_table' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:499:13: warning: function 'optimize_result' has cognitive complexity of 6 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1640:21: warning: function 'cpu_callback' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:347:13: warning: function 'print_acpi_power' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:194:12: warning: function 'get_cur_val' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:474:1: warning: function 'acpi_cpufreq_guess_freq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:38:28: warning: function 'parse_acpi_sleep' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1241:13: warning: function 'setup_boot_APIC_clock' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/reloc.c:112:31: warning: function 'pvh_info_reloc' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:126:48: warning: function 'get_cpuidmask' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:784:13: warning: function 'amd_setup_legacy_ssbd' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:232:5: warning: function 'get_model_name' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:108:20: warning: function 'probe_masking_msrs' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1086:21: warning: function 'intpose_lookup' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:851:7: warning: function 'x86_mcinfo_reserve' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:968:18: warning: function 'intel_mcheck_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:310:13: warning: function 'mctelem_processing_hold' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:447:12: warning: function 'primary_thread_fn' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:39:1: warning: function 'get_fixed_ranges' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:401:22: warning: function 'set_mtrr_state' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:93:13: warning: function 'get_mtrr_state' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:304:20: warning: function '__core2_vpmu_load' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:499:12: warning: function 'core2_vpmu_msr_common_check' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:775:21: warning: function 'core2_vpmu_do_interrupt' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:229:13: warning: function 'dmi_efi_get_table' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1884:15: warning: function 'paravirt_ctxt_switch_to' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:345:29: warning: function 'find_max_pfn' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:568:34: warning: function 'set_color' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:228:13: warning: function 'pit_latch_count' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:241:13: warning: function 'pit_latch_status' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:335:17: warning: function 'pit_ioport_read' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/extable.c:130:28: warning: function 'stub_selftest' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:350:19: warning: function 'hpet_setup_msi_irq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:185:19: warning: function 'pvh_steal_ram' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1140:12: warning: function 'linear_read' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1439:21: warning: function 'hvmemul_blk' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2232:21: warning: function 'hvmemul_read_xcr' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2245:21: warning: function 'hvmemul_write_xcr' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:574:21: warning: function 'hpet_save' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2232:6: warning: function 'hvm_shadow_handle_cd' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2994:6: warning: function 'hvm_prepare_vm86_tss' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3522:6: warning: function 'hvm_rdtsc_intercept' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5193:6: warning: function 'hvm_toggle_singlestep' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hypercall.c:68:6: warning: function 'hvm_physdev_op' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:67:22: warning: function 'hvm_portio_accept' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:135:12: warning: function 'hvm_map_ioreq_gfn' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/nestedhvm.c:74:22: warning: function 'nestedhvm_flushtlb_ipi' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:209:21: warning: function 'handle_pmt_io' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:403:6: warning: function '_hvm_read_entry' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:99:8: warning: function 'hvm_save_size' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:216:21: warning: function 'stdvga_mem_offset' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:252:16: warning: function 'stdvga_mem_readb' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:575:6: warning: function 'stdvga_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/emulate.c:19:22: warning: function 'svm_nextrip_insn_length' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1481:21: warning: function 'svm_cpu_up_prepare' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1750:13: warning: function 'svm_dr_access' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2364:13: warning: function 'svm_vmexit_mce_intercept' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2403:13: warning: function 'svm_invlpg_intercept' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2464:22: warning: function 'svm_set_reg' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:528:21: warning: function 'svm_load_vmcb_ctxt' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:583:22: warning: function 'svm_cpuid_policy_changed' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:354:21: warning: function 'vioapic_write' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:292:6: warning: function 'viridian_time_domain_freeze' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:305:6: warning: function 'viridian_time_domain_thaw' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1063:6: warning: function 'viridian_map_guest_page' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:272:13: warning: function 'enable_hypercall_page' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:576:21: warning: function 'vpmask_first' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:581:21: warning: function 'vpmask_next' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:876:12: warning: function 'hvcall_ipi_ex' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:124:6: warning: function 'vlapic_test_irq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1261:5: warning: function 'vlapic_accept_pic_intr' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1599:5: warning: function 'vlapic_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:374:16: warning: function 'vlapic_lowest_prio' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:405:6: warning: function 'vlapic_EOI_set' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:583:17: warning: function 'vlapic_read_aligned' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vm_event.c:29:13: warning: function 'hvm_vm_event_set_registers' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:128:5: warning: function 'hvm_girq_dest_2_vcpu_id' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:605:6: warning: function 'msix_write_completion' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:775:5: warning: function 'vpci_msi_arch_enable' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1898:6: warning: function 'vmx_vmentry_failure' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:621:13: warning: function 'vmx_load_vmcs' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3046:12: warning: function 'get_instruction_length' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3103:13: warning: function 'vmx_invlpg_intercept' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3448:13: warning: function 'vmx_install_vlapic_mapping' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:474:13: warning: function 'vmfail_valid' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:639:6: warning: function 'nvmx_update_secondary_exec_control' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:660:13: warning: function 'nvmx_update_pin_control' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:412:21: warning: function 'vpic_save' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:48:12: warning: function 'vpic_get_priority' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1703:22: warning: function 'end_level_ioapic_irq_old' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1724:22: warning: function 'end_level_ioapic_irq_new' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2057:20: warning: function 'ioapic_pm_state_alloc' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2115:6: warning: function 'ioapic_resume' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:958:19: warning: function 'IO_APIC_irq_trigger' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1022:12: warning: function 'setup_irq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1415:6: warning: function 'pirq_guest_eoi' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:883:6: warning: function 'irq_set_affinity' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:517:6: warning: function 'write_ptbase' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5959:6: warning: function '__set_fixmap' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5966:6: warning: function '__set_fixmap_x' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5978:15: warning: function 'ioremap' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:798:21: warning: function 'print_mmio_emul_range' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/altp2m.c:48:5: warning: function 'altp2m_vcpu_enable_ve' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:249:13: warning: function 'hap_free' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:761:1: warning: function 'hap_paging_get_mode' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_hap.c:107:12: warning: function 'nestedhap_walk_L0_p2m' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1110:6: warning: function 'ept_walk_table' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1311:13: warning: function 'ept_enable_pml' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1426:20: warning: function 'memory_type_to_str' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1153:13: warning: function 'pod_eager_record' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1163:12: warning: function 'clear_mmio_p2m_entry' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1325:1: warning: function 'p2m_getlru_nestedp2m' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1885:13: warning: function 'p2m_reset_altp2m' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1985:5: warning: function 'p2m_init_next_altp2m' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:946:12: warning: function 'finish_type_change' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1304:1: warning: function 'shadow_free_p2m_page' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:538:20: warning: function 'check_for_early_unshadow' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:61:12: warning: function 'hvm_translate_virtual_addr' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:98:1: warning: function 'hvm_read' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:665:19: warning: function 'smp_scan_config' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1195:5: warning: function 'pci_reset_msix_state' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:153:6: warning: function 'msi_compose_msg' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:307:5: warning: function 'msi_maskable_irq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:547:5: warning: function 'msi_free_irq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/numa.c:83:21: warning: function 'arch_get_dma_bitsize' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pci.c:46:6: warning: function 'pci_conf_write' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1533:12: warning: function 'psr_cpu_prepare' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:221:13: warning: function 'free_socket_resources' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:497:22: warning: function 'mba_get_feat_info' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:715:21: warning: function 'get_max_cos_max' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:182:15: warning: function 'pv_make_cr4' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-inv-op.c:14:12: warning: function 'emulate_forced_invalid_op' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:316:12: warning: function 'mmio_ro_do_page_fault' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:109:28: warning: function 'parse_cet' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:144:1: warning: function 'acpi_numa_x2apic_affinity_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:154:33: warning: function 'scale_reciprocal' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2666:6: warning: function 'tsc_get_info' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:887:17: warning: function 'read_platform_stime' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2268:6: warning: function 'check_ist_exit' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:197:6: warning: function 'vm_event_fill_regs' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:26:5: warning: function 'vm_event_init_domain' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/acpi_mmcfg.c:71:21: warning: function 'acpi_parse_mcfg' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/domain.c:16:1: warning: function 'runstate_area_populate' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:127:14: warning: function 'alloc_hotadd_mfn' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:140:36: warning: function 'pci_mmcfg_amd_fam10h' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:333:19: warning: function 'is_mmconf_reserved' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:87:36: warning: function 'pci_mmcfg_intel_945' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/traps.c:173:6: warning: function 'vcpu_show_registers' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/traps.c:85:13: warning: function '_show_registers' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/decode.c:22:1: warning: function 'x86_decode_insn' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:206:14: warning: function 'x86emul_write_dr' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:31:5: warning: function 'x86_insn_modrm' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:684:5: warning: function 'validate_xstate' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:320:5: warning: function 'bitmap_allocate_region' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/compat/xlat.c:12:6: warning: function 'xlat_start_info' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/cpu.c:80:12: warning: function 'cpu_notifier_call_chain' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:121:13: warning: function 'virq_is_global' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1523:5: warning: function 'evtchn_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1591:6: warning: function 'evtchn_destroy_final' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:354:13: warning: function 'double_evtchn_lock' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:66:20: warning: function 'evtchn_write_unlock' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:801:5: warning: function 'evtchn_send' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:966:5: warning: function 'set_global_virq_handler' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:651:12: warning: function 'add_page_to_event_array' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2498:1: warning: function 'release_grant_for_copy' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4283:13: warning: function 'gnttab_usage_print' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:494:12: warning: function 'get_paged_frame' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:943:35: warning: function 'grant_map_exists' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:240:5: warning: function 'hypfs_add_dir' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:211:6: warning: function 'vcpu_ioreq_handle_completion' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:348:13: warning: function 'ioreq_server_update_evtchn' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:361:12: warning: function 'ioreq_server_add_vcpu' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:496:12: warning: function 'ioreq_server_alloc_rangesets' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:576:12: warning: function 'ioreq_server_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:621:13: warning: function 'ioreq_server_deinit' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:284:21: warning: function 'one_cpu_only' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:313:6: warning: function 'kexec_crash_save_cpu' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:691:12: warning: function 'kexec_get_range' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:229:22: warning: function 'dump_hwdom_registers' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:84:6: warning: function 'handle_keypress' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:207:13: warning: function 'elf_strval' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:109:8: warning: function 'is_patch' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1579:15: warning: function 'is_work_scheduled' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:716:13: warning: function 'check_low_mem_virq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/pdx.c:46:6: warning: function 'set_pdx_range' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:298:13: warning: function 'rcu_do_batch' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:487:12: warning: function '__rcu_pending' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:229:1: warning: function 'arinc653_sched_set' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:638:1: warning: function 'a653_switch_sched' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:159:33: warning: function 'dom_scheduler' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:177:33: warning: function 'unit_scheduler' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:378:13: warning: function 'sched_free_unit_mem' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:404:13: warning: function 'sched_free_unit' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1281:24: warning: function 'cpupool_create_pool' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:599:12: warning: function 'cpupool_unassign_cpu' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1233:1: warning: function 'csched_aff_cntl' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1335:1: warning: function 'csched_runq_sort' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:254:20: warning: function 'is_runq_idle' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:712:1: warning: function '__csched_unit_is_migrateable' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1500:20: warning: function 'is_preemptable' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1917:13: warning: function 'park_unit' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2087:22: warning: function 'replenish_domain_budget' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:4160:1: warning: function 'csched2_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:344:13: warning: function 'unit_assign' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:309:1: warning: function 'rt_dump_unit' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:370:1: warning: function 'rt_dump' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:582:1: warning: function 'replq_insert' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:705:1: warning: function 'rt_deinit' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/softirq.c:106:6: warning: function 'cpu_raise_softirq' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:190:6: warning: function 'lock_exit' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:34:21: warning: function 'cpu_lockdebug_callback' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:389:5: warning: function '_spin_trylock' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:470:6: warning: function '_spin_lock_recursive' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/symbols.c:43:21: warning: function 'symbols_expand_symbol' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:204:12: warning: function 'add_entry' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:223:20: warning: function 'activate_timer' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:292:6: warning: function 'init_timer' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:208:14: warning: function 'print_bitmap_string' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
common/wait.c:65:6: warning: function 'destroy_waitqueue_vcpu' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:191:1: warning: function 'acpi_os_write_memory' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:67:30: warning: function 'acpi_os_get_root_pointer' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbfadt.c:295:20: warning: function 'acpi_tb_convert_fadt' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbinstal.c:62:20: warning: function 'acpi_tb_verify_table' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/utilities/utglobal.c:69:20: warning: function 'acpi_format_exception' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:855:13: warning: function 'printk_start_of_line' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1213:21: warning: function 'ehci_dbgp_tx_ready' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:636:12: warning: function 'dbgp_control_msg' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:382:6: warning: function 'cpufreq_dbs_timer_resume' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:358:5: warning: function '__cpufreq_driver_target' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:279:19: warning: function 'register_range_for_iommu_devices' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1081:19: warning: function 'amd_iommu_init_one' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:663:5: warning: function 'amd_iommu_reserve_domain_unity_map' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/ats.c:70:6: warning: function 'disable_ats_device' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:149:28: warning: function 'parse_phantom_dev' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:509:17: warning: function 'pci_get_real_pdev' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:952:5: warning: function 'find_upstream_bridge' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:998:6: warning: function 'pci_check_disable_device' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1033:13: warning: function '__do_iommu_page_fault' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1102:22: warning: function 'do_iommu_page_fault' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1449:35: warning: function 'intel_iommu_hwdom_init' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:208:13: warning: function 'check_cleanup_domid_map' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:232:9: warning: function 'did_to_domain_id' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2600:26: warning: function 'setup_hwdom_rmrr' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:3022:22: warning: function 'vtd_resume' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:792:13: warning: function 'queue_free_pt' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:199:6: warning: function 'arch_iommu_domain_destroy' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:647:21: warning: function 'cpu_callback' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/pci/pci.c:11:14: warning: function 'pci_find_cap_offset' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/pci/pci.c:42:14: warning: function 'pci_find_next_cap' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:146:26: warning: function 'msix_find' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:226:21: warning: function 'get_slot' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:108:12: warning: function 'vpci_register_cmp' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:416:13: warning: function 'vpci_write_helper' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
lib/xxhash32.c:155:5: warning: function 'xxh32_update' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
lib/xxhash64.c:178:5: warning: function 'xxh64_update' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
lib/xxhash64.c:96:10: warning: function 'xxh64' has cognitive complexity of 7 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:141:1: warning: function 'acpi_parse_lapic' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:590:19: warning: function 'acpi_parse_madt_ioapic_entries' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:652:20: warning: function 'acpi_process_madt' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1049:13: warning: function 'acpi_processor_power_init_bm_check' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:173:13: warning: function 'drv_read' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpuidle_menu.c:188:21: warning: function 'menu_select' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:467:13: warning: function 'acpi_enter_sleep_state' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/alternative.c:91:20: warning: function 'arch_init_ideal_nops' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:676:5: warning: function 'lapic_resume' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:69:12: warning: function 'strncmp' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:94:15: warning: function 'strspn' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1244:22: warning: function 'x86_mc_msrinject' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:1015:5: warning: function 'vmce_intel_rdmsr' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:210:6: warning: function 'mctelem_process_deferred' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/non-fatal.c:35:22: warning: function 'mce_checkregs' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/non-fatal.c:70:22: warning: function 'mce_work_fn' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:236:13: warning: function 'mtrr_state_warn' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:88:20: warning: function 'set_num_var_ranges' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:562:12: warning: function 'pvpmu_init' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:730:22: warning: function 'core2_vpmu_dump' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:118:28: warning: function 'parse_dom0_mem' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:176:6: warning: function 'startup_cpu_idle_loop' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:320:6: warning: function 'unmap_domain_page_global' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1183:20: warning: function 'efi_exit_boot' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:320:13: warning: function 'gwstrlen' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:508:21: warning: function 'handle_speaker_io' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:196:22: warning: function 'handle_hpet_broadcast' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:486:13: warning: function 'set_channel_irq_affinity' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:68:28: warning: function 'parse_hpet_param' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:909:6: warning: function 'hpet_resume' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:1177:12: warning: function 'dom0_construct_pvh' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1119:13: warning: function 'known_gla' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:61:24: warning: function 'hpet_read_maincounter' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1662:6: warning: function 'hvm_vcpu_down' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2809:14: warning: function 'hvm_map_entry' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3768:10: warning: function 'hvm_get_reg' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3779:6: warning: function 'hvm_set_reg' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3972:6: warning: function 'hvm_vcpu_reset_state' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5203:6: warning: function 'hvm_fast_singlestep' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5376:5: warning: function 'hvm_copy_context_and_params' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:39:5: warning: function 'hvm_ioapic_assert' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:509:19: warning: function 'hvm_vcpu_has_pending_irq' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/nestedhvm.c:158:1: warning: function 'nestedhvm_vcpu_iomap_get' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:47:13: warning: function 'pmt_update_sci' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:649:17: warning: function 'rtc_ioport_read' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:836:6: warning: function 'rtc_init' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:517:22: warning: function 'stdvga_mem_accept' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/asid.c:28:6: warning: function 'svm_asid_handle_vmrun' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2144:13: warning: function 'svm_do_msr_access' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:617:6: warning: function 'svm_sync_vmcb' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:256:13: warning: function 'time_vcpu_freeze' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:274:13: warning: function 'time_vcpu_thaw' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:751:12: warning: function 'hvcall_flush_ex' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1277:6: warning: function 'vlapic_adjust_i8259_target' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:194:15: warning: function 'vlapic_match_logical_addr' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:851:5: warning: function 'vpci_msix_arch_enable_entry' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:641:6: warning: function 'vmx_vmcs_reload' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:66:28: warning: function 'parse_ept_param' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:779:15: warning: function 'vmx_cpu_down' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3088:13: warning: function 'vmx_dr_access' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1347:6: warning: function 'disable_IO_APIC' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2665:14: warning: function 'arch_hwdom_irqs' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:296:13: warning: function '__io_apic_eoi' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:343:5: warning: function 'save_IO_APIC_setup' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:397:5: warning: function 'restore_IO_APIC_setup' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1469:5: warning: function 'pirq_guest_unmask' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:66:28: warning: function 'parse_irq_vector_map_param' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:684:6: warning: function 'setup_vector_irq' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3126:5: warning: function 'get_page_type' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:755:6: warning: function 'is_iomem_page' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:229:26: warning: function 'hap_alloc' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2016:5: warning: function 'p2m_destroy_altp2m_by_id' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:790:5: warning: function 'p2m_change_type_one' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:965:6: warning: function 'paging_update_nestedmode' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:977:12: warning: function 'paging_set_allocation' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/physmap.c:18:1: warning: function 'guest_physmap_add_page' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2035:5: warning: function 'sh_remove_all_mappings' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:173:1: warning: function 'hvm_emulate_write' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:567:13: warning: function 'validate_guest_pt_write' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/monitor.c:45:23: warning: function 'monitor_bitmap_for_msr' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:862:13: warning: function 'mp_register_ioapic' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1014:13: warning: function '__pci_disable_msi' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1154:5: warning: function 'pci_enable_msi' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:244:15: warning: function 'set_msi_affinity' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:246:27: warning: function 'psr_type_to_feat_type' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/callback.c:51:13: warning: function 'register_guest_callback' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/descriptor-tables.c:291:6: warning: function 'do_update_descriptor' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:1207:21: warning: function 'validate' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:356:21: warning: function 'read_io' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:386:13: warning: function '_guest_io_write' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:2150:19: warning: function 'setup_io_bitmap' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:234:28: warning: function 'parse_acpi_param' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:319:6: warning: function 'srat_detect_node' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:394:14: warning: function 'bootstrap_map' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:427:20: warning: function 'move_memory' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1373:5: warning: function '__cpu_up' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:1473:6: warning: function 'spec_ctrl_init_domain' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:289:13: warning: function 'srat_parse_regions' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2059:22: warning: function 'time_calibration_std_rendezvous' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2296:28: warning: function 'verify_tsc_reliability' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:255:6: warning: function 'set_time_scale' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1689:13: warning: function 'nmi_hwdom_report' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:715:13: warning: function 'zap_low_mappings' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:301:19: warning: function 'pci_mmcfg_check_hostbridge' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:159:5: warning: function '__bitmap_intersects' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:174:5: warning: function '__bitmap_subset' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:58:5: warning: function '__bitmap_empty' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:73:5: warning: function '__bitmap_full' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:88:5: warning: function '__bitmap_equal' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:339:22: warning: function 'evtchn_fifo_unmask' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3385:1: warning: function 'gnttab_get_version' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:573:23: warning: function 'steal_maptrack_handle' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:326:6: warning: function 'is_ioreq_server_page' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1200:12: warning: function 'kexec_status' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:174:22: warning: function 'dump_registers' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:557:6: warning: function 'keyhandler_crash_action' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:217:12: warning: function 'kimage_crash_alloc' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:190:6: warning: function 'elf_parse_bsdsyms' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1619:12: warning: function 'schedule_work' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:75:12: warning: function 'get_name' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:92:12: warning: function 'verify_payload' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:523:13: warning: function 'propagate_node' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:66:28: warning: function 'parse_max_order' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/notifier.c:68:5: warning: function 'notifier_call_chain' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:591:13: warning: function 'numa_initmem_init' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2648:22: warning: function 'dump_heap' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:508:5: warning: function 'domain_set_outstanding_pages' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:251:8: warning: function 'rangeset_contains_range' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:270:8: warning: function 'rangeset_overlaps_range' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:423:18: warning: function 'rangeset_new' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:425:13: warning: function '__rcu_process_callbacks' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:578:22: warning: function 'rcu_idle_timer_handler' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1030:1: warning: function 'csched_unit_insert' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1188:1: warning: function 'csched_dom_cntl' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:316:1: warning: function '__runq_remove' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:888:1: warning: function '__csched_unit_acct_start' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1054:13: warning: function 'update_max_weight' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3916:1: warning: function 'csched2_alloc_pdata' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:976:22: warning: function 'null_dump' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:640:1: warning: function 'rt_res_pick_locked' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:926:1: warning: function 'rt_unit_remove' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/softirq.c:57:6: warning: function 'process_pending_softirqs' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:147:13: warning: function 'check_barrier' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:242:22: warning: function 'timer_lock' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:645:21: warning: function 'cpu_callback' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:503:12: warning: function 'vm_event_wait_slot' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:306:19: warning: function 'xmem_pool_create' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:205:19: warning: function 'apei_exec_for_each_entry' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:186:21: warning: function 'erst_exec_stall_while_true' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/hest.c:166:13: warning: function 'acpi_hest_init' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:160:1: warning: function 'acpi_os_read_memory' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:219:14: warning: function 'acpi_os_alloc_memory' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbutils.c:67:1: warning: function 'acpi_tb_check_xsdt' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbxface.c:103:1: warning: function 'acpi_initialize_tables' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbxfroot.c:233:19: warning: function 'acpi_tb_scan_memory_for_rsdp' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:329:13: warning: function 'conring_puts' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:823:21: warning: function 'parse_console_timestamps' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:392:5: warning: function 'cpufreq_update_turbo' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:122:19: warning: function 'reserve_iommu_exclusion_range' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:707:28: warning: function 'parse_ivrs_ioapic' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:649:21: warning: function 'guest_iommu_mmio_read' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:739:21: warning: function 'guest_iommu_mmio_write' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:838:5: warning: function 'guest_iommu_init' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:509:26: warning: function '_find_iommu_for_device' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:644:22: warning: function 'iov_supports_xt' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:74:5: warning: function 'get_dma_requestor_id' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:382:5: warning: function 'iommu_legacy_map' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1083:26: warning: function 'setup_one_hwdom_device' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:329:12: warning: function 'ioapic_rte_to_remap_entry' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2958:34: warning: function 'vtd_suspend' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:880:13: warning: function 'hvm_pirq_eoi' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:54:13: warning: function 'acpi_iommu_init' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/vesa.c:85:13: warning: function 'vesa_init' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:162:6: warning: function 'vpci_process_pending' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:251:13: warning: function 'adjacent_handle' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
lib/list-sort.c:57:13: warning: function 'merge_and_restore_back_links' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
lib/strspn.c:13:8: warning: function 'strspn' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:219:13: warning: function 'read_map' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:439:13: warning: function 'compress_symbols' has cognitive complexity of 8 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:887:15: warning: function 'acpi_dead_idle' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/alternative.c:419:20: warning: function '_alternative_instructions' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:236:6: warning: function 'disconnect_bsp_APIC' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:286:6: warning: function 'disable_local_APIC' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/reloc.c:142:26: warning: function 'mbi_reloc' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:853:6: warning: function 'amd_set_legacy_ssbd' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:1021:26: warning: function 'x86_match_cpu' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:703:6: warning: function 'detect_ht' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/amd_nonfatal.c:70:22: warning: function 'mce_amd_checkregs' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:162:13: warning: function 'mcabank_clear' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:669:12: warning: function 'mca_cap_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:459:22: warning: function 'intel_recoverable_scan' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:536:5: warning: function 'vmce_enable_mca_cap' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:270:12: warning: function 'scan_equiv_cpu_table' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:259:13: warning: function 'microcode_update_cache' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:762:19: warning: function 'early_update_cache' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1291:20: warning: function 'sklh_idle_state_table_update' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:88:19: warning: function 'get_pmu_reg_type' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:896:36: warning: function 'core2_vpmu_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:147:28: warning: function 'parse_dom0_max_vcpus' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1501:5: warning: function 'arch_initialise_vcpu' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:2525:6: warning: function 'vcpu_mark_events_pending' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:715:13: warning: function 'emulation_flags_ok' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:305:7: warning: function 'map_domain_page_global' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:593:22: warning: function 'get_esrt_size' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:337:25: warning: function 'cast_time' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:527:5: warning: function 'pv_pit_handler' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:637:15: warning: function 'hpet_broadcast_resume' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:869:12: warning: function 'hpet_setup' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/asid.c:103:8: warning: function 'hvm_asid_handle_vmenter' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:268:19: warning: function 'pvh_setup_vmx_realmode_helpers' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1338:21: warning: function 'hvmemul_write' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2122:21: warning: function 'hvmemul_write_segment' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1686:6: warning: function 'hvm_hlt' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2063:5: warning: function 'hvm_set_efer' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2128:15: warning: function 'domain_exit_uc_mode' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3498:5: warning: function 'hvm_vmexit_cpuid' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4139:12: warning: function 'hvm_allow_set_param' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:303:6: warning: function 'hvm_assert_evtchn_irq' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:154:5: warning: function 'hvm_monitor_debug' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:408:8: warning: function 'mtrr_fix_range_msr_set' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:87:13: warning: function 'pmt_update_time' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:134:12: warning: function 'stdvga_outb' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:738:1: warning: function 'nsvm_vcpu_vmrun' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1148:21: warning: function 'acpi_c1e_quirk' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2440:26: warning: function 'svm_get_reg' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:77:6: warning: function '__update_guest_eip' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:322:6: warning: function 'viridian_synic_deliver_timer_msg' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1130:21: warning: function 'viridian_load_domain_ctxt' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:462:5: warning: function 'viridian_vcpu_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:487:5: warning: function 'viridian_domain_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:543:17: warning: function 'vlapic_get_tmcct' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:607:21: warning: function 'vlapic_mmio_read' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:108:6: warning: function 'vmsi_deliver_pirq' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:47:13: warning: function 'vmsi_inj_irq' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/intr.c:138:26: warning: function 'nvmx_intr_blocked' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1850:6: warning: function 'vmx_domain_update_eptp' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1407:22: warning: function 'vmx_handle_cd' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3941:13: warning: function 'vmx_idtv_reinject' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1419:13: warning: function 'virtual_vmexit' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1923:12: warning: function 'nvmx_handle_vmread' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:153:20: warning: function 'fpu_fxsave' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1621:13: warning: function 'io_apic_level_ack_pending' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1331:7: warning: function 'pirq_cleanup_check' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/machine_kexec.c:141:6: warning: function 'machine_reboot_kexec' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1110:1: warning: function 'get_page_from_l2e' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1182:6: warning: function 'put_page_from_l1e' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:421:14: warning: function 'page_get_ram_type' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:297:22: warning: function 'hap_free_p2m_page' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:45:15: warning: function 'nept_rsv_bits_check' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1246:5: warning: function 'p2m_remove_identity_entry' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1926:12: warning: function 'p2m_activate_altp2m' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:476:13: warning: function 'oos_hash_add' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:682:5: warning: function 'sh_unsync' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:274:20: warning: function 'MP_lintsrc_info' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:986:12: warning: function '__pci_enable_msi' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/physdev.c:91:5: warning: function 'physdev_map_pirq' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:383:13: warning: function 'mba_init_feature' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:425:13: warning: function '_toggle_guest_pt' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:580:12: warning: function 'pv_emul_virt_to_linear' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:785:21: warning: function 'write_cr' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:59:28: warning: function 'set_reboot_type' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:215:1: warning: function 'acpi_numa_memory_affinity_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1586:6: warning: function 'update_secondary_system_time' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2430:12: warning: function '_disable_pit_irq' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1650:13: warning: function 'do_early_page_fault' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:488:13: warning: function '_show_trace' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1357:6: warning: function 'set_gpfn_from_mfn' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/decode.c:891:1: warning: function 'decode_0f38' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util.c:25:15: warning: function 'x86_insn_is_mem_access' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:582:13: warning: function 'valid_xcr0' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1132:22: warning: function 'complete_domain_destroy' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1616:6: warning: function 'unmap_guest_area' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:263:5: warning: function 'hypfs_add_leaf' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1156:12: warning: function 'ioreq_send_buffered' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:350:5: warning: function 'cmdline_strcmp' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:255:13: warning: function 'set_kexec_crash_area_size' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-dominfo.c:226:17: warning: function 'elf_xen_parse_notes' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:149:24: warning: function 'elf_memcpy' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1385:12: warning: function 'revert_payload' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:232:24: warning: function 'find_payload' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1078:21: warning: function 'get_reserved_device_memory' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:83:21: warning: function 'max_order' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:77:30: warning: function 'conflicting_memblks' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1721:14: warning: function 'online_page' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2321:6: warning: function 'init_domheap_pages' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:490:1: warning: function 'radix_tree_gang_lookup_slot' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2324:6: warning: function 'sched_context_switched' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2366:13: warning: function 'sched_context_switch' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2576:22: warning: function 'sched_slave' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:262:20: warning: function 'vcpu_runstate_change' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1525:17: warning: function 'tickle_score' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:604:1: warning: function 'replq_reinsert' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/softirq.c:126:6: warning: function 'cpu_raise_softirq_batch_finish' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:446:5: warning: function '_spin_trylock_recursive' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:33:13: warning: function 'tasklet_enqueue' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/hest.c:59:12: warning: function 'hest_esrc_len' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/hest.c:91:5: warning: function 'apei_hest_parse' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:144:13: warning: function 'acpi_os_write_port' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbxface.c:167:1: warning: function 'acpi_get_table' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbxface.c:223:1: warning: function 'acpi_get_table_phys' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbxfroot.c:120:20: warning: function 'acpi_find_root_pointer' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1171:22: warning: function 'ehci_dbgp_flush' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:46:6: warning: function 'serial_rx_interrupt' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:592:13: warning: function 'serial_async_transmit' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_misc_governors.c:29:21: warning: function 'cpufreq_governor_userspace' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:507:19: warning: function 'parse_ivhd_device_range' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:663:19: warning: function 'parse_ivhd_device_extended_range' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:694:22: warning: function 'do_amd_iommu_irq' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:165:23: warning: function 'get_intremap_entry' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:285:12: warning: function 'acpi_ivrs_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:383:35: warning: function 'amd_iommu_hwdom_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1383:12: warning: function 'device_assigned' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:482:12: warning: function 'pci_ro_device' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:794:5: warning: function 'pci_remove_device' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:145:22: warning: function 'intel_iommu_supports_eim' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:220:13: warning: function 'free_remap_entry' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:804:14: warning: function 'intel_iommu_enable_eim' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1182:22: warning: function 'dma_msi_set_affinity' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2049:22: warning: function 'iommu_domain_teardown' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:693:25: warning: function 'iommu_flush_all' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:338:20: warning: function 'tylersburg_intremap_quirk' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/x86/ats.c:44:5: warning: function 'ats_device' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:116:13: warning: function 'pt_pirq_softirq_reset' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:757:5: warning: function 'hvm_do_IRQ_dpci' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:160:6: warning: function 'iommu_update_ire_from_apic' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:166:14: warning: function 'iommu_read_apic_from_ire' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:611:22: warning: function 'free_queued_pgtables' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/lfb.c:101:15: warning: function 'lfb_scroll_puts' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/vga.c:174:22: warning: function 'vga_text_puts' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/vga.c:57:13: warning: function 'video_init' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:464:22: warning: function 'rom_write' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:227:17: warning: function 'vpci_read_hw' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:272:13: warning: function 'vpci_write_hw' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:39:6: warning: function 'vpci_remove_device' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/policy.c:5:5: warning: function 'x86_cpu_policies_are_compatible' has cognitive complexity of 9 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1000:12: warning: function 'acpi_processor_ffh_cstate_probe' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:267:14: warning: function 'get_measured_perf' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:479:22: warning: function 'hwp_set_misc_turbo' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/lib.c:43:7: warning: function '__acpi_map_table' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1303:5: warning: function 'reprogram_timer' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:150:6: warning: function 'clear_local_APIC' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:761:19: warning: function 'detect_init_APIC' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:925:13: warning: function 'init_apic_mappings' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/bitops.c:27:14: warning: function '__find_next_bit' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/bitops.c:77:14: warning: function '__find_next_zero_bit' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:741:21: warning: function 'apicid_to_socket' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:301:22: warning: function 'early_init_intel' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:963:22: warning: function 'do_mc_get_cpu_info' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:335:13: warning: function 'mctelem_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:415:6: warning: function 'mctelem_dismiss' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:470:12: warning: function 'control_thread_fn' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:845:12: warning: function 'early_microcode_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:249:36: warning: function 'microcode_update_match' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1244:20: warning: function 'bxt_idle_state_table_update' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1616:12: warning: function 'mwait_idle_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:103:5: warning: function 'vpmu_do_msr' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:532:13: warning: function 'vpmu_cleanup' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:159:12: warning: function 'is_core2_vpmu_msr' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:253:20: warning: function '__core2_vpmu_save' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:269:12: warning: function 'parse_arch_dom0_param' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:2136:5: warning: function '__sync_local_execstate' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:261:5: warning: function 'mapcache_vcpu_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:333:7: warning: function 'domain_page_map_to_mfn' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:888:45: warning: function 'efi_get_gop' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/gdbsx.c:68:1: warning: function 'dbg_pv_va2mfn' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:710:15: warning: function 'hpet_broadcast_enter' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:62:19: warning: function 'modify_identity_mmio' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2482:21: warning: function 'hvmemul_tlb_op' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1563:5: warning: function 'hvm_vcpu_initialise' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2765:6: warning: function 'hvm_unmap_guest_frame' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:228:6: warning: function 'hvm_isa_irq_deassert' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:543:19: warning: function 'hvm_vcpu_ack_pending_irq' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:274:21: warning: function 'acpi_load' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:62:13: warning: function 'rtc_update_irq' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1010:31: warning: function 'svm_do_resume' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1082:13: warning: function 'svm_guest_osvw_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:308:13: warning: function 'svm_save_dr' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/vmcb.c:43:12: warning: function 'construct_vmcb' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:138:21: warning: function 'vioapic_read' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:169:12: warning: function 'vioapic_hwdom_map_gsi' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:397:13: warning: function 'ioapic_inj_irq' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:741:6: warning: function 'vioapic_deinit' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:391:5: warning: function 'guest_rdmsr_viridian' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1235:12: warning: function '__vlapic_accept_pic_intr' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:136:6: warning: function 'vlapic_set_irq' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:894:21: warning: function 'vlapic_mmio_write' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1752:6: warning: function 'vmx_domain_disable_pml' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1771:6: warning: function 'vmx_domain_flush_pml_buffers' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1571:13: warning: function 'vmx_load_pdptrs' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3405:12: warning: function 'vmx_alloc_vlapic_mapping' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:393:21: warning: function 'vmx_pi_update_irte' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:946:12: warning: function 'vmx_restore_cr0_cr3' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1716:12: warning: function 'nvmx_handle_vmlaunch' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:28:10: warning: function 'hvm_get_guest_time_fixed' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:113:24: warning: function 'vcpu_xsave_mask' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:274:13: warning: function '_vcpu_save_fpu' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i8259.c:197:13: warning: function '_mask_and_ack_8259A_irq' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1845:20: warning: function 'unlock_ExtINT_logic' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1257:12: warning: function 'put_data_pages' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2092:13: warning: function 'l3t_unlock' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2511:16: warning: function 'page_get_owner_and_reference' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3148:5: warning: function 'put_old_guest_table' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:457:5: warning: function 'p2m_get_mem_access' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1815:6: warning: function 'p2m_altp2m_get_or_propagate' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:934:6: warning: function 'paging_dump_vcpu_info' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:515:13: warning: function 'oos_hash_remove' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:541:7: warning: function 'oos_snapshot_lookup' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:567:6: warning: function 'sh_resync' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:782:1: warning: function 'sh_validate_guest_entry' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:904:20: warning: function 'trace_shadow_prealloc_unpin' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:226:1: warning: function 'hvm_emulate_cmpxchg' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:346:6: warning: function 'shadow_continue_emulation' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:72:12: warning: function 'msix_get_fixmap' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:167:13: warning: function 'check_nmi_watchdog' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:586:22: warning: function 'do_nmi_stats' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pci.c:72:5: warning: function 'pci_conf_write_intercept' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1042:12: warning: function 'compare_val' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1194:12: warning: function 'pick_avail_cos' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:621:20: warning: function 'init_psr_cmt' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:322:21: warning: function 'check_guest_io_breakpoint' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:1221:20: warning: function 'mds_calculations' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1099:6: warning: function 'cstate_restore_tsc' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:201:22: warning: function 'timer_interrupt' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:61:6: warning: function 'vm_event_toggle_singlestep' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1049:5: warning: function 'handle_memadd_fault' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconf-fam10h.c:142:6: warning: function 'fam10h_check_enable_mmcfg' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:32:28: warning: function 'parse_mmcfg' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/traps.c:339:6: warning: function 'subarch_percpu_traps_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:775:10: warning: function 'read_bndcfgu' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1036:5: warning: function 'domain_shutdown' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1412:6: warning: function 'domain_unpause_except_self' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1089:5: warning: function 'evtchn_bind_vcpu' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1452:6: warning: function 'free_xen_event_channel' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:870:6: warning: function 'send_guest_vcpu_virq' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3058:12: warning: function 'gnttab_copy_one' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4001:1: warning: function 'grant_table_destroy' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:517:14: warning: function 'hypfs_read_leaf' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1023:5: warning: function 'ioreq_server_add_vcpu_all' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:352:26: warning: function 'kimage_alloc_crash_control_page' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:548:24: warning: function 'kimage_dst_used' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1074:12: warning: function 'load_payload_data' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1328:12: warning: function 'apply_payload' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:474:12: warning: function 'check_special_sections' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/monitor.c:31:5: warning: function 'monitor_domctl' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1920:22: warning: function 'avail_heap_pages' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1941:13: warning: function 'end_boot_allocator' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2295:6: warning: function 'free_xenheap_pages' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:307:5: warning: function 'rangeset_claim_range' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/rwlock.c:65:6: warning: function 'queue_write_lock_slowpath' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1269:12: warning: function 'cpu_disable_scheduler_check' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1296:28: warning: function 'cpupool_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3133:21: warning: function 'csched2_sys_cntl' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:860:1: warning: function 'cpu_runqueue_match' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1347:1: warning: function 'rt_context_saved' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:533:1: warning: function 'replq_remove' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:107:6: warning: function 'do_tasklet' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:183:13: warning: function 'migrate_tasklets_from_cpu' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:365:5: warning: function 'tb_control' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/unlzo.c:60:19: warning: function 'parse_header' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:160:21: warning: function 'vm_size' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:22:13: warning: function 'vm_init_type' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:209:20: warning: function 'EXTRACT_BLOCK_HDR' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:574:14: warning: function 'strip_padding' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:588:14: warning: function 'add_padding' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:123:13: warning: function 'acpi_os_read_port' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:243:1: warning: function 'acpi_get_entry' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:790:12: warning: function 'printk_prefix_check' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:197:6: warning: function 'serial_putc' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:248:5: warning: function 'cpufreq_frequency_table_verify' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:103:13: warning: function 'invalidate_iommu_pages' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:159:13: warning: function 'invalidate_iotlb_pages' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_cmd.c:57:13: warning: function 'flush_command_buffer' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:35:19: warning: function 'find_iommu_for_device' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:149:28: warning: function 'parse_dom0_iommu_param' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:263:19: warning: function 'iommu_hwdom_init' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:275:13: warning: function 'iommu_teardown' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:299:21: warning: function 'mapping_order' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:617:6: warning: function 'iommu_resume' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:185:28: warning: function 'parse_pci_param' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:560:12: warning: function 'register_one_rmrr' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:331:34: warning: function 'flush_context_qi' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:108:6: warning: function 'is_azalia_tlb_enabled' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:311:28: warning: function 'parse_snb_timeout' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:1104:21: warning: function 'cpu_callback' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/lfb.c:22:13: warning: function 'lfb_show_line' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:148:5: warning: function 'vpci_add_register' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:292:17: warning: function 'x86_cpu_policy_lookup_deep_deps' has cognitive complexity of 10 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:416:21: warning: function 'hwp_cpufreq_cpu_init' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:722:13: warning: function 'set_legacy_ssbd' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:911:6: warning: function 'amd_check_zenbleed' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:956:6: warning: function 'cpu_init' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:380:13: warning: function 'Intel_errata_workarounds' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:55:6: warning: function 'is_var_mtrr_overlapped' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:432:22: warning: function 'amd_vpmu_dump' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/crash.c:38:30: warning: function 'do_nmi_crash' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:210:21: warning: function 'dom0_max_vcpus' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:46:12: warning: function 'e820_all_mapped' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/mkreloc.c:82:21: warning: function 'load' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/extable.c:89:1: warning: function 'search_exception_table' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/probe.c:60:13: warning: function 'generic_apic_probe' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:504:13: warning: function 'hpet_attach_channel' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2167:21: warning: function 'hvmemul_read_cr' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:3008:6: warning: function 'hvmemul_read_cache' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:511:6: warning: function 'hvm_do_resume' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:776:21: warning: function 'hvm_load_tsc_adjust' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:159:6: warning: function 'hvm_gsi_assert' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:204:5: warning: function 'hvm_isa_irq_assert' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/pmtimer.c:145:21: warning: function 'handle_evt_io' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:763:21: warning: function 'rtc_load' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1119:13: warning: function 'svm_host_osvw_init' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:225:22: warning: function 'svm_update_guest_efer' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/vmcb.c:226:22: warning: function 'vmcb_dump' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:824:12: warning: function 'hvcall_ipi' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1297:5: warning: function 'vlapic_has_pending_irq' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:227:8: warning: function 'vlapic_match_dest' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1928:15: warning: function 'vmx_do_resume' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:2180:22: warning: function 'vmcs_dump' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:589:22: warning: function '__vmx_clear_vmcs' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1937:13: warning: function '__vmx_inject_exception' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2361:22: warning: function 'vmx_vcpu_update_vmfunc_ve' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:977:12: warning: function 'vmx_vmcs_restore' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1018:13: warning: function 'shadow_to_vvmcs_bulk' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1372:13: warning: function 'nvmx_update_apicv' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:978:13: warning: function 'vvmcs_to_shadow_bulk' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:432:21: warning: function 'vpic_load' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:64:12: warning: function 'vpic_get_highest_priority_irq' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:577:13: warning: function 'pt_adjust_vcpu' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:651:6: warning: function 'pt_may_unmask_irq' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:367:6: warning: function 'mask_IO_APIC_setup' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1090:15: warning: function 'end_nonmaskable_irq' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2843:5: warning: function 'allocate_and_map_gsi_pirq' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:651:5: warning: function 'assign_irq_vector' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:92:5: warning: function 'arch_livepatch_verify_func' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:724:22: warning: function 'flush_tlb' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:154:5: warning: function 'p2m_set_ioreq_server' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1740:5: warning: function 'altp2m_get_effective_entry' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2054:5: warning: function 'p2m_switch_domain_altp2m_by_id' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2634:5: warning: function 'p2m_get_suppress_ve' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:977:5: warning: function 'p2m_finish_type_change' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:71:13: warning: function 'set_nr_cpu_ids' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1041:12: warning: function '__pci_enable_msix' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1090:13: warning: function '__pci_disable_msix' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/numa.c:66:13: warning: function 'init_cpu_to_node' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:552:20: warning: function 'parse_psr_bool' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:671:5: warning: function 'psr_alloc_rmid' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/callback.c:132:6: warning: function 'do_callback_op' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:1186:21: warning: function 'cache_op' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:461:21: warning: function 'write_io' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/iret.c:27:13: warning: function 'async_exception_cleanup' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:589:24: warning: function 'consider_modules' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:67:6: warning: function 'send_IPI_mask' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:293:20: warning: function 'xpti_init_default' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:358:28: warning: function 'parse_pv_l1tf' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:110:19: warning: function 'slit_valid' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1331:14: warning: function 'rtc_guest_read' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:260:6: warning: function 'vm_event_emulate_check' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:436:5: warning: function 'pci_mmcfg_reserved' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/bunzip2.c:107:28: warning: function 'get_bits' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/bunzip2.c:623:19: warning: function 'start_bunzip' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/compat/memory.c:27:21: warning: function 'get_reserved_device_memory' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1017:5: warning: function 'evtchn_status' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:643:12: warning: function 'ioreq_server_create' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:720:12: warning: function 'kimage_load_crash_segment' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:512:12: warning: function 'check_patching_sections' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:170:12: warning: function 'elf_resolve_section_names' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1849:13: warning: function 'init_heap_pages' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:665:20: warning: function 'setup_low_mem_virq' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:750:13: warning: function 'page_list_add_scrub' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:789:13: warning: function 'check_one_page' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:206:14: warning: function 'radix_tree_lookup_element' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:485:6: warning: function 'rangeset_domain_destroy' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2749:12: warning: function 'cpu_schedule_up' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1165:21: warning: function 'cpupool_gran_read' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:208:24: warning: function '__cpupool_find_by_id' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1261:1: warning: function 'csched_sys_cntl' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3118:1: warning: function 'csched2_aff_cntl' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:454:22: warning: function 'null_unit_insert' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:890:1: warning: function 'rt_unit_insert' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/softirq.c:83:6: warning: function 'cpumask_raise_softirq' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:502:23: warning: function 'next_record' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
common/version.c:167:13: warning: function 'xen_build_init' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-io.c:157:12: warning: function 'apei_check_gar' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:765:13: warning: function '__putstr' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:798:12: warning: function 'ehci_reset_port' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1183:5: warning: function 'iterate_ivrs_entries' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1208:19: warning: function 'alloc_ivrs_mappings' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:862:13: warning: function 'enable_iommu' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:207:13: warning: function 'update_intremap_entry' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:465:5: warning: function 'iommu_lookup_page' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:530:5: warning: function 'iommu_quarantine_dev_init' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:644:6: warning: function 'iommu_crash_shutdown' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:661:5: warning: function 'iommu_get_reserved_device_memory' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2388:21: warning: function 'intel_iommu_remove_device' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:223:25: warning: function 'dev_invalidate_sync' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:435:5: warning: function 'me_wifi_quirk' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/x86/ats.c:73:13: warning: function 'device_in_domain' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msi.c:37:22: warning: function 'control_write' has cognitive complexity of 11 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:953:5: warning: function 'cpuidle_init_cpu' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/lib.c:76:6: warning: function '__acpi_unmap_table' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/bzimage.c:107:12: warning: function 'bzimage_parse' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:360:20: warning: function 'calculate_host_policy' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:754:6: warning: function 'amd_init_ssbd' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:91:13: warning: function 'setup_force_cpu_cap' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:229:29: warning: function 'intel_init_levelling' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:202:13: warning: function 'mca_init_bank' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:181:13: warning: function 'mcequirk_amd_apply' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:616:13: warning: function 'clear_cmci' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:168:6: warning: function 'mctelem_defer' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:207:45: warning: function 'compare_patch' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:148:12: warning: function 'microcode_sanity_check' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:274:45: warning: function 'compare_patch' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:472:21: warning: function 'amd_vpmu_initialise' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:555:5: warning: function 'arch_vcpu_create' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domctl.c:150:12: warning: function 'do_vmtrace_op' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:506:20: warning: function 'machine_specific_memory_setup' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:825:20: warning: function 'pre_parse' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:926:21: warning: function 'efi_find_gop_mode' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:140:12: warning: function 'reprogram_hpet_evt_channel' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:522:13: warning: function 'hpet_detach_channel' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2188:21: warning: function 'hvmemul_write_cr' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:637:21: warning: function 'hpet_load' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2708:14: warning: function '_hvm_map_guest_frame' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:216:37: warning: function 'hvm_find_io_handler' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:24:22: warning: function 'hvm_mmio_accept' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:188:6: warning: function 'hvm_gsi_deassert' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:474:6: warning: function 'mtrr_pat_not_equal' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:60:28: warning: function 'hvm_mtrr_pat_init' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:176:13: warning: function 'check_update_timer' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:606:13: warning: function 'rtc_copy_date' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1608:6: warning: function 'svm_nested_features_on_efer_update' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:941:22: warning: function 'svm_ctxt_switch_from' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:976:22: warning: function 'svm_ctxt_switch_to' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:312:13: warning: function 'vioapic_write_indirect' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:615:21: warning: function 'ioapic_load' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1165:21: warning: function 'viridian_load_vcpu_ctxt' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:1194:28: warning: function 'parse_viridian_version' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/intr.c:215:6: warning: function 'vmx_sync_exit_bitmap' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1827:22: warning: function 'vmx_update_guest_efer' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:190:13: warning: function 'vmx_pi_do_resume' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3886:12: warning: function 'vmx_handle_eoi_write' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:141:13: warning: function '__vpic_intack' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:521:5: warning: function 'vpic_ack_pending_irq' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:569:1: warning: function 'set_ioapic_affinity_irq' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:910:9: warning: function 'alloc_hipriority_vector' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2020:5: warning: function 'page_lock' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:480:6: warning: function 'arch_p2m_set_access_required' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-basic.c:146:6: warning: function 'p2m_teardown' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1283:13: warning: function 'ept_set_ad_sync' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1026:6: warning: function 'shadow_blow_tables' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1550:13: warning: function 'shadow_hash_teardown' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:3108:5: warning: function 'shadow_domctl' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:3221:15: warning: function 'pv_l1tf_tasklet' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:46:12: warning: function 'msix_fixmap_alloc' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:391:6: warning: function 'setup_apic_nmi_watchdog' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pci.c:14:10: warning: function 'pci_conf_read' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:761:6: warning: function 'psr_ctxt_switch_to' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/grant_table.c:137:13: warning: function 'steal_linear_address' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:275:22: warning: function 'initial_images_nrpages' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1286:6: warning: function '__cpu_die' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:312:28: warning: function 'parse_xpti' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:909:20: warning: function 'srso_calculations' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/srat.c:54:10: warning: function 'setup_node' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1854:13: warning: function 'check_tsc_warp' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:400:13: warning: function 'acpi_mmcfg_init' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:556:21: warning: function 'hw_uncompressed_size' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/decompress.c:11:12: warning: function 'decompress' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1196:6: warning: function 'domain_destroy' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1392:5: warning: function 'domain_pause_except_self' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:486:13: warning: function '_domain_destroy' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1176:5: warning: function 'evtchn_reset' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:930:6: warning: function 'send_guest_pirq' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:98:16: warning: function 'get_xen_consumer' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2147:1: warning: function 'gnttab_query_size' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2198:1: warning: function 'gnttab_prepare_for_transfer' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:161:7: warning: function 'hypfs_alloc_dyndata' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:318:28: warning: function 'hypfs_get_entry_rel' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:678:6: warning: function 'do_hypfs_op' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1313:14: warning: function 'ioreq_broadcast' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:744:12: warning: function 'ioreq_server_get_info' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:791:5: warning: function 'ioreq_server_get_frame' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:937:12: warning: function 'kexec_segments_from_ind_page' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:104:6: warning: function 'register_keyhandler' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:116:6: warning: function 'register_irq_keyhandler' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:391:22: warning: function 'read_clocks' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:508:13: warning: function 'kimage_free_all_entries' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:323:20: warning: function 'numa_process_nodes' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:289:5: warning: function 'rangeset_report_ranges' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2225:13: warning: function 'sched_tasklet_check_cpu' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:3400:6: warning: function 'schedule_dump' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:880:6: warning: function 'sched_destroy_domain' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:951:6: warning: function 'vcpu_wake' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:990:6: warning: function 'vcpu_unblock' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:274:1: warning: function 'dec_nr_runnable' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1273:1: warning: function 'update_runq_load' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1946:13: warning: function 'unit_grab_budget' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3218:1: warning: function 'csched2_unit_insert' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3257:1: warning: function 'csched2_unit_remove' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3808:1: warning: function 'csched2_dump' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:639:22: warning: function 'null_unit_sleep' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1199:1: warning: function 'runq_tickle' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:538:14: warning: function 'xmalloc_whole_pages' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:453:12: warning: function '__erst_write_to_storage' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:537:12: warning: function '__erst_clear_from_storage' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/osl.c:231:14: warning: function 'acpi_os_zalloc_memory' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:322:12: warning: function 'set_cpufreq_para' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/utilities/utmisc.c:63:20: warning: function 'acpi_ut_validate_exception' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:371:13: warning: function 'serial_set_rx_handler' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:429:6: warning: function 'serial_start_sync' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:311:29: warning: function 'cpufreq_dbs_handle_option' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:441:5: warning: function '__cpufreq_set_policy' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:203:19: warning: function 'register_range_for_all_devices' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:927:19: warning: function 'parse_ivhd_block' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:741:20: warning: function 'set_iommu_interrupt_handler' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:525:14: warning: function 'amd_iommu_msi_msg_update_ire' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:710:13: warning: function 'dump_intremap_table' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:229:13: warning: function 'check_pdev' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
drivers/pci/pci.c:139:20: warning: function 'parse_pci_seg' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
lib/list-sort.c:113:6: warning: function 'list_sort' has cognitive complexity of 12 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1186:13: warning: function 'set_cx' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:350:22: warning: function 'hwp_init_msrs' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:187:20: warning: function 'find_opt' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:161:6: warning: function 'ctxt_switch_levelling' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:262:6: warning: function 'display_cacheinfo' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:644:6: warning: function 'detect_extended_topology' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:238:28: warning: function 'intel_check_mce_type' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:491:12: warning: function 'do_cmci_discover' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:673:13: warning: function 'intel_init_cmci' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:823:13: warning: function 'intel_init_mce' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:358:21: warning: function 'vmce_load_vcpu_ctxt' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:395:12: warning: function 'vpmu_arch_initialise' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:400:21: warning: function 'core2_vpmu_load' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:690:21: warning: function 'core2_vpmu_do_rdmsr' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:156:19: warning: function 'dmi_table' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:171:28: warning: function 'parse_dom0_nodes' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1841:13: warning: function 'save_segments' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:547:12: warning: function 'e820_add_range' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:430:21: warning: function 'pit_load' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:402:20: warning: function 'hpet_fsb_cap_lookup' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:646:5: warning: function 'compat_dm_op' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:217:19: warning: function 'pvh_add_mem_range' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2768:6: warning: function 'hvm_emulate_one_vm_event' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:384:12: warning: function 'hvmemul_acquire_page' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:43:13: warning: function 'hvmtrace_io_assist' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3845:6: warning: function 'hvm_ud_intercept' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:553:21: warning: function 'hvm_print_line' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:260:24: warning: function 'hvm_next_io_handler' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:539:5: warning: function 'hvm_get_mem_pinned_cacheattr' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/stdvga.c:348:13: warning: function 'stdvga_mem_writeb' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/emulate.c:55:14: warning: function 'svm_get_insn_len' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:117:22: warning: function 'svm_fpu_leave' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:681:12: warning: function 'vpci_msi_update' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:111:21: warning: function 'parse_ept_param_runtime' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1067:21: warning: function 'vmx_load_vmcs_ctxt' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:152:13: warning: function 'vmx_pi_unblock_vcpu' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:311:6: warning: function 'vmx_pi_hooks_assign' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3711:13: warning: function 'vmx_do_extint' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:278:13: warning: function 'pt_irq_fired' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1113:20: warning: function 'set_pirq_eoi' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1122:20: warning: function 'clear_pirq_eoi' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1489:12: warning: function 'irq_acktype' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2077:5: warning: function 'get_free_pirqs' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1047:12: warning: function 'get_page_and_type_from_mfn' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1235:12: warning: function 'put_pt_page' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1936:12: warning: function 'demote_l4_table' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4651:21: warning: function 'handle_iomem_range' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4952:7: warning: function 'alloc_xen_pagetable' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:92:6: warning: function 'p2m_change_entry_type_global' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1535:12: warning: function 'shadow_hash_alloc' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:281:12: warning: function 'sh_remove_write_access_from_sl1p' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:477:6: warning: function 'toggle_guest_mode' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:161:28: warning: function 'override_reboot' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:1074:20: warning: function 'l1tf_calculations' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1299:6: warning: function 'is_cmos_port' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1377:6: warning: function 'rtc_guest_write' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2210:6: warning: function 'activate_debugregs' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:60:7: warning: function 'do_page_walk' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/decode.c:565:21: warning: function 'decode_disp8scale' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util-xen.c:163:14: warning: function 'x86emul_read_dr' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:491:6: warning: function 'xsave_enabled' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:808:6: warning: function 'xstate_set_init' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:425:5: warning: function 'xenctl_bitmap_to_bitmap' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/cpu.c:104:5: warning: function 'cpu_down' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1464:5: warning: function 'vcpu_reset' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:464:5: warning: function 'evtchn_bind_virq' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:897:6: warning: function 'send_guest_global_virq' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1965:5: warning: function 'grant_table_init' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3416:1: warning: function 'swap_grant_ref' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4124:12: warning: function 'gnttab_get_shared_frame_mfn' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4177:5: warning: function 'gnttab_acquire_resource' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:630:1: warning: function 'get_maptrack_handle' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:371:5: warning: function 'hypfs_read_dyndir_id_entry' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:261:12: warning: function 'ioreq_server_alloc_mfn' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:61:13: warning: function 'set_ioreq_server' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:96:17: warning: function 'get_ioreq' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1103:12: warning: function 'kexec_load' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:376:6: warning: function 'kexec_crash' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:707:12: warning: function 'kexec_get_range_compat' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1127:12: warning: function 'livepatch_upload' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1867:12: warning: function 'build_id_dep' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:406:12: warning: function 'secure_payload' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:424:12: warning: function 'livepatch_header_check' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:539:19: warning: function 'numa_emulation' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1587:12: warning: function 'reserve_heap_page' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2273:7: warning: function 'alloc_xenheap_pages' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:301:20: warning: function 'bootmem_region_zap' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:660:1: warning: function 'a653sched_adjust_global' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2415:21: warning: function 'sched_force_context_switch' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:502:21: warning: function 'sched_select_initial_cpu' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:900:13: warning: function 'vcpu_sleep_nosync_locked' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:334:13: warning: function 'burn_credits' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:534:1: warning: function 'csched_deinit_pdata' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:639:1: warning: function 'csched_switch_sched' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1993:1: warning: function 'unit_return_budget' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:431:29: warning: function 'null_switch_sched' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1017:1: warning: function 'runq_pick' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1162:1: warning: function 'rt_unit_sleep' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:153:6: warning: function 'tasklet_kill' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:631:13: warning: function 'free_percpu_timers' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/version.c:115:5: warning: function 'xen_build_id_check' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:126:13: warning: function 'vm_event_wake_blocked' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:258:6: warning: function 'vm_event_put_request' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:139:14: warning: function 'string' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:494:12: warning: function '__erst_read_from_storage' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:603:5: warning: function 'erst_write' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:72:6: warning: function 'serial_tx_interrupt' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:97:13: warning: function 'dbs_check_cpu' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:147:19: warning: function 'reserve_unity_map_for_device' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:541:12: warning: function 'guest_iommu_write_ctrl' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:369:13: warning: function 'iommu_reset_log' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:570:14: warning: function 'amd_iommu_free_intremap_table' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:511:21: warning: function 'amd_iommu_assign_device' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:609:5: warning: function 'iommu_suspend' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1521:6: warning: function 'iommu_dev_iotlb_flush_timeout' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:1069:14: warning: function 'intel_iommu_get_reserved_device_memory' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:237:24: warning: function 'acpi_find_matched_atsr_unit' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:623:1: warning: function 'acpi_parse_one_rmrr' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:996:12: warning: function 'acpi_dmar_init' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:473:13: warning: function 'set_msi_source_id' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:279:12: warning: function 'bus_to_context_maddr' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/utils.c:90:6: warning: function 'print_vtd_entries' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:774:13: warning: function '__msi_pirq_eoi' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:949:13: warning: function 'hvm_dpci_isairq_eoi' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:171:12: warning: function 'iommu_setup_hpet_msi' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msi.c:161:22: warning: function 'mask_write' has cognitive complexity of 13 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:636:28: warning: function 'cpufreq_driver_init' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/lib.c:109:5: warning: function 'arch_acpi_set_pdc_bits' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1437:12: warning: function 'APIC_init_uniprocessor' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:521:20: warning: function 'calculate_pv_max_policy' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:753:5: warning: function 'init_domain_cpu_policy' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:405:5: warning: function 'cpu_has_amd_erratum' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:602:12: warning: function 'show_mca_info' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:767:6: warning: function 'mcheck_init' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:645:22: warning: function 'cmci_interrupt' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:860:13: warning: function 'intel_init_ppin' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:287:13: warning: function 'mctelem_free' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:508:5: warning: function 'unmmap_broken_page' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:277:21: warning: function 'core2_vpmu_save' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:717:12: warning: function 'dmi_check_system' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:2161:6: warning: function 'sync_vcpu_execstate' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/pe.c:105:20: warning: function 'pe_find_section' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:449:35: warning: function 'hpet_get_channel' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2850:6: warning: function 'hvm_emulate_init_per_insn' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:365:12: warning: function 'hvmemul_do_io_buffer' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:154:21: warning: function 'hpet_read' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:71:17: warning: function 'hpet_get_comparator' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:743:6: warning: function 'hpet_deinit' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3812:5: warning: function 'hvm_descriptor_access_intercept' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4057:13: warning: function 'hvm_s3_suspend' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:262:6: warning: function 'arch_ioreq_server_get_type_addr' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:726:21: warning: function 'hvm_load_mtrr_msr' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1363:1: warning: function 'nestedsvm_vmexit_n2n1' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1496:1: warning: function 'nestedsvm_vcpu_interrupt' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:345:13: warning: function '__restore_debug_registers' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:212:13: warning: function 'poll_stimer' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:306:5: warning: function 'guest_wrmsr_viridian' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1558:21: warning: function 'lapic_load_regs' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:641:5: warning: function 'guest_rdmsr_x2apic' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1093:22: warning: function 'vmx_fpu_leave' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:607:13: warning: function 'vmx_init_ipt' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:703:13: warning: function 'nvmx_update_apic_access_address' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:724:13: warning: function 'nvmx_update_virtual_apic_address' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:645:19: warning: function 'find_isa_irq_apic' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:315:6: warning: function 'destroy_irq' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1889:12: warning: function 'demote_l3_table' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2489:6: warning: function 'put_page' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4627:12: warning: function '_handle_iomem_range' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1205:5: warning: function 'p2m_add_identity_entry' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1463:1: warning: function 'p2m_get_nestedp2m_locked' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:752:6: warning: function 'do_paging_domctl_cont' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2920:12: warning: function 'shadow_one_bit_enable' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:739:7: warning: function 'sh_make_monitor_table' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:590:13: warning: function 'get_smp_config' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/physdev.c:141:5: warning: function 'physdev_unmap_pirq' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:310:13: warning: function 'cat_init_feature' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/dom0_build.c:306:34: warning: function 'alloc_chunk' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:159:13: warning: function 'guest_io_okay' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emulate.c:101:6: warning: function 'pv_set_reg' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emulate.c:81:10: warning: function 'pv_get_reg' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/misc-hypercalls.c:167:6: warning: function 'do_set_segment_base' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:646:15: warning: function 'alloc_stub_page' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:819:5: warning: function 'setup_cpu_root_pgt' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:602:20: warning: function 'retpoline_calculations' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1762:6: warning: function 'do_nmi' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:230:13: warning: function 'destroy_compat_m2p_mapping' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/bitmap.c:395:5: warning: function 'bitmap_to_xenctl_bitmap' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1630:13: warning: function 'domain_dump_evtchn_info' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:375:5: warning: function 'evtchn_bind_interdomain' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1361:1: warning: function 'gnttab_map_grant_ref' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:193:28: warning: function 'parse_gnttab' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2950:12: warning: function 'gnttab_copy_claim_buf' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3499:1: warning: function 'gnttab_swap_grant_ref' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:126:12: warning: function 'node_enter' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:385:7: warning: function 'print_tainted' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:820:12: warning: function 'kexec_exec' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:991:12: warning: function 'kexec_do_load_v1' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:257:26: warning: function 'elf_sym_by_name' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2259:13: warning: function 'xenheap_max_mfn' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:421:1: warning: function 'radix_tree_gang_lookup' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:359:5: warning: function 'rangeset_consume_ranges' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/rwlock.c:112:6: warning: function '_percpu_write_lock' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:745:12: warning: function 'cpupool_cpu_remove_prologue' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1140:1: warning: function '_runq_deassign' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1364:1: warning: function 'update_svc_load' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2885:22: warning: function 'csched2_unit_migrate' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:950:1: warning: function 'burn_budget' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/smp.c:47:6: warning: function 'on_selected_cpus' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:459:19: warning: function 'calc_unconsumed_bytes' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:478:19: warning: function 'calc_bytes_to_wrap' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:464:6: warning: function 'xmem_pool_free' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/erst.c:781:12: warning: function 'erst_init' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/hwregs.c:291:1: warning: function 'acpi_hw_register_read' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:1051:13: warning: function 'console_init_ring' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:227:6: warning: function 'serial_puts' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:354:5: warning: function 'cpufreq_del_cpu' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:896:6: warning: function 'amd_iommu_quarantine_teardown' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:458:21: warning: function 'reassign_device' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:689:1: warning: function 'acpi_parse_one_atsr' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:482:13: warning: function 'iommu_flush_write_buffer' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:355:34: warning: function 'flush_iotlb_qi' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:142:5: warning: function 'iommu_enable_x2apic' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:290:13: warning: function 'write_src' has cognitive complexity of 14 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:483:28: warning: function 'acpi_parse_fadt' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:516:13: warning: function 'amd_get_topology' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:181:22: warning: function 'intel_ctxt_switch_masking' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/amd_nonfatal.c:192:13: warning: function 'amd_nonfatal_mcheck_init' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:159:1: warning: function 'mcequirk_lookup_amd_quirkdata' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:117:28: warning: function 'parse_ucode' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:43:28: warning: function 'parse_vpmu_params' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:272:21: warning: function 'amd_vpmu_save' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:201:6: warning: function 'dump_pageframe_info' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:23:28: warning: function 'mapcache_current_vcpu' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:975:20: warning: function 'efi_tables' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:125:22: warning: function 'send_IPI_mask_x2apic_cluster' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:213:21: warning: function 'update_clusterinfo' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1386:21: warning: function 'hvmemul_rmw' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:199:13: warning: function 'hpet_stop_timer' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1238:21: warning: function 'hvm_load_cpu_xsave_states' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1449:21: warning: function 'hvm_load_cpu_msrs' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:376:8: warning: function 'mtrr_def_type_msr_set' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:349:12: warning: function 'nsvm_vmrun_permissionmap' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1444:13: warning: function 'lapic_rearm' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1524:21: warning: function 'lapic_load_hidden' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2783:22: warning: function 'pi_wakeup_interrupt' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1650:28: warning: function 'nvmx_vmresume' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:506:15: warning: function 'nvmx_intercepts_exception' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:249:6: warning: function 'vcpu_restore_fpu_lazy' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2581:20: warning: function 'ioapic_init_mappings' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2052:5: warning: function 'get_free_pirq' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:366:5: warning: function 'irq_to_vector' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1837:12: warning: function 'demote_l2_table' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4994:22: warning: function 'virt_to_xen_l3e' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:317:1: warning: function 'p2m_pod_set_mem_target' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1589:15: warning: function 'paging_gva_to_gfn' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2085:5: warning: function 'p2m_change_altp2m_gfn' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:911:6: warning: function 'paging_dump_domain_info' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1263:1: warning: function 'shadow_alloc_p2m_page' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:265:20: warning: function '_sh_resync_l1' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:3164:6: warning: function 'shadow_audit_tables' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:297:31: warning: function 'shadow_init_emulation' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:1042:5: warning: function 'mp_register_gsi' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:595:12: warning: function 'msi_capability_init' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/platform_hypercall.c:107:6: warning: function 'check_resource_access' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:303:5: warning: function 'pv_vcpu_initialise' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:340:5: warning: function 'pv_ro_page_fault' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:2132:34: warning: function 'io_bitmap_cb' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1480:13: warning: function 'collect_time_info' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:856:22: warning: function 'plt_overflow' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:847:13: warning: function 'fixup_exception_return' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:2117:5: warning: function 'continue_hypercall_on_cpu' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:88:13: warning: function '__domain_finalise_shutdown' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4084:12: warning: function 'gnttab_get_status_frame_mfn' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:39:12: warning: function 'assign_integer_param' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:570:26: warning: function 'kimage_alloc_page' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:667:12: warning: function 'kimage_load_normal_segment' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:138:15: warning: function 'livepatch_symbols_lookup_by_name' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:452:12: warning: function 'xen_build_id_dep' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/rcupdate.c:206:6: warning: function 'rcu_barrier' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:282:1: warning: function '__runq_insert' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:718:1: warning: function 'rt_switch_sched' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/symbols.c:106:13: warning: function 'symbols_lookup' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/time.c:45:11: warning: function 'gmtime' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:416:6: warning: function 'kill_timer' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:184:12: warning: function 'vm_event_disable' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:594:5: warning: function 'vm_event_domctl' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:242:14: warning: function 'vmalloc_type' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1082:12: warning: function 'ehci_dbgp_setup' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:262:6: warning: function 'serial_getc' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1288:37: warning: function 'get_last_bdf_acpi' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:585:19: warning: function 'parse_ivhd_device_alias_range' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2067:13: warning: function 'quarantine_teardown' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:548:19: warning: function 'iommu_alloc_pgtable' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
lib/strncasecmp.c:14:6: warning: function 'strncasecmp' has cognitive complexity of 15 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:375:21: warning: function 'acpi_cpufreq_target' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:81:21: warning: function 'powernow_cpufreq_target' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:62:13: warning: function 'setup_clear_cpu_cap' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:810:6: warning: function 'load_system_tables' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:643:13: warning: function 'set_poll_bankmask' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:537:13: warning: function 'cmci_discover' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:358:19: warning: function 'dmi_iterate' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:759:13: warning: function 'dmi_get_date' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:429:20: warning: function 'process_dom0_ioports_disable' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:74:19: warning: function 'parse_amt' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1728:12: warning: function 'hvmemul_rep_outs_set_context' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2903:6: warning: function 'hvm_emulate_writeback' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:3040:6: warning: function 'hvmemul_write_cache' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2200:5: warning: function 'hvm_mov_from_cr' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5000:12: warning: function 'hvmop_get_mem_type' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:373:5: warning: function 'hvm_inject_msi' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/nestedhvm.c:116:28: warning: function 'nestedhvm_setup' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:39:5: warning: function 'nestedsvm_vmcb_map' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:855:1: warning: function 'nsvm_vmcb_guest_intercepts_msr' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1059:6: warning: function 'svm_vmenter_helper' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/realmode.c:26:13: warning: function 'realmode_deliver_exception' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1372:23: warning: function 'vmx_find_msr' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:849:6: warning: function 'vmx_vmcs_exit' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1859:12: warning: function 'nvmx_handle_vmclear' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:68:12: warning: function 'pt_irq_vector' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:419:12: warning: function 'init_irq_data' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:190:20: warning: function 'init_frametable_chunk' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:271:35: warning: function 'hap_alloc_p2m_page' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:390:14: warning: function 'hap_make_monitor_table' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:227:12: warning: function 'paging_log_dirty_disable' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1740:6: warning: function 'sh_destroy_shadow' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:239:6: warning: function 'oos_audit_hash_is_present' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2628:13: warning: function 'sh_new_mode' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/monitor.c:71:12: warning: function 'monitor_enable_msr' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:300:19: warning: function 'smp_read_mpc' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:810:5: warning: function 'psr_get_info' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/descriptor-tables.c:50:6: warning: function 'pv_destroy_gdt' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/domain.c:357:5: warning: function 'pv_domain_initialise' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/cpu_idle.c:51:12: warning: function 'copy_from_compat_state' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:265:13: warning: function 'destroy_m2p_mapping' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/core_parking.c:114:30: warning: function 'core_parking_power' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/core_parking.c:56:30: warning: function 'core_parking_performance' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1426:5: warning: function 'domain_soft_reset' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:2029:6: warning: function 'do_vm_assist' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:1216:12: warning: function 'do_kexec_op_internal' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:467:6: warning: function 'elf_parse_binary' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:385:19: warning: function 'populate_memnodemap' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1974:29: warning: function 'smp_scrub_heap_pages' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2571:15: warning: function 'avail_domheap_pages_region' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1400:6: warning: function 'vcpu_block' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1199:21: warning: function 'cpupool_gran_write' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:519:12: warning: function 'cpupool_unassign_cpu_start' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:725:13: warning: function 'cpupool_cpu_remove' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1065:1: warning: function 'csched_unit_remove' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:4104:1: warning: function 'csched2_free_pdata' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:432:1: warning: function 'rt_update_deadline' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:357:6: warning: function 'migrate_timer' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:615:20: warning: function 'insert_wrap_record' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
common/wait.c:190:6: warning: function 'check_wakeup_from_wait' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/hwregs.c:145:13: warning: function 'acpi_set_register' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:911:13: warning: function 'vprintk_common' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_detect.c:135:12: warning: function 'amd_iommu_detect_one_acpi' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:167:6: warning: function 'guest_iommu_add_ppr_log' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:217:6: warning: function 'guest_iommu_add_event_log' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:682:13: warning: function 'guest_iommu_mmio_write64' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1494:12: warning: function 'amd_iommu_init_late' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:372:23: warning: function 'amd_iommu_read_ioapic_from_ire' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:566:6: warning: function 'amd_iommu_print_entries' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1108:34: warning: function '_setup_hwdom_pci_devices' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:864:19: warning: function 'add_one_user_rmrr' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:3061:13: warning: function 'vtd_dump_page_table_level' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:519:5: warning: function 'iommu_free_pgtables' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/vesa.c:48:13: warning: function 'vesa_early_init' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:358:21: warning: function 'msix_read' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
lib/strtoul.c:14:15: warning: function 'simple_strtoul' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:12:14: warning: function 'x86_cpuid_lookup_vendor' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:185:12: warning: function 'symbol_valid' has cognitive complexity of 16 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:81:1: warning: function 'acpi_parse_x2apic' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:395:22: warning: function 'dump_cx' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1027:6: warning: function 'x86_mc_get_cpu_info' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:152:20: warning: function 'microcode_scan_module' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:919:19: warning: function 'pvh_setup_acpi_xsdt' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1049:12: warning: function 'hvmemul_linear_mmio_access' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2353:21: warning: function 'hvmemul_get_fpu' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:912:13: warning: function 'hvm_efer_valid' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:453:5: warning: function 'register_vpci_mmcfg_handler' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:105:5: warning: function 'hvm_vcpu_cacheattr_init' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1223:26: warning: function 'nsvm_intr_blocked' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:623:12: warning: function 'hv_vpset_to_vpmask' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:67:5: warning: function 'vmsi_deliver' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:794:13: warning: function 'vpci_msi_disable' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/realmode.c:98:6: warning: function 'vmx_realmode_emulate_one' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1525:5: warning: function 'vmx_del_msr' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1721:5: warning: function 'vmx_domain_enable_pml' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:2028:6: warning: function 'vmcs_dump_vcpu' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:348:6: warning: function 'vmx_pi_hooks_deassign' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:590:22: warning: function 'domain_creation_finished' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1191:13: warning: function 'virtual_vmentry' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:206:6: warning: function 'vcpu_restore_fpu_nonlazy' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2737:5: warning: function 'unmap_domain_pirq_emuirq' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:338:6: warning: function 'p2m_set_mem_access' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1114:13: warning: function 'pod_eager_reclaim' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:383:14: warning: function 'emulate_gva_to_mfn' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/set.c:26:1: warning: function 'shadow_write_entries' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/iret.c:52:6: warning: function 'do_iret' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:776:6: warning: function 'fatal_trap' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:79:6: warning: function 'vm_event_register_write_resume' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/traps.c:207:6: warning: function 'show_page_walk' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:506:12: warning: function 'sanitise_domain_config' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:963:5: warning: function 'domain_kill' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:572:5: warning: function 'evtchn_fifo_init_control' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:603:14: warning: function 'hypfs_write_bool' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:122:27: warning: function 'get_pending_vcpu' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:322:12: warning: function 'parse_signed_integer' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-tools.c:89:10: warning: function 'elf_access_unsigned' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:281:20: warning: function 'bootmem_region_add' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:602:7: warning: function 'radix_tree_delete' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1341:12: warning: function 'vcpu_set_affinity' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:534:5: warning: function 'sched_init_vcpu' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:852:5: warning: function 'sched_init_domain' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:130:20: warning: function 'cpupool_gran_init' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1092:1: warning: function 'csched_unit_sleep' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:917:1: warning: function '__csched_unit_acct_stop_locked' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3279:1: warning: function 'csched2_runtime' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:681:22: warning: function 'null_unit_migrate' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/softirq.c:28:13: warning: function '__do_softirq' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:142:21: warning: function 'vm_index' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/apei/apei-base.c:156:5: warning: function '__apei_exec_run' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/hwregs.c:416:13: warning: function 'acpi_hw_register_write' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:303:1: warning: function 'acpi_parse_entries' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:1678:20: warning: function 'ns16550_parse_port_config' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:207:5: warning: function 'cpufreq_frequency_table_cpuinfo' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:784:12: warning: function 'fill_qpt' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:431:16: warning: function 'domain_pgd_maddr' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:1061:22: warning: function 'dpci_softirq' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:726:5: warning: function 'pt_pirq_iterate' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/pci/pci.c:91:14: warning: function 'pci_find_next_ext_capability' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:190:22: warning: function 'get_table' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:268:12: warning: function 'adjacent_read' has cognitive complexity of 17 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:534:19: warning: function 'acpi_parse_madt_lapic_entries' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:345:5: warning: function 'acpi_enter_sleep' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:55:33: warning: function 'parse_cpuid' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:218:22: warning: function 'amd_ctxt_switch_masking' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:516:6: warning: function 'identify_cpu' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:115:13: warning: function 'intel_init_thermal' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:429:6: warning: function 'mctelem_commit' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:482:5: warning: function 'mtrr_del_page' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:340:21: warning: function 'amd_vpmu_do_wrmsr' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:436:21: warning: function 'core2_vpmu_alloc_resource' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:178:13: warning: function 'pit_set_gate' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hpet.c:566:22: warning: function 'hpet_broadcast_init' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1292:14: warning: function 'hvmemul_insn_fetch' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:423:12: warning: function 'hvmemul_do_io_addr' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3903:17: warning: function 'hvm_interrupt_blocked' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4502:12: warning: function 'hvmop_get_param' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:261:21: warning: function 'vpci_portio_read' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:294:21: warning: function 'vpci_portio_write' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:125:13: warning: function '__hvm_pci_intx_deassert' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:734:21: warning: function 'irq_load_isa' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:753:21: warning: function 'irq_load_link' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:431:8: warning: function 'mtrr_var_range_msr_set' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:83:13: warning: function 'hvm_register_savevm' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:401:13: warning: function 'nestedsvm_vmcb_set_nestedp2m' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1073:5: warning: function 'guest_wrmsr_apic_base' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1653:6: warning: function 'vmx_vcpu_flush_pml_buffer' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:182:20: warning: function 'vmx_display_features' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3823:13: warning: function 'vmx_failed_vmentry' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2158:5: warning: function 'nvmx_msr_read_intercept' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:160:12: warning: function 'vpic_intack' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:486:6: warning: function 'create_periodic_time' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:97:12: warning: function 'pt_irq_masked' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:23:20: warning: function 'fpu_xrstor' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:141:13: warning: function 'remove_pin_from_irq' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2142:12: warning: function 'io_apic_get_unique_id' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1379:13: warning: function '__set_eoi_ready' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2233:12: warning: function 'mod_l2_entry' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:381:5: warning: function 'page_is_ram_type' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4445:12: warning: function '__do_update_va_mapping' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:108:12: warning: function 'write_p2m_entry' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:55:22: warning: function 'p2m_type_to_flags' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:1206:6: warning: function 'shadow_vram_get_mfn' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/mm.c:50:6: warning: function 'pv_map_ldt_shadow_page' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:1005:20: warning: function 'ibpb_calculations' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1252:28: warning: function 'probe_cmos_alias' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2545:5: warning: function 'hwdom_pit_access' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:437:32: warning: function 'init_hpet' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/vm_event.c:135:13: warning: function 'vm_event_pack_segment_register' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:796:12: warning: function 'setup_frametable_chunk' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconfig-shared.c:193:36: warning: function 'pci_mmcfg_nvidia_mcp55' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3109:13: warning: function 'gnttab_copy' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:739:12: warning: function '_set_status_v1' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:625:14: warning: function 'hypfs_write_custom' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1339:5: warning: function 'ioreq_server_dm_op' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1021:12: warning: function 'construct_memop_from_reservation' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/preempt.c:34:6: warning: function 'ASSERT_NOT_IN_ATOMIC' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:535:20: warning: function 'radix_tree_shrink' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:678:1: warning: function 'radix_tree_node_destroy' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1196:5: warning: function 'cpu_disable_scheduler' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1605:5: warning: function 'vcpu_temporary_affinity' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3988:1: warning: function 'init_pdata' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:881:1: warning: function 'cpu_runqueue_siblings_match' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:274:1: warning: function 'pick_res' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:563:22: warning: function 'null_unit_wake' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:783:20: warning: function 'null_unit_check' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbfadt.c:410:20: warning: function 'acpi_tb_validate_fadt' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:983:13: warning: function 'console_init_preirq' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:446:12: warning: function 'dbgp_check_for_completion' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:697:13: warning: function 'amd_dump_page_table_level' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/ats.c:24:5: warning: function 'enable_ats_device' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1332:12: warning: function 'iommu_enable_device' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:153:25: warning: function 'queue_invalidate_wait' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/x86/ats.c:110:5: warning: function 'dev_invalidate_iotlb' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:464:23: warning: function 'iommu_init_domid' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:506:6: warning: function 'iommu_free_domid' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/lfb.c:56:15: warning: function 'lfb_redraw_puts' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:411:12: warning: function 'adjacent_write' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:70:5: warning: function 'vpci_add_handlers' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:239:6: warning: function 'x86_cpu_policy_clear_out_of_range_leaves' has cognitive complexity of 18 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:549:5: warning: function 'set_hwp_para' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/centaur.c:17:13: warning: function 'init_c3' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/shanghai.c:6:22: warning: function 'init_shanghai' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:95:13: warning: function 'handle_pmc_quirk' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domctl.c:40:12: warning: function 'update_domain_cpu_policy' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:306:19: warning: function 'copy_e820_map' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1010:20: warning: function 'setup_efi_pci' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:752:19: warning: function 'pvh_setup_acpi_madt' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/ioreq.c:107:13: warning: function 'hvm_free_ioreq_gfn' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:90:13: warning: function '__hvm_pci_intx_assert' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1213:13: warning: function 'svm_emul_swint_injection' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1639:13: warning: function 'svm_do_nested_pgfault' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:522:6: warning: function 'vioapic_update_EOI' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:260:13: warning: function 'vlapic_init_sipi_one' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:534:6: warning: function 'msixtbl_pt_unregister' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/realmode.c:152:6: warning: function 'vmx_realmode' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2960:42: warning: function 'start_vmx' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:337:6: warning: function 'vcpu_setup_fpu' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2241:5: warning: function 'io_apic_set_pci_routing' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:685:17: warning: function 'setup_ioapic_dest' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1355:13: warning: function 'flush_ready_eoi' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:251:5: warning: function 'arch_livepatch_perform_rela' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1108:1: warning: function 'get_l2_linear_pagetable' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1132:1: warning: function 'get_l3_linear_pagetable' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1156:1: warning: function 'get_l4_linear_pagetable' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2359:12: warning: function 'mod_l4_entry' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2564:13: warning: function 'get_page_light' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:475:6: warning: function 'share_xen_page_with_guest' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:425:1: warning: function 'p2m_pod_offline_or_broken_hit' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1545:6: warning: function 'np2m_schedule' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2568:5: warning: function 'p2m_set_suppress_ve_multi' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:438:7: warning: function 'p2m_alloc_ptp' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1613:6: warning: function 'shadow_hash_insert' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:977:13: warning: function 'mp_config_acpi_legacy_irqs' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:912:12: warning: function 'gather_val_array' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/callback.c:340:6: warning: function 'do_set_trap_table' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:217:13: warning: function 'pci_cfg_ok' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:674:21: warning: function 'rep_outs' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/sysctl.c:50:22: warning: function 'smt_up_down_helper' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:965:19: warning: function 'init_platform_timer' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:968:5: warning: function 'guest_wrmsr_xen' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:296:6: warning: function 'xsave' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:502:5: warning: function 'xstate_alloc_save_area' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:464:12: warning: function 'kexec_init_cpu_notes' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:497:17: warning: function 'elf_load_binary' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:160:29: warning: function 'livepatch_symbols_lookup' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:2132:22: warning: function 'livepatch_printall' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:329:13: warning: function 'init_boot_pages' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:408:14: warning: function 'alloc_boot_pages' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:4006:1: warning: function 'csched2_switch_sched' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1484:22: warning: function 'repl_timer_handler' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:811:6: warning: function '__trace_hypercall' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:341:26: warning: function 'process_bit0' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:304:6: warning: function 'vfree' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:519:5: warning: function 'acpi_set_pdc_bits' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:546:12: warning: function 'dbgp_wait_until_done' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1332:1: warning: function 'get_supported_ivhd_type' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:491:21: warning: function 'msix_write' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:73:22: warning: function 'control_write' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
lib/strtoull.c:14:20: warning: function 'simple_strtoull' has cognitive complexity of 19 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:278:13: warning: function 'vga_parse' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:456:13: warning: function 'mctelem_append_processing' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:453:5: warning: function 'fill_vmsr_data' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:532:21: warning: function 'get_value' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/gdbsx.c:112:21: warning: function 'dbg_rw_guest_mem' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2151:5: warning: function 'hvm_mov_to_cr' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/monitor.c:258:6: warning: function 'hvm_monitor_check_p2m' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1758:21: warning: function 'svm_msr_read_intercept' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1345:5: warning: function 'vlapic_ack_pending_irq' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2164:22: warning: function 'vmx_process_isr' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2515:21: warning: function 'vmtrace_set_option' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2668:22: warning: function 'vmx_set_reg' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3736:13: warning: function 'ept_handle_violation' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1291:13: warning: function 'load_vvmcs_host_state' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1897:20: warning: function 'check_timer' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:218:13: warning: function 'init_frametable' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:212:5: warning: function 'nept_translate_l2ga' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:68:13: warning: function 'ept_p2m_type_to_flags' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:905:6: warning: function 'p2m_change_type_range' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:673:5: warning: function 'paging_domctl' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1332:21: warning: function 'sh_min_allocation' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:439:14: warning: function 'sh_emulate_map_dest' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:135:12: warning: function 'MP_processor_info_x' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1251:22: warning: function 'do_write_psr_msrs' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:148:13: warning: function 'iopl_ok' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/hypercall.c:89:21: warning: function 'pv_do_multicall_call' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:166:13: warning: function 'smp_callin' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2784:22: warning: function 'dump_softtsc' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:134:13: warning: function 'setup_xstate_comp' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1555:5: warning: function 'evtchn_destroy' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:127:15: warning: function 'evtchn_fifo_set_link' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3598:1: warning: function 'gnttab_cache_flush' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:475:15: warning: function 'domain_adjust_tot_pages' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1277:1: warning: function 'rt_unit_wake' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
common/tasklet.c:78:13: warning: function 'do_tasklet_work' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:578:13: warning: function 'migrate_timers_from_cpu' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:416:5: warning: function 'do_pm_op' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:705:6: warning: function 'do_console_io' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:534:12: warning: function 'msi_msg_to_remap_entry' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2335:21: warning: function 'intel_iommu_add_device' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:89:12: warning: function 'get_iommu_did' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msi.c:185:21: warning: function 'init_msi' has cognitive complexity of 20 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:402:22: warning: function 'intel_need_clearbank_scan' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:341:12: warning: function 'core2_vpmu_verify' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/mkreloc.c:282:5: warning: function 'main' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:218:12: warning: function 'set_mem_type' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:679:1: warning: function 'nsvm_vcpu_vmentry' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:417:12: warning: function 'svm_vmcb_restore' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:643:22: warning: function 'svm_get_segment_register' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:363:22: warning: function 'msixtbl_range' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:894:5: warning: function 'vpci_msix_arch_print' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3467:15: warning: function 'vmx_vlapic_msr_changed' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:117:13: warning: function 'add_pin_to_irq' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2623:13: warning: function 'ioapic_init' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1277:5: warning: function 'init_domain_irq_mapping' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1762:6: warning: function 'pirq_guest_unbind' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:263:5: warning: function 'create_irq' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/livepatch.c:349:5: warning: function 'arch_livepatch_secure' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_ept.c:139:1: warning: function 'nept_walk_tables' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_hap.c:148:5: warning: function 'nestedhvm_hap_nested_page_fault' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2332:12: warning: function 'p2m_add_foreign' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:405:5: warning: function 'p2m_set_entry' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:347:6: warning: function 'paging_mfn_is_dirty' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:981:12: warning: function 'insert_val_into_array' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/descriptor-tables.c:73:5: warning: function 'pv_set_gdt' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/mm.c:22:15: warning: function 'map_guest_l1e' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:469:29: warning: function 'move_xen' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2709:5: warning: function 'tsc_set_info' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1040:5: warning: function 'pagefault_by_memadd' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:330:12: warning: function 'setup_compat_m2p_table' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/event_2l.c:70:22: warning: function 'evtchn_2l_is_pending' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/event_2l.c:81:22: warning: function 'evtchn_2l_is_masked' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/event_2l.c:92:22: warning: function 'evtchn_2l_print_state' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1469:6: warning: function 'notify_via_xen_event_channel' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:596:12: warning: function 'evtchn_bind_pirq' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:562:14: warning: function 'hypfs_write_leaf' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:283:5: warning: function 'parse_boolean' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:84:12: warning: function 'do_kimage_alloc' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-dominfo.c:363:24: warning: function 'elf_xen_note_check' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:975:12: warning: function 'build_symbol_table' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:111:13: warning: function 'increase_reservation' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:355:1: warning: function '__lookup' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:237:20: warning: function 'vcpu_urgent_count_update' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:589:1: warning: function 'init_pdata' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2180:1: warning: function 'csched2_alloc_udata' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:564:1: warning: function 'runq_insert' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables/tbutils.c:363:1: warning: function 'acpi_tb_parse_root_table' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1478:13: warning: function 'ehci_dbgp_init' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:1583:20: warning: function 'parse_namevalue_pairs' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:57:20: warning: function 'add_ivrs_mapping_entry' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:505:5: warning: function 'iommu_iotlb_flush_all' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:528:17: warning: function 'pci_get_pdev' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:244:21: warning: function 'alloc_remap_entry' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1014:13: warning: function 'iommu_fault_status' has cognitive complexity of 21 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_amd.c:275:1: warning: function 'amd_mcheck_init' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:322:13: warning: function 'mctelem_processing_release' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/core.c:577:22: warning: function 'microcode_update_helper' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:393:19: warning: function 'dmi_efi_iterate' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:595:12: warning: function 'e820_change_range_type' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:114:6: warning: function 'switch_cr3_cr4' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:272:30: warning: function 'apic_x2apic_probe' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:704:13: warning: function 'hvmemul_unmap_linear_addr' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:463:6: warning: function 'hvm_migrate_pirq' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:954:15: warning: function 'hvm_cr4_guest_valid_bits' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2538:42: warning: function 'start_svm' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2299:22: warning: function 'vmx_sync_pir_to_irr' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:97:22: warning: function 'vmx_vcpu_block' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1798:13: warning: function 'pirq_guest_force_unbind' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2886:5: warning: function 'allocate_and_map_msi_pirq' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1367:13: warning: function 'pae_xen_mappings_check' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4358:5: warning: function 'steal_page' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5026:22: warning: function 'virt_to_xen_l2e' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5065:15: warning: function 'virt_to_xen_l1e' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/set.c:184:5: warning: function 'shadow_set_l3e' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:667:12: warning: function 'read_pci_mem_bar' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1460:13: warning: function 'psr_free_cos' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:577:28: warning: function 'parse_psr_param' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:842:5: warning: function 'psr_get_val' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:493:21: warning: function 'read_segment' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:606:21: warning: function 'rep_ins' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1178:22: warning: function 'get_cmos_time' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/cpufreq.c:33:5: warning: function 'compat_set_px_pminfo' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/cpu.c:218:6: warning: function 'enable_nonboot_cpus' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:546:13: warning: function 'setup_ports' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1899:1: warning: function 'gnttab_grow_table' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3519:12: warning: function '_cache_flush' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/radix-tree.c:144:5: warning: function 'radix_tree_insert' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1797:6: warning: function 'domain_update_node_aff' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2224:1: warning: function 'csched2_unit_sleep' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:172:13: warning: function 'vm_free' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:231:20: warning: function 'EXTRACT_BLOCK' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:340:6: warning: function 'read_console_ring' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:386:12: warning: function 'do_invalidate_dte' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:393:13: warning: function 'queue_free_pt' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:476:5: warning: function 'iommu_iotlb_flush' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:380:6: warning: function 'rb_erase' has cognitive complexity of 22 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:557:6: warning: function 'trace_exit_reason' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/cpufreq.c:501:21: warning: function 'acpi_cpufreq_cpu_init' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/powernow.c:201:21: warning: function 'powernow_cpufreq_cpu_init' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:832:13: warning: function 'x2apic_bsp_setup' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/cmdline.c:132:36: warning: function 'strtoui' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/intel.c:330:41: warning: function 'cpu_request_microcode' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:366:20: warning: function 'clip_to_limit' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:743:20: warning: function 'read_file' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/flushtlb.c:190:14: warning: function 'flush_area_local' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:1027:19: warning: function 'pvh_setup_acpi' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1719:6: warning: function 'hvm_inject_event' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:245:13: warning: function 'hvm_set_callback_irq_level' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:883:1: warning: function 'nsvm_vmcb_guest_intercepts_ioio' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vm_event.c:62:6: warning: function 'hvm_vm_event_do_resume' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/intr.c:163:12: warning: function 'nvmx_intr_intercept' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3300:21: warning: function 'vmx_msr_read_intercept' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1069:13: warning: function 'load_shadow_guest_state' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1759:12: warning: function 'nvmx_handle_vmptrld' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:376:21: warning: function 'vpic_intercept_elcr_io' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:485:6: warning: function 'vpic_irq_positive_edge' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:503:6: warning: function 'vpic_irq_negative_edge' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1425:6: warning: function 'desc_guest_eoi' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2297:12: warning: function 'mod_l3_entry' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2215:6: warning: function 'audit_p2m' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:831:6: warning: function 'paging_final_teardown' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:428:20: warning: function 'construct_default_ioirq_mptable' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1149:13: warning: function 'fits_cos_max' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1554:13: warning: function 'psr_cpu_init' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:285:22: warning: function 'cat_check_cbm' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smp.c:260:6: warning: function 'flush_area_mask' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1146:13: warning: function 'smp_prepare_cpus' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:1379:20: warning: function 'gds_calculations' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:861:13: warning: function 'subarch_init_memory' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1100:22: warning: function 'ioreq_server_select' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/kimage.c:857:5: warning: function 'kimage_build_ind' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:36:17: warning: function 'elf_init' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1559:22: warning: function 'mark_page_offline' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1612:5: warning: function 'offline_page' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1534:13: warning: function 'domain_watchdog' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1117:1: warning: function 'csched_unit_wake' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2614:13: warning: function 'migrate' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:383:7: warning: function 'xmem_pool_alloc' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:867:12: warning: function 'ehci_dbgp_external_startup' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:416:22: warning: function 'bar_write' has cognitive complexity of 23 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:137:29: warning: function '_parse_dom0_cpuid' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:452:20: warning: function 'guest_common_default_feature_adjustments' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:275:29: warning: function 'amd_init_levelling' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:444:12: warning: function 'mce_urgent_action' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:817:21: warning: function 'core2_vpmu_initialise' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:467:12: warning: function 'dom0_setup_permissions' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:135:31: warning: function 'idle_loop' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3529:5: warning: function 'hvm_msr_read_intercept' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:324:5: warning: function 'hvm_set_pci_link_route' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1954:21: warning: function 'svm_msr_write_intercept' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:490:6: warning: function 'vioapic_irq_positive_edge' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:318:5: warning: function 'viridian_time_wrmsr' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1413:5: warning: function 'vmx_add_msr' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1196:22: warning: function 'vmx_get_segment_register' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2618:26: warning: function 'vmx_get_reg' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/i387.c:134:20: warning: function 'fpu_xsave' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:111:13: warning: function 'release_old_vec' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1133:22: warning: function 'irq_guest_eoi_timer_fn' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1628:6: warning: function 'init_xen_l4_slots' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:452:5: warning: function 'hap_enable' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1173:21: warning: function 'ept_change_entry_type_range' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:242:15: warning: function 'ept_split_super_page' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:934:22: warning: function 'p2m_pt_change_entry_type_global' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:287:7: warning: function 'p2m_get_gfn_type_access' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:458:6: warning: function 'p2m_free_ptp' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1106:7: warning: function 'shadow_alloc' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:735:21: warning: function 'nmi_show_execution_state' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:169:12: warning: function 'share_hotadd_m2p_table' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/core_parking.c:172:15: warning: function 'core_parking_helper' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/domctl.c:65:6: warning: function 'getdomaininfo' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3312:1: warning: function 'gnttab_get_status_frames' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:822:12: warning: function '_set_status_v2' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:141:15: warning: function 'dump_execstate' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-dominfo.c:97:17: warning: function 'elf_xen_parse_note' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1402:13: warning: function 'mark_page_free' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1805:13: warning: function '_init_heap_pages' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:3201:21: warning: function 'alloc_cpu_rm_data' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1862:6: warning: function 'burn_credits' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/stop_machine.c:144:22: warning: function 'stopmachine_action' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
common/wait.c:122:13: warning: function '__prepare_to_wait' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:304:12: warning: function 'serial_parse_handle' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:401:13: warning: function 'amd_iommu_disable_domain_device' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:192:5: warning: function 'iommu_domain_init' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:238:22: warning: function 'iommu_dump_page_tables' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1030:28: warning: function '_scan_pci_devices' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:193:24: warning: function 'acpi_find_matched_drhd_unit' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1879:5: warning: function 'domain_context_unmap_one' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:502:14: warning: function 'vtd_flush_context_reg' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:569:14: warning: function 'vtd_flush_iotlb_reg' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:810:12: warning: function 'iommu_set_root_entry' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:893:13: warning: function 'iommu_disable_translation' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:86:12: warning: function 'iommu_hardware_setup' has cognitive complexity of 24 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1404:13: warning: function 'amd_cpuidle_init' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:193:13: warning: function 'recalculate_xstate' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_amd.c:198:21: warning: function 'amd_vpmu_load' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dmi_scan.c:256:20: warning: function 'dmi_get_table' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:413:31: warning: function 'get_parent_handle' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:701:21: warning: function 'irq_load_pci' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:249:12: warning: function 'nsvm_vcpu_hostrestore' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:790:1: warning: function 'nsvm_vcpu_vmexit_inject' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:191:5: warning: function 'viridian_synic_rdmsr' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:550:13: warning: function 'vpmask_set' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:722:6: warning: function 'vpci_msi_arch_update' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:197:6: warning: function 'vmx_pi_desc_fixup' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:1334:13: warning: function 'sync_exception_state' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/nested_hap.c:72:1: warning: function 'nestedhap_fix_p2m' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:516:1: warning: function 'p2m_remove_entry' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:441:13: warning: function '_sh_resync' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:753:6: warning: function 'shadow_demote' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:790:6: warning: function 'sh_destroy_monitor_table' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/platform_hypercall.c:153:15: warning: function 'resource_access' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:342:20: warning: function 'normalise_cpu_order' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1705:22: warning: function 'local_time_calibration' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:335:13: warning: function 'show_hvm_stack' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1158:12: warning: function 'mem_hotadd_check' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:708:5: warning: function 'handle_xsetbv' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1499:6: warning: function 'evtchn_check_pollers' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:1249:5: warning: function 'ioreq_send' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:217:12: warning: function 'elf_get_sym' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:443:28: warning: function 'extract_lsb_from_nodes' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:725:12: warning: function 'get_fallback_cpu' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/spinlock.c:81:6: warning: function 'check_lock' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/stop_machine.c:76:5: warning: function 'stop_machine_run' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
common/timer.c:458:22: warning: function 'timer_softirq_action' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/tables.c:48:13: warning: function 'acpi_table_print_madt_entry' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:612:19: warning: function 'cpufreq_cmdline_parse' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/utils.c:32:6: warning: function 'disable_pmr' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msi.c:264:6: warning: function 'vpci_dump_msi' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/msr.c:51:5: warning: function 'x86_msr_copy_from_buffer' has cognitive complexity of 25 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:1178:20: warning: function 'calibrate_APIC_clock' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:338:12: warning: function 'verify_local_APIC' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/mkelf32.c:257:5: warning: function 'main' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:679:6: warning: function 'amd_init_lfence' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce_intel.c:748:13: warning: function 'intel_init_mca' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:298:5: warning: function 'vmce_wrmsr' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/generic.c:183:20: warning: function 'print_mtrr_state' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1428:19: warning: function 'mwait_idle_probe' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:1512:21: warning: function 'mwait_idle_cpu_init' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:54:17: warning: function 'get_count' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:111:12: warning: function 'modified_memory' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:494:23: warning: function 'find_memory' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/domain.c:18:12: warning: function 'check_segment' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1369:21: warning: function 'hvm_save_cpu_msrs' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:583:5: warning: function 'hvm_domain_initialise' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:471:12: warning: function 'rtc_ioport_write' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:280:6: warning: function 'svm_intercept_msr' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:139:13: warning: function 'start_stimer' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/intr.c:59:13: warning: function 'vmx_enable_intr_window' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2677:5: warning: function 'map_domain_emuirq_pirq' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2041:6: warning: function 'page_unlock' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2434:12: warning: function 'cleanup_page_mappings' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3187:5: warning: function 'vcpu_destroy_pagetables' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:49:5: warning: function 'hap_track_dirty_vram' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:394:6: warning: function 'p2m_set_mem_access_multi' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:366:13: warning: function 'ept_invalidate_emt_subtree' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1060:1: warning: function 'p2m_pod_emergency_sweep' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2141:5: warning: function 'p2m_altp2m_propagate_change' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2650:5: warning: function 'shadow_enable' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:721:6: warning: function 'shadow_promote' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/set.c:132:5: warning: function 'shadow_set_l4e' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/descriptor-tables.c:191:13: warning: function 'check_descriptor' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:410:13: warning: function 'guest_io_write' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2140:6: warning: function 'init_percpu_time' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:664:6: warning: function 'vcpu_show_execution_state' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/bug.c:32:5: warning: function 'do_bug_frame' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/bunzip2.c:673:12: warning: function 'bunzip2' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/domctl.c:217:27: warning: function 'vnuma_init' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1677:1: warning: function 'gnttab_unmap_grant_ref' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1742:1: warning: function 'gnttab_unmap_and_replace' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:4240:5: warning: function 'gnttab_map_frame' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1189:21: warning: function 'node_to_scrub' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:605:7: warning: function '_xmalloc' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:49:5: warning: function 'do_get_pm_info' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:694:28: warning: function 'find_dbgp' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:377:19: warning: function 'parse_ivmd_block' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:3110:12: warning: function 'fill_qpt' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:104:13: warning: function 'modify_decoding' has cognitive complexity of 26 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:497:20: warning: function 'guest_common_feature_adjustments' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:324:13: warning: function 'early_cpu_init' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/common.c:415:13: warning: function 'generic_identify' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1839:22: warning: function 'mce_softirq' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:230:12: warning: function 'bank_mce_wrmsr' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:631:20: warning: function 'efi_relocate_esrt' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:324:20: warning: function 'pvh_setup_e820' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hypercall.c:194:21: warning: function 'hvm_do_multicall_call' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:688:22: warning: function 'svm_set_segment_register' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:328:13: warning: function 'vlapic_accept_irq' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:480:6: warning: function 'vlapic_ipi' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2514:6: warning: function 'dump_ioapic_irq_info' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:46:1: warning: function 'p2m_pod_cache_add' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:320:12: warning: function 'p2m_pt_set_recalc_range' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:974:21: warning: function 'p2m_pt_change_entry_type_range' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:919:26: warning: function '_shadow_prealloc' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/set.c:76:1: warning: function 'shadow_get_page_from_l1e' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/dom0_build.c:118:20: warning: function 'iommu_memory_setup' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:871:30: warning: function 'create_dom0' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1303:5: warning: function 'cpu_add' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:581:13: warning: function 'show_stack' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:742:13: warning: function 'cleanup_frame_table' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/util.c:117:15: warning: function 'x86_insn_is_mem_write' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:787:13: warning: function 'cpupool_cpu_remove_forced' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2309:1: warning: function 'csched2_context_saved' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3944:1: warning: function 'init_cpu_runqueue' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ehci-dbgp.c:1249:22: warning: function '_ehci_dbgp_poll' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:281:12: warning: function 'iommu_pde_from_dfn' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:620:14: warning: function 'amd_iommu_flush_iotlb_pages' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:483:9: warning: function 'iommu_alloc_domid' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
drivers/pci/physdev.c:10:7: warning: function 'pci_physdev_op' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:39:21: warning: function 'map_range' has cognitive complexity of 27 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:412:20: warning: function 'guest_common_max_feature_adjustments' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1145:13: warning: function 'x86_mc_msrinject_verify' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1604:20: warning: function 'copy_mapping' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/mkreloc.c:189:13: warning: function 'diff_sections' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/io.c:96:6: warning: function 'handle_pio' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:682:5: warning: function 'vioapic_init' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1293:22: warning: function 'vmx_set_segment_register' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3128:12: warning: function 'vmx_cr_access' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:774:22: warning: function 'vmx_cpuid_policy_changed' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:54:14: warning: function 'nvmx_vcpu_initialise' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1670:5: warning: function 'map_mmio_regions' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1705:5: warning: function 'unmap_mmio_regions' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1638:6: warning: function 'shadow_hash_delete' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2104:12: warning: function 'sh_remove_shadow_via_pointer' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:335:6: warning: function 'oos_fixup_add' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/nmi.c:493:6: warning: function 'nmi_watchdog_tick' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/physdev.c:30:12: warning: function 'physdev_hvm_map_pirq' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:558:12: warning: function 'do_boot_cpu' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1204:6: warning: function 'do_int3' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
common/earlycpio.c:71:25: warning: function 'find_cpio_data' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
common/event_2l.c:51:22: warning: function 'evtchn_2l_unmask' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:188:5: warning: function 'evtchn_allocate_port' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:270:20: warning: function 'nodes_cover_memory' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2479:27: warning: function 'sched_wait_rendezvous_in' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:546:20: warning: function '__insert_record' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:710:6: warning: function 'xfree' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1383:12: warning: function 'amd_iommu_prepare' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1349:12: warning: function 'iommu_remove_device' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:1108:28: warning: function 'parse_rmrr_param' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2482:25: warning: function 'init_vtd_hw' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:485:6: warning: function 'disable_qinval' has cognitive complexity of 28 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1316:6: warning: function 'set_cx_pminfo' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpufreq/hwp.c:166:20: warning: function 'hwp_available' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:158:13: warning: function 'sanitise_featureset' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:390:5: warning: function 'inject_vmce' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:588:12: warning: function 'construct_dom0' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:634:5: warning: function 'arch_sanitise_domain_config' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1583:21: warning: function 'hvmemul_cmpxchg' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:278:5: warning: function 'hvm_load' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:636:6: warning: function 'vioapic_reset' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:463:5: warning: function 'msixtbl_pt_register' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2064:5: warning: function 'nvmx_handle_vmx_insn' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:95:13: warning: function 'vpic_update_int_output' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3265:5: warning: function 'new_guest_cr3' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:619:6: warning: function 'sh_resync_all' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:256:17: warning: function 'guest_io_read' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/grant_table.c:36:5: warning: function 'create_grant_pv_mapping' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1158:6: warning: function 'do_invalid_op' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/event_2l.c:19:22: warning: function 'evtchn_2l_set_pending' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:395:22: warning: function 'evtchn_fifo_print_state' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:852:12: warning: function 'kexec_swap_images' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:361:5: warning: function 'livepatch_elf_perform_relocs' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:452:13: warning: function 'decrease_reservation' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:371:13: warning: function 'unit_deassign' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:520:22: warning: function 'null_unit_remove' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:357:12: warning: function 'vm_event_resume' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:166:14: warning: function 'print_bitmap_list' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq_ondemand.c:218:21: warning: function 'cpufreq_governor_dbs' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:598:14: warning: function 'pci_size_mem_bar' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2206:34: warning: function 'intel_iommu_unmap_page' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:303:34: warning: function 'hwdom_iommu_map' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:516:21: warning: function 'init_bars' has cognitive complexity of 29 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/boot/reloc.c:184:26: warning: function 'mbi2_reloc' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:100:13: warning: function 'pit_load_count' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:827:12: warning: function 'hvmemul_virtual_to_linear' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3249:29: warning: function 'hvm_translate_get_page' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/irq.c:417:6: warning: function 'hvm_set_callback_via' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:962:5: warning: function 'guest_wrmsr_x2apic' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:806:8: warning: function 'vmx_vmcs_try_enter' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:927:6: warning: function 'vmx_set_msr_intercept' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/machine_kexec.c:30:5: warning: function 'machine_kexec_add_page' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1328:1: warning: function 'mark_populate_on_demand' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1340:1: warning: function 'p2m_flush_table_locked' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:685:15: warning: function 'shadow_flush_tlb' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1392:22: warning: function 'dump_msi' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1391:21: warning: function '__page_fault_type' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1511:12: warning: function 'fixup_page_fault' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
common/cpu.c:189:5: warning: function 'disable_nonboot_cpus' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:470:14: warning: function 'hypfs_read_dir' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:183:5: warning: function 'rangeset_remove_range' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:926:1: warning: function 'cpu_add_to_runqueue' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:677:6: warning: function '__trace_var' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:532:22: warning: function 'parse_event_log_entry' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:64:28: warning: function 'parse_iommu_param' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:461:1: warning: function 'acpi_parse_one_drhd' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:767:28: warning: function 'acpi_parse_dmar' has cognitive complexity of 30 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:945:5: warning: function 'arch_domain_soft_reset' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2281:21: warning: function 'hvmemul_cache_op' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4930:12: warning: function 'compat_altp2m_op' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:895:6: warning: function 'vmx_clear_msr_intercept' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1309:12: warning: function 'promote_l1_table' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:2083:18: warning: function 'xen_in_range' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/bunzip2.c:517:19: warning: function 'read_bunzip' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:279:5: warning: function 'livepatch_elf_resolve_symbols' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:583:22: warning: function 'init_node_heap' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/rangeset.c:115:5: warning: function 'rangeset_add_range' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/sched/arinc653.c:509:1: warning: function 'a653sched_do_schedule' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:3067:5: warning: function 'schedule_cpu_add' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:3279:5: warning: function 'schedule_cpu_rm' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:677:5: warning: function 'sched_move_domain' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:4044:1: warning: function 'csched2_deinit_pdata' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:73:28: warning: function 'setup_cpufreq_option' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_guest.c:460:22: warning: function 'guest_iommu_process_command' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:837:14: warning: function 'amd_iommu_quarantine_init' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:548:12: warning: function 'iommu_setup' has cognitive complexity of 31 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:553:20: warning: function 'calculate_pv_def_policy' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/amd_nonfatal.c:118:22: warning: function 'mce_amd_work_fn' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/emul-i8254.c:258:13: warning: function 'pit_ioport_write' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:155:28: warning: function 'hvm_enable' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3330:36: warning: function '__hvm_copy' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:576:5: warning: function 'hvm_set_mem_pinned_cacheattr' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1289:1: warning: function 'nestedsvm_check_intercepts' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:393:12: warning: function 'decode_vmx_inst' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:150:19: warning: function '_bind_irq_vector' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3380:12: warning: function 'vcpumask_to_pcpumask' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:314:13: warning: function 'msi_set_mask_bit' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:1035:12: warning: function 'cpu_smpboot_alloc' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1851:6: warning: function 'do_device_not_available' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:925:6: warning: function 'do_trap' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:845:5: warning: function 'xenmem_add_to_physmap' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:263:24: warning: function 'cpupool_create' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/msix.c:592:5: warning: function 'vpci_make_msix_hole' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:584:5: warning: function 'main' has cognitive complexity of 32 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1548:6: warning: function 'do_vcpu_op' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1568:28: warning: function 'parse_efi_param' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:414:19: warning: function 'pvh_populate_p2m' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/mtrr.c:179:5: warning: function 'mtrr_get_type' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:772:6: warning: function 'vlapic_reg_write' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6136:6: warning: function 'destroy_perdomain_mapping' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:308:12: warning: function 'ept_next_level' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:547:13: warning: function 'check_entry' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:2425:5: warning: function 'xenmem_add_to_physmap_one' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1083:12: warning: function 'find_cos' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/hypercall.c:20:1: warning: function '_pv_hypercall' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:129:6: warning: function 'show_code' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:222:14: warning: function 'vcpu_create' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:400:12: warning: function 'domain_teardown' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch_elf.c:47:12: warning: function 'elf_resolve_sections' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2246:1: warning: function 'csched2_unit_wake' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1069:1: warning: function 'rt_schedule' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/qinval.c:392:5: warning: function 'enable_qinval' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/genapic/x2apic.c:30:22: warning: function 'init_apic_ldr_x2apic_cluster' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:477:5: warning: function 'epte_get_entry_emt' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2960:12: warning: function 'shadow_one_bit_disable' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:2224:20: warning: function 'tsc_check_writability' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2014:6: warning: function 'do_entry_CP' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:2174:13: warning: function 'trap_init' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:232:5: warning: function 'parse_bool' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
common/trace.c:168:12: warning: function 'alloc_trace_bufs' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:309:14: warning: function 'pointer' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:1474:20: warning: function 'parse_positional' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1022:20: warning: function 'dump_acpi_table_header' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:300:12: warning: function 'iommu_read_log' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:164:5: warning: function 'amd_iommu_set_root_page_table' has cognitive complexity of 34 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1740:24: warning: function 'mce_action' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:92:12: warning: function 'bank_mce_rdmsr' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2395:22: warning: function 'hvmemul_put_fpu' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5055:6: warning: function 'do_hvm_op' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:194:5: warning: function 'hvm_save' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6189:6: warning: function 'free_perdomain_mappings' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:188:12: warning: function 'write_msi_msg' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/shutdown.c:556:6: warning: function 'machine_restart' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1454:13: warning: function 'free_heap_pages' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1428:13: warning: function 'do_poll' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:107:6: warning: function 'rb_insert_color' has cognitive complexity of 35 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/power.c:192:12: warning: function 'enter_state' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:540:19: warning: function 'pvh_load_kernel' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/save.c:123:5: warning: function 'hvm_save_one' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/intr.c:67:13: warning: function 'svm_enable_intr_window' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1387:1: warning: function 'nestedsvm_vcpu_vmexit' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:930:1: warning: function 'nsvm_vmcb_guest_intercepts_exitcode' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:216:21: warning: function 'msixtbl_read' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2716:12: warning: function '_put_final_page_type' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:336:5: warning: function 'hap_set_allocation' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1572:6: warning: function 'do_page_fault' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1668:5: warning: function 'vcpu_affinity_domctl' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2034:1: warning: function 'unpark_parked_units' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
drivers/acpi/pmstat.c:188:12: warning: function 'get_cpufreq_para' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/serial.c:119:13: warning: function '__serial_putc' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1394:28: warning: function 'parse_ivmd_param' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1301:12: warning: function 'iommu_add_device' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:829:13: warning: function 'iommu_enable_translation' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:175:21: warning: function 'vector_hashing_dest' has cognitive complexity of 36 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/vmce.c:167:5: warning: function 'vmce_rdmsr' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2412:5: warning: function 'hvm_set_cr3' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:139:22: warning: function 'svm_update_guest_cr' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1230:6: warning: function 'do_general_protection' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1084:13: warning: function 'sched_unit_migrate_finish' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:417:12: warning: function 'update_intremap_entry_from_msi_msg' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:708:14: warning: function 'amd_iommu_get_reserved_device_memory' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:327:10: warning: function 'vpci_read' has cognitive complexity of 37 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/apic.c:490:6: warning: function 'setup_local_APIC' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:689:20: warning: function 'calculate_hvm_def_policy' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:912:6: warning: function 'x86_mcinfo_dump' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:321:28: warning: function 'get_argv' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:2615:12: warning: function '_hvm_emulate_one' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:955:6: warning: function 'vmx_msr_is_intercepted' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:2359:5: warning: function 'ioapic_guest_write' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1184:6: warning: function 'shadow_free' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mmconf-fam10h.c:39:20: warning: function 'get_fam10h_pci_mmconf_base' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:175:6: warning: function 'expand_xsave_states' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:240:6: warning: function 'compress_xsave_states' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-dominfo.c:35:17: warning: function 'elf_xen_parse_features' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2048:20: warning: function 'scrub_heap_pages' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/utility.c:280:5: warning: function 'cpufreq_frequency_table_target' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2087:34: warning: function 'intel_iommu_map_page' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/quirks.c:496:6: warning: function 'pci_vtd_quirk' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:825:13: warning: function 'hvm_dirq_assist' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:373:19: warning: function 'arch_iommu_hwdom_init' has cognitive complexity of 38 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mctelem.c:373:18: warning: function 'mctelem_reserve' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:2036:6: warning: function 'context_switch' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/time.c:404:5: warning: function 'viridian_time_rdmsr' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:703:13: warning: function 'vlapic_update_timer' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2529:13: warning: function 'sh_set_toplevel_shadow' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/set.c:317:5: warning: function 'shadow_set_l1e' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/psr.c:1325:5: warning: function 'psr_set_val' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:46:24: warning: function 'io_emul_stub_setup' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:237:13: warning: function 'set_cpu_sibling_map' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:262:13: warning: function 'show_guest_stack' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:556:21: warning: function 'amd_iommu_add_device' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1263:12: warning: function 'iommu_alloc' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:732:34: warning: function 'iommu_flush_iotlb' has cognitive complexity of 39 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1809:21: warning: function 'hvmemul_rep_movs' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:1069:12: warning: function 'construct_vmcs' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2443:22: warning: function 'dump_irqs' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2535:6: warning: function 'fixup_irqs' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1216:5: warning: function 'pci_msi_conf_write_intercept' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
common/xmalloc_tlsf.c:645:7: warning: function '_xrealloc' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:411:29: warning: function 'ns16550_init_postirq' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2769:21: warning: function 'reassign_device_ownership' has cognitive complexity of 40 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:471:15: warning: function 'mcheck_cmn_handler' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mwait-idle.c:891:22: warning: function 'mwait_idle' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:1978:21: warning: function 'hvmemul_rep_stos' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/intr.c:126:6: warning: function 'svm_intr_assist' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1346:5: warning: function 'shadow_set_allocation' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:1310:5: warning: function 'pv_emulate_privileged_op' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2056:1: warning: function 'gnttab_setup_table' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
common/kexec.c:107:28: warning: function 'parse_crashkernel' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:665:1: warning: function '__csched_unit_check' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1780:13: warning: function 'reset_credit' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2156:1: warning: function 'csched2_unit_check' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:531:12: warning: function 'unlzma' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:499:14: warning: function 'amd_iommu_unmap_page' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:3160:21: warning: function 'intel_iommu_quarantine_init' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/iommu.c:217:5: warning: function 'iommu_identity_mapping' has cognitive complexity of 41 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:741:5: warning: function 'arch_domain_create' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:422:24: warning: function 'mtrr_top_of_ram' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dom0_build.c:89:19: warning: function 'pvh_populate_memory_range' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:124:13: warning: function 'rtc_timer_update' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmsi.c:275:12: warning: function 'msixtbl_write' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpt.c:313:5: warning: function 'pt_update_irq' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:816:13: warning: function 'change_type_range' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emulate.c:16:5: warning: function 'pv_emul_read_descriptor' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:197:13: warning: function 'compat_show_guest_stack' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:820:12: warning: function 'extend_frame_table' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:315:5: warning: function 'guest_remove_page' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3377:1: warning: function 'runq_candidate' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:413:14: warning: function 'amd_iommu_map_page' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:324:6: warning: function 'iommu_map' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:564:5: warning: function 'pt_irq_destroy_bind' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:115:6: warning: function 'x86_cpu_policy_fill_native' has cognitive complexity of 42 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:420:13: warning: function 'intel_log_freq' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:229:5: warning: function 'efi_get_info' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:987:21: warning: function 'hvm_load_cpu_ctxt' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:413:13: warning: function 'vioapic_deliver' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/synic.c:76:5: warning: function 'viridian_synic_wrmsr' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vlapic.c:1173:6: warning: function 'vlapic_tdt_msr_set' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:954:13: warning: function 'cpu_smpboot_free' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
common/compat/domain.c:41:5: warning: function 'compat_common_vcpu_op' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1582:1: warning: function 'unmap_common_complete' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
common/hypfs.c:190:12: warning: function 'add_entry' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1612:1: warning: function 'csched_runq_steal' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:941:1: warning: function 'csched_unit_acct' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2699:13: warning: function 'balance_load' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/console.c:621:13: warning: function 'guest_console_write' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1466:12: warning: function 'iommu_get_device_group' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:828:12: warning: function 'deassign_device' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:179:13: warning: function 'update_irte' has cognitive complexity of 43 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:827:13: warning: function 'core_set_legacy_ssbd' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:920:5: warning: function 'viridian_hypercall' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2791:12: warning: function 'allocate_pirq' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:486:17: warning: function 'irq_get_used_vector_mask' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mpparse.c:103:13: warning: function 'set_nr_sockets' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:869:21: warning: function 'read_msr' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:877:13: warning: function 'cleanup_cpu_root_pgt' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1667:6: warning: function 'update_runstate_area' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
common/ioreq.c:154:13: warning: function 'wait_for_io' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-dominfo.c:417:24: warning: function 'elf_xen_addr_calc_check' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:951:12: warning: function 'xenmem_add_to_physmap_batch' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:814:5: warning: function 'cpupool_do_sysctl' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:460:5: warning: function 'set_px_pminfo' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/vpci.c:434:6: warning: function 'vpci_write' has cognitive complexity of 44 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/boot.c:366:1: warning: function 'acpi_fadt_parse_sleep_info' has cognitive complexity of 45 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:637:6: warning: function 'do_xenpmu_op' has cognitive complexity of 45 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:743:12: warning: function 'hvmemul_linear_to_phys' has cognitive complexity of 45 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hypercall.c:26:15: warning: function 'hypercall_create_continuation' has cognitive complexity of 45 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1274:13: warning: function 'enable_IO_APIC' has cognitive complexity of 45 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-dominfo.c:514:17: warning: function 'elf_xen_parse' has cognitive complexity of 45 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:283:12: warning: function 'move_payload' has cognitive complexity of 45 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1081:12: warning: function 'check_cx' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mtrr/main.c:312:5: warning: function 'mtrr_add_page' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:2329:5: warning: function 'domain_relinquish_resources' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:684:12: warning: function '_vmx_cpu_up' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:1166:1: warning: function 'p2m_pod_demand_populate' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:188:1: warning: function 'p2m_pod_set_cache_target' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:340:19: warning: function 'p2m_get_page_from_gfn' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:598:13: warning: function 'sh_emulate_unmap_dest' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3162:1: warning: function 'gnttab_set_version' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1434:13: warning: function 'runq_insert' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
common/unxz.c:160:12: warning: function 'unxz' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_intr.c:131:21: warning: function 'alloc_intremap_entry' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/iommu.c:397:6: warning: function 'iommu_unmap' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1953:37: warning: function 'domain_context_unmap' has cognitive complexity of 46 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/microcode/amd.c:309:41: warning: function 'cpu_request_microcode' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:2016:22: warning: function 'vmx_inject_event' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:214:1: warning: function 'p2m_next_level' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/set.c:228:5: warning: function 'shadow_set_l2e' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/dom0_build.c:45:20: warning: function 'mark_pv_pt_pages_rdonly' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
common/multicall.c:36:7: warning: function 'do_multicall' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1545:5: warning: function 'iommu_do_pci_domctl' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:122:12: warning: function 'context_set_domain_id' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:433:5: warning: function 'x86_cpuid_copy_from_buffer' has cognitive complexity of 47 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vioapic.c:215:13: warning: function 'vioapic_write_redirent' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:102:12: warning: function 'paging_free_log_dirty_bitmap' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:1236:6: warning: function 'shadow_vram_put_mfn' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1846:22: warning: function 'csched_schedule' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
common/unzstd.c:145:12: warning: function 'unzstd' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1100:28: warning: function 'parse_ivrs_table' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_map.c:113:13: warning: function 'set_iommu_ptes_present' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
drivers/video/vga.c:92:13: warning: function 'video_endboot' has cognitive complexity of 48 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/hygon.c:30:22: warning: function 'init_hygon' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel.c:528:22: warning: function 'init_intel' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/e820.c:139:12: warning: function 'sanitize_e820_map' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:1441:22: warning: function 'ept_dump_p2m_table' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1560:7: warning: function 'shadow_hash_lookup' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
drivers/cpufreq/cpufreq.c:193:5: warning: function 'cpufreq_add_cpu' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:1406:12: warning: function 'assign_device' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:313:24: warning: function 'alloc_pdev' has cognitive complexity of 49 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/dom0_build.c:327:22: warning: function 'dom0_compute_nr_pages' has cognitive complexity of 50 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2848:12: warning: function 'task_switch_load_seg' has cognitive complexity of 50 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3643:5: warning: function 'hvm_msr_write_intercept' has cognitive complexity of 50 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:380:5: warning: function 'p2m_pod_empty_cache' has cognitive complexity of 50 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2975:13: warning: function 'scheduler_init' has cognitive complexity of 50 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_init.c:1240:28: warning: function 'amd_iommu_setup_device_table' has cognitive complexity of 50 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:226:13: warning: function 'hpet_set_timer' has cognitive complexity of 51 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:4790:6: warning: function 'vmx_vmenter_helper' has cognitive complexity of 51 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/hap/hap.c:569:6: warning: function 'hap_teardown' has cognitive complexity of 51 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/cpu_idle.c:65:6: warning: function 'compat_set_cx_pminfo' has cognitive complexity of 51 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:417:12: warning: function 'nsvm_vmcb_prepare4vmrun' has cognitive complexity of 52 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/grant_table.c:188:5: warning: function 'replace_grant_pv_mapping' has cognitive complexity of 52 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/traps.c:20:6: warning: function 'pv_inject_event' has cognitive complexity of 52 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:1222:5: warning: function 'memory_add' has cognitive complexity of 52 (threshold 0) [readability-function-cognitive-complexity]
common/event_fifo.c:161:22: warning: function 'evtchn_fifo_set_pending' has cognitive complexity of 52 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:758:6: warning: function 'disable_intremap' has cognitive complexity of 52 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1388:20: warning: function 'setup_ioapic_ids_from_mpc' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1841:13: warning: function 'do_IRQ_guest' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:847:22: warning: function 'sh_unshadow_for_p2m_change' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/dom0_build.c:162:20: warning: function 'setup_pv_physmap' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1024:6: warning: function 'cpuid_hypervisor_leaves' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
common/mem_access.c:31:5: warning: function 'mem_access_memop' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2438:19: warning: function 'alloc_domheap_pages' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:1870:7: warning: function 'do_sched_op' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/dmar.c:307:19: warning: function 'acpi_parse_dev_scope' has cognitive complexity of 53 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:570:6: warning: function 'amd_log_freq' has cognitive complexity of 54 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1966:13: warning: function '__context_switch' has cognitive complexity of 54 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:1320:22: warning: function 'svm_inject_event' has cognitive complexity of 54 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1677:28: warning: function '__pirq_guest_unbind' has cognitive complexity of 54 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:152:13: warning: function 'numa_update_node_memblks' has cognitive complexity of 54 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2337:5: warning: function 'assign_pages' has cognitive complexity of 54 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svmdebug.c:93:6: warning: function 'svm_vmcb_isvalid' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:748:15: warning: function 'irq_move_cleanup_interrupt' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5129:7: warning: function 'xen_map_to_mfn' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1687:13: warning: function 'hash_foreach' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/domain.c:32:1: warning: function 'compat_vcpu_op' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:611:6: warning: function 'xstate_init' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
common/sched/null.c:808:22: warning: function 'null_schedule' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:1217:19: warning: function 'get_last_bdf_ivhd' has cognitive complexity of 55 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:3025:6: warning: function 'hvm_task_switch' has cognitive complexity of 56 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/decode.c:730:1: warning: function 'decode_twobyte' has cognitive complexity of 56 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1385:1: warning: function 'unmap_common' has cognitive complexity of 56 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:44:14: warning: function 'number' has cognitive complexity of 56 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/nestedsvm.c:1444:6: warning: function 'nsvm_vcpu_switch' has cognitive complexity of 57 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:192:13: warning: function 'sh_oos_audit' has cognitive complexity of 57 (threshold 0) [readability-function-cognitive-complexity]
common/keyhandler.c:258:22: warning: function 'dump_domains' has cognitive complexity of 57 (threshold 0) [readability-function-cognitive-complexity]
common/unlzma.c:385:26: warning: function 'process_bit1' has cognitive complexity of 57 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:294:6: warning: function 'domain_cpu_policy_changed' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hypercall.c:102:5: warning: function 'hvm_hypercall' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:1115:24: warning: function '__print_IO_APIC' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:125:27: warning: function 'p2m_pod_cache_get' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:1275:5: warning: function 'pci_restore_msi_state' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/descriptor-tables.c:21:6: warning: function 'pv_destroy_ldt' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/misc-hypercalls.c:56:6: warning: function 'set_debugreg' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2628:28: warning: function 'vtd_setup' has cognitive complexity of 58 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2467:5: warning: function 'hvm_set_cr4' has cognitive complexity of 59 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:999:23: warning: function 'ept_get_entry' has cognitive complexity of 59 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/tsx.c:37:6: warning: function 'tsx_init' has cognitive complexity of 59 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2351:1: warning: function 'csched2_res_pick' has cognitive complexity of 59 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1398:12: warning: function 'promote_l2_table' has cognitive complexity of 60 (threshold 0) [readability-function-cognitive-complexity]
common/unlz4.c:25:12: warning: function 'unlz4' has cognitive complexity of 60 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/pci.c:645:5: warning: function 'pci_add_device' has cognitive complexity of 60 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1547:5: warning: function 'pirq_guest_bind' has cognitive complexity of 61 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:197:13: warning: function '_clear_irq_vector' has cognitive complexity of 61 (threshold 0) [readability-function-cognitive-complexity]
common/sched/core.c:2159:13: warning: function 'sched_switch_units' has cognitive complexity of 61 (threshold 0) [readability-function-cognitive-complexity]
common/sched/cpupool.c:1014:21: warning: function 'cpu_callback' has cognitive complexity of 61 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:289:1: warning: function 'mcheck_mca_logout' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:1896:6: warning: function 'do_IRQ' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:725:1: warning: function 'p2m_pod_zero_check_superpage' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:419:12: warning: function 'wakeup_secondary_cpu' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1309:12: warning: function 'handle_ldt_mapping_fault' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:393:12: warning: function 'setup_m2p_table' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1459:13: warning: function 'livepatch_do_action' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1686:6: warning: function 'check_for_livepatch_work' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
common/unlzo.c:117:12: warning: function 'unlzo' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:2856:21: warning: function 'intel_iommu_assign_device' has cognitive complexity of 62 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:919:12: warning: function 'hvmemul_phys_mmio_access' has cognitive complexity of 63 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1215:12: warning: function 'livepatch_list' has cognitive complexity of 63 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/utils.c:157:15: warning: function 'vtd_dump_iommu_info' has cognitive complexity of 63 (threshold 0) [readability-function-cognitive-complexity]
drivers/vpci/header.c:236:12: warning: function 'modify_bars' has cognitive complexity of 63 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2314:5: warning: function 'unmap_domain_pirq' has cognitive complexity of 64 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2658:5: warning: function 'devalidate_page' has cognitive complexity of 64 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:408:12: warning: function 'ept_invalidate_emt_range' has cognitive complexity of 64 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/monitor.c:143:5: warning: function 'arch_monitor_domctl_event' has cognitive complexity of 64 (threshold 0) [readability-function-cognitive-complexity]
common/numa.c:663:22: warning: function 'dump_numa' has cognitive complexity of 64 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:315:17: warning: function 'addr_to_dma_page_maddr' has cognitive complexity of 64 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmcs.c:240:12: warning: function 'vmx_init_vmcs_config' has cognitive complexity of 65 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1499:5: warning: function 'map_guest_area' has cognitive complexity of 65 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/dm.c:324:5: warning: function 'dm_op' has cognitive complexity of 66 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:96:12: warning: function 'setup_xstate_features' has cognitive complexity of 66 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1084:12: warning: function 'reserve_offlined_page' has cognitive complexity of 66 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:1598:1: warning: function 'runq_tickle' has cognitive complexity of 66 (threshold 0) [readability-function-cognitive-complexity]
lib/rbtree.c:226:13: warning: function '__rb_erase_color' has cognitive complexity of 66 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-dominfo.c:267:17: warning: function 'elf_xen_parse_guest_info' has cognitive complexity of 67 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/intremap.c:677:5: warning: function 'enable_intremap' has cognitive complexity of 67 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5903:24: warning: function 'modify_xen_mappings_lite' has cognitive complexity of 68 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1703:1: warning: function 'csched_load_balance' has cognitive complexity of 68 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2578:12: warning: function 'validate_page' has cognitive complexity of 69 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/traps.c:1888:6: warning: function 'do_debug' has cognitive complexity of 69 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:1906:12: warning: function 'livepatch_action' has cognitive complexity of 69 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:682:22: warning: function 'acpi_processor_idle' has cognitive complexity of 70 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/io_apic.c:998:20: warning: function 'setup_IO_APIC_irqs' has cognitive complexity of 70 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/decode.c:624:1: warning: function 'decode_onebyte' has cognitive complexity of 70 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:176:6: warning: function 'unmap_domain_page' has cognitive complexity of 71 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1497:12: warning: function 'promote_l3_table' has cognitive complexity of 71 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/time.c:1970:22: warning: function 'time_calibration_tsc_rendezvous' has cognitive complexity of 71 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/ro-page-fault.c:69:12: warning: function 'ptwr_emulated_update' has cognitive complexity of 72 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1246:12: warning: function 'acquire_resource' has cognitive complexity of 72 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:731:1: warning: function '_csched_cpu_pick' has cognitive complexity of 72 (threshold 0) [readability-function-cognitive-complexity]
lib/x86/cpuid.c:347:5: warning: function 'x86_cpuid_copy_to_buffer' has cognitive complexity of 72 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:1759:5: warning: function 'hvm_hap_nested_page_fault' has cognitive complexity of 73 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:824:26: warning: function 'get_free_buddy' has cognitive complexity of 73 (threshold 0) [readability-function-cognitive-complexity]
common/sched/rt.c:1374:1: warning: function 'rt_dom_cntl' has cognitive complexity of 73 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/domain.c:103:5: warning: function 'arch_set_info_hvm_guest' has cognitive complexity of 74 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/hvm.c:996:5: warning: function 'shadow_track_dirty_vram' has cognitive complexity of 74 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/emul-priv-op.c:1018:21: warning: function 'write_msr' has cognitive complexity of 74 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:2489:6: warning: function 'free_domheap_pages' has cognitive complexity of 74 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:565:1: warning: function 'p2m_pt_set_entry' has cognitive complexity of 75 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:359:20: warning: function '__runq_tickle' has cognitive complexity of 75 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/intel_cacheinfo.c:119:6: warning: function 'init_intel_cacheinfo' has cognitive complexity of 76 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu_intel.c:522:21: warning: function 'core2_vpmu_do_wrmsr' has cognitive complexity of 76 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2561:6: warning: function 'hvm_vcpu_virtual_to_linear' has cognitive complexity of 77 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/mem_access.c:130:6: warning: function 'p2m_mem_access_check' has cognitive complexity of 77 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_acpi.c:771:19: warning: function 'parse_ivhd_device_special' has cognitive complexity of 77 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4215:12: warning: function 'hvm_set_param' has cognitive complexity of 78 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:3523:21: warning: function 'vmx_msr_write_intercept' has cognitive complexity of 78 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2800:6: warning: function 'shadow_teardown' has cognitive complexity of 78 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/viridian/viridian.c:112:6: warning: function 'cpuid_viridian_leaves' has cognitive complexity of 79 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:1730:12: warning: function 'promote_l4_table' has cognitive complexity of 79 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/traps.c:126:6: warning: function 'show_registers' has cognitive complexity of 79 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/xstate.c:371:6: warning: function 'xrstor' has cognitive complexity of 79 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:581:16: warning: function 'domain_create' has cognitive complexity of 79 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:68:12: warning: function 'parse_params' has cognitive complexity of 79 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vpic.c:187:13: warning: function 'vpic_ioport_write' has cognitive complexity of 80 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2564:1: warning: function 'acquire_grant_for_copy' has cognitive complexity of 80 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:588:20: warning: function 'calculate_hvm_max_policy' has cognitive complexity of 82 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:158:13: warning: function 'populate_physmap' has cognitive complexity of 82 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/intercept.c:110:5: warning: function 'hvm_process_io_intercept' has cognitive complexity of 83 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2756:12: warning: function '_put_page_type' has cognitive complexity of 83 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:933:6: warning: function 'subarch_memory_op' has cognitive complexity of 83 (threshold 0) [readability-function-cognitive-complexity]
tools/symbols.c:83:12: warning: function 'read_symbol' has cognitive complexity of 83 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:527:12: warning: function '_assign_irq_vector' has cognitive complexity of 85 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:670:5: warning: function 'evtchn_close' has cognitive complexity of 85 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:1823:1: warning: function 'gnttab_unpopulate_status_frames' has cognitive complexity of 85 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:1277:6: warning: function 'scrub_free_pages' has cognitive complexity of 85 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:571:14: warning: function 'hvmemul_map_linear_addr' has cognitive complexity of 86 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msi.c:755:12: warning: function 'msix_capability_init' has cognitive complexity of 86 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:2258:1: warning: function 'gnttab_transfer' has cognitive complexity of 86 (threshold 0) [readability-function-cognitive-complexity]
common/page_alloc.c:930:26: warning: function 'alloc_heap_pages' has cognitive complexity of 87 (threshold 0) [readability-function-cognitive-complexity]
drivers/char/ns16550.c:1175:1: warning: function 'pci_uart_config' has cognitive complexity of 87 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2125:12: warning: function 'mod_l1_entry' has cognitive complexity of 88 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:269:13: warning: function 'arch_init_memory' has cognitive complexity of 88 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1696:12: warning: function 'domain_context_mapping' has cognitive complexity of 88 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:904:1: warning: function 'p2m_pod_zero_check' has cognitive complexity of 89 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:2176:12: warning: function 'relinquish_memory' has cognitive complexity of 90 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:840:1: warning: function 'get_page_from_l1e' has cognitive complexity of 90 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msr.c:41:5: warning: function 'guest_rdmsr' has cognitive complexity of 90 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:72:28: warning: function 'parse_spec_ctrl' has cognitive complexity of 90 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/smpboot.c:687:12: warning: function 'clone_mapping' has cognitive complexity of 91 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/vpmu.c:161:6: warning: function 'vpmu_do_interrupt' has cognitive complexity of 92 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:2912:1: warning: function 'csched2_dom_cntl' has cognitive complexity of 92 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/emulate.c:152:12: warning: function 'hvmemul_do_io' has cognitive complexity of 94 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:1624:22: warning: function 'vmx_update_guest_cr' has cognitive complexity of 96 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:6013:5: warning: function 'create_perdomain_mapping' has cognitive complexity of 96 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:766:1: warning: function 'p2m_pt_get_entry' has cognitive complexity of 96 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu-policy.c:776:6: warning: function 'recalculate_cpuid_policy' has cognitive complexity of 98 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit2.c:3575:22: warning: function 'csched2_schedule' has cognitive complexity of 98 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mcaction.c:38:1: warning: function 'mc_memerr_dhandler' has cognitive complexity of 99 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:1021:12: warning: function 'set_typed_p2m_entry' has cognitive complexity of 99 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3631:6: warning: function 'do_grant_table_op' has cognitive complexity of 101 (threshold 0) [readability-function-cognitive-complexity]
common/bunzip2.c:147:19: warning: function 'get_next_block' has cognitive complexity of 103 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:2273:5: warning: function 'hvm_set_cr0' has cognitive complexity of 105 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/pci_amd_iommu.c:117:25: warning: function 'amd_iommu_setup_domain_device' has cognitive complexity of 107 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:1489:13: warning: function 'init_speculation_mitigations' has cognitive complexity of 108 (threshold 0) [readability-function-cognitive-complexity]
common/vsprintf.c:470:5: warning: function 'vsnprintf' has cognitive complexity of 110 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain_page.c:70:7: warning: function 'map_domain_page' has cognitive complexity of 111 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:390:21: warning: function 'do_recalc' has cognitive complexity of 111 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/spec_ctrl.c:399:20: warning: function 'print_details' has cognitive complexity of 111 (threshold 0) [readability-function-cognitive-complexity]
common/vmap.c:48:14: warning: function 'vm_alloc' has cognitive complexity of 112 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domctl.c:1389:6: warning: function 'arch_get_info_guest' has cognitive complexity of 114 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2324:13: warning: function 'sh_update_paging_modes' has cognitive complexity of 114 (threshold 0) [readability-function-cognitive-complexity]
common/domain.c:1802:6: warning: function 'common_vcpu_op' has cognitive complexity of 114 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/intr.c:227:6: warning: function 'vmx_intr_assist' has cognitive complexity of 115 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hypercall.c:110:5: warning: function 'hypercall_xlat_continuation' has cognitive complexity of 116 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1449:13: warning: function 'sh_hash_audit_bucket' has cognitive complexity of 116 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/msr.c:330:5: warning: function 'guest_wrmsr' has cognitive complexity of 117 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/rtc.c:282:13: warning: function 'alarm_timer_update' has cognitive complexity of 118 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:2158:6: warning: function 'sh_remove_shadows' has cognitive complexity of 118 (threshold 0) [readability-function-cognitive-complexity]
common/sched/credit.c:1378:22: warning: function 'csched_acct' has cognitive complexity of 118 (threshold 0) [readability-function-cognitive-complexity]
common/event_channel.c:1250:6: warning: function 'do_event_channel_op' has cognitive complexity of 119 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/alternative.c:178:31: warning: function '_apply_alternatives' has cognitive complexity of 120 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:791:1: warning: function 'ept_set_entry' has cognitive complexity of 120 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:395:12: warning: function 'paging_log_dirty_op' has cognitive complexity of 120 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1258:29: warning: function 'efi_start' has cognitive complexity of 127 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:3813:5: warning: function 'gnttab_release_mappings' has cognitive complexity of 128 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/runtime.c:369:5: warning: function 'efi_runtime_call' has cognitive complexity of 130 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:2865:12: warning: function '_get_page_type' has cognitive complexity of 130 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pod.c:521:1: warning: function 'decrease_reservation' has cognitive complexity of 133 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/vtd/iommu.c:1480:5: warning: function 'domain_context_mapping_one' has cognitive complexity of 134 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/sysctl.c:108:6: warning: function 'arch_do_sysctl' has cognitive complexity of 139 (threshold 0) [readability-function-cognitive-complexity]
common/livepatch.c:654:12: warning: function 'prepare_payload' has cognitive complexity of 140 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:4677:6: warning: function 'arch_memory_op' has cognitive complexity of 142 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/0fc7.c:16:5: warning: function 'x86emul_0fc7' has cognitive complexity of 143 (threshold 0) [readability-function-cognitive-complexity]
common/grant_table.c:995:1: warning: function 'map_grant_ref' has cognitive complexity of 154 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/efi/boot.c:1665:13: warning: function 'efi_init_memory' has cognitive complexity of 155 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m.c:598:1: warning: function 'p2m_add_page' has cognitive complexity of 156 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_64/mm.c:498:13: warning: function 'paging_init' has cognitive complexity of 156 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:4563:12: warning: function 'do_altp2m_op' has cognitive complexity of 157 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpuid.c:35:6: warning: function 'guest_cpuid' has cognitive complexity of 159 (threshold 0) [readability-function-cognitive-complexity]
common/kernel.c:505:6: warning: function 'do_xen_version' has cognitive complexity of 162 (threshold 0) [readability-function-cognitive-complexity]
common/libelf/libelf-loader.c:236:13: warning: function 'elf_load_bsdsyms' has cognitive complexity of 162 (threshold 0) [readability-function-cognitive-complexity]
common/lzo.c:138:12: warning: function 'lzo1x_decompress_safe' has cognitive complexity of 165 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:548:13: warning: function 'memory_exchange' has cognitive complexity of 167 (threshold 0) [readability-function-cognitive-complexity]
common/vm_event.c:44:12: warning: function 'vm_event_enable' has cognitive complexity of 167 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/amd/iommu_detect.c:58:13: warning: function 'get_iommu_features' has cognitive complexity of 168 (threshold 0) [readability-function-cognitive-complexity]
drivers/passthrough/x86/hvm.c:220:5: warning: function 'pt_irq_create_bind' has cognitive complexity of 168 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-ept.c:621:21: warning: function 'resolve_misconfig' has cognitive complexity of 172 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/mcheck/mce.c:1353:6: warning: function 'do_mca' has cognitive complexity of 173 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:1506:5: warning: function 'pmstat_get_cx_stat' has cognitive complexity of 178 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/cpu/amd.c:1028:22: warning: function 'init_amd' has cognitive complexity of 182 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/acpi/cpu_idle.c:148:22: warning: function 'do_get_hw_residencies' has cognitive complexity of 193 (threshold 0) [readability-function-cognitive-complexity]
common/memory.c:1394:6: warning: function 'do_memory_op' has cognitive complexity of 198 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/blk.c:20:5: warning: function 'x86_emul_blk' has cognitive complexity of 199 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3961:6: warning: function 'do_mmu_update' has cognitive complexity of 201 (threshold 0) [readability-function-cognitive-complexity]
common/domctl.c:281:6: warning: function 'do_domctl' has cognitive complexity of 209 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/p2m-pt.c:1015:22: warning: function 'p2m_pt_audit_p2m' has cognitive complexity of 213 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vvmx.c:2427:5: warning: function 'nvmx_n2_vmexit_handler' has cognitive complexity of 217 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/irq.c:2098:5: warning: function 'map_domain_pirq' has cognitive complexity of 220 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/physdev.c:177:7: warning: function 'do_physdev_op' has cognitive complexity of 229 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/pv/dom0_build.c:357:12: warning: function 'dom0_construct_pv' has cognitive complexity of 239 (threshold 0) [readability-function-cognitive-complexity]
common/sysctl.c:32:6: warning: function 'do_sysctl' has cognitive complexity of 242 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hpet.c:343:21: warning: function 'hpet_write' has cognitive complexity of 262 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5603:5: warning: function 'modify_xen_mappings' has cognitive complexity of 276 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/hvm.c:5293:6: warning: function 'hvm_set_segment_register' has cognitive complexity of 286 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/svm/svm.c:2589:6: warning: function 'svm_vmexit_handler' has cognitive complexity of 295 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:3422:6: warning: function 'do_mmuext_op' has cognitive complexity of 315 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:996:6: warning: function 'shadow_prealloc' has cognitive complexity of 329 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/platform_hypercall.c:217:7: warning: function 'do_platform_op' has cognitive complexity of 330 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/paging.c:252:6: warning: function 'paging_mark_pfn_dirty' has cognitive complexity of 346 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1062:5: warning: function 'arch_set_info_guest' has cognitive complexity of 362 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/0fae.c:16:5: warning: function 'x86emul_0fae' has cognitive complexity of 363 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/setup.c:972:22: warning: function '__start_xen' has cognitive complexity of 366 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/hvm/vmx/vmx.c:4038:6: warning: function 'vmx_vmexit_handler' has cognitive complexity of 386 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm/shadow/common.c:1822:5: warning: function 'sh_remove_write_access' has cognitive complexity of 399 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domain.c:1668:13: warning: function 'load_segments' has cognitive complexity of 420 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/0f01.c:19:5: warning: function 'x86emul_0f01' has cognitive complexity of 527 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/domctl.c:201:6: warning: function 'arch_do_domctl' has cognitive complexity of 550 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/mm.c:5184:5: warning: function 'map_pages_to_xen' has cognitive complexity of 556 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/decode.c:993:5: warning: function 'x86emul_decode' has cognitive complexity of 775 (threshold 0) [readability-function-cognitive-complexity]
common/compat/memory.c:57:5: warning: function 'compat_memory_op' has cognitive complexity of 799 (threshold 0) [readability-function-cognitive-complexity]
arch/x86/x86_emulate/fpu.c:72:5: warning: function 'x86emul_fpu' has cognitive complexity of 1837 (threshold 0) [readability-function-cognitive-complexity]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment