Lines Matching defs:data
20 static irqreturn_t xterm_interrupt(int irq, void *data)
22 struct xterm_wait *xterm = data;
37 struct xterm_wait *data;
40 data = kmalloc(sizeof(*data), GFP_KERNEL);
41 if (data == NULL) {
47 *data = ((struct xterm_wait) { .fd = socket,
50 init_completion(&data->ready);
53 IRQF_SHARED, "xterm", data);
65 wait_for_completion(&data->ready);
67 um_free_irq(XTERM_IRQ, data);
69 ret = data->new_fd;
70 *pid_out = data->pid;
72 kfree(data);