Home
last modified time | relevance | path

Searched refs:BUG_ON (Results 1 – 25 of 143) sorted by relevance

123456

/xen-4.10.0-shim-comet/xen/common/
A Dcpu.c74 BUG_ON(notifier_rc != NOTIFY_DONE); in take_cpu_down()
105 BUG_ON(cpu_online(cpu)); in cpu_down()
108 BUG_ON(notifier_rc != NOTIFY_DONE); in cpu_down()
116 BUG_ON(notifier_rc != NOTIFY_DONE); in cpu_down()
148 BUG_ON(notifier_rc != NOTIFY_DONE); in cpu_up()
157 BUG_ON(notifier_rc != NOTIFY_DONE); in cpu_up()
167 BUG_ON(notifier_rc != NOTIFY_DONE); in notify_cpu_starting()
176 BUG_ON(smp_processor_id() != 0); in disable_nonboot_cpus()
190 BUG_ON(error == -EBUSY); in disable_nonboot_cpus()
197 BUG_ON(!error && (num_online_cpus() != 1)); in disable_nonboot_cpus()
[all …]
A Dtasklet.c88 BUG_ON(t->is_dead || t->is_running || (t->scheduled_on != cpu)); in do_tasklet_work()
101 BUG_ON(t->is_dead || !list_empty(&t->list)); in do_tasklet_work()
161 BUG_ON(t->is_dead || t->is_running || (t->scheduled_on < 0)); in tasklet_kill()
188 BUG_ON(t->scheduled_on != cpu); in migrate_tasklets_from_cpu()
A Dsched_credit.c279 BUG_ON( __vcpu_on_runq(svc) ); in __runq_insert()
297 BUG_ON(iter == runq); in __runq_insert()
313 BUG_ON( !__vcpu_on_runq(svc) ); in __runq_remove()
656 BUG_ON( svc->vcpu != vc ); in __csched_vcpu_check()
660 BUG_ON( is_idle_vcpu(vc) ); in __csched_vcpu_check()
665 BUG_ON( !is_idle_vcpu(vc) ); in __csched_vcpu_check()
1031 BUG_ON( is_idle_vcpu(vc) ); in csched_vcpu_insert()
1084 BUG_ON( sdom == NULL ); in csched_vcpu_remove()
1095 BUG_ON( is_idle_vcpu(vc) ); in csched_vcpu_sleep()
1117 BUG_ON( is_idle_vcpu(vc) ); in csched_vcpu_wake()
[all …]
A Dstop_machine.c76 BUG_ON(!local_irq_is_enabled()); in stop_machine_run()
140 BUG_ON(cpu != smp_processor_id()); in stopmachine_action()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dshim.c145 BUG_ON(xen_hypercall_evtchn_unmask(port)); in evtchn_reserve()
268 BUG_ON(current->vcpu_id != 0); in pv_shim_shutdown()
298 BUG_ON(old_store_pfn != store_pfn); in pv_shim_shutdown()
303 BUG_ON(old_console_pfn != console_pfn); in pv_shim_shutdown()
310 BUG_ON(iomem_deny_access(d, 0, ~0UL)); in pv_shim_shutdown()
331 BUG_ON(evtchn_allocate_port(d, store_evtchn)); in pv_shim_shutdown()
335 BUG_ON(evtchn_allocate_port(d, console_evtchn)); in pv_shim_shutdown()
370 BUG_ON(vcpu_reset(v)); in pv_shim_shutdown()
771 BUG_ON(smp_processor_id() != 0); in pv_shim_cpu_up()
806 BUG_ON(smp_processor_id() != 0); in pv_shim_cpu_down()
[all …]
A Demulate.c62 BUG_ON(valid && ((a & 0x00f0ff00) != *ar)); in pv_emul_read_descriptor()
66 BUG_ON(valid && (l != *limit)); in pv_emul_read_descriptor()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dpci.c27 BUG_ON((bus > 255) || (dev > 31) || (func > 7)); in pci_conf_read8()
45 BUG_ON((bus > 255) || (dev > 31) || (func > 7)); in pci_conf_read16()
63 BUG_ON((bus > 255) || (dev > 31) || (func > 7)); in pci_conf_read32()
76 BUG_ON((bus > 255) || (dev > 31) || (func > 7)); in pci_conf_write8()
89 BUG_ON((bus > 255) || (dev > 31) || (func > 7)); in pci_conf_write16()
102 BUG_ON((bus > 255) || (dev > 31) || (func > 7)); in pci_conf_write32()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dxstate.c118 BUG_ON(eax != xstate_sizes[leaf]); in setup_xstate_features()
119 BUG_ON(ebx != xstate_offsets[leaf]); in setup_xstate_features()
177 BUG_ON(!v->arch.xcr0_accum); in expand_xsave_states()
213 BUG_ON(!comp_offsets[index]); in expand_xsave_states()
240 BUG_ON(!v->arch.xcr0_accum); in compress_xsave_states()
279 BUG_ON(!comp_offsets[index]); in compress_xsave_states()
507 BUG_ON(size < XSTATE_AREA_MIN_SIZE); in xstate_alloc_save_area()
590 BUG_ON(!bsp); in xstate_init()
597 BUG_ON((eax & XSTATE_FP_SSE) != XSTATE_FP_SSE); in xstate_init()
598 BUG_ON((eax & XSTATE_YMM) && !(eax & XSTATE_SSE)); in xstate_init()
[all …]
A Dalternative.c170 BUG_ON(a->replacementlen > a->instrlen); in apply_alternatives()
171 BUG_ON(a->instrlen > sizeof(insnbuf)); in apply_alternatives()
172 BUG_ON(a->cpuid >= NCAPINTS * 32); in apply_alternatives()
A Dhypercall.c187 BUG_ON(nval == (unsigned int)nval); in hypercall_xlat_continuation()
200 BUG_ON(mcs->call.args[i] != (unsigned int)mcs->call.args[i]); in hypercall_xlat_continuation()
227 BUG_ON(nval == (unsigned int)nval); in hypercall_xlat_continuation()
240 BUG_ON(*reg != (unsigned int)*reg); in hypercall_xlat_continuation()
A Dpci.c19 BUG_ON((offset + bytes) > 4); in pci_conf_read()
50 BUG_ON((offset + bytes) > 4); in pci_conf_write()
/xen-4.10.0-shim-comet/xen/arch/x86/guest/
A Dpvh-boot.c53 BUG_ON(pvh_info->cmdline_paddr >> 32); in convert_pvh_info()
57 BUG_ON(pvh_info->nr_modules >= ARRAY_SIZE(pvh_mbi_mods)); in convert_pvh_info()
65 BUG_ON(entry[i].paddr >> 32); in convert_pvh_info()
66 BUG_ON(entry[i].cmdline_paddr >> 32); in convert_pvh_info()
81 BUG_ON(xen_hypercall_memory_op(XENMEM_memory_map, &memmap)); in get_memory_map()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dalternative.c118 BUG_ON(alt->alt_len != alt->orig_len); in __apply_alternatives()
169 BUG_ON(patched); in __apply_alternatives_multi_stop()
178 BUG_ON(!xenmap); in __apply_alternatives_multi_stop()
201 BUG_ON(ret != 0); in __apply_alternatives_multi_stop()
228 BUG_ON(ret); in apply_alternatives_all()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dintercept.c38 BUG_ON(handler->type != IOREQ_TYPE_COPY); in hvm_mmio_accept()
55 BUG_ON(handler->type != IOREQ_TYPE_COPY); in hvm_mmio_read()
63 BUG_ON(handler->type != IOREQ_TYPE_COPY); in hvm_mmio_write()
80 BUG_ON(handler->type != IOREQ_TYPE_PIO); in hvm_portio_accept()
91 BUG_ON(handler->type != IOREQ_TYPE_PIO); in hvm_portio_read()
104 BUG_ON(handler->type != IOREQ_TYPE_PIO); in hvm_portio_write()
219 BUG_ON((p->type != IOREQ_TYPE_PIO) && in hvm_find_io_handler()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/compat/
A Dmm.c297 BUG_ON(left == arg1 && left != i); in compat_mmuext_op()
298 BUG_ON(left > count); in compat_mmuext_op()
304 BUG_ON(!hypercall_xlat_continuation(&left, 4, 0x01, nat_ops, in compat_mmuext_op()
312 BUG_ON(hypercall_xlat_continuation(&left, 4, 0)); in compat_mmuext_op()
313 BUG_ON(left != arg1); in compat_mmuext_op()
316 BUG_ON(err > 0); in compat_mmuext_op()
/xen-4.10.0-shim-comet/docs/misc/
A Dxen-error-handling.txt28 Be careful not to use BUG() (or BUG_ON(), or ASSERT()) for failures
34 the check BUG_ON(bytes != 1). We choose this extreme reaction to the
41 3. BUG_ON()
43 BUG_ON(...) is merely a convenient short form for "if (...) BUG()". It
49 Similar to BUG_ON(), except that it is only enabled for debug builds
56 In general, if in doubt, use BUG_ON() in preference to ASSERT().
/xen-4.10.0-shim-comet/xen/xsm/flask/ss/
A Debitmap.h90 BUG_ON( index >= EBITMAP_UNIT_NUMS ); in ebitmap_node_get_bit()
102 BUG_ON(index >= EBITMAP_UNIT_NUMS); in ebitmap_node_set_bit()
112 BUG_ON( index >= EBITMAP_UNIT_NUMS ); in ebitmap_node_clr_bit()
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/
A Dmctelem.c59 BUG_ON(MCTE_STATE(tep) != (MCTE_F_STATE_##old)); \
292 BUG_ON(tep->mcte_refcnt != 0); in mctelem_free()
293 BUG_ON(MCTE_STATE(tep) != MCTE_F_STATE_FREE); in mctelem_free()
318 BUG_ON(tep != mctctl.mctc_processing_head[which]); in mctelem_processing_hold()
330 BUG_ON(tep != mctctl.mctc_processing_head[which]); in mctelem_processing_release()
438 BUG_ON(tep->mcte_next != NULL || tep->mcte_prev != NULL); in mctelem_commit()
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/
A Dmachine_reboot.c25 BUG_ON(!irqs_disabled()); in ap_suspend()
53 BUG_ON(!irqs_disabled()); in bp_suspend()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dp2m-pod.c157 BUG_ON( page_list_empty(&p2m->pod.super) ); in p2m_pod_cache_get()
176 BUG_ON( page_list_empty(&p2m->pod.super) ); in p2m_pod_cache_get()
387 BUG_ON(!d->is_dying); in p2m_pod_empty_cache()
408 BUG_ON(page_get_owner(page) != d); in p2m_pod_empty_cache()
417 BUG_ON(p2m->pod.count != 0); in p2m_pod_empty_cache()
581 BUG_ON(p2m->pod.entry_count < 0); in p2m_pod_decrease_reservation()
631 BUG_ON(p2m->pod.entry_count < 0); in p2m_pod_decrease_reservation()
1066 BUG_ON(j > POD_SWEEP_STRIDE); in p2m_pod_emergency_sweep()
1228 BUG_ON(p2m->pod.entry_count < 0); in p2m_pod_demand_populate()
1261 BUG_ON(order != PAGE_ORDER_2M); in p2m_pod_demand_populate()
[all …]
/xen-4.10.0-shim-comet/xen/common/compat/
A Dmemory.c419 BUG_ON(rc != __HYPERVISOR_memory_op); in compat_memory_op()
420 BUG_ON((cmd & MEMOP_CMD_MASK) != op); in compat_memory_op()
437 BUG_ON(pfn != nat.rsrv->extent_start.p[start_extent]); in compat_memory_op()
471 BUG_ON(split >= 0 && rc); in compat_memory_op()
472 BUG_ON(end_extent < nat.xchg->nr_exchanged); in compat_memory_op()
479 BUG_ON(end_extent & ((1U << order_delta) - 1)); in compat_memory_op()
492 BUG_ON(pfn != nat.xchg->out.extent_start.p[start_extent]); in compat_memory_op()
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dseabios.c127 BUG_ON(seabios_config.bios_address < 0x000c0000); in seabios_setup_e820()
138 BUG_ON(bios_dest + bios_length > HVMLOADER_PHYSICAL_ADDRESS); in seabios_load()
A D32bitbios_support.c70 BUG_ON(highbiosarea == NULL); in relocate_32bitbios()
99 BUG_ON(reloc_off != reloc_size); in relocate_32bitbios()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/
A Dats.c31 BUG_ON(!pos); in enable_ats_device()
82 BUG_ON(!pdev->ats.cap_pos); in disable_ats_device()
/xen-4.10.0-shim-comet/xen/test/livepatch/
A Dxen_hello_world_func.c30 BUG_ON(rc != -EFAULT); in xen_hello_world()

Completed in 37 milliseconds

123456