HomeSort by relevance Sort by last modified time
    Searched refs:file_fd (Results 1 - 4 of 4) sorted by null

  /system/core/toolbox/
mount.c 140 int file_fd, device_fd; local
146 file_fd = open(dev, flags);
147 if (file_fd < -1) {
154 close(file_fd);
157 if (ioctl(device_fd, LOOP_SET_FD, file_fd) < 0) {
159 close(file_fd);
164 close(file_fd);
  /system/vold/
Loop.cpp 173 int file_fd; local
175 if ((file_fd = open(loopFile, O_RDWR)) < 0) {
181 if (ioctl(fd, LOOP_SET_FD, file_fd) < 0) {
183 close(file_fd);
196 close(file_fd);
202 close(file_fd);
  /system/extras/ext4_utils/
output_file.c 397 int file_fd = open(file, O_RDONLY); local
398 if (file_fd < 0) {
403 u8 *data = mmap(NULL, len, PROT_READ, MAP_SHARED, file_fd, offset);
406 close(file_fd);
424 close(file_fd);
428 close(file_fd);
  /system/extras/tests/framebuffer/
mdp_test.c 231 int file_fd; local
235 if (open_file(optarg, &file_fd, &file_len, &src_fmt) < 0) {
241 close(file_fd);
247 bytes = read(file_fd, ptr, file_len);

Completed in 53 milliseconds