Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/minadbd/
Dfuse_adb_provider.cpp50 int run_adb_fuse(int sfd, uint64_t file_size, uint32_t block_size) { in run_adb_fuse() argument
53 ad.file_size = file_size; in run_adb_fuse()
60 return run_fuse_sideload(&vtab, &ad, file_size, block_size); in run_adb_fuse()
Dservices.cpp48 int file_size; in sideload_host_service() local
50 if (sscanf(args, "%d:%d", &file_size, &block_size) != 2) { in sideload_host_service()
55 printf("sideload-host file size %d block size %d\n", file_size, block_size); in sideload_host_service()
57 int result = run_adb_fuse(sfd, file_size, block_size); in sideload_host_service()
Dfuse_adb_provider.h25 uint64_t file_size; member
30 int run_adb_fuse(int sfd, uint64_t file_size, uint32_t block_size);
/bootable/recovery/
Dfuse_sideload.c79 uint64_t file_size; // bytes member
182 fill_attr(&(out.attr), fd, PACKAGE_FILE_ID, fd->file_size, S_IFREG | 0444); in handle_getattr()
204 fill_attr(&(out.attr), fd, PACKAGE_FILE_ID, fd->file_size, S_IFREG | 0444); in handle_lookup()
253 if (block * fd->block_size + fetch_size > fd->file_size) { in fetch_block()
257 fetch_size = fd->file_size - (block * fd->block_size); in fetch_block()
368 uint64_t file_size, uint32_t block_size) in run_fuse_sideload() argument
389 fd.file_size = file_size; in run_fuse_sideload()
391 fd.file_blocks = (file_size == 0) ? 0 : (((file_size-1) / block_size) + 1); in run_fuse_sideload()
Dfuse_sdcard_provider.c32 uint64_t file_size; member
88 fd.file_size = sb.st_size; in run_sdcard_fuse()
94 t->result = run_fuse_sideload(&vtab, &fd, fd.file_size, fd.block_size); in run_sdcard_fuse()
Dfuse_sideload.h40 uint64_t file_size, uint32_t block_size);