Home | History | Annotate | Download | only in other

Lines Matching refs:lfd

64   int lfd = -1, ffd = ffd;
67 // Open file (ffd) and loop device (lfd)
84 if (device) lfd = open(device, TT.openflags);
88 if (-1 == lfd || ioctl(lfd, LOOP_GET_STATUS64, loop)) {
103 if (ioctl(lfd, (flags & FLAG_c) ? 0x4C07 : LOOP_CLR_FD, 0)) {
112 if (ioctl(lfd, LOOP_SET_FD, ffd)) perror_exit("%s=%s", device, file);
117 if (ioctl(lfd, LOOP_SET_STATUS64, loop)) perror_exit("%s=%s", device, file);
131 if (lfd != -1) close(lfd);