Lines Matching refs:sh
148 struct shared_info *sh, in active_evtchns() argument
151 return sh->evtchn_pending[idx] & in active_evtchns()
153 ~sh->evtchn_mask[idx]; in active_evtchns()
266 struct shared_info *sh = HYPERVISOR_shared_info; in xen_debug_interrupt() local
292 for (i = ARRAY_SIZE(sh->evtchn_pending)-1; i >= 0; i--) in xen_debug_interrupt()
294 (int)sizeof(sh->evtchn_pending[0])*2, in xen_debug_interrupt()
295 sh->evtchn_pending[i], in xen_debug_interrupt()
298 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--) in xen_debug_interrupt()
300 (int)(sizeof(sh->evtchn_mask[0])*2), in xen_debug_interrupt()
301 sh->evtchn_mask[i], in xen_debug_interrupt()
305 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--) in xen_debug_interrupt()
307 (int)(sizeof(sh->evtchn_mask[0])*2), in xen_debug_interrupt()
308 sh->evtchn_pending[i] & ~sh->evtchn_mask[i], in xen_debug_interrupt()
318 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--) { in xen_debug_interrupt()
319 xen_ulong_t pending = sh->evtchn_pending[i] in xen_debug_interrupt()
320 & ~sh->evtchn_mask[i] in xen_debug_interrupt()
323 (int)(sizeof(sh->evtchn_mask[0])*2), in xen_debug_interrupt()
329 if (sync_test_bit(i, BM(sh->evtchn_pending))) { in xen_debug_interrupt()
336 !sync_test_bit(i, BM(sh->evtchn_mask)) in xen_debug_interrupt()