Home
last modified time | relevance | path

Searched refs:devfd (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_sg01.c35 static int devfd = -1; variable
86 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()
/third_party/lwip/src/netif/ppp/
Dauth.c566 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()