Searched refs:devfd (Results 1 – 8 of 8) sorted by relevance
/external/oprofile/daemon/liblegacy/ |
D | init.c | 43 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/ |
D | op_deviceio.c | 28 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()
|
D | op_deviceio.h | 51 ssize_t op_read_device(fd_t devfd, void * buf, size_t size);
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/ |
D | SDL_syscdrom.cc | 228 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/ |
D | init.c | 51 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/ |
D | auth.c | 537 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;
|
D | main.c | 172 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()
|
D | pppd.h | 218 extern int devfd; /* fd of underlying device */
|