Home
last modified time | relevance | path

Searched refs:irq_fd (Results 1 – 4 of 4) sorted by relevance

/arch/um/kernel/
Dirq.c28 static struct irq_fd *active_fds = NULL;
29 static struct irq_fd **last_irq_ptr = &active_fds;
35 struct irq_fd *irq_fd; in sigio_handler() local
46 for (irq_fd = active_fds; irq_fd != NULL; in sigio_handler()
47 irq_fd = irq_fd->next) { in sigio_handler()
48 if (irq_fd->current_events != 0) { in sigio_handler()
49 irq_fd->current_events = 0; in sigio_handler()
50 do_IRQ(irq_fd->irq, regs); in sigio_handler()
63 struct irq_fd *new_fd, *irq_fd; in activate_fd() local
72 new_fd = kmalloc(sizeof(struct irq_fd), GFP_KERNEL); in activate_fd()
[all …]
/arch/um/os-Linux/
Dirq.c23 int os_waiting_for_events(struct irq_fd *active_fds) in os_waiting_for_events()
25 struct irq_fd *irq_fd; in os_waiting_for_events() local
40 irq_fd = active_fds; in os_waiting_for_events()
44 irq_fd->current_events = pollfds[i].revents; in os_waiting_for_events()
47 irq_fd = irq_fd->next; in os_waiting_for_events()
79 void os_free_irq_by_cb(int (*test)(struct irq_fd *, void *), void *arg, in os_free_irq_by_cb() argument
80 struct irq_fd *active_fds, struct irq_fd ***last_irq_ptr2) in os_free_irq_by_cb()
82 struct irq_fd **prev; in os_free_irq_by_cb()
88 struct irq_fd *old_fd = *prev; in os_free_irq_by_cb()
/arch/um/include/shared/
Dirq_user.h11 struct irq_fd { struct
12 struct irq_fd *next; argument
Dos.h288 extern int os_waiting_for_events(struct irq_fd *active_fds);
290 extern void os_free_irq_by_cb(int (*test)(struct irq_fd *, void *), void *arg,
291 struct irq_fd *active_fds, struct irq_fd ***last_irq_ptr2);
292 extern void os_free_irq_later(struct irq_fd *active_fds,