Searched refs:thread_fd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/um/drivers/ |
H A D | chan_user.c | 279 int pid, thread, count, thread_fd = -1; in register_winch() local 292 thread = winch_tramp(fd, port, &thread_fd, &stack); in register_winch() 296 register_winch_irq(thread_fd, fd, thread, port, stack); in register_winch() 298 count = write(thread_fd, &c, sizeof(c)); in register_winch()
|
H A D | ubd_kern.c | 404 static int thread_fd = -1; variable 475 while ((len = bulk_req_safe_read(thread_fd, irq_req_buffer, in ubd_intr() 1128 io_pid = start_io_thread(stack + PAGE_SIZE, &thread_fd); in ubd_driver_init() 1136 err = um_request_irq(UBD_IRQ, thread_fd, IRQ_READ, ubd_intr, in ubd_driver_init() 1325 ret = os_write_file(thread_fd, &io_req, sizeof(io_req)); in ubd_submit_request()
|