Lines Matching refs:gisa
246 static inline int gisa_set_iam(struct kvm_s390_gisa *gisa, u8 iam) in gisa_set_iam() argument
251 word = READ_ONCE(gisa->u64.word[0]); in gisa_set_iam()
252 if ((u64)gisa != word >> 32) in gisa_set_iam()
255 } while (cmpxchg(&gisa->u64.word[0], word, _word) != word); in gisa_set_iam()
269 static inline void gisa_clear_ipm(struct kvm_s390_gisa *gisa) in gisa_clear_ipm() argument
274 word = READ_ONCE(gisa->u64.word[0]); in gisa_clear_ipm()
276 } while (cmpxchg(&gisa->u64.word[0], word, _word) != word); in gisa_clear_ipm()
306 static inline int gisa_in_alert_list(struct kvm_s390_gisa *gisa) in gisa_in_alert_list() argument
308 return READ_ONCE(gisa->next_alert) != (u32)(u64)gisa; in gisa_in_alert_list()
311 static inline void gisa_set_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_set_ipm_gisc() argument
313 set_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_set_ipm_gisc()
316 static inline u8 gisa_get_ipm(struct kvm_s390_gisa *gisa) in gisa_get_ipm() argument
318 return READ_ONCE(gisa->ipm); in gisa_get_ipm()
321 static inline void gisa_clear_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_clear_ipm_gisc() argument
323 clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_clear_ipm_gisc()
326 static inline int gisa_tac_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_tac_ipm_gisc() argument
328 return test_and_clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_tac_ipm_gisc()
3091 container_of(gi->origin, struct sie_page2, gisa)->kvm; in gisa_vcpu_kicker()
3111 struct kvm_s390_gisa *gisa; in process_gib_alert_list() local
3139 gisa = (struct kvm_s390_gisa *)(u64)origin; in process_gib_alert_list()
3140 origin = gisa->next_alert; in process_gib_alert_list()
3141 gisa->next_alert = (u32)(u64)gisa; in process_gib_alert_list()
3142 kvm = container_of(gisa, struct sie_page2, gisa)->kvm; in process_gib_alert_list()
3168 gi->origin = &kvm->arch.sie_page2->gisa; in kvm_s390_gisa_init()
3205 struct kvm_s390_gisa *gisa = gi->origin; in kvm_s390_gisa_destroy() local
3216 VM_EVENT(kvm, 3, "gisa 0x%pK destroyed", gisa); in kvm_s390_gisa_destroy()