Lines Matching full:sbfd
99 int sbfd = open(name, O_RDWR | O_CLOEXEC);100 if (sbfd < 0) {105 if (lseek(sbfd, (numImgSectors * 512), SEEK_SET) < 0) {107 close(sbfd);111 if (write(sbfd, sb, sizeof(struct asec_superblock)) != sizeof(struct asec_superblock)) {113 close(sbfd);116 close(sbfd);