Home
last modified time | relevance | path

Searched refs:pread64 (Results 1 – 8 of 8) sorted by relevance

/system/memory/libmeminfo/
Dpageacct.cpp84 if (pread64(kpageflags_fd_, flags, sizeof(uint64_t), pfn * sizeof(uint64_t)) != in PageFlags()
99 if (pread64(kpagecount_fd_, mapcount, sizeof(uint64_t), pfn * sizeof(uint64_t)) != in PageMapCount()
135 if (pread64(pageidle_fd_, &idle_bits, sizeof(uint64_t), offset) != sizeof(uint64_t)) { in GetPageIdle()
Dprocmeminfo.cpp243 ssize_t bytes_read = pread64(pagemap_fd, pagemap->data(), bytes_to_read, start_addr); in PageMap()
356 ssize_t bytes = pread64(pagemap_fd, page_cache.data(), total_bytes, in ReadVmaStats()
/system/core/libutils/include/utils/
DCompat.h40 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64() function
/system/vold/
DEncryptInplace.cpp151 if (pread64(data->realfd, data->buffer, info.block_size * data->count, data->offset) <= 0) { in flush_outstanding_data()
197 ret = pread64(data->realfd, block_bitmap, info.block_size, offset); in encrypt_groups()
370 if (pread64(priv_dat->realfd, priv_dat->buffer, CRYPT_INPLACE_BUFSIZE, offset) <= 0) { in encrypt_one_block_f2fs()
/system/core/fs_mgr/libfs_avb/
Davb_ops.cpp213 ssize_t num_read = TEMP_FAILURE_RETRY(pread64(fd, buffer, num_bytes, offset)); in ReadFromPartition()
Davb_util.cpp352 TEMP_FAILURE_RETRY(pread64(fd, footer_buf.data(), AVB_FOOTER_SIZE, footer_offset)); in GetAvbFooter()
474 ssize_t num_read = TEMP_FAILURE_RETRY(pread64(fd, vbmeta->data(), vbmeta_size, vbmeta_offset)); in VerifyVBMetaData()
/system/extras/libfec/
Dfec_read.cpp478 ssize_t n = TEMP_FAILURE_RETRY(pread64(fd, p, remaining, offset)); in raw_pread()
/system/core/adb/
Dsysdeps.h494 return TEMP_FAILURE_RETRY(pread64(fd.get(), buf, len, offset)); in adb_pread()