Searched defs:devfd (Results 1 - 5 of 5) sorted by relevance
/external/oprofile/libutil/ |
H A D | op_deviceio.c | 28 ssize_t op_read_device(fd_t devfd, void * buf, size_t size) argument 32 lseek(devfd, 0, SEEK_SET); 34 count = read(devfd, buf, size);
|
/external/oprofile/daemon/ |
H A D | 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/oprofile/daemon/liblegacy/ |
H A D | 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/qemu/distrib/sdl-1.2.12/src/cdrom/beos/ |
H A D | 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/ |
H A D | main.c | 172 int devfd = -1; /* fd of underlying device */ variable 546 devfd = -1; 1171 the_channel->disestablish_ppp(devfd); 1570 close(devfd); /* some plugins don't have a close function */
|
Completed in 495 milliseconds