Lines Matching full:dev_fd
37 dev_fd(-1), data_fd(-1)48 if (dev_fd >= 0) {49 close(dev_fd);54 if (dev_fd<0 && dev_name) {55 dev_fd = open(dev_name, O_RDONLY);56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));62 if (dev_fd >= 0) {63 close(dev_fd);64 dev_fd = -1;71 return dev_fd;