Lines Matching defs:bytes
297 * Someone wants to read @bytes from a HWPOISON hugetlb @page from @offset.
298 * Returns the maximum number of bytes one can read without touching the 1st raw
303 static size_t adjust_range_hwpoison(struct page *page, size_t offset, size_t bytes)
315 /* Safe to read n bytes without touching HWPOISON subpage. */
316 n = min(bytes, (size_t)PAGE_SIZE - offset);
318 bytes -= n;
319 if (!bytes || !n)
351 /* nr is the maximum number of bytes to copy from this page */
381 * Adjust how many bytes safe to read without
1377 * in the pool specified by hstate. Size option could be in bytes