Searched refs:ffd (Results 1 - 2 of 2) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/
H A Dloop.c57 int fd, ffd, mode; local
60 if ((ffd = open(file, mode)) < 0 && !*loopro
61 && (errno != EROFS || (ffd = open(file, mode = O_RDONLY)) < 0)) {
66 close(ffd);
78 if (ioctl(fd, LOOP_SET_FD, ffd) < 0) {
81 close(ffd);
88 close(ffd);
92 close(ffd);
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dutility.c1462 int fd, ffd, mode; local
1465 if ((ffd = open(file, mode)) < 0 && !*loopro
1466 && (errno != EROFS || (ffd = open(file, mode = O_RDONLY)) < 0)) {
1471 close(ffd);
1483 if (ioctl(fd, LOOP_SET_FD, ffd) < 0) {
1486 close(ffd);
1493 close(ffd);
1497 close(ffd);

Completed in 39 milliseconds