Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 22 of 22) sorted by relevance

/bootable/recovery/
Dfuse_sideload.c97 static void fuse_reply(struct fuse_data* fd, __u64 unique, const void *data, size_t len) in fuse_reply()
118 static int handle_init(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) { in handle_init()
159 static void fill_attr(struct fuse_attr* attr, struct fuse_data* fd, in fill_attr()
173 static int handle_getattr(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) { in handle_getattr()
193 static int handle_lookup(void* data, struct fuse_data* fd, in handle_lookup()
218 static int handle_open(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) { in handle_open()
231 static int handle_flush(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) { in handle_flush()
235 static int handle_release(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) { in handle_release()
241 static int fetch_block(struct fuse_data* fd, uint32_t block) { in fetch_block()
294 static int handle_read(void* data, struct fuse_data* fd, const struct fuse_in_header* hdr) { in handle_read()
[all …]
Dfuse_sdcard_provider.c30 int fd; // the underlying sdcard file member
37 struct file_data* fd = (struct file_data*)cookie; in read_block_file() local
59 struct file_data* fd = (struct file_data*)cookie; in close_file() local
79 struct file_data fd; in run_sdcard_fuse() local
Dui.cpp68 int RecoveryUI::InputCallback(int fd, uint32_t epevents, void* data) { in InputCallback()
90 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent()
245 int fd = open("/sys/class/android_usb/android0/state", O_RDONLY); in IsUsbConnected() local
Dadb_install.cpp40 int fd = open("/sys/class/android_usb/android0/enable", O_WRONLY); in set_usb_driver() local
Droots.cpp219 int fd = open(v->key_loc, O_WRONLY | O_CREAT, 0644); in format_volume() local
Dinstall.cpp61 int fd = creat(binary, 0755); in try_update_binary() local
/bootable/recovery/minzip/
DSysUtil.c22 static int getFileStartAndLength(int fd, off_t *start_, size_t *length_) in getFileStartAndLength()
60 static int sysMapFD(int fd, MemMapping* pMap) in sysMapFD()
130 int fd = open(block_dev, O_RDONLY); in sysMapBlockFile() local
183 int fd = open(fn, O_RDONLY, 0); in sysMapFile() local
DZip.c672 int fd = (int)(intptr_t)cookie; in writeProcessFunction() local
699 const ZipEntry *pEntry, int fd) in mzExtractZipEntryToFile()
978 int fd = open(targetFile, O_CREAT|O_WRONLY|O_TRUNC|O_SYNC, in mzExtractRecursive() local
/bootable/recovery/minui/
Devents.cpp37 int fd; member
72 int fd = openat(dirfd(dir), de->d_name, O_RDONLY); in ev_init() local
120 int ev_add_fd(int fd, ev_callback cb, void* data) { in ev_add_fd()
167 int ev_get_input(int fd, uint32_t epevents, input_event* ev) { in ev_get_input()
Dgraphics_drm.cpp209 static drmModeCrtc *find_crtc_for_connector(int fd, in find_crtc_for_connector()
254 static drmModeConnector *find_used_connector_by_type(int fd, in find_used_connector_by_type()
274 static drmModeConnector *find_first_connected_connector(int fd, in find_first_connected_connector()
292 static drmModeConnector *find_main_monitor(int fd, drmModeRes *resources, in find_main_monitor()
332 static void disable_non_main_crtcs(int fd, in disable_non_main_crtcs()
Dgraphics_fbdev.cpp83 int fd = open("/dev/graphics/fb0", O_RDWR); in fbdev_init() local
Dgraphics_adf.cpp34 int fd; member
/bootable/recovery/mtdutils/
Dmtdutils.c42 int fd; member
49 int fd; member
75 int fd; in mtd_scan_partitions() local
243 int fd = open(mtddevname, O_RDONLY); in mtd_partition_info() local
282 static int read_block(const MtdPartition *partition, int fd, char *data) in read_block()
409 int fd = ctx->fd; in write_block() local
Dflash_image.c71 int fd = open(argv[2], O_RDONLY); in main() local
/bootable/recovery/updater/
Dblockimg.c114 static int read_all(int fd, uint8_t* data, size_t size) { in read_all()
127 static int write_all(int fd, const uint8_t* data, size_t size) { in write_all()
146 static bool check_lseek(int fd, off64_t offset, int whence) { in check_lseek()
170 int fd; member
292 static int ReadBlocks(RangeSet* src, uint8_t* buffer, int fd) { in ReadBlocks()
318 static int WriteBlocks(RangeSet* tgt, uint8_t* buffer, int fd) { in WriteBlocks()
355 uint8_t** buffer, size_t* buffer_alloc, int fd) { in LoadSrcTgtVersion1()
560 int fd = -1; in LoadStash() local
634 int fd = -1; in WriteStash() local
816 int fd, int usehash, int* isunresumable) { in SaveStash()
[all …]
Dupdater.c65 int fd = atoi(argv[2]); in main() local
Dinstall.c1523 int fd = open(filename, O_WRONLY, 0644); in WipeBlockDeviceFn() local
/bootable/recovery/tools/ota/
Dcheck-lost+found.c67 int fd = open(kMarkerFile, O_WRONLY|O_CREAT, 0444); in main() local
/bootable/recovery/minadbd/
Dservices.cpp35 int fd; member
/bootable/recovery/uncrypt/
Duncrypt.cpp221 int fd = open(path, O_RDONLY); in produce_block_map() local
333 int fd = open(v->blk_device, O_WRONLY | O_SYNC); in wipe_misc() local
/bootable/recovery/applypatch/
Dapplypatch.c312 int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, S_IRUSR | S_IWUSR); in SaveFileContents() local
417 int fd = open(partition, O_RDWR | O_SYNC); in WriteToPartition() local
627 int fd = *(int *)token; in FileSink() local
Dbsdiff.c227 int fd; in bsdiff() local