Searched refs:devfd (Results 1 – 4 of 4) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 26 int devfd, memfd, buf, ret; in main() local 30 devfd = open("/dev/udmabuf", O_RDWR); in main() 31 if (devfd < 0) { in main() 62 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() 72 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() 82 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() 92 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() 101 close(devfd); in main()
|
/external/ppp/pppd/ |
D | auth.c | 560 devfd = the_channel->connect(); 561 if (devfd < 0) 572 fd_ppp = the_channel->establish_ppp(devfd); 647 the_channel->disestablish_ppp(devfd); 661 if (devfd >= 0 && the_channel->disconnect) { 663 devfd = -1;
|
D | main.c | 171 int devfd = -1; /* fd of underlying device */ variable 520 devfd = -1; 1212 the_channel->disestablish_ppp(devfd); in cleanup() 1624 close(devfd); /* some plugins don't have a close function */ in safe_fork()
|
D | pppd.h | 219 extern int devfd; /* fd of underlying device */
|