Searched refs:read_bytes (Results 1 – 6 of 6) sorted by relevance
/system/libprocinfo/include/procinfo/ |
D | process_map.h | 269 size_t read_bytes = 0; in ReadMapFileAsyncSafe() local 274 TEMP_FAILURE_RETRY(read(fd, char_buffer + read_bytes, buffer_size - read_bytes - 1)); in ReadMapFileAsyncSafe() 276 if (read_bytes == 0) { in ReadMapFileAsyncSafe() 281 char_buffer[start + read_bytes] = '\n'; in ReadMapFileAsyncSafe() 285 read_bytes += bytes; in ReadMapFileAsyncSafe() 287 while (read_bytes > 0) { in ReadMapFileAsyncSafe() 288 char* newline = reinterpret_cast<char*>(memchr(&char_buffer[start], '\n', read_bytes)); in ReadMapFileAsyncSafe() 295 read_bytes -= newline - line + 1; in ReadMapFileAsyncSafe() 306 if (start == 0 && read_bytes == buffer_size - 1) { in ReadMapFileAsyncSafe() 315 if (read_bytes > 0) { in ReadMapFileAsyncSafe() [all …]
|
/system/core/storaged/ |
D | storaged_utils.cpp | 48 uint64_t l_bytes = l.io[i].read_bytes + l.io[i].write_bytes; in cmp_uid_info() 49 uint64_t r_bytes = r.io[i].read_bytes + r.io[i].write_bytes; in cmp_uid_info() 77 uid.io[0].rchar, uid.io[0].wchar, uid.io[0].read_bytes, uid.io[0].write_bytes, in log_console_running_uids_info() 78 uid.io[1].rchar, uid.io[1].wchar, uid.io[1].read_bytes, uid.io[1].write_bytes, in log_console_running_uids_info() 86 … task.io[0].rchar, task.io[0].wchar, task.io[0].read_bytes, task.io[0].write_bytes, in log_console_running_uids_info() 87 … task.io[1].rchar, task.io[1].wchar, task.io[1].read_bytes, task.io[1].write_bytes, in log_console_running_uids_info()
|
D | storaged_uid_monitor.cpp | 66 !ParseUint(fields[3], &io[FOREGROUND].read_bytes) || in parse_uid_io_stats() 70 !ParseUint(fields[7], &io[BACKGROUND].read_bytes) || in parse_uid_io_stats() 89 !ParseUint(fields[size - 8], &io[FOREGROUND].read_bytes) || in parse_task_io_stats() 93 !ParseUint(fields[size - 4], &io[BACKGROUND].read_bytes) || in parse_task_io_stats() 320 int64_t fg_rd_delta = uid.io[FOREGROUND].read_bytes - in update_curr_io_stats_locked() 321 last_uid_io_stats_[uid.uid].io[FOREGROUND].read_bytes; in update_curr_io_stats_locked() 322 int64_t bg_rd_delta = uid.io[BACKGROUND].read_bytes - in update_curr_io_stats_locked() 323 last_uid_io_stats_[uid.uid].io[BACKGROUND].read_bytes; in update_curr_io_stats_locked() 342 int64_t task_fg_rd_delta = task.io[FOREGROUND].read_bytes - in update_curr_io_stats_locked() 343 last_uid_io_stats_[uid.uid].tasks[pid].io[FOREGROUND].read_bytes; in update_curr_io_stats_locked() [all …]
|
/system/bt/osi/src/ |
D | osi.cc | 45 ssize_t read_bytes = read(rand_fd, &rand, sizeof(rand)); in osi_rand() local 48 CHECK(read_bytes == sizeof(rand)); in osi_rand()
|
/system/core/storaged/include/ |
D | uid_info.h | 49 uint64_t read_bytes; // bytes read (from storage layer) member
|
/system/extras/iotop/ |
D | taskstats.cpp | 192 read_bytes_ = taskstats_stats.read_bytes; in TaskStatistics()
|