/external/oprofile/libutil/ |
op_deviceio.c | 28 ssize_t op_read_device(fd_t devfd, void * buf, size_t size) 32 lseek(devfd, 0, SEEK_SET); 34 count = read(devfd, buf, size);
|
op_deviceio.h | 34 * @param devfd file descriptor of device 51 ssize_t op_read_device(fd_t devfd, void * buf, size_t size);
|
/external/oprofile/daemon/liblegacy/ |
init.c | 43 static fd_t devfd; variable 79 devfd = op_open_device(op_device); 80 if (devfd == -1) { 127 if (fcntl(devfd, F_SETFL, fcntl(devfd, F_GETFL) | O_NONBLOCK) < 0) { 146 count = op_read_device(devfd, buf, size); 173 count = op_read_device(devfd, buf, size);
|
/external/oprofile/daemon/ |
init.c | 51 static fd_t devfd; variable 72 devfd = op_open_device("/dev/oprofile/buffer"); 73 if (devfd == -1) { 213 count = op_read_device(devfd, buf, size);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/beos/ |
SDL_syscdrom.cc | 230 int devfd = try_dir(name); local 231 if(devfd >= 0) 232 return devfd; 235 int devfd; local 241 devfd = open(name, O_RDONLY); 242 if(devfd < 0) 245 if(ioctl(devfd, B_GET_GEOMETRY, &g, sizeof(g)) >= 0) { 251 close(devfd);
|
/external/ppp/pppd/ |
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; [all...] |
main.c | 172 int devfd = -1; /* fd of underlying device */ variable 546 devfd = -1; 1171 the_channel->disestablish_ppp(devfd); [all...] |
pppd.h | 218 extern int devfd; /* fd of underlying device */ [all...] |