Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 83) sorted by relevance

1234

/xen/xen/arch/arm/
A Dgic-vgic.c87 if ( !test_bit(GIC_IRQ_GUEST_ENABLED, &n->status) ) in gic_raise_inflight_irq()
119 if ( unlikely(test_bit(GIC_IRQ_GUEST_PRISTINE_LPI, &p->status)) ) in gic_find_unused_lr()
195 if ( test_bit(GIC_IRQ_GUEST_ENABLED, &p->status) && in gic_update_one_lr()
229 if ( test_bit(GIC_IRQ_GUEST_ENABLED, &p->status) && in gic_update_one_lr()
230 test_bit(GIC_IRQ_GUEST_QUEUED, &p->status) && in gic_update_one_lr()
231 !test_bit(GIC_IRQ_GUEST_MIGRATING, &p->status) ) in gic_update_one_lr()
242 if ( test_bit(GIC_IRQ_GUEST_MIGRATING, &p->status) ) in gic_update_one_lr()
303 if ( test_bit(GIC_IRQ_GUEST_VISIBLE, &p_r->status) && in gic_restore_pending_irqs()
304 !test_bit(GIC_IRQ_GUEST_ACTIVE, &p_r->status) ) in gic_restore_pending_irqs()
383 if ( test_bit(GIC_IRQ_GUEST_ENABLED, &p->status) ) in vgic_vcpu_pending_irq()
[all …]
A Dirq.c147 ASSERT(test_bit(_IRQ_GUEST, &desc->status)); in irq_get_guest_info()
229 if ( test_bit(_IRQ_GUEST, &desc->status) ) in do_IRQ()
246 if ( test_bit(_IRQ_DISABLED, &desc->status) ) in do_IRQ()
312 do { smp_mb(); } while ( test_bit(_IRQ_INPROGRESS, &desc->status) ); in release_irq()
329 if ( desc->action != NULL && (!test_bit(_IRQF_SHARED, &desc->status) || !shared) ) in __setup_irq()
356 if ( test_bit(_IRQ_GUEST, &desc->status) ) in setup_irq()
482 if ( test_bit(_IRQ_GUEST, &desc->status) ) in route_irq_to_guest()
551 if ( !test_bit(_IRQ_GUEST, &desc->status) ) in release_guest_irq()
A Dgic.c105 ASSERT(test_bit(_IRQ_DISABLED, &desc->status)); in gic_set_irq_type()
124 ASSERT(test_bit(_IRQ_DISABLED, &desc->status)); in gic_route_irq_to_xen()
176 ASSERT(test_bit(_IRQ_GUEST, &desc->status)); in gic_remove_irq_from_guest()
189 if ( test_bit(_IRQ_INPROGRESS, &desc->status) ) in gic_remove_irq_from_guest()
A Dvgic.c274 if ( test_bit(GIC_IRQ_GUEST_MIGRATING, &p->status) ) in vgic_migrate_irq()
331 if ( v_target == v && !test_bit(GIC_IRQ_GUEST_MIGRATING, &p->status) ) in arch_move_irqs()
405 if ( !list_empty(&p->inflight) && !test_bit(GIC_IRQ_GUEST_VISIBLE, &p->status) ) in vgic_enable_irqs()
561 if ( test_bit(_VPF_down, &v->pause_flags) ) in vgic_inject_irq()
579 if ( test_bit(GIC_IRQ_GUEST_ENABLED, &n->status) ) in vgic_inject_irq()
A Dvpsci.c43 if ( !test_bit(_VPF_down, &v->pause_flags) ) in do_common_cpu_on()
187 && ( !test_bit(_VPF_down, &v->pause_flags) ) ) in do_psci_0_2_affinity_info()
/xen/tools/libxc/
A Dxc_bitops.h37 static inline int test_bit(int nr, const void *_addr) in test_bit() function
57 int oldbit = test_bit(nr, addr); in test_and_clear_bit()
64 int oldbit = test_bit(nr, addr); in test_and_set_bit()
A Dxc_cpuid_x86.c389 val = test_bit(31 - j, max_reg); in xc_cpuid_xend_policy()
392 val = test_bit(31 - j, host_reg); in xc_cpuid_xend_policy()
506 p->basic.rdrand = test_bit(X86_FEATURE_RDRAND, host_featureset); in xc_cpuid_apply_policy()
510 p->feat.mpx = test_bit(X86_FEATURE_MPX, host_featureset); in xc_cpuid_apply_policy()
544 if ( !test_bit(b, disabled_features) || in xc_cpuid_apply_policy()
569 p->basic.htt = test_bit(X86_FEATURE_HTT, host_featureset); in xc_cpuid_apply_policy()
570 p->extd.cmp_legacy = test_bit(X86_FEATURE_CMP_LEGACY, host_featureset); in xc_cpuid_apply_policy()
/xen/xen/common/
A Dvmap.c67 ASSERT(vm_low[t] == vm_top[t] || !test_bit(vm_low[t], vm_bitmap(t))); in vm_alloc()
132 ASSERT(!test_bit(bit, vm_bitmap(t))); in vm_alloc()
156 return !test_bit(idx - 1, vm_bitmap(type)) && in vm_index()
157 test_bit(idx, vm_bitmap(type)) ? idx : 0; in vm_index()
193 while ( !test_bit(vm_low[type] - 1, vm_bitmap(type)) ) in vm_free()
A Dkexec.c379 pos = (test_bit(KEXEC_FLAG_CRASH_POS, &kexec_flags) != 0); in kexec_crash()
380 if ( !test_bit(KEXEC_IMAGE_CRASH_BASE + pos, &kexec_flags) ) in kexec_crash()
829 pos = (test_bit(bit, &kexec_flags) != 0); in kexec_exec()
832 if ( !test_bit(base + pos, &kexec_flags) ) in kexec_exec()
857 if ( test_bit(KEXEC_FLAG_IN_PROGRESS, &kexec_flags) ) in kexec_swap_images()
863 ASSERT(test_bit(KEXEC_FLAG_IN_HYPERCALL, &kexec_flags)); in kexec_swap_images()
865 pos = (test_bit(bit, &kexec_flags) != 0); in kexec_swap_images()
1210 return !!test_bit(bit, &kexec_flags); in kexec_status()
A Dpdx.c40 likely(test_bit(pfn_to_pdx(mfn) / PDX_GROUP_COUNT, in __mfn_valid()
A Devent_2l.c93 printk("%d", !!test_bit(evtchn->port / BITS_PER_EVTCHN_WORD(d), in evtchn_2l_print_state()
/xen/tools/xenpaging/
A Dpolicy_default.c106 if ( test_bit(current_gfn, bitmap) ) in policy_choose_victim()
110 if ( test_bit(current_gfn, unconsumed) ) in policy_choose_victim()
/xen/tools/libxl/
A Dlibxl_x86_acpi.h22 static inline int test_bit(unsigned int b, const void *p) in test_bit() function
/xen/xen/include/asm-x86/
A Dguest_atomics.h13 #define guest_test_bit(d, nr, p) ((void)(d), test_bit(nr, p))
A Dcpufeature.h22 #define cpu_has(c, bit) test_bit(bit, (c)->x86_capability)
23 #define boot_cpu_has(bit) test_bit(bit, boot_cpu_data.x86_capability)
A Dmpspec.h43 #define physid_isset(physid, map) test_bit(physid, (map).mask)
/xen/xen/drivers/passthrough/vtd/x86/
A Dhvm.c61 if ( dpci && test_bit(isairq, dpci->isairq_map) ) in hvm_dpci_isairq_eoi()
/xen/xen/lib/x86/
A Dprivate.h31 static inline bool test_bit(unsigned int bit, const void *vaddr) in test_bit() function
/xen/xen/xsm/
A Dxsm_policy.c50 if ( !test_bit(i, module_map) ) in xsm_multiboot_policy_init()
/xen/xen/arch/x86/cpu/mcheck/
A Dx86_mca.h125 return test_bit(bit, banks->bank_map); in mcabanks_test()
/xen/tools/tests/vpci/
A Demul.h97 #define test_bit(...) false macro
/xen/tools/libacpi/
A DREADME11 * test_bit
/xen/xen/arch/x86/
A Dmonitor.c125 return test_bit(msr, bitmap); in monitored_msr()
140 return test_bit(msr + sizeof(struct monitor_msr_bitmap) * 8, bitmap); in monitored_msr_onchangeonly()
/xen/xen/include/asm-arm/
A Dguest_atomics.h68 #define guest_test_bit(d, nr, p) ((void)(d), test_bit(nr, p)) in guest_bitop()
A Dbitops.h135 static inline int test_bit(int nr, const volatile void *addr) in test_bit() function

Completed in 41 milliseconds

1234