Home
last modified time | relevance | path

Searched refs:VEC_POS (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/
Dlapic.h113 #define VEC_POS(v) ((v) & (32 - 1)) macro
118 set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in kvm_lapic_set_vector()
Dlapic.c77 return test_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in apic_test_vector()
90 clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in apic_clear_vector()
95 return __test_and_set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in __apic_test_and_set_vector()
100 return __test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in __apic_test_and_clear_vector()