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

/linux-4.4.14/arch/um/os-Linux/
H A Dirq.c23 int os_waiting_for_events(struct irq_fd *active_fds) os_waiting_for_events()
25 struct irq_fd *irq_fd; os_waiting_for_events() local
40 irq_fd = active_fds; os_waiting_for_events()
44 irq_fd->current_events = pollfds[i].revents; os_waiting_for_events()
47 irq_fd = irq_fd->next; os_waiting_for_events()
79 void os_free_irq_by_cb(int (*test)(struct irq_fd *, void *), void *arg, os_free_irq_by_cb()
80 struct irq_fd *active_fds, struct irq_fd ***last_irq_ptr2) os_free_irq_by_cb()
82 struct irq_fd **prev; os_free_irq_by_cb()
88 struct irq_fd *old_fd = *prev; os_free_irq_by_cb()
/linux-4.4.14/arch/um/include/shared/
H A Dirq_user.h11 struct irq_fd { struct
12 struct irq_fd *next;
H A 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,
/linux-4.4.14/arch/um/kernel/
H A 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; sigio_handler() local
46 for (irq_fd = active_fds; irq_fd != NULL; sigio_handler()
47 irq_fd = irq_fd->next) { sigio_handler()
48 if (irq_fd->current_events != 0) { sigio_handler()
49 irq_fd->current_events = 0; sigio_handler()
50 do_IRQ(irq_fd->irq, regs); sigio_handler()
63 struct irq_fd *new_fd, *irq_fd; activate_fd() local
72 new_fd = kmalloc(sizeof(struct irq_fd), GFP_KERNEL); activate_fd()
79 *new_fd = ((struct irq_fd) { .next = NULL, activate_fd()
89 for (irq_fd = active_fds; irq_fd != NULL; irq_fd = irq_fd->next) { activate_fd()
90 if ((irq_fd->fd == fd) && (irq_fd->type == type)) { activate_fd()
92 printk(KERN_ERR "Irqs : %d, %d\n", irq_fd->irq, irq); activate_fd()
93 printk(KERN_ERR "Ids : 0x%p, 0x%p\n", irq_fd->id, activate_fd()
153 static void free_irq_by_cb(int (*test)(struct irq_fd *, void *), void *arg) free_irq_by_cb()
167 static int same_irq_and_dev(struct irq_fd *irq, void *d) same_irq_and_dev()
182 static int same_fd(struct irq_fd *irq, void *fd) same_fd()
193 static struct irq_fd *find_irq_by_fd(int fd, int irqnum, int *index_out) find_irq_by_fd()
195 struct irq_fd *irq; find_irq_by_fd()
224 struct irq_fd *irq; reactivate_fd()
242 struct irq_fd *irq; deactivate_fd()
268 struct irq_fd *irq; deactivate_all_fds()

Completed in 92 milliseconds