Searched refs:file_fd (Results 1 – 2 of 2) sorted by relevance
198 int file_fd; in create() local200 if ((file_fd = open(loopFile, O_RDWR | O_CLOEXEC)) < 0) { in create()206 if (ioctl(fd, LOOP_SET_FD, file_fd) < 0) { in create()208 close(file_fd); in create()221 close(file_fd); in create()227 close(file_fd); in create()
751 int file_fd = open(file, O_RDONLY | O_BINARY); in write_file_chunk() local752 if (file_fd < 0) { in write_file_chunk()756 ret = write_fd_chunk(out, len, file_fd, offset); in write_file_chunk()758 close(file_fd); in write_file_chunk()