Home
last modified time | relevance | path

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

/external/oprofile/daemon/liblegacy/
Dinit.c43 static fd_t devfd; variable
79 devfd = op_open_device(op_device); in op_open_files()
80 if (devfd == -1) { in op_open_files()
127 if (fcntl(devfd, F_SETFL, fcntl(devfd, F_GETFL) | O_NONBLOCK) < 0) { in opd_shutdown()
146 count = op_read_device(devfd, buf, size); in opd_shutdown()
173 count = op_read_device(devfd, buf, size); in opd_do_read()
/external/oprofile/libutil/
Dop_deviceio.c28 ssize_t op_read_device(fd_t devfd, void * buf, size_t size) in op_read_device() argument
32 lseek(devfd, 0, SEEK_SET); in op_read_device()
34 count = read(devfd, buf, size); in op_read_device()
Dop_deviceio.h51 ssize_t op_read_device(fd_t devfd, void * buf, size_t size);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
DSDL_syscdrom.cc228 int devfd = try_dir(name); in try_dir() local
229 if(devfd >= 0) in try_dir()
230 return devfd; in try_dir()
233 int devfd; in try_dir() local
239 devfd = open(name, O_RDONLY); in try_dir()
240 if(devfd < 0) in try_dir()
243 if(ioctl(devfd, B_GET_GEOMETRY, &g, sizeof(g)) >= 0) { in try_dir()
249 close(devfd); in try_dir()
/external/oprofile/daemon/
Dinit.c51 static fd_t devfd; variable
72 devfd = op_open_device("/dev/oprofile/buffer"); in opd_open_files()
73 if (devfd == -1) { in opd_open_files()
213 count = op_read_device(devfd, buf, size); in opd_do_read()
/external/ppp/pppd/
Dauth.c537 devfd = the_channel->connect();
538 if (devfd < 0)
549 fd_ppp = the_channel->establish_ppp(devfd);
627 the_channel->disestablish_ppp(devfd);
641 if (devfd >= 0 && the_channel->disconnect) {
643 devfd = -1;
Dmain.c172 int devfd = -1; /* fd of underlying device */ variable
546 devfd = -1;
1171 the_channel->disestablish_ppp(devfd); in cleanup()
1570 close(devfd); /* some plugins don't have a close function */ in safe_fork()
Dpppd.h218 extern int devfd; /* fd of underlying device */