/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.15/src/cdrom/beos/ |
SDL_syscdrom.cc | 228 int devfd = try_dir(name); local 229 if(devfd >= 0) 230 return devfd; 233 int devfd; local 239 devfd = open(name, O_RDONLY); 240 if(devfd < 0) 243 if(ioctl(devfd, B_GET_GEOMETRY, &g, sizeof(g)) >= 0) { 249 close(devfd);
|
/external/ppp/pppd/ |
main.c | 172 int devfd = -1; /* fd of underlying device */ variable 546 devfd = -1; 1171 the_channel->disestablish_ppp(devfd); [all...] |