Searched refs:loop_fd (Results 1 – 3 of 3) sorted by relevance
/external/syslinux/linux/ |
D | syslinux.c | 82 int loop_fd = -1; /* Loop device */ variable 90 if (loop_fd != -1) { in die() 91 ioctl(loop_fd, LOOP_CLR_FD, 0); /* Free loop device */ in die() 92 close(loop_fd); in die() 93 loop_fd = -1; in die() 121 int loop_fd; in do_mount() local 123 for (n = 0; loop_fd < 0; n++) { in do_mount() 125 loop_fd = open(devfdname, O_RDWR); in do_mount() 126 if (loop_fd < 0 && errno == ENOENT) { in do_mount() 129 if (ioctl(loop_fd, LOOP_SET_FD, (void *)dev_fd)) { in do_mount() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | ismounted.c | 70 int loop_fd, ret; in check_loop_mounted() local 73 loop_fd = open(mnt_fsname, O_RDONLY); in check_loop_mounted() 74 if (loop_fd < 0) in check_loop_mounted() 77 ret = ioctl(loop_fd, LOOP_GET_STATUS64, &loopinfo); in check_loop_mounted() 78 close(loop_fd); in check_loop_mounted()
|
/external/adhd/cras/src/tests/ |
D | cras_router.c | 121 int loop_fd, in run_file_io_stream() argument 161 *pfd1 = loop_fd; in run_file_io_stream()
|