Searched refs:file_fd (Results 1 - 3 of 3) sorted by relevance
/system/core/toolbox/ |
H A D | mount.c | 172 int file_fd, device_fd; local 177 file_fd = open(dev, flags); 178 if (file_fd < 0) { 185 close(file_fd); 188 if (ioctl(device_fd, LOOP_SET_FD, file_fd) < 0) { 190 close(file_fd); 195 close(file_fd);
|
/system/vold/ |
H A D | Loop.cpp | 177 int file_fd; local 179 if ((file_fd = open(loopFile, O_RDWR)) < 0) { 185 if (ioctl(fd, LOOP_SET_FD, file_fd) < 0) { 187 close(file_fd); 200 close(file_fd); 206 close(file_fd);
|
/system/core/libsparse/ |
H A D | output_file.c | 760 int file_fd = open(file, O_RDONLY | O_BINARY); local 761 if (file_fd < 0) { 765 ret = write_fd_chunk(out, len, file_fd, offset); 767 close(file_fd);
|
Completed in 45 milliseconds