Searched refs:event_sd (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/char/
H A Dsnsc_event.c26 static struct subch_data_s *event_sd; variable in typeref:struct:subch_data_s
240 struct subch_data_s *sd = event_sd; scdrv_event()
272 event_sd = kzalloc(sizeof (struct subch_data_s), GFP_KERNEL); scdrv_event_init()
273 if (event_sd == NULL) { scdrv_event_init()
280 event_sd->sd_nasid = scd->scd_nasid; scdrv_event_init()
281 spin_lock_init(&event_sd->sd_rlock); scdrv_event_init()
284 event_sd->sd_subch = ia64_sn_sysctl_event_init(scd->scd_nasid); scdrv_event_init()
286 if (event_sd->sd_subch < 0) { scdrv_event_init()
287 kfree(event_sd); scdrv_event_init()
295 IRQF_SHARED, "system controller events", event_sd); scdrv_event_init()
299 ia64_sn_irtr_close(event_sd->sd_nasid, event_sd->sd_subch); scdrv_event_init()
300 kfree(event_sd); scdrv_event_init()

Completed in 184 milliseconds