Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dlapic.h148 #define REG_POS(v) (((v) >> 5) << 4) macro
152 clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in kvm_lapic_clear_vector()
157 set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in kvm_lapic_set_vector()
Dlapic.c109 return test_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in apic_test_vector()
122 return __test_and_set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in __apic_test_and_set_vector()
127 return __test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); in __apic_test_and_clear_vector()
473 reg = bitmap + REG_POS(vec); in find_highest_vector()
488 reg = bitmap + REG_POS(vec); in count_vectors()