Lines Matching defs:size

47 	 * If the system or log page sizes are smaller than the ntfs block size
57 ntfs_error(vi->i_sb, "$LogFile uses unsupported page size.");
62 * size (2nd restart page).
86 /* Verify the size of the update sequence array. */
107 * - within the system page size.
180 * The restart area must end within the system page size both when
191 "of the system page size specified by the "
213 * We cannot just use ffs() because the file size is not a power of 2.
342 int size, err;
371 size = PAGE_SIZE - (pos & ~PAGE_MASK);
372 if (size >= le32_to_cpu(rp->system_page_size)) {
380 memcpy(trp, rp, size);
382 have_read = size;
383 to_read = le32_to_cpu(rp->system_page_size) - size;
384 idx = (pos + size) >> PAGE_SHIFT;
385 BUG_ON((pos + size) & ~PAGE_MASK);
396 size = min_t(int, to_read, PAGE_SIZE);
397 memcpy((u8*)trp + have_read, page_address(page), size);
399 have_read += size;
400 to_read -= size;
468 * if the $LogFile was created on a system with a different page size to ours
469 * yet and mst deprotection would fail if our page size is smaller.
473 s64 size, pos;
489 size = i_size_read(log_vi);
490 /* Make sure the file doesn't exceed the maximum allowed size. */
491 if (size > MaxLogFileSize)
492 size = MaxLogFileSize;
494 * Truncate size to a multiple of the page cache size or the default
495 * log page size if the page cache size is between the default log page
496 * log page size if the page cache size is between the default log page
497 * size and twice that.
510 size &= ~(s64)(log_page_size - 1);
515 if (size < log_page_size * 2 || (size - log_page_size * 2) >>
523 * what could be the beginning of a page (for each page size) rather
528 for (pos = 0; pos < size; pos <<= 1) {