Lines Matching full:sbfd
366 int sbfd = open(loopDevice, O_RDWR);367 if (sbfd < 0) {377 if (lseek(sbfd, (numImgSectors * 512), SEEK_SET) < 0) {378 close(sbfd);388 if (write(sbfd, &sb, sizeof(sb)) != sizeof(sb)) {389 close(sbfd);398 close(sbfd);