Searched refs:max_read_size (Results 1 – 2 of 2) sorted by relevance
92 const size_t max_read_size = sizeof(cmdline) - 1; in GetCmdlineForPID() local93 ssize_t rd = read(*fd, cmdline, max_read_size); in GetCmdlineForPID()109 if (rd_u >= max_read_size && memchr(cmdline, '\0', rd_u) == nullptr) { in GetCmdlineForPID()
601 const size_t max_read_size = 512; in DoReadMemory() local607 if (bytes_to_read_this_request > max_read_size) { in DoReadMemory()608 bytes_to_read_this_request = max_read_size; in DoReadMemory()