Searched refs:pfds (Results 1 – 1 of 1) sorted by relevance
45 static union intr_pipefds pfds; variable65 if (pipe(pfds.pipefd) < 0) in test_interrupt_init()72 intr_handles[TEST_INTERRUPT_HANDLE_VALID].fd = pfds.readfd; in test_interrupt_init()76 intr_handles[TEST_INTERRUPT_HANDLE_VALID_UIO].fd = pfds.readfd; in test_interrupt_init()80 intr_handles[TEST_INTERRUPT_HANDLE_VALID_ALARM].fd = pfds.readfd; in test_interrupt_init()84 intr_handles[TEST_INTERRUPT_HANDLE_VALID_DEV_EVENT].fd = pfds.readfd; in test_interrupt_init()88 intr_handles[TEST_INTERRUPT_HANDLE_CASE1].fd = pfds.writefd; in test_interrupt_init()100 close(pfds.pipefd[0]); in test_interrupt_deinit()101 close(pfds.pipefd[1]); in test_interrupt_deinit()112 if (write(pfds.writefd, "1", 1) < 0) in test_interrupt_trigger_interrupt()