Searched refs:devfd (Results 1 – 2 of 2) sorted by relevance
35 static int devfd = -1; variable86 devfd = SAFE_OPEN(devpath, O_RDONLY); in setup()97 if (devfd >= 0) in cleanup()98 SAFE_CLOSE(devfd); in cleanup()108 TEST(ioctl(devfd, SG_IO, &query)); in run()
566 devfd = the_channel->connect();568 if (devfd < 0)579 fd_ppp = the_channel->establish_ppp(devfd);664 the_channel->disestablish_ppp(devfd); in link_terminated()678 if (devfd >= 0 && the_channel->disconnect) { in link_terminated()680 devfd = -1; in link_terminated()