Lines Matching defs:fd
261 close_device (int *fd)263 if (*fd > 0) {264 close (*fd);265 *fd = -1;323 int fd = -1;375 close_device (&fd);377 } else if ((fd < 0) && ((fd = open (raw_device_file, O_RDONLY | O_NONBLOCK)) < 0)) {385 if (ioctl (fd, DKIOCSTATE, &state) == 0) {426 close_device (&fd);