Home
last modified time | relevance | path

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

/system/core/libmeminfo/
Dpageacct.cpp84 if (pread64(kpageflags_fd_, flags, sizeof(uint64_t), pfn * sizeof(uint64_t)) < 0) { in PageFlags()
98 if (pread64(kpagecount_fd_, mapcount, sizeof(uint64_t), pfn * sizeof(uint64_t)) < 0) { in PageMapCount()
133 if (pread64(pageidle_fd_, &idle_bits, sizeof(uint64_t), offset) < 0) { in GetPageIdle()
Dprocmeminfo.cpp227 if (pread64(pagemap_fd, &val, sizeof(uint64_t), idx * sizeof(uint64_t)) < 0) { in PageMap()
286 if (pread64(pagemap_fd, pg_frames.get(), num_pages * sizeof(uint64_t), in ReadVmaStats()
/system/core/libutils/include/utils/
DCompat.h32 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.cpp302 TEMP_FAILURE_RETRY(pread64(fd, footer_buf.data(), AVB_FOOTER_SIZE, footer_offset)); in GetAvbFooter()
424 ssize_t num_read = TEMP_FAILURE_RETRY(pread64(fd, vbmeta->data(), vbmeta_size, vbmeta_offset)); in VerifyVBMetaData()
/system/core/fs_mgr/
Dfs_mgr_verity.cpp485 if (TEMP_FAILURE_RETRY(pread64(fd, &s, sizeof(s), offset)) != sizeof(s)) { in read_verity_state()
586 if (TEMP_FAILURE_RETRY(pread64(fd, prev, sizeof(prev), offset)) != sizeof(prev)) { in compare_last_signature()
/system/extras/libfec/
Dfec_read.cpp481 ssize_t n = TEMP_FAILURE_RETRY(pread64(f->fd, p, remaining, offset)); in raw_pread()