Lines Matching refs:fd
417 int fd;
840 int dfd, fd;
844 fd = openat(dfd, "uevent", O_WRONLY);
845 if(fd >= 0) {
846 write(fd, "add\n", 4);
847 close(fd);
857 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
858 if(fd < 0)
861 d2 = fdopendir(fd);
863 close(fd);
884 int fd;
905 fd = open(coldboot_done, O_WRONLY|O_CREAT, 0000);
906 close(fd);